toJson method

Map<String, dynamic> toJson()

Implementation

Map<String, dynamic> toJson() {
  final vpcConfigurationId = this.vpcConfigurationId;
  final securityGroupIdUpdates = this.securityGroupIdUpdates;
  final subnetIdUpdates = this.subnetIdUpdates;
  return {
    'VpcConfigurationId': vpcConfigurationId,
    if (securityGroupIdUpdates != null)
      'SecurityGroupIdUpdates': securityGroupIdUpdates,
    if (subnetIdUpdates != null) 'SubnetIdUpdates': subnetIdUpdates,
  };
}