7#include <aws/s3control/S3Control_EXPORTS.h>
8#include <aws/core/utils/memory/stl/AWSString.h>
34 AWS_S3CONTROL_API
Region() =
default;
47 template<
typename BucketT = Aws::String>
48 void SetBucket(BucketT&& value) { m_bucketHasBeenSet =
true; m_bucket = std::forward<BucketT>(value); }
49 template<
typename BucketT = Aws::String>
60 template<
typename BucketAccountIdT = Aws::String>
61 void SetBucketAccountId(BucketAccountIdT&& value) { m_bucketAccountIdHasBeenSet =
true; m_bucketAccountId = std::forward<BucketAccountIdT>(value); }
62 template<
typename BucketAccountIdT = Aws::String>
68 bool m_bucketHasBeenSet =
false;
71 bool m_bucketAccountIdHasBeenSet =
false;
AWS_S3CONTROL_API void AddToNode(Aws::Utils::Xml::XmlNode &parentNode) const
const Aws::String & GetBucketAccountId() const
Region & WithBucketAccountId(BucketAccountIdT &&value)
AWS_S3CONTROL_API Region & operator=(const Aws::Utils::Xml::XmlNode &xmlNode)
bool BucketHasBeenSet() const
AWS_S3CONTROL_API Region()=default
void SetBucket(BucketT &&value)
Region & WithBucket(BucketT &&value)
void SetBucketAccountId(BucketAccountIdT &&value)
const Aws::String & GetBucket() const
AWS_S3CONTROL_API Region(const Aws::Utils::Xml::XmlNode &xmlNode)
bool BucketAccountIdHasBeenSet() const
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String