7#include <aws/s3/S3_EXPORTS.h>
8#include <aws/s3/model/BucketLocationConstraint.h>
9#include <aws/s3/model/LocationInfo.h>
10#include <aws/s3/model/BucketInfo.h>
11#include <aws/core/utils/memory/stl/AWSVector.h>
12#include <aws/s3/model/Tag.h>
77 template<
typename LocationT = LocationInfo>
78 void SetLocation(LocationT&& value) { m_locationHasBeenSet =
true; m_location = std::forward<LocationT>(value); }
79 template<
typename LocationT = LocationInfo>
90 template<
typename BucketT = BucketInfo>
91 void SetBucket(BucketT&& value) { m_bucketHasBeenSet =
true; m_bucket = std::forward<BucketT>(value); }
92 template<
typename BucketT = BucketInfo>
107 template<
typename TagsT = Aws::Vector<Tag>>
108 void SetTags(TagsT&& value) { m_tagsHasBeenSet =
true; m_tags = std::forward<TagsT>(value); }
109 template<
typename TagsT = Aws::Vector<Tag>>
111 template<
typename TagsT = Tag>
117 bool m_locationConstraintHasBeenSet =
false;
119 LocationInfo m_location;
120 bool m_locationHasBeenSet =
false;
123 bool m_bucketHasBeenSet =
false;
126 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