toJson method
Implementation
Map<String, dynamic> toJson() {
final cloudWatchLogs = this.cloudWatchLogs;
final s3Logs = this.s3Logs;
return {
if (cloudWatchLogs != null) 'cloudWatchLogs': cloudWatchLogs,
if (s3Logs != null) 's3Logs': s3Logs,
};
}