7#include <aws/s3/S3_EXPORTS.h>
8#include <aws/core/utils/memory/stl/AWSVector.h>
9#include <aws/s3/model/Owner.h>
10#include <aws/s3/model/Grant.h>
49 template<
typename GrantsT = Aws::Vector<Grant>>
50 void SetGrants(GrantsT&& value) { m_grantsHasBeenSet =
true; m_grants = std::forward<GrantsT>(value); }
51 template<
typename GrantsT = Aws::Vector<Grant>>
53 template<
typename GrantsT = Grant>
63 template<
typename OwnerT = Owner>
64 void SetOwner(OwnerT&& value) { m_ownerHasBeenSet =
true; m_owner = std::forward<OwnerT>(value); }
65 template<
typename OwnerT = Owner>
71 bool m_grantsHasBeenSet =
false;
74 bool m_ownerHasBeenSet =
false;
const Owner & GetOwner() const
AccessControlPolicy & WithGrants(GrantsT &&value)
AWS_S3_API AccessControlPolicy(const Aws::Utils::Xml::XmlNode &xmlNode)
AccessControlPolicy & AddGrants(GrantsT &&value)
AccessControlPolicy & WithOwner(OwnerT &&value)
bool GrantsHasBeenSet() const
void SetOwner(OwnerT &&value)
void SetGrants(GrantsT &&value)
AWS_S3_API AccessControlPolicy & operator=(const Aws::Utils::Xml::XmlNode &xmlNode)
AWS_S3_API void AddToNode(Aws::Utils::Xml::XmlNode &parentNode) const
AWS_S3_API AccessControlPolicy()=default
bool OwnerHasBeenSet() const
const Aws::Vector< Grant > & GetGrants() const
std::vector< T, Aws::Allocator< T > > Vector