7#include <aws/s3control/S3Control_EXPORTS.h>
8#include <aws/s3control/model/S3Grantee.h>
9#include <aws/s3control/model/S3Permission.h>
41 template <
typename GranteeT = S3Grantee>
43 m_granteeHasBeenSet =
true;
44 m_grantee = std::forward<GranteeT>(value);
46 template <
typename GranteeT = S3Grantee>
60 m_permissionHasBeenSet =
true;
72 bool m_granteeHasBeenSet =
false;
73 bool m_permissionHasBeenSet =
false;
void SetGrantee(GranteeT &&value)
S3Grant & WithGrantee(GranteeT &&value)
const S3Grantee & GetGrantee() const
S3Grant & WithPermission(S3Permission value)
S3Permission GetPermission() const
AWS_S3CONTROL_API void AddToNode(Aws::Utils::Xml::XmlNode &parentNode) const
void SetPermission(S3Permission value)
bool PermissionHasBeenSet() const
AWS_S3CONTROL_API S3Grant & operator=(const Aws::Utils::Xml::XmlNode &xmlNode)
bool GranteeHasBeenSet() const
AWS_S3CONTROL_API S3Grant(const Aws::Utils::Xml::XmlNode &xmlNode)
AWS_S3CONTROL_API S3Grant()=default