/** * Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. * SPDX-License-Identifier: Apache-2.0. */ #pragma once #include #include #include #include namespace Aws { template class AmazonWebServiceResult; namespace Utils { namespace Xml { class XmlDocument; } // namespace Xml } // namespace Utils namespace EC2 { namespace Model { class ModifyVerifiedAccessEndpointPolicyResponse { public: AWS_EC2_API ModifyVerifiedAccessEndpointPolicyResponse(); AWS_EC2_API ModifyVerifiedAccessEndpointPolicyResponse(const Aws::AmazonWebServiceResult& result); AWS_EC2_API ModifyVerifiedAccessEndpointPolicyResponse& operator=(const Aws::AmazonWebServiceResult& result); /** *

The status of the Verified Access policy.

*/ inline bool GetPolicyEnabled() const{ return m_policyEnabled; } /** *

The status of the Verified Access policy.

*/ inline void SetPolicyEnabled(bool value) { m_policyEnabled = value; } /** *

The status of the Verified Access policy.

*/ inline ModifyVerifiedAccessEndpointPolicyResponse& WithPolicyEnabled(bool value) { SetPolicyEnabled(value); return *this;} /** *

The Verified Access policy document.

*/ inline const Aws::String& GetPolicyDocument() const{ return m_policyDocument; } /** *

The Verified Access policy document.

*/ inline void SetPolicyDocument(const Aws::String& value) { m_policyDocument = value; } /** *

The Verified Access policy document.

*/ inline void SetPolicyDocument(Aws::String&& value) { m_policyDocument = std::move(value); } /** *

The Verified Access policy document.

*/ inline void SetPolicyDocument(const char* value) { m_policyDocument.assign(value); } /** *

The Verified Access policy document.

*/ inline ModifyVerifiedAccessEndpointPolicyResponse& WithPolicyDocument(const Aws::String& value) { SetPolicyDocument(value); return *this;} /** *

The Verified Access policy document.

*/ inline ModifyVerifiedAccessEndpointPolicyResponse& WithPolicyDocument(Aws::String&& value) { SetPolicyDocument(std::move(value)); return *this;} /** *

The Verified Access policy document.

*/ inline ModifyVerifiedAccessEndpointPolicyResponse& WithPolicyDocument(const char* value) { SetPolicyDocument(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 ModifyVerifiedAccessEndpointPolicyResponse& WithResponseMetadata(const ResponseMetadata& value) { SetResponseMetadata(value); return *this;} inline ModifyVerifiedAccessEndpointPolicyResponse& WithResponseMetadata(ResponseMetadata&& value) { SetResponseMetadata(std::move(value)); return *this;} private: bool m_policyEnabled; Aws::String m_policyDocument; ResponseMetadata m_responseMetadata; }; } // namespace Model } // namespace EC2 } // namespace Aws