/**
* Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
* SPDX-License-Identifier: Apache-2.0.
*/
#pragma once
#include Output for GetVaultAccessPolicy.See Also:
AWS
* API Reference
Contains the returned vault access policy as a JSON string.
*/ inline const VaultAccessPolicy& GetPolicy() const{ return m_policy; } /** *Contains the returned vault access policy as a JSON string.
*/ inline void SetPolicy(const VaultAccessPolicy& value) { m_policy = value; } /** *Contains the returned vault access policy as a JSON string.
*/ inline void SetPolicy(VaultAccessPolicy&& value) { m_policy = std::move(value); } /** *Contains the returned vault access policy as a JSON string.
*/ inline GetVaultAccessPolicyResult& WithPolicy(const VaultAccessPolicy& value) { SetPolicy(value); return *this;} /** *Contains the returned vault access policy as a JSON string.
*/ inline GetVaultAccessPolicyResult& WithPolicy(VaultAccessPolicy&& value) { SetPolicy(std::move(value)); return *this;} private: VaultAccessPolicy m_policy; }; } // namespace Model } // namespace Glacier } // namespace Aws