7#include <aws/glacier/Glacier_EXPORTS.h>
8#include <aws/glacier/model/Grantee.h>
9#include <aws/glacier/model/Permission.h>
35 AWS_GLACIER_API
Grant() =
default;
47 template<
typename GranteeT = Grantee>
48 void SetGrantee(GranteeT&& value) { m_granteeHasBeenSet =
true; m_grantee = std::forward<GranteeT>(value); }
49 template<
typename GranteeT = Grantee>
65 bool m_granteeHasBeenSet =
false;
68 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