7#include <aws/core/http/HttpResponse.h>
8#include <aws/core/utils/memory/stl/AWSString.h>
9#include <aws/s3-crt/S3Crt_EXPORTS.h>
10#include <aws/s3-crt/model/LocationType.h>
15template <
typename RESULT_TYPE>
16class AmazonWebServiceResult;
41 template <
typename BucketArnT = Aws::String>
43 m_bucketArnHasBeenSet =
true;
44 m_bucketArn = std::forward<BucketArnT>(value);
46 template <
typename BucketArnT = Aws::String>
60 m_bucketLocationTypeHasBeenSet =
true;
61 m_bucketLocationType = value;
78 template <
typename BucketLocationNameT = Aws::String>
80 m_bucketLocationNameHasBeenSet =
true;
81 m_bucketLocationName = std::forward<BucketLocationNameT>(value);
83 template <
typename BucketLocationNameT = Aws::String>
95 template <
typename BucketRegionT = Aws::String>
97 m_bucketRegionHasBeenSet =
true;
98 m_bucketRegion = std::forward<BucketRegionT>(value);
100 template <
typename BucketRegionT = Aws::String>
115 m_accessPointAliasHasBeenSet =
true;
116 m_accessPointAlias = value;
127 template <
typename RequestIdT = Aws::String>
129 m_requestIdHasBeenSet =
true;
130 m_requestId = std::forward<RequestIdT>(value);
132 template <
typename RequestIdT = Aws::String>
149 bool m_accessPointAlias{
false};
153 bool m_bucketArnHasBeenSet =
false;
154 bool m_bucketLocationTypeHasBeenSet =
false;
155 bool m_bucketLocationNameHasBeenSet =
false;
156 bool m_bucketRegionHasBeenSet =
false;
157 bool m_accessPointAliasHasBeenSet =
false;
158 bool m_requestIdHasBeenSet =
false;
AWS_S3CRT_API HeadBucketResult & operator=(const Aws::AmazonWebServiceResult< Aws::Utils::Xml::XmlDocument > &result)
HeadBucketResult & WithBucketRegion(BucketRegionT &&value)
void SetRequestId(RequestIdT &&value)
void SetBucketRegion(BucketRegionT &&value)
HeadBucketResult & WithBucketArn(BucketArnT &&value)
Aws::Http::HttpResponseCode GetHttpResponseCode() const
void SetAccessPointAlias(bool value)
const Aws::String & GetBucketRegion() const
const Aws::String & GetRequestId() const
LocationType GetBucketLocationType() const
const Aws::String & GetBucketLocationName() const
HeadBucketResult & WithBucketLocationName(BucketLocationNameT &&value)
HeadBucketResult & WithRequestId(RequestIdT &&value)
void SetBucketArn(BucketArnT &&value)
AWS_S3CRT_API HeadBucketResult(const Aws::AmazonWebServiceResult< Aws::Utils::Xml::XmlDocument > &result)
AWS_S3CRT_API HeadBucketResult()=default
HeadBucketResult & WithBucketLocationType(LocationType value)
void SetBucketLocationName(BucketLocationNameT &&value)
bool GetAccessPointAlias() const
const Aws::String & GetBucketArn() const
HeadBucketResult & WithAccessPointAlias(bool value)
void SetBucketLocationType(LocationType value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Xml::XmlDocument XmlDocument