/* * 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 { /// /// For a SQL-based Kinesis Data Analytics application, provides the bucket name and object /// key name that stores the reference data. /// public partial class S3ReferenceDataSourceDescription { private string _bucketARN; private string _fileKey; private string _referenceRoleARN; /// /// Gets and sets the property BucketARN. /// /// The Amazon Resource Name (ARN) of the S3 bucket. /// /// [AWSProperty(Required=true, Min=1, Max=2048)] public string BucketARN { get { return this._bucketARN; } set { this._bucketARN = value; } } // Check to see if BucketARN property is set internal bool IsSetBucketARN() { return this._bucketARN != null; } /// /// Gets and sets the property FileKey. /// /// Amazon S3 object key name. /// /// [AWSProperty(Required=true, Min=1, Max=1024)] public string FileKey { get { return this._fileKey; } set { this._fileKey = value; } } // Check to see if FileKey property is set internal bool IsSetFileKey() { return this._fileKey != null; } /// /// Gets and sets the property ReferenceRoleARN. /// /// The ARN of the IAM role that Kinesis Data Analytics can assume to read the Amazon /// S3 object on your behalf to populate the in-application reference table. /// /// /// /// Provided for backward compatibility. Applications that are created with the current /// API version have an application-level service execution role rather than a resource-level /// role. /// /// /// [AWSProperty(Min=1, Max=2048)] public string ReferenceRoleARN { get { return this._referenceRoleARN; } set { this._referenceRoleARN = value; } } // Check to see if ReferenceRoleARN property is set internal bool IsSetReferenceRoleARN() { return this._referenceRoleARN != null; } } }