/** * 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 a description of * an Amazon S3 data source, including the Amazon Resource Name (ARN) of the S3 * bucket and the name of the Amazon S3 object that contains the * data.

See Also:

AWS * API Reference

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

The ARN of the S3 bucket that contains the data.

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

The ARN of the S3 bucket that contains the data.

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

The ARN of the S3 bucket that contains the data.

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

The ARN of the S3 bucket that contains the data.

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

The ARN of the S3 bucket that contains the data.

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

The ARN of the S3 bucket that contains the data.

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

The ARN of the S3 bucket that contains the data.

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

The ARN of the S3 bucket that contains the data.

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

The name of the object that contains the data.

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

The name of the object that contains the data.

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

The name of the object that contains the data.

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

The name of the object that contains the data.

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

The name of the object that contains the data.

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

The name of the object that contains the data.

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

The name of the object that contains the data.

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

The name of the object that contains the data.

*/ inline S3Configuration& WithFileKey(const char* value) { SetFileKey(value); return *this;} private: Aws::String m_bucketARN; bool m_bucketARNHasBeenSet = false; Aws::String m_fileKey; bool m_fileKeyHasBeenSet = false; }; } // namespace Model } // namespace KinesisAnalyticsV2 } // namespace Aws