/*
* 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 kinesisanalyticsv2-2018-05-23.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.KinesisAnalyticsV2.Model
{
///
/// Describes updates for an SQL-based Kinesis Data Analytics application's input schema.
///
public partial class InputSchemaUpdate
{
private List _recordColumnUpdates = new List();
private string _recordEncodingUpdate;
private RecordFormat _recordFormatUpdate;
///
/// Gets and sets the property RecordColumnUpdates.
///
/// A list of RecordColumn
objects. Each object describes the mapping of
/// the streaming source element to the corresponding column in the in-application stream.
///
///
[AWSProperty(Min=1, Max=1000)]
public List RecordColumnUpdates
{
get { return this._recordColumnUpdates; }
set { this._recordColumnUpdates = value; }
}
// Check to see if RecordColumnUpdates property is set
internal bool IsSetRecordColumnUpdates()
{
return this._recordColumnUpdates != null && this._recordColumnUpdates.Count > 0;
}
///
/// Gets and sets the property RecordEncodingUpdate.
///
/// Specifies the encoding of the records in the streaming source; for example, UTF-8.
///
///
[AWSProperty(Min=5, Max=5)]
public string RecordEncodingUpdate
{
get { return this._recordEncodingUpdate; }
set { this._recordEncodingUpdate = value; }
}
// Check to see if RecordEncodingUpdate property is set
internal bool IsSetRecordEncodingUpdate()
{
return this._recordEncodingUpdate != null;
}
///
/// Gets and sets the property RecordFormatUpdate.
///
/// Specifies the format of the records on the streaming source.
///
///
public RecordFormat RecordFormatUpdate
{
get { return this._recordFormatUpdate; }
set { this._recordFormatUpdate = value; }
}
// Check to see if RecordFormatUpdate property is set
internal bool IsSetRecordFormatUpdate()
{
return this._recordFormatUpdate != null;
}
}
}