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/core/utils/memory/stl/AWSString.h>
11#include <aws/s3/model/Grant.h>
16template<
typename RESULT_TYPE>
17class AmazonWebServiceResult;
43 template<
typename OwnerT = Owner>
44 void SetOwner(OwnerT&& value) { m_ownerHasBeenSet =
true; m_owner = std::forward<OwnerT>(value); }
45 template<
typename OwnerT = Owner>
54 template<
typename GrantsT = Aws::Vector<Grant>>
55 void SetGrants(GrantsT&& value) { m_grantsHasBeenSet =
true; m_grants = std::forward<GrantsT>(value); }
56 template<
typename GrantsT = Aws::Vector<Grant>>
58 template<
typename GrantsT = Grant>
59 GetBucketAclResult&
AddGrants(GrantsT&& value) { m_grantsHasBeenSet =
true; m_grants.emplace_back(std::forward<GrantsT>(value));
return *
this; }
65 template<
typename RequestIdT = Aws::String>
66 void SetRequestId(RequestIdT&& value) { m_requestIdHasBeenSet =
true; m_requestId = std::forward<RequestIdT>(value); }
67 template<
typename RequestIdT = Aws::String>
73 bool m_ownerHasBeenSet =
false;
76 bool m_grantsHasBeenSet =
false;
79 bool m_requestIdHasBeenSet =
false;
AWS_S3_API GetBucketAclResult & operator=(const Aws::AmazonWebServiceResult< Aws::Utils::Xml::XmlDocument > &result)
AWS_S3_API GetBucketAclResult(const Aws::AmazonWebServiceResult< Aws::Utils::Xml::XmlDocument > &result)
const Owner & GetOwner() const
AWS_S3_API GetBucketAclResult()=default
GetBucketAclResult & WithGrants(GrantsT &&value)
GetBucketAclResult & AddGrants(GrantsT &&value)
void SetGrants(GrantsT &&value)
GetBucketAclResult & WithRequestId(RequestIdT &&value)
void SetRequestId(RequestIdT &&value)
void SetOwner(OwnerT &&value)
const Aws::Vector< Grant > & GetGrants() const
GetBucketAclResult & WithOwner(OwnerT &&value)
const Aws::String & GetRequestId() 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