7#include <aws/core/utils/memory/stl/AWSString.h>
8#include <aws/s3/S3_EXPORTS.h>
9#include <aws/s3/model/LocationType.h>
14template <
typename RESULT_TYPE>
15class AmazonWebServiceResult;
40 template <
typename BucketArnT = Aws::String>
42 m_bucketArnHasBeenSet =
true;
43 m_bucketArn = std::forward<BucketArnT>(value);
45 template <
typename BucketArnT = Aws::String>
59 m_bucketLocationTypeHasBeenSet =
true;
60 m_bucketLocationType = value;
77 template <
typename BucketLocationNameT = Aws::String>
79 m_bucketLocationNameHasBeenSet =
true;
80 m_bucketLocationName = std::forward<BucketLocationNameT>(value);
82 template <
typename BucketLocationNameT = Aws::String>
94 template <
typename BucketRegionT = Aws::String>
96 m_bucketRegionHasBeenSet =
true;
97 m_bucketRegion = std::forward<BucketRegionT>(value);
99 template <
typename BucketRegionT = Aws::String>
114 m_accessPointAliasHasBeenSet =
true;
115 m_accessPointAlias = value;
126 template <
typename RequestIdT = Aws::String>
128 m_requestIdHasBeenSet =
true;
129 m_requestId = std::forward<RequestIdT>(value);
131 template <
typename RequestIdT = Aws::String>
146 bool m_accessPointAlias{
false};
149 bool m_bucketArnHasBeenSet =
false;
150 bool m_bucketLocationTypeHasBeenSet =
false;
151 bool m_bucketLocationNameHasBeenSet =
false;
152 bool m_bucketRegionHasBeenSet =
false;
153 bool m_accessPointAliasHasBeenSet =
false;
154 bool m_requestIdHasBeenSet =
false;
const Aws::String & GetRequestId() const
void SetAccessPointAlias(bool value)
void SetRequestId(RequestIdT &&value)
bool GetAccessPointAlias() const
HeadBucketResult & WithBucketArn(BucketArnT &&value)
AWS_S3_API HeadBucketResult()=default
void SetBucketLocationName(BucketLocationNameT &&value)
HeadBucketResult & WithBucketLocationType(LocationType value)
const Aws::String & GetBucketLocationName() const
void SetBucketArn(BucketArnT &&value)
const Aws::String & GetBucketArn() const
const Aws::String & GetBucketRegion() const
HeadBucketResult & WithRequestId(RequestIdT &&value)
HeadBucketResult & WithBucketLocationName(BucketLocationNameT &&value)
HeadBucketResult & WithAccessPointAlias(bool value)
void SetBucketRegion(BucketRegionT &&value)
AWS_S3_API HeadBucketResult & operator=(const Aws::AmazonWebServiceResult< Aws::Utils::Xml::XmlDocument > &result)
void SetBucketLocationType(LocationType value)
AWS_S3_API HeadBucketResult(const Aws::AmazonWebServiceResult< Aws::Utils::Xml::XmlDocument > &result)
LocationType GetBucketLocationType() const
HeadBucketResult & WithBucketRegion(BucketRegionT &&value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Xml::XmlDocument XmlDocument