7#include <aws/s3-crt/S3Crt_EXPORTS.h>
8#include <aws/s3-crt/model/Grantee.h>
9#include <aws/s3-crt/model/Permission.h>
47 inline void SetGrantee(
const Grantee& value) { m_granteeHasBeenSet =
true; m_grantee = value; }
48 inline void SetGrantee(
Grantee&& value) { m_granteeHasBeenSet =
true; m_grantee = std::move(value); }
67 bool m_granteeHasBeenSet =
false;
70 bool m_permissionHasBeenSet =
false;
AWS_S3CRT_API Grant & operator=(const Aws::Utils::Xml::XmlNode &xmlNode)
bool PermissionHasBeenSet() const
void SetGrantee(const Grantee &value)
const Grantee & GetGrantee() const
Grant & WithGrantee(const Grantee &value)
const Permission & GetPermission() const
void SetGrantee(Grantee &&value)
void SetPermission(Permission &&value)
AWS_S3CRT_API Grant(const Aws::Utils::Xml::XmlNode &xmlNode)
void SetPermission(const Permission &value)
Grant & WithPermission(Permission &&value)
bool GranteeHasBeenSet() const
AWS_S3CRT_API void AddToNode(Aws::Utils::Xml::XmlNode &parentNode) const
Grant & WithPermission(const Permission &value)
Grant & WithGrantee(Grantee &&value)