/**
* Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
* SPDX-License-Identifier: Apache-2.0.
*/
#pragma once
#include The configuration information for the bucket.See Also:
AWS
* API Reference
Specifies the Region where the bucket will be created. If you don't specify a * Region, the bucket is created in the US East (N. Virginia) Region * (us-east-1).
*/ inline const BucketLocationConstraint& GetLocationConstraint() const{ return m_locationConstraint; } /** *Specifies the Region where the bucket will be created. If you don't specify a * Region, the bucket is created in the US East (N. Virginia) Region * (us-east-1).
*/ inline bool LocationConstraintHasBeenSet() const { return m_locationConstraintHasBeenSet; } /** *Specifies the Region where the bucket will be created. If you don't specify a * Region, the bucket is created in the US East (N. Virginia) Region * (us-east-1).
*/ inline void SetLocationConstraint(const BucketLocationConstraint& value) { m_locationConstraintHasBeenSet = true; m_locationConstraint = value; } /** *Specifies the Region where the bucket will be created. If you don't specify a * Region, the bucket is created in the US East (N. Virginia) Region * (us-east-1).
*/ inline void SetLocationConstraint(BucketLocationConstraint&& value) { m_locationConstraintHasBeenSet = true; m_locationConstraint = std::move(value); } /** *Specifies the Region where the bucket will be created. If you don't specify a * Region, the bucket is created in the US East (N. Virginia) Region * (us-east-1).
*/ inline CreateBucketConfiguration& WithLocationConstraint(const BucketLocationConstraint& value) { SetLocationConstraint(value); return *this;} /** *Specifies the Region where the bucket will be created. If you don't specify a * Region, the bucket is created in the US East (N. Virginia) Region * (us-east-1).
*/ inline CreateBucketConfiguration& WithLocationConstraint(BucketLocationConstraint&& value) { SetLocationConstraint(std::move(value)); return *this;} private: BucketLocationConstraint m_locationConstraint; bool m_locationConstraintHasBeenSet; }; } // namespace Model } // namespace S3 } // namespace Aws