/*
* 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 the reference data source configured for an application.
///
public partial class ReferenceDataSourceDescription
{
private string _referenceId;
private SourceSchema _referenceSchema;
private S3ReferenceDataSourceDescription _s3ReferenceDataSourceDescription;
private string _tableName;
///
/// Gets and sets the property ReferenceId.
///
/// ID of the reference data source. This is the ID that Amazon Kinesis Analytics assigns
/// when you add the reference data source to your application using the AddApplicationReferenceDataSource
/// operation.
///
///
[AWSProperty(Required=true, Min=1, Max=50)]
public string ReferenceId
{
get { return this._referenceId; }
set { this._referenceId = value; }
}
// Check to see if ReferenceId property is set
internal bool IsSetReferenceId()
{
return this._referenceId != null;
}
///
/// Gets and sets the property ReferenceSchema.
///
/// Describes the format of the data in the streaming source, and how each data element
/// maps to corresponding columns created in the in-application stream.
///
///
public SourceSchema ReferenceSchema
{
get { return this._referenceSchema; }
set { this._referenceSchema = value; }
}
// Check to see if ReferenceSchema property is set
internal bool IsSetReferenceSchema()
{
return this._referenceSchema != null;
}
///
/// Gets and sets the property S3ReferenceDataSourceDescription.
///
/// Provides the S3 bucket name, the object key name that contains the reference data.
/// It also provides the Amazon Resource Name (ARN) of the IAM role that Amazon Kinesis
/// Analytics can assume to read the Amazon S3 object and populate the in-application
/// reference table.
///
///
[AWSProperty(Required=true)]
public S3ReferenceDataSourceDescription S3ReferenceDataSourceDescription
{
get { return this._s3ReferenceDataSourceDescription; }
set { this._s3ReferenceDataSourceDescription = value; }
}
// Check to see if S3ReferenceDataSourceDescription property is set
internal bool IsSetS3ReferenceDataSourceDescription()
{
return this._s3ReferenceDataSourceDescription != null;
}
///
/// Gets and sets the property TableName.
///
/// The in-application table name created by the specific reference data source configuration.
///
///
[AWSProperty(Required=true, Min=1, Max=32)]
public string TableName
{
get { return this._tableName; }
set { this._tableName = value; }
}
// Check to see if TableName property is set
internal bool IsSetTableName()
{
return this._tableName != null;
}
}
}