7#include <aws/s3-crt/S3Crt_EXPORTS.h>
8#include <aws/s3-crt/model/BucketLogsPermission.h>
9#include <aws/s3-crt/model/Grantee.h>
46 template <
typename GranteeT = Grantee>
48 m_granteeHasBeenSet =
true;
49 m_grantee = std::forward<GranteeT>(value);
51 template <
typename GranteeT = Grantee>
65 m_permissionHasBeenSet =
true;
77 bool m_granteeHasBeenSet =
false;
78 bool m_permissionHasBeenSet =
false;
const Grantee & GetGrantee() const
bool GranteeHasBeenSet() const
AWS_S3CRT_API TargetGrant()=default
TargetGrant & WithGrantee(GranteeT &&value)
AWS_S3CRT_API TargetGrant(const Aws::Utils::Xml::XmlNode &xmlNode)
void SetGrantee(GranteeT &&value)
bool PermissionHasBeenSet() const
BucketLogsPermission GetPermission() const
void SetPermission(BucketLogsPermission value)
AWS_S3CRT_API void AddToNode(Aws::Utils::Xml::XmlNode &parentNode) const
TargetGrant & WithPermission(BucketLogsPermission value)
AWS_S3CRT_API TargetGrant & operator=(const Aws::Utils::Xml::XmlNode &xmlNode)