toJson method
Implementation
Map<String, dynamic> toJson() {
final bytesScannedCutoffPerQuery = this.bytesScannedCutoffPerQuery;
final enforceWorkGroupConfiguration = this.enforceWorkGroupConfiguration;
final publishCloudWatchMetricsEnabled =
this.publishCloudWatchMetricsEnabled;
final requesterPaysEnabled = this.requesterPaysEnabled;
final resultConfiguration = this.resultConfiguration;
return {
if (bytesScannedCutoffPerQuery != null)
'BytesScannedCutoffPerQuery': bytesScannedCutoffPerQuery,
if (enforceWorkGroupConfiguration != null)
'EnforceWorkGroupConfiguration': enforceWorkGroupConfiguration,
if (publishCloudWatchMetricsEnabled != null)
'PublishCloudWatchMetricsEnabled': publishCloudWatchMetricsEnabled,
if (requesterPaysEnabled != null)
'RequesterPaysEnabled': requesterPaysEnabled,
if (resultConfiguration != null)
'ResultConfiguration': resultConfiguration,
};
}