/**
* Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
* SPDX-License-Identifier: Apache-2.0.
*/
#pragma once
#include See Also:
AWS
* API Reference
The bucket name of the customer S3 bucket.
*/ inline const Aws::String& GetBucketName() const{ return m_bucketName; } /** *The bucket name of the customer S3 bucket.
*/ inline bool BucketNameHasBeenSet() const { return m_bucketNameHasBeenSet; } /** *The bucket name of the customer S3 bucket.
*/ inline void SetBucketName(const Aws::String& value) { m_bucketNameHasBeenSet = true; m_bucketName = value; } /** *The bucket name of the customer S3 bucket.
*/ inline void SetBucketName(Aws::String&& value) { m_bucketNameHasBeenSet = true; m_bucketName = std::move(value); } /** *The bucket name of the customer S3 bucket.
*/ inline void SetBucketName(const char* value) { m_bucketNameHasBeenSet = true; m_bucketName.assign(value); } /** *The bucket name of the customer S3 bucket.
*/ inline DataSourceS3Configuration& WithBucketName(const Aws::String& value) { SetBucketName(value); return *this;} /** *The bucket name of the customer S3 bucket.
*/ inline DataSourceS3Configuration& WithBucketName(Aws::String&& value) { SetBucketName(std::move(value)); return *this;} /** *The bucket name of the customer S3 bucket.
*/ inline DataSourceS3Configuration& WithBucketName(const char* value) { SetBucketName(value); return *this;} /** **/ inline const Aws::String& GetObjectKeyPrefix() const{ return m_objectKeyPrefix; } /** *
*/ inline bool ObjectKeyPrefixHasBeenSet() const { return m_objectKeyPrefixHasBeenSet; } /** *
*/ inline void SetObjectKeyPrefix(const Aws::String& value) { m_objectKeyPrefixHasBeenSet = true; m_objectKeyPrefix = value; } /** *
*/ inline void SetObjectKeyPrefix(Aws::String&& value) { m_objectKeyPrefixHasBeenSet = true; m_objectKeyPrefix = std::move(value); } /** *
*/ inline void SetObjectKeyPrefix(const char* value) { m_objectKeyPrefixHasBeenSet = true; m_objectKeyPrefix.assign(value); } /** *
*/ inline DataSourceS3Configuration& WithObjectKeyPrefix(const Aws::String& value) { SetObjectKeyPrefix(value); return *this;} /** *
*/ inline DataSourceS3Configuration& WithObjectKeyPrefix(Aws::String&& value) { SetObjectKeyPrefix(std::move(value)); return *this;} /** *
*/ inline DataSourceS3Configuration& WithObjectKeyPrefix(const char* value) { SetObjectKeyPrefix(value); return *this;} private: Aws::String m_bucketName; bool m_bucketNameHasBeenSet = false; Aws::String m_objectKeyPrefix; bool m_objectKeyPrefixHasBeenSet = false; }; } // namespace Model } // namespace TimestreamWrite } // namespace Aws