toJson method
Implementation
Map<String, dynamic> toJson() {
final clusterId = this.clusterId;
final clusterRoleArn = this.clusterRoleArn;
final database = this.database;
final dbUser = this.dbUser;
final outputFormat = this.outputFormat;
final outputS3Uri = this.outputS3Uri;
final queryString = this.queryString;
final kmsKeyId = this.kmsKeyId;
final outputCompression = this.outputCompression;
return {
'ClusterId': clusterId,
'ClusterRoleArn': clusterRoleArn,
'Database': database,
'DbUser': dbUser,
'OutputFormat': outputFormat.toValue(),
'OutputS3Uri': outputS3Uri,
'QueryString': queryString,
if (kmsKeyId != null) 'KmsKeyId': kmsKeyId,
if (outputCompression != null)
'OutputCompression': outputCompression.toValue(),
};
}