/**
* Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
* SPDX-License-Identifier: Apache-2.0.
*/
#pragma once
#include A Region that supports a Multi-Region Access Point as well as the associated
* bucket for the Region.See Also:
AWS
* API Reference
The name of the associated bucket for the Region.
*/ inline const Aws::String& GetBucket() const{ return m_bucket; } /** *The name of the associated bucket for the Region.
*/ inline bool BucketHasBeenSet() const { return m_bucketHasBeenSet; } /** *The name of the associated bucket for the Region.
*/ inline void SetBucket(const Aws::String& value) { m_bucketHasBeenSet = true; m_bucket = value; } /** *The name of the associated bucket for the Region.
*/ inline void SetBucket(Aws::String&& value) { m_bucketHasBeenSet = true; m_bucket = std::move(value); } /** *The name of the associated bucket for the Region.
*/ inline void SetBucket(const char* value) { m_bucketHasBeenSet = true; m_bucket.assign(value); } /** *The name of the associated bucket for the Region.
*/ inline Region& WithBucket(const Aws::String& value) { SetBucket(value); return *this;} /** *The name of the associated bucket for the Region.
*/ inline Region& WithBucket(Aws::String&& value) { SetBucket(std::move(value)); return *this;} /** *The name of the associated bucket for the Region.
*/ inline Region& WithBucket(const char* value) { SetBucket(value); return *this;} /** *The Amazon Web Services account ID that owns the Amazon S3 bucket that's * associated with this Multi-Region Access Point.
*/ inline const Aws::String& GetBucketAccountId() const{ return m_bucketAccountId; } /** *The Amazon Web Services account ID that owns the Amazon S3 bucket that's * associated with this Multi-Region Access Point.
*/ inline bool BucketAccountIdHasBeenSet() const { return m_bucketAccountIdHasBeenSet; } /** *The Amazon Web Services account ID that owns the Amazon S3 bucket that's * associated with this Multi-Region Access Point.
*/ inline void SetBucketAccountId(const Aws::String& value) { m_bucketAccountIdHasBeenSet = true; m_bucketAccountId = value; } /** *The Amazon Web Services account ID that owns the Amazon S3 bucket that's * associated with this Multi-Region Access Point.
*/ inline void SetBucketAccountId(Aws::String&& value) { m_bucketAccountIdHasBeenSet = true; m_bucketAccountId = std::move(value); } /** *The Amazon Web Services account ID that owns the Amazon S3 bucket that's * associated with this Multi-Region Access Point.
*/ inline void SetBucketAccountId(const char* value) { m_bucketAccountIdHasBeenSet = true; m_bucketAccountId.assign(value); } /** *The Amazon Web Services account ID that owns the Amazon S3 bucket that's * associated with this Multi-Region Access Point.
*/ inline Region& WithBucketAccountId(const Aws::String& value) { SetBucketAccountId(value); return *this;} /** *The Amazon Web Services account ID that owns the Amazon S3 bucket that's * associated with this Multi-Region Access Point.
*/ inline Region& WithBucketAccountId(Aws::String&& value) { SetBucketAccountId(std::move(value)); return *this;} /** *The Amazon Web Services account ID that owns the Amazon S3 bucket that's * associated with this Multi-Region Access Point.
*/ inline Region& WithBucketAccountId(const char* value) { SetBucketAccountId(value); return *this;} private: Aws::String m_bucket; bool m_bucketHasBeenSet = false; Aws::String m_bucketAccountId; bool m_bucketAccountIdHasBeenSet = false; }; } // namespace Model } // namespace S3Control } // namespace Aws