/*
* Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
*
* Licensed under the Apache License, Version 2.0 (the "License").
* You may not use this file except in compliance with the License.
* A copy of the License is located at
*
* http://aws.amazon.com/apache2.0
*
* or in the "license" file accompanying this file. This file is distributed
* on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either
* express or implied. See the License for the specific language governing
* permissions and limitations under the License.
*/
/*
* Do not modify this file. This file is generated from the kinesisanalytics-2015-08-14.normal.json service model.
*/
using System;
using System.Collections.Generic;
using System.Xml.Serialization;
using System.Text;
using System.IO;
using System.Net;
using Amazon.Runtime;
using Amazon.Runtime.Internal;
namespace Amazon.KinesisAnalytics.Model
{
///
/// Describes updates to a specific input configuration (identified by the InputId
/// of an application).
///
public partial class InputUpdate
{
private string _inputId;
private InputParallelismUpdate _inputParallelismUpdate;
private InputProcessingConfigurationUpdate _inputProcessingConfigurationUpdate;
private InputSchemaUpdate _inputSchemaUpdate;
private KinesisFirehoseInputUpdate _kinesisFirehoseInputUpdate;
private KinesisStreamsInputUpdate _kinesisStreamsInputUpdate;
private string _namePrefixUpdate;
///
/// Gets and sets the property InputId.
///
/// Input ID of the application input to be updated.
///
///
[AWSProperty(Required=true, Min=1, Max=50)]
public string InputId
{
get { return this._inputId; }
set { this._inputId = value; }
}
// Check to see if InputId property is set
internal bool IsSetInputId()
{
return this._inputId != null;
}
///
/// Gets and sets the property InputParallelismUpdate.
///
/// Describes the parallelism updates (the number in-application streams Amazon Kinesis
/// Analytics creates for the specific streaming source).
///
///
public InputParallelismUpdate InputParallelismUpdate
{
get { return this._inputParallelismUpdate; }
set { this._inputParallelismUpdate = value; }
}
// Check to see if InputParallelismUpdate property is set
internal bool IsSetInputParallelismUpdate()
{
return this._inputParallelismUpdate != null;
}
///
/// Gets and sets the property InputProcessingConfigurationUpdate.
///
/// Describes updates for an input processing configuration.
///
///
public InputProcessingConfigurationUpdate InputProcessingConfigurationUpdate
{
get { return this._inputProcessingConfigurationUpdate; }
set { this._inputProcessingConfigurationUpdate = value; }
}
// Check to see if InputProcessingConfigurationUpdate property is set
internal bool IsSetInputProcessingConfigurationUpdate()
{
return this._inputProcessingConfigurationUpdate != null;
}
///
/// Gets and sets the property InputSchemaUpdate.
///
/// Describes the data format on the streaming source, and how record elements on the
/// streaming source map to columns of the in-application stream that is created.
///
///
public InputSchemaUpdate InputSchemaUpdate
{
get { return this._inputSchemaUpdate; }
set { this._inputSchemaUpdate = value; }
}
// Check to see if InputSchemaUpdate property is set
internal bool IsSetInputSchemaUpdate()
{
return this._inputSchemaUpdate != null;
}
///
/// Gets and sets the property KinesisFirehoseInputUpdate.
///
/// If an Amazon Kinesis Firehose delivery stream is the streaming source to be updated,
/// provides an updated stream ARN and IAM role ARN.
///
///
public KinesisFirehoseInputUpdate KinesisFirehoseInputUpdate
{
get { return this._kinesisFirehoseInputUpdate; }
set { this._kinesisFirehoseInputUpdate = value; }
}
// Check to see if KinesisFirehoseInputUpdate property is set
internal bool IsSetKinesisFirehoseInputUpdate()
{
return this._kinesisFirehoseInputUpdate != null;
}
///
/// Gets and sets the property KinesisStreamsInputUpdate.
///
/// If an Amazon Kinesis stream is the streaming source to be updated, provides an updated
/// stream Amazon Resource Name (ARN) and IAM role ARN.
///
///
public KinesisStreamsInputUpdate KinesisStreamsInputUpdate
{
get { return this._kinesisStreamsInputUpdate; }
set { this._kinesisStreamsInputUpdate = value; }
}
// Check to see if KinesisStreamsInputUpdate property is set
internal bool IsSetKinesisStreamsInputUpdate()
{
return this._kinesisStreamsInputUpdate != null;
}
///
/// Gets and sets the property NamePrefixUpdate.
///
/// Name prefix for in-application streams that Amazon Kinesis Analytics creates for the
/// specific streaming source.
///
///
[AWSProperty(Min=1, Max=32)]
public string NamePrefixUpdate
{
get { return this._namePrefixUpdate; }
set { this._namePrefixUpdate = value; }
}
// Check to see if NamePrefixUpdate property is set
internal bool IsSetNamePrefixUpdate()
{
return this._namePrefixUpdate != null;
}
}
}