7#include <aws/core/http/HttpResponse.h>
8#include <aws/core/utils/memory/stl/AWSString.h>
9#include <aws/core/utils/memory/stl/AWSVector.h>
10#include <aws/s3-crt/S3Crt_EXPORTS.h>
11#include <aws/s3-crt/model/Grant.h>
12#include <aws/s3-crt/model/Owner.h>
17template <
typename RESULT_TYPE>
18class AmazonWebServiceResult;
38 template <
typename OwnerT = Owner>
40 m_ownerHasBeenSet =
true;
41 m_owner = std::forward<OwnerT>(value);
43 template <
typename OwnerT = Owner>
45 SetOwner(std::forward<OwnerT>(value));
55 template <
typename GrantsT = Aws::Vector<Grant>>
57 m_grantsHasBeenSet =
true;
58 m_grants = std::forward<GrantsT>(value);
60 template <
typename GrantsT = Aws::Vector<Grant>>
65 template <
typename GrantsT = Grant>
67 m_grantsHasBeenSet =
true;
68 m_grants.emplace_back(std::forward<GrantsT>(value));
76 template <
typename RequestIdT = Aws::String>
78 m_requestIdHasBeenSet =
true;
79 m_requestId = std::forward<RequestIdT>(value);
81 template <
typename RequestIdT = Aws::String>
96 bool m_ownerHasBeenSet =
false;
97 bool m_grantsHasBeenSet =
false;
98 bool m_requestIdHasBeenSet =
false;
AWS_S3CRT_API GetBucketAclResult(const Aws::AmazonWebServiceResult< Aws::Utils::Xml::XmlDocument > &result)
GetBucketAclResult & AddGrants(GrantsT &&value)
Aws::Http::HttpResponseCode GetHttpResponseCode() const
GetBucketAclResult & WithGrants(GrantsT &&value)
const Owner & GetOwner() const
const Aws::Vector< Grant > & GetGrants() const
void SetRequestId(RequestIdT &&value)
void SetGrants(GrantsT &&value)
const Aws::String & GetRequestId() const
GetBucketAclResult & WithOwner(OwnerT &&value)
void SetOwner(OwnerT &&value)
GetBucketAclResult & WithRequestId(RequestIdT &&value)
AWS_S3CRT_API GetBucketAclResult & operator=(const Aws::AmazonWebServiceResult< Aws::Utils::Xml::XmlDocument > &result)
AWS_S3CRT_API GetBucketAclResult()=default
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
std::vector< T, Aws::Allocator< T > > Vector
Aws::Utils::Xml::XmlDocument XmlDocument