7#include <aws/s3/S3_EXPORTS.h>
8#include <aws/s3/model/BucketLogsPermission.h>
9#include <aws/s3/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;
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)