7#include <aws/s3/S3_EXPORTS.h>
8#include <aws/s3/model/Owner.h>
9#include <aws/core/utils/memory/stl/AWSVector.h>
10#include <aws/s3/model/RequestCharged.h>
11#include <aws/core/utils/memory/stl/AWSString.h>
12#include <aws/s3/model/Grant.h>
17template<
typename RESULT_TYPE>
18class AmazonWebServiceResult;
44 template<
typename OwnerT = Owner>
45 void SetOwner(OwnerT&& value) { m_ownerHasBeenSet =
true; m_owner = std::forward<OwnerT>(value); }
46 template<
typename OwnerT = Owner>
55 template<
typename GrantsT = Aws::Vector<Grant>>
56 void SetGrants(GrantsT&& value) { m_grantsHasBeenSet =
true; m_grants = std::forward<GrantsT>(value); }
57 template<
typename GrantsT = Aws::Vector<Grant>>
59 template<
typename GrantsT = Grant>
60 GetObjectAclResult&
AddGrants(GrantsT&& value) { m_grantsHasBeenSet =
true; m_grants.emplace_back(std::forward<GrantsT>(value));
return *
this; }
73 template<
typename RequestIdT = Aws::String>
74 void SetRequestId(RequestIdT&& value) { m_requestIdHasBeenSet =
true; m_requestId = std::forward<RequestIdT>(value); }
75 template<
typename RequestIdT = Aws::String>
81 bool m_ownerHasBeenSet =
false;
84 bool m_grantsHasBeenSet =
false;
87 bool m_requestChargedHasBeenSet =
false;
90 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