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