toJson method

Map<String, dynamic> toJson()

Implementation

Map<String, dynamic> toJson() {
  final inputId = this.inputId;
  final inputParallelismUpdate = this.inputParallelismUpdate;
  final inputProcessingConfigurationUpdate =
      this.inputProcessingConfigurationUpdate;
  final inputSchemaUpdate = this.inputSchemaUpdate;
  final kinesisFirehoseInputUpdate = this.kinesisFirehoseInputUpdate;
  final kinesisStreamsInputUpdate = this.kinesisStreamsInputUpdate;
  final namePrefixUpdate = this.namePrefixUpdate;
  return {
    'InputId': inputId,
    if (inputParallelismUpdate != null)
      'InputParallelismUpdate': inputParallelismUpdate,
    if (inputProcessingConfigurationUpdate != null)
      'InputProcessingConfigurationUpdate':
          inputProcessingConfigurationUpdate,
    if (inputSchemaUpdate != null) 'InputSchemaUpdate': inputSchemaUpdate,
    if (kinesisFirehoseInputUpdate != null)
      'KinesisFirehoseInputUpdate': kinesisFirehoseInputUpdate,
    if (kinesisStreamsInputUpdate != null)
      'KinesisStreamsInputUpdate': kinesisStreamsInputUpdate,
    if (namePrefixUpdate != null) 'NamePrefixUpdate': namePrefixUpdate,
  };
}