/** * Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. * SPDX-License-Identifier: Apache-2.0. */ #pragma once #include #include #include namespace Aws { namespace Utils { namespace Json { class JsonValue; class JsonView; } // namespace Json } // namespace Utils namespace KinesisAnalytics { namespace Model { /** *

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.

See Also:

AWS * API Reference

*/ class S3ReferenceDataSourceUpdate { public: AWS_KINESISANALYTICS_API S3ReferenceDataSourceUpdate(); AWS_KINESISANALYTICS_API S3ReferenceDataSourceUpdate(Aws::Utils::Json::JsonView jsonValue); AWS_KINESISANALYTICS_API S3ReferenceDataSourceUpdate& operator=(Aws::Utils::Json::JsonView jsonValue); AWS_KINESISANALYTICS_API Aws::Utils::Json::JsonValue Jsonize() const; /** *

Amazon Resource Name (ARN) of the S3 bucket.

*/ inline const Aws::String& GetBucketARNUpdate() const{ return m_bucketARNUpdate; } /** *

Amazon Resource Name (ARN) of the S3 bucket.

*/ inline bool BucketARNUpdateHasBeenSet() const { return m_bucketARNUpdateHasBeenSet; } /** *

Amazon Resource Name (ARN) of the S3 bucket.

*/ inline void SetBucketARNUpdate(const Aws::String& value) { m_bucketARNUpdateHasBeenSet = true; m_bucketARNUpdate = value; } /** *

Amazon Resource Name (ARN) of the S3 bucket.

*/ inline void SetBucketARNUpdate(Aws::String&& value) { m_bucketARNUpdateHasBeenSet = true; m_bucketARNUpdate = std::move(value); } /** *

Amazon Resource Name (ARN) of the S3 bucket.

*/ inline void SetBucketARNUpdate(const char* value) { m_bucketARNUpdateHasBeenSet = true; m_bucketARNUpdate.assign(value); } /** *

Amazon Resource Name (ARN) of the S3 bucket.

*/ inline S3ReferenceDataSourceUpdate& WithBucketARNUpdate(const Aws::String& value) { SetBucketARNUpdate(value); return *this;} /** *

Amazon Resource Name (ARN) of the S3 bucket.

*/ inline S3ReferenceDataSourceUpdate& WithBucketARNUpdate(Aws::String&& value) { SetBucketARNUpdate(std::move(value)); return *this;} /** *

Amazon Resource Name (ARN) of the S3 bucket.

*/ inline S3ReferenceDataSourceUpdate& WithBucketARNUpdate(const char* value) { SetBucketARNUpdate(value); return *this;} /** *

Object key name.

*/ inline const Aws::String& GetFileKeyUpdate() const{ return m_fileKeyUpdate; } /** *

Object key name.

*/ inline bool FileKeyUpdateHasBeenSet() const { return m_fileKeyUpdateHasBeenSet; } /** *

Object key name.

*/ inline void SetFileKeyUpdate(const Aws::String& value) { m_fileKeyUpdateHasBeenSet = true; m_fileKeyUpdate = value; } /** *

Object key name.

*/ inline void SetFileKeyUpdate(Aws::String&& value) { m_fileKeyUpdateHasBeenSet = true; m_fileKeyUpdate = std::move(value); } /** *

Object key name.

*/ inline void SetFileKeyUpdate(const char* value) { m_fileKeyUpdateHasBeenSet = true; m_fileKeyUpdate.assign(value); } /** *

Object key name.

*/ inline S3ReferenceDataSourceUpdate& WithFileKeyUpdate(const Aws::String& value) { SetFileKeyUpdate(value); return *this;} /** *

Object key name.

*/ inline S3ReferenceDataSourceUpdate& WithFileKeyUpdate(Aws::String&& value) { SetFileKeyUpdate(std::move(value)); return *this;} /** *

Object key name.

*/ inline S3ReferenceDataSourceUpdate& WithFileKeyUpdate(const char* value) { SetFileKeyUpdate(value); return *this;} /** *

ARN of the IAM role that Amazon Kinesis Analytics can assume to read the * Amazon S3 object and populate the in-application.

*/ inline const Aws::String& GetReferenceRoleARNUpdate() const{ return m_referenceRoleARNUpdate; } /** *

ARN of the IAM role that Amazon Kinesis Analytics can assume to read the * Amazon S3 object and populate the in-application.

*/ inline bool ReferenceRoleARNUpdateHasBeenSet() const { return m_referenceRoleARNUpdateHasBeenSet; } /** *

ARN of the IAM role that Amazon Kinesis Analytics can assume to read the * Amazon S3 object and populate the in-application.

*/ inline void SetReferenceRoleARNUpdate(const Aws::String& value) { m_referenceRoleARNUpdateHasBeenSet = true; m_referenceRoleARNUpdate = value; } /** *

ARN of the IAM role that Amazon Kinesis Analytics can assume to read the * Amazon S3 object and populate the in-application.

*/ inline void SetReferenceRoleARNUpdate(Aws::String&& value) { m_referenceRoleARNUpdateHasBeenSet = true; m_referenceRoleARNUpdate = std::move(value); } /** *

ARN of the IAM role that Amazon Kinesis Analytics can assume to read the * Amazon S3 object and populate the in-application.

*/ inline void SetReferenceRoleARNUpdate(const char* value) { m_referenceRoleARNUpdateHasBeenSet = true; m_referenceRoleARNUpdate.assign(value); } /** *

ARN of the IAM role that Amazon Kinesis Analytics can assume to read the * Amazon S3 object and populate the in-application.

*/ inline S3ReferenceDataSourceUpdate& WithReferenceRoleARNUpdate(const Aws::String& value) { SetReferenceRoleARNUpdate(value); return *this;} /** *

ARN of the IAM role that Amazon Kinesis Analytics can assume to read the * Amazon S3 object and populate the in-application.

*/ inline S3ReferenceDataSourceUpdate& WithReferenceRoleARNUpdate(Aws::String&& value) { SetReferenceRoleARNUpdate(std::move(value)); return *this;} /** *

ARN of the IAM role that Amazon Kinesis Analytics can assume to read the * Amazon S3 object and populate the in-application.

*/ inline S3ReferenceDataSourceUpdate& WithReferenceRoleARNUpdate(const char* value) { SetReferenceRoleARNUpdate(value); return *this;} private: Aws::String m_bucketARNUpdate; bool m_bucketARNUpdateHasBeenSet = false; Aws::String m_fileKeyUpdate; bool m_fileKeyUpdateHasBeenSet = false; Aws::String m_referenceRoleARNUpdate; bool m_referenceRoleARNUpdateHasBeenSet = false; }; } // namespace Model } // namespace KinesisAnalytics } // namespace Aws