/** * 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 an SQL-based Amazon Kinesis Data Analytics application, describes the * Amazon S3 bucket name and object key name for an in-application reference table. *

See Also:

AWS * API Reference

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

The object key name.

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

The object key name.

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

The object key name.

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

The object key name.

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

The object key name.

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

The object key name.

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

The object key name.

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

The object key name.

*/ inline S3ReferenceDataSourceUpdate& WithFileKeyUpdate(const char* value) { SetFileKeyUpdate(value); return *this;} private: Aws::String m_bucketARNUpdate; bool m_bucketARNUpdateHasBeenSet; Aws::String m_fileKeyUpdate; bool m_fileKeyUpdateHasBeenSet; }; } // namespace Model } // namespace KinesisAnalyticsV2 } // namespace Aws