/**
* Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
* SPDX-License-Identifier: Apache-2.0.
*/
#pragma once
#include When you update a reference data source configuration for an application,
* this object provides all the updated values (such as the source bucket name and
* object key name), the in-application table name that is created, and updated
* mapping information that maps the data in the Amazon S3 object to the
* in-application reference table that is created.See Also:
AWS
* API Reference
ID of the reference data source being updated. You can use the DescribeApplication * operation to get this value.
*/ inline const Aws::String& GetReferenceId() const{ return m_referenceId; } /** *ID of the reference data source being updated. You can use the DescribeApplication * operation to get this value.
*/ inline bool ReferenceIdHasBeenSet() const { return m_referenceIdHasBeenSet; } /** *ID of the reference data source being updated. You can use the DescribeApplication * operation to get this value.
*/ inline void SetReferenceId(const Aws::String& value) { m_referenceIdHasBeenSet = true; m_referenceId = value; } /** *ID of the reference data source being updated. You can use the DescribeApplication * operation to get this value.
*/ inline void SetReferenceId(Aws::String&& value) { m_referenceIdHasBeenSet = true; m_referenceId = std::move(value); } /** *ID of the reference data source being updated. You can use the DescribeApplication * operation to get this value.
*/ inline void SetReferenceId(const char* value) { m_referenceIdHasBeenSet = true; m_referenceId.assign(value); } /** *ID of the reference data source being updated. You can use the DescribeApplication * operation to get this value.
*/ inline ReferenceDataSourceUpdate& WithReferenceId(const Aws::String& value) { SetReferenceId(value); return *this;} /** *ID of the reference data source being updated. You can use the DescribeApplication * operation to get this value.
*/ inline ReferenceDataSourceUpdate& WithReferenceId(Aws::String&& value) { SetReferenceId(std::move(value)); return *this;} /** *ID of the reference data source being updated. You can use the DescribeApplication * operation to get this value.
*/ inline ReferenceDataSourceUpdate& WithReferenceId(const char* value) { SetReferenceId(value); return *this;} /** *In-application table name that is created by this update.
*/ inline const Aws::String& GetTableNameUpdate() const{ return m_tableNameUpdate; } /** *In-application table name that is created by this update.
*/ inline bool TableNameUpdateHasBeenSet() const { return m_tableNameUpdateHasBeenSet; } /** *In-application table name that is created by this update.
*/ inline void SetTableNameUpdate(const Aws::String& value) { m_tableNameUpdateHasBeenSet = true; m_tableNameUpdate = value; } /** *In-application table name that is created by this update.
*/ inline void SetTableNameUpdate(Aws::String&& value) { m_tableNameUpdateHasBeenSet = true; m_tableNameUpdate = std::move(value); } /** *In-application table name that is created by this update.
*/ inline void SetTableNameUpdate(const char* value) { m_tableNameUpdateHasBeenSet = true; m_tableNameUpdate.assign(value); } /** *In-application table name that is created by this update.
*/ inline ReferenceDataSourceUpdate& WithTableNameUpdate(const Aws::String& value) { SetTableNameUpdate(value); return *this;} /** *In-application table name that is created by this update.
*/ inline ReferenceDataSourceUpdate& WithTableNameUpdate(Aws::String&& value) { SetTableNameUpdate(std::move(value)); return *this;} /** *In-application table name that is created by this update.
*/ inline ReferenceDataSourceUpdate& WithTableNameUpdate(const char* value) { SetTableNameUpdate(value); return *this;} /** *Describes the S3 bucket name, object key name, and IAM role that Amazon * Kinesis Analytics can assume to read the Amazon S3 object on your behalf and * populate the in-application reference table.
*/ inline const S3ReferenceDataSourceUpdate& GetS3ReferenceDataSourceUpdate() const{ return m_s3ReferenceDataSourceUpdate; } /** *Describes the S3 bucket name, object key name, and IAM role that Amazon * Kinesis Analytics can assume to read the Amazon S3 object on your behalf and * populate the in-application reference table.
*/ inline bool S3ReferenceDataSourceUpdateHasBeenSet() const { return m_s3ReferenceDataSourceUpdateHasBeenSet; } /** *Describes the S3 bucket name, object key name, and IAM role that Amazon * Kinesis Analytics can assume to read the Amazon S3 object on your behalf and * populate the in-application reference table.
*/ inline void SetS3ReferenceDataSourceUpdate(const S3ReferenceDataSourceUpdate& value) { m_s3ReferenceDataSourceUpdateHasBeenSet = true; m_s3ReferenceDataSourceUpdate = value; } /** *Describes the S3 bucket name, object key name, and IAM role that Amazon * Kinesis Analytics can assume to read the Amazon S3 object on your behalf and * populate the in-application reference table.
*/ inline void SetS3ReferenceDataSourceUpdate(S3ReferenceDataSourceUpdate&& value) { m_s3ReferenceDataSourceUpdateHasBeenSet = true; m_s3ReferenceDataSourceUpdate = std::move(value); } /** *Describes the S3 bucket name, object key name, and IAM role that Amazon * Kinesis Analytics can assume to read the Amazon S3 object on your behalf and * populate the in-application reference table.
*/ inline ReferenceDataSourceUpdate& WithS3ReferenceDataSourceUpdate(const S3ReferenceDataSourceUpdate& value) { SetS3ReferenceDataSourceUpdate(value); return *this;} /** *Describes the S3 bucket name, object key name, and IAM role that Amazon * Kinesis Analytics can assume to read the Amazon S3 object on your behalf and * populate the in-application reference table.
*/ inline ReferenceDataSourceUpdate& WithS3ReferenceDataSourceUpdate(S3ReferenceDataSourceUpdate&& value) { SetS3ReferenceDataSourceUpdate(std::move(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 const SourceSchema& GetReferenceSchemaUpdate() const{ return m_referenceSchemaUpdate; } /** *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 ReferenceSchemaUpdateHasBeenSet() const { return m_referenceSchemaUpdateHasBeenSet; } /** *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 SetReferenceSchemaUpdate(const SourceSchema& value) { m_referenceSchemaUpdateHasBeenSet = true; m_referenceSchemaUpdate = 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 SetReferenceSchemaUpdate(SourceSchema&& value) { m_referenceSchemaUpdateHasBeenSet = true; m_referenceSchemaUpdate = 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 ReferenceDataSourceUpdate& WithReferenceSchemaUpdate(const SourceSchema& value) { SetReferenceSchemaUpdate(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 ReferenceDataSourceUpdate& WithReferenceSchemaUpdate(SourceSchema&& value) { SetReferenceSchemaUpdate(std::move(value)); return *this;} private: Aws::String m_referenceId; bool m_referenceIdHasBeenSet = false; Aws::String m_tableNameUpdate; bool m_tableNameUpdateHasBeenSet = false; S3ReferenceDataSourceUpdate m_s3ReferenceDataSourceUpdate; bool m_s3ReferenceDataSourceUpdateHasBeenSet = false; SourceSchema m_referenceSchemaUpdate; bool m_referenceSchemaUpdateHasBeenSet = false; }; } // namespace Model } // namespace KinesisAnalytics } // namespace Aws