7#include <aws/s3-crt/S3Crt_EXPORTS.h>
8#include <aws/core/utils/memory/stl/AWSVector.h>
9#include <aws/s3-crt/model/Owner.h>
10#include <aws/s3-crt/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;
bool GrantsHasBeenSet() const
AccessControlPolicy & WithOwner(Owner &&value)
AWS_S3CRT_API AccessControlPolicy & operator=(const Aws::Utils::Xml::XmlNode &xmlNode)
AccessControlPolicy & WithOwner(const Owner &value)
AccessControlPolicy & WithGrants(const Aws::Vector< Grant > &value)
void SetGrants(const Aws::Vector< Grant > &value)
void SetGrants(Aws::Vector< Grant > &&value)
void SetOwner(Owner &&value)
const Aws::Vector< Grant > & GetGrants() const
AccessControlPolicy & WithGrants(Aws::Vector< Grant > &&value)
AccessControlPolicy & AddGrants(const Grant &value)
AWS_S3CRT_API AccessControlPolicy(const Aws::Utils::Xml::XmlNode &xmlNode)
bool OwnerHasBeenSet() const
AccessControlPolicy & AddGrants(Grant &&value)
void SetOwner(const Owner &value)
AWS_S3CRT_API void AddToNode(Aws::Utils::Xml::XmlNode &parentNode) const
AWS_S3CRT_API AccessControlPolicy()
const Owner & GetOwner() const
std::vector< T, Aws::Allocator< T > > Vector