/**
* Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
* SPDX-License-Identifier: Apache-2.0.
*/
#pragma once
#include Contains the response to a successful GetPolicyVersion request.
* See Also:
AWS
* API Reference
A structure containing details about the policy version.
*/ inline const PolicyVersion& GetPolicyVersion() const{ return m_policyVersion; } /** *A structure containing details about the policy version.
*/ inline void SetPolicyVersion(const PolicyVersion& value) { m_policyVersion = value; } /** *A structure containing details about the policy version.
*/ inline void SetPolicyVersion(PolicyVersion&& value) { m_policyVersion = std::move(value); } /** *A structure containing details about the policy version.
*/ inline GetPolicyVersionResult& WithPolicyVersion(const PolicyVersion& value) { SetPolicyVersion(value); return *this;} /** *A structure containing details about the policy version.
*/ inline GetPolicyVersionResult& WithPolicyVersion(PolicyVersion&& value) { SetPolicyVersion(std::move(value)); return *this;} inline const ResponseMetadata& GetResponseMetadata() const{ return m_responseMetadata; } inline void SetResponseMetadata(const ResponseMetadata& value) { m_responseMetadata = value; } inline void SetResponseMetadata(ResponseMetadata&& value) { m_responseMetadata = std::move(value); } inline GetPolicyVersionResult& WithResponseMetadata(const ResponseMetadata& value) { SetResponseMetadata(value); return *this;} inline GetPolicyVersionResult& WithResponseMetadata(ResponseMetadata&& value) { SetResponseMetadata(std::move(value)); return *this;} private: PolicyVersion m_policyVersion; ResponseMetadata m_responseMetadata; }; } // namespace Model } // namespace IAM } // namespace Aws