/**
* Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
* SPDX-License-Identifier: Apache-2.0.
*/
#pragma once
#include Describes the reference data source by providing the source information (S3
* bucket name and object key name), the resulting in-application table name that
* is created, and the necessary schema to map the data elements in the Amazon S3
* object to the in-application table.See Also:
AWS
* API Reference
Name of the in-application table to create.
*/ inline const Aws::String& GetTableName() const{ return m_tableName; } /** *Name of the in-application table to create.
*/ inline bool TableNameHasBeenSet() const { return m_tableNameHasBeenSet; } /** *Name of the in-application table to create.
*/ inline void SetTableName(const Aws::String& value) { m_tableNameHasBeenSet = true; m_tableName = value; } /** *Name of the in-application table to create.
*/ inline void SetTableName(Aws::String&& value) { m_tableNameHasBeenSet = true; m_tableName = std::move(value); } /** *Name of the in-application table to create.
*/ inline void SetTableName(const char* value) { m_tableNameHasBeenSet = true; m_tableName.assign(value); } /** *Name of the in-application table to create.
*/ inline ReferenceDataSource& WithTableName(const Aws::String& value) { SetTableName(value); return *this;} /** *Name of the in-application table to create.
*/ inline ReferenceDataSource& WithTableName(Aws::String&& value) { SetTableName(std::move(value)); return *this;} /** *Name of the in-application table to create.
*/ inline ReferenceDataSource& WithTableName(const char* value) { SetTableName(value); return *this;} /** *Identifies the S3 bucket and object that contains the reference data. Also
* identifies the IAM role Amazon Kinesis Analytics can assume to read this object
* on your behalf. An Amazon Kinesis Analytics application loads reference data
* only once. If the data changes, you call the UpdateApplication
* operation to trigger reloading of data into your application.
Identifies the S3 bucket and object that contains the reference data. Also
* identifies the IAM role Amazon Kinesis Analytics can assume to read this object
* on your behalf. An Amazon Kinesis Analytics application loads reference data
* only once. If the data changes, you call the UpdateApplication
* operation to trigger reloading of data into your application.
Identifies the S3 bucket and object that contains the reference data. Also
* identifies the IAM role Amazon Kinesis Analytics can assume to read this object
* on your behalf. An Amazon Kinesis Analytics application loads reference data
* only once. If the data changes, you call the UpdateApplication
* operation to trigger reloading of data into your application.
Identifies the S3 bucket and object that contains the reference data. Also
* identifies the IAM role Amazon Kinesis Analytics can assume to read this object
* on your behalf. An Amazon Kinesis Analytics application loads reference data
* only once. If the data changes, you call the UpdateApplication
* operation to trigger reloading of data into your application.
Identifies the S3 bucket and object that contains the reference data. Also
* identifies the IAM role Amazon Kinesis Analytics can assume to read this object
* on your behalf. An Amazon Kinesis Analytics application loads reference data
* only once. If the data changes, you call the UpdateApplication
* operation to trigger reloading of data into your application.
Identifies the S3 bucket and object that contains the reference data. Also
* identifies the IAM role Amazon Kinesis Analytics can assume to read this object
* on your behalf. An Amazon Kinesis Analytics application loads reference data
* only once. If the data changes, you call the UpdateApplication
* operation to trigger reloading of data into your application.
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.
*/ inline const SourceSchema& GetReferenceSchema() const{ return m_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.
*/ inline bool ReferenceSchemaHasBeenSet() const { return m_referenceSchemaHasBeenSet; } /** *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.
*/ inline void SetReferenceSchema(const SourceSchema& value) { m_referenceSchemaHasBeenSet = true; m_referenceSchema = value; } /** *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.
*/ inline void SetReferenceSchema(SourceSchema&& value) { m_referenceSchemaHasBeenSet = true; m_referenceSchema = std::move(value); } /** *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.
*/ inline ReferenceDataSource& WithReferenceSchema(const SourceSchema& value) { SetReferenceSchema(value); return *this;} /** *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.
*/ inline ReferenceDataSource& WithReferenceSchema(SourceSchema&& value) { SetReferenceSchema(std::move(value)); return *this;} private: Aws::String m_tableName; bool m_tableNameHasBeenSet = false; S3ReferenceDataSource m_s3ReferenceDataSource; bool m_s3ReferenceDataSourceHasBeenSet = false; SourceSchema m_referenceSchema; bool m_referenceSchemaHasBeenSet = false; }; } // namespace Model } // namespace KinesisAnalytics } // namespace Aws