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/BucketLocationConstraint.h>
15template <
typename RESULT_TYPE>
16class AmazonWebServiceResult;
42 m_locationConstraintHasBeenSet =
true;
43 m_locationConstraint = value;
54 template <
typename RequestIdT = Aws::String>
56 m_requestIdHasBeenSet =
true;
57 m_requestId = std::forward<RequestIdT>(value);
59 template <
typename RequestIdT = Aws::String>
72 bool m_locationConstraintHasBeenSet =
false;
73 bool m_requestIdHasBeenSet =
false;
GetBucketLocationResult & WithRequestId(RequestIdT &&value)
void SetRequestId(RequestIdT &&value)
AWS_S3CRT_API GetBucketLocationResult()=default
void SetLocationConstraint(BucketLocationConstraint value)
const Aws::String & GetRequestId() const
BucketLocationConstraint GetLocationConstraint() const
AWS_S3CRT_API GetBucketLocationResult(const Aws::AmazonWebServiceResult< Aws::Utils::Xml::XmlDocument > &result)
Aws::Http::HttpResponseCode GetHttpResponseCode() const
GetBucketLocationResult & WithLocationConstraint(BucketLocationConstraint value)
AWS_S3CRT_API GetBucketLocationResult & operator=(const Aws::AmazonWebServiceResult< Aws::Utils::Xml::XmlDocument > &result)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Xml::XmlDocument XmlDocument