7#include <aws/glacier/Glacier_EXPORTS.h>
8#include <aws/glacier/model/Grantee.h>
9#include <aws/glacier/model/Permission.h>
30 AWS_GLACIER_API
Grant() =
default;
41 template <
typename GranteeT = Grantee>
43 m_granteeHasBeenSet =
true;
44 m_grantee = std::forward<GranteeT>(value);
46 template <
typename GranteeT = Grantee>
60 m_permissionHasBeenSet =
true;
70 bool m_granteeHasBeenSet =
false;
73 bool m_permissionHasBeenSet =
false;
const Grantee & GetGrantee() const
bool GranteeHasBeenSet() const
AWS_GLACIER_API Grant(Aws::Utils::Json::JsonView jsonValue)
void SetGrantee(GranteeT &&value)
AWS_GLACIER_API Aws::Utils::Json::JsonValue Jsonize() const
bool PermissionHasBeenSet() const
Grant & WithPermission(Permission value)
Permission GetPermission() const
Grant & WithGrantee(GranteeT &&value)
AWS_GLACIER_API Grant()=default
AWS_GLACIER_API Grant & operator=(Aws::Utils::Json::JsonView jsonValue)
void SetPermission(Permission value)
Aws::Utils::Json::JsonValue JsonValue