7#include <aws/core/utils/memory/stl/AWSString.h>
8#include <aws/core/utils/memory/stl/AWSVector.h>
9#include <aws/s3/S3_EXPORTS.h>
10#include <aws/s3/model/Grant.h>
11#include <aws/s3/model/Owner.h>
12#include <aws/s3/model/RequestCharged.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));
77 m_requestChargedHasBeenSet =
true;
78 m_requestCharged = value;
89 template <
typename RequestIdT = Aws::String>
91 m_requestIdHasBeenSet =
true;
92 m_requestId = std::forward<RequestIdT>(value);
94 template <
typename RequestIdT = Aws::String>
108 bool m_ownerHasBeenSet =
false;
109 bool m_grantsHasBeenSet =
false;
110 bool m_requestChargedHasBeenSet =
false;
111 bool m_requestIdHasBeenSet =
false;
GetObjectAclResult & WithGrants(GrantsT &&value)
void SetRequestCharged(RequestCharged value)
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