Map<String, dynamic> toJson() { final s3Prefix = this.s3Prefix; return { if (s3Prefix != null) 'S3Prefix': s3Prefix, }; }