7#include <aws/s3/S3_EXPORTS.h>
8#include <aws/s3/model/Grantee.h>
9#include <aws/s3/model/BucketLogsPermission.h>
52 template<
typename GranteeT = Grantee>
53 void SetGrantee(GranteeT&& value) { m_granteeHasBeenSet =
true; m_grantee = std::forward<GranteeT>(value); }
54 template<
typename GranteeT = Grantee>
70 bool m_granteeHasBeenSet =
false;
73 bool m_permissionHasBeenSet =
false;
bool PermissionHasBeenSet() const
void SetGrantee(GranteeT &&value)
BucketLogsPermission GetPermission() const
AWS_S3_API TargetGrant()=default
TargetGrant & WithPermission(BucketLogsPermission value)
void SetPermission(BucketLogsPermission value)
AWS_S3_API TargetGrant & operator=(const Aws::Utils::Xml::XmlNode &xmlNode)
const Grantee & GetGrantee() const
bool GranteeHasBeenSet() const
AWS_S3_API void AddToNode(Aws::Utils::Xml::XmlNode &parentNode) const
AWS_S3_API TargetGrant(const Aws::Utils::Xml::XmlNode &xmlNode)
TargetGrant & WithGrantee(GranteeT &&value)