/** * 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 KinesisAnalyticsV2 { namespace Model { /** *

For a SQL-based Kinesis Data Analytics application, provides the bucket name * and object key name that stores the reference data.

See Also:

* AWS * API Reference

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

The Amazon Resource Name (ARN) of the S3 bucket.

*/ inline const Aws::String& GetBucketARN() const{ return m_bucketARN; } /** *

The Amazon Resource Name (ARN) of the S3 bucket.

*/ inline bool BucketARNHasBeenSet() const { return m_bucketARNHasBeenSet; } /** *

The Amazon Resource Name (ARN) of the S3 bucket.

*/ inline void SetBucketARN(const Aws::String& value) { m_bucketARNHasBeenSet = true; m_bucketARN = value; } /** *

The Amazon Resource Name (ARN) of the S3 bucket.

*/ inline void SetBucketARN(Aws::String&& value) { m_bucketARNHasBeenSet = true; m_bucketARN = std::move(value); } /** *

The Amazon Resource Name (ARN) of the S3 bucket.

*/ inline void SetBucketARN(const char* value) { m_bucketARNHasBeenSet = true; m_bucketARN.assign(value); } /** *

The Amazon Resource Name (ARN) of the S3 bucket.

*/ inline S3ReferenceDataSourceDescription& WithBucketARN(const Aws::String& value) { SetBucketARN(value); return *this;} /** *

The Amazon Resource Name (ARN) of the S3 bucket.

*/ inline S3ReferenceDataSourceDescription& WithBucketARN(Aws::String&& value) { SetBucketARN(std::move(value)); return *this;} /** *

The Amazon Resource Name (ARN) of the S3 bucket.

*/ inline S3ReferenceDataSourceDescription& WithBucketARN(const char* value) { SetBucketARN(value); return *this;} /** *

Amazon S3 object key name.

*/ inline const Aws::String& GetFileKey() const{ return m_fileKey; } /** *

Amazon S3 object key name.

*/ inline bool FileKeyHasBeenSet() const { return m_fileKeyHasBeenSet; } /** *

Amazon S3 object key name.

*/ inline void SetFileKey(const Aws::String& value) { m_fileKeyHasBeenSet = true; m_fileKey = value; } /** *

Amazon S3 object key name.

*/ inline void SetFileKey(Aws::String&& value) { m_fileKeyHasBeenSet = true; m_fileKey = std::move(value); } /** *

Amazon S3 object key name.

*/ inline void SetFileKey(const char* value) { m_fileKeyHasBeenSet = true; m_fileKey.assign(value); } /** *

Amazon S3 object key name.

*/ inline S3ReferenceDataSourceDescription& WithFileKey(const Aws::String& value) { SetFileKey(value); return *this;} /** *

Amazon S3 object key name.

*/ inline S3ReferenceDataSourceDescription& WithFileKey(Aws::String&& value) { SetFileKey(std::move(value)); return *this;} /** *

Amazon S3 object key name.

*/ inline S3ReferenceDataSourceDescription& WithFileKey(const char* value) { SetFileKey(value); return *this;} /** *

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.

*/ inline const Aws::String& GetReferenceRoleARN() const{ return m_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.

*/ inline bool ReferenceRoleARNHasBeenSet() const { return m_referenceRoleARNHasBeenSet; } /** *

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.

*/ inline void SetReferenceRoleARN(const Aws::String& value) { m_referenceRoleARNHasBeenSet = true; m_referenceRoleARN = value; } /** *

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.

*/ inline void SetReferenceRoleARN(Aws::String&& value) { m_referenceRoleARNHasBeenSet = true; m_referenceRoleARN = std::move(value); } /** *

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.

*/ inline void SetReferenceRoleARN(const char* value) { m_referenceRoleARNHasBeenSet = true; m_referenceRoleARN.assign(value); } /** *

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.

*/ inline S3ReferenceDataSourceDescription& WithReferenceRoleARN(const Aws::String& value) { SetReferenceRoleARN(value); return *this;} /** *

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.

*/ inline S3ReferenceDataSourceDescription& WithReferenceRoleARN(Aws::String&& value) { SetReferenceRoleARN(std::move(value)); return *this;} /** *

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.

*/ inline S3ReferenceDataSourceDescription& WithReferenceRoleARN(const char* value) { SetReferenceRoleARN(value); return *this;} private: Aws::String m_bucketARN; bool m_bucketARNHasBeenSet = false; Aws::String m_fileKey; bool m_fileKeyHasBeenSet = false; Aws::String m_referenceRoleARN; bool m_referenceRoleARNHasBeenSet = false; }; } // namespace Model } // namespace KinesisAnalyticsV2 } // namespace Aws