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>
63 inline void SetOwner(
const Owner& value) { m_ownerHasBeenSet =
true; m_owner = value; }
64 inline void SetOwner(
Owner&& value) { m_ownerHasBeenSet =
true; m_owner = std::move(value); }
71 bool m_grantsHasBeenSet =
false;
74 bool m_ownerHasBeenSet =
false;
const Owner & GetOwner() const
AWS_S3_API AccessControlPolicy()
void SetGrants(Aws::Vector< Grant > &&value)
AccessControlPolicy & AddGrants(Grant &&value)
AccessControlPolicy & WithGrants(Aws::Vector< Grant > &&value)
AWS_S3_API AccessControlPolicy(const Aws::Utils::Xml::XmlNode &xmlNode)
bool GrantsHasBeenSet() const
AccessControlPolicy & WithOwner(Owner &&value)
AWS_S3_API AccessControlPolicy & operator=(const Aws::Utils::Xml::XmlNode &xmlNode)
AccessControlPolicy & AddGrants(const Grant &value)
AWS_S3_API void AddToNode(Aws::Utils::Xml::XmlNode &parentNode) const
void SetGrants(const Aws::Vector< Grant > &value)
bool OwnerHasBeenSet() const
const Aws::Vector< Grant > & GetGrants() const
void SetOwner(const Owner &value)
void SetOwner(Owner &&value)
AccessControlPolicy & WithGrants(const Aws::Vector< Grant > &value)
AccessControlPolicy & WithOwner(const Owner &value)
std::vector< T, Aws::Allocator< T > > Vector