/**
* Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
* SPDX-License-Identifier: Apache-2.0.
*/
#pragma once
#include Specifies the information about the bucket that will be created. For more
* information about directory buckets, see Directory
* buckets in the Amazon S3 User Guide. This functionality
* is only supported by directory buckets.See Also:
AWS API
* Reference
The number of Availability Zone that's used for redundancy for the * bucket.
*/ inline const DataRedundancy& GetDataRedundancy() const{ return m_dataRedundancy; } /** *The number of Availability Zone that's used for redundancy for the * bucket.
*/ inline bool DataRedundancyHasBeenSet() const { return m_dataRedundancyHasBeenSet; } /** *The number of Availability Zone that's used for redundancy for the * bucket.
*/ inline void SetDataRedundancy(const DataRedundancy& value) { m_dataRedundancyHasBeenSet = true; m_dataRedundancy = value; } /** *The number of Availability Zone that's used for redundancy for the * bucket.
*/ inline void SetDataRedundancy(DataRedundancy&& value) { m_dataRedundancyHasBeenSet = true; m_dataRedundancy = std::move(value); } /** *The number of Availability Zone that's used for redundancy for the * bucket.
*/ inline BucketInfo& WithDataRedundancy(const DataRedundancy& value) { SetDataRedundancy(value); return *this;} /** *The number of Availability Zone that's used for redundancy for the * bucket.
*/ inline BucketInfo& WithDataRedundancy(DataRedundancy&& value) { SetDataRedundancy(std::move(value)); return *this;} /** *The type of bucket.
*/ inline const BucketType& GetType() const{ return m_type; } /** *The type of bucket.
*/ inline bool TypeHasBeenSet() const { return m_typeHasBeenSet; } /** *The type of bucket.
*/ inline void SetType(const BucketType& value) { m_typeHasBeenSet = true; m_type = value; } /** *The type of bucket.
*/ inline void SetType(BucketType&& value) { m_typeHasBeenSet = true; m_type = std::move(value); } /** *The type of bucket.
*/ inline BucketInfo& WithType(const BucketType& value) { SetType(value); return *this;} /** *The type of bucket.
*/ inline BucketInfo& WithType(BucketType&& value) { SetType(std::move(value)); return *this;} private: DataRedundancy m_dataRedundancy; bool m_dataRedundancyHasBeenSet = false; BucketType m_type; bool m_typeHasBeenSet = false; }; } // namespace Model } // namespace S3 } // namespace Aws