toJson method

Map<String, dynamic> toJson()

Implementation

Map<String, dynamic> toJson() {
  final bytesScannedCutoffPerQuery = this.bytesScannedCutoffPerQuery;
  final enforceWorkGroupConfiguration = this.enforceWorkGroupConfiguration;
  final publishCloudWatchMetricsEnabled =
      this.publishCloudWatchMetricsEnabled;
  final removeBytesScannedCutoffPerQuery =
      this.removeBytesScannedCutoffPerQuery;
  final requesterPaysEnabled = this.requesterPaysEnabled;
  final resultConfigurationUpdates = this.resultConfigurationUpdates;
  return {
    if (bytesScannedCutoffPerQuery != null)
      'BytesScannedCutoffPerQuery': bytesScannedCutoffPerQuery,
    if (enforceWorkGroupConfiguration != null)
      'EnforceWorkGroupConfiguration': enforceWorkGroupConfiguration,
    if (publishCloudWatchMetricsEnabled != null)
      'PublishCloudWatchMetricsEnabled': publishCloudWatchMetricsEnabled,
    if (removeBytesScannedCutoffPerQuery != null)
      'RemoveBytesScannedCutoffPerQuery': removeBytesScannedCutoffPerQuery,
    if (requesterPaysEnabled != null)
      'RequesterPaysEnabled': requesterPaysEnabled,
    if (resultConfigurationUpdates != null)
      'ResultConfigurationUpdates': resultConfigurationUpdates,
  };
}