toJson method

Map<String, dynamic> toJson()

Implementation

Map<String, dynamic> toJson() {
  final cloudWatchEncryption = this.cloudWatchEncryption;
  final jobBookmarksEncryption = this.jobBookmarksEncryption;
  final s3Encryption = this.s3Encryption;
  return {
    if (cloudWatchEncryption != null)
      'CloudWatchEncryption': cloudWatchEncryption,
    if (jobBookmarksEncryption != null)
      'JobBookmarksEncryption': jobBookmarksEncryption,
    if (s3Encryption != null) 'S3Encryption': s3Encryption,
  };
}