toJson method

Map<String, dynamic> toJson()

Implementation

Map<String, dynamic> toJson() {
  final cloudWatchLogGroupName = this.cloudWatchLogGroupName;
  final cloudWatchOutputEnabled = this.cloudWatchOutputEnabled;
  return {
    if (cloudWatchLogGroupName != null)
      'CloudWatchLogGroupName': cloudWatchLogGroupName,
    if (cloudWatchOutputEnabled != null)
      'CloudWatchOutputEnabled': cloudWatchOutputEnabled,
  };
}