7#include <aws/s3/S3_EXPORTS.h>
8#include <aws/s3/model/Grantee.h>
9#include <aws/s3/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;
bool PermissionHasBeenSet() const
void SetPermission(Permission &&value)
const Permission & GetPermission() const
Grant & WithPermission(Permission &&value)
void SetPermission(const Permission &value)
Grant & WithPermission(const Permission &value)
bool GranteeHasBeenSet() const
Grant & WithGrantee(Grantee &&value)
AWS_S3_API Grant(const Aws::Utils::Xml::XmlNode &xmlNode)
void SetGrantee(const Grantee &value)
AWS_S3_API void AddToNode(Aws::Utils::Xml::XmlNode &parentNode) const
Grant & WithGrantee(const Grantee &value)
void SetGrantee(Grantee &&value)
AWS_S3_API Grant & operator=(const Aws::Utils::Xml::XmlNode &xmlNode)
const Grantee & GetGrantee() const