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/S3_EXPORTS.h>
11#include <aws/s3/model/Grant.h>
12#include <aws/s3/model/Owner.h>
13#include <aws/s3/model/RequestCharged.h>
18template <
typename RESULT_TYPE>
19class AmazonWebServiceResult;
39 template <
typename OwnerT = Owner>
41 m_ownerHasBeenSet =
true;
42 m_owner = std::forward<OwnerT>(value);
44 template <
typename OwnerT = Owner>
46 SetOwner(std::forward<OwnerT>(value));
56 template <
typename GrantsT = Aws::Vector<Grant>>
58 m_grantsHasBeenSet =
true;
59 m_grants = std::forward<GrantsT>(value);
61 template <
typename GrantsT = Aws::Vector<Grant>>
66 template <
typename GrantsT = Grant>
68 m_grantsHasBeenSet =
true;
69 m_grants.emplace_back(std::forward<GrantsT>(value));
78 m_requestChargedHasBeenSet =
true;
79 m_requestCharged = value;
90 template <
typename RequestIdT = Aws::String>
92 m_requestIdHasBeenSet =
true;
93 m_requestId = std::forward<RequestIdT>(value);
95 template <
typename RequestIdT = Aws::String>
112 bool m_ownerHasBeenSet =
false;
113 bool m_grantsHasBeenSet =
false;
114 bool m_requestChargedHasBeenSet =
false;
115 bool m_requestIdHasBeenSet =
false;
GetObjectAclResult & WithGrants(GrantsT &&value)
void SetRequestCharged(RequestCharged value)
Aws::Http::HttpResponseCode GetHttpResponseCode() const
const Owner & GetOwner() const
AWS_S3_API GetObjectAclResult(const Aws::AmazonWebServiceResult< Aws::Utils::Xml::XmlDocument > &result)
void SetOwner(OwnerT &&value)
AWS_S3_API GetObjectAclResult & operator=(const Aws::AmazonWebServiceResult< Aws::Utils::Xml::XmlDocument > &result)
GetObjectAclResult & WithRequestId(RequestIdT &&value)
GetObjectAclResult & WithOwner(OwnerT &&value)
GetObjectAclResult & AddGrants(GrantsT &&value)
void SetGrants(GrantsT &&value)
const Aws::Vector< Grant > & GetGrants() const
void SetRequestId(RequestIdT &&value)
GetObjectAclResult & WithRequestCharged(RequestCharged value)
const Aws::String & GetRequestId() const
AWS_S3_API GetObjectAclResult()=default
RequestCharged GetRequestCharged() const
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
std::vector< T, Aws::Allocator< T > > Vector
Aws::Utils::Xml::XmlDocument XmlDocument