/** * 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 AssociateTransitGatewayPolicyTableResponse { public: AWS_EC2_API AssociateTransitGatewayPolicyTableResponse(); AWS_EC2_API AssociateTransitGatewayPolicyTableResponse(const Aws::AmazonWebServiceResult& result); AWS_EC2_API AssociateTransitGatewayPolicyTableResponse& operator=(const Aws::AmazonWebServiceResult& result); /** *

Describes the association of a transit gateway and a transit gateway policy * table.

*/ inline const TransitGatewayPolicyTableAssociation& GetAssociation() const{ return m_association; } /** *

Describes the association of a transit gateway and a transit gateway policy * table.

*/ inline void SetAssociation(const TransitGatewayPolicyTableAssociation& value) { m_association = value; } /** *

Describes the association of a transit gateway and a transit gateway policy * table.

*/ inline void SetAssociation(TransitGatewayPolicyTableAssociation&& value) { m_association = std::move(value); } /** *

Describes the association of a transit gateway and a transit gateway policy * table.

*/ inline AssociateTransitGatewayPolicyTableResponse& WithAssociation(const TransitGatewayPolicyTableAssociation& value) { SetAssociation(value); return *this;} /** *

Describes the association of a transit gateway and a transit gateway policy * table.

*/ inline AssociateTransitGatewayPolicyTableResponse& WithAssociation(TransitGatewayPolicyTableAssociation&& value) { SetAssociation(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 AssociateTransitGatewayPolicyTableResponse& WithResponseMetadata(const ResponseMetadata& value) { SetResponseMetadata(value); return *this;} inline AssociateTransitGatewayPolicyTableResponse& WithResponseMetadata(ResponseMetadata&& value) { SetResponseMetadata(std::move(value)); return *this;} private: TransitGatewayPolicyTableAssociation m_association; ResponseMetadata m_responseMetadata; }; } // namespace Model } // namespace EC2 } // namespace Aws