toJson method
Implementation
Map<String, dynamic> toJson() {
final cloudWatchLoggingOptionId = this.cloudWatchLoggingOptionId;
final logStreamARNUpdate = this.logStreamARNUpdate;
final roleARNUpdate = this.roleARNUpdate;
return {
'CloudWatchLoggingOptionId': cloudWatchLoggingOptionId,
if (logStreamARNUpdate != null) 'LogStreamARNUpdate': logStreamARNUpdate,
if (roleARNUpdate != null) 'RoleARNUpdate': roleARNUpdate,
};
}