/** * 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 { /** *

Contains the output of AttachVpnGateway.

See Also:

AWS * API Reference

*/ class AttachVpnGatewayResponse { public: AWS_EC2_API AttachVpnGatewayResponse(); AWS_EC2_API AttachVpnGatewayResponse(const Aws::AmazonWebServiceResult& result); AWS_EC2_API AttachVpnGatewayResponse& operator=(const Aws::AmazonWebServiceResult& result); /** *

Information about the attachment.

*/ inline const VpcAttachment& GetVpcAttachment() const{ return m_vpcAttachment; } /** *

Information about the attachment.

*/ inline void SetVpcAttachment(const VpcAttachment& value) { m_vpcAttachment = value; } /** *

Information about the attachment.

*/ inline void SetVpcAttachment(VpcAttachment&& value) { m_vpcAttachment = std::move(value); } /** *

Information about the attachment.

*/ inline AttachVpnGatewayResponse& WithVpcAttachment(const VpcAttachment& value) { SetVpcAttachment(value); return *this;} /** *

Information about the attachment.

*/ inline AttachVpnGatewayResponse& WithVpcAttachment(VpcAttachment&& value) { SetVpcAttachment(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 AttachVpnGatewayResponse& WithResponseMetadata(const ResponseMetadata& value) { SetResponseMetadata(value); return *this;} inline AttachVpnGatewayResponse& WithResponseMetadata(ResponseMetadata&& value) { SetResponseMetadata(std::move(value)); return *this;} private: VpcAttachment m_vpcAttachment; ResponseMetadata m_responseMetadata; }; } // namespace Model } // namespace EC2 } // namespace Aws