7#include <aws/core/utils/memory/stl/AWSVector.h>
8#include <aws/s3/S3_EXPORTS.h>
9#include <aws/s3/model/BucketInfo.h>
10#include <aws/s3/model/BucketLocationConstraint.h>
11#include <aws/s3/model/LocationInfo.h>
12#include <aws/s3/model/Tag.h>
55 m_locationConstraintHasBeenSet =
true;
56 m_locationConstraint = value;
77 template <
typename LocationT = LocationInfo>
79 m_locationHasBeenSet =
true;
80 m_location = std::forward<LocationT>(value);
82 template <
typename LocationT = LocationInfo>
96 template <
typename BucketT = BucketInfo>
98 m_bucketHasBeenSet =
true;
99 m_bucket = std::forward<BucketT>(value);
101 template <
typename BucketT = BucketInfo>
121 template <
typename TagsT = Aws::Vector<Tag>>
123 m_tagsHasBeenSet =
true;
124 m_tags = std::forward<TagsT>(value);
126 template <
typename TagsT = Aws::Vector<Tag>>
128 SetTags(std::forward<TagsT>(value));
131 template <
typename TagsT = Tag>
133 m_tagsHasBeenSet =
true;
134 m_tags.emplace_back(std::forward<TagsT>(value));
140 bool m_locationConstraintHasBeenSet =
false;
142 LocationInfo m_location;
143 bool m_locationHasBeenSet =
false;
146 bool m_bucketHasBeenSet =
false;
149 bool m_tagsHasBeenSet =
false;
CreateBucketConfiguration & WithBucket(BucketT &&value)
void SetLocation(LocationT &&value)
const LocationInfo & GetLocation() const
AWS_S3_API void AddToNode(Aws::Utils::Xml::XmlNode &parentNode) const
CreateBucketConfiguration & WithTags(TagsT &&value)
void SetBucket(BucketT &&value)
AWS_S3_API CreateBucketConfiguration & operator=(const Aws::Utils::Xml::XmlNode &xmlNode)
bool LocationHasBeenSet() const
CreateBucketConfiguration & WithLocationConstraint(BucketLocationConstraint value)
CreateBucketConfiguration & WithLocation(LocationT &&value)
CreateBucketConfiguration & AddTags(TagsT &&value)
void SetTags(TagsT &&value)
const BucketInfo & GetBucket() const
void SetLocationConstraint(BucketLocationConstraint value)
bool LocationConstraintHasBeenSet() const
bool TagsHasBeenSet() const
AWS_S3_API CreateBucketConfiguration()=default
bool BucketHasBeenSet() const
AWS_S3_API CreateBucketConfiguration(const Aws::Utils::Xml::XmlNode &xmlNode)
BucketLocationConstraint GetLocationConstraint() const
const Aws::Vector< Tag > & GetTags() const
std::vector< T, Aws::Allocator< T > > Vector