/** * 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 CreateVpnGateway.

See Also:

AWS * API Reference

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

Information about the virtual private gateway.

*/ inline const VpnGateway& GetVpnGateway() const{ return m_vpnGateway; } /** *

Information about the virtual private gateway.

*/ inline void SetVpnGateway(const VpnGateway& value) { m_vpnGateway = value; } /** *

Information about the virtual private gateway.

*/ inline void SetVpnGateway(VpnGateway&& value) { m_vpnGateway = std::move(value); } /** *

Information about the virtual private gateway.

*/ inline CreateVpnGatewayResponse& WithVpnGateway(const VpnGateway& value) { SetVpnGateway(value); return *this;} /** *

Information about the virtual private gateway.

*/ inline CreateVpnGatewayResponse& WithVpnGateway(VpnGateway&& value) { SetVpnGateway(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 CreateVpnGatewayResponse& WithResponseMetadata(const ResponseMetadata& value) { SetResponseMetadata(value); return *this;} inline CreateVpnGatewayResponse& WithResponseMetadata(ResponseMetadata&& value) { SetResponseMetadata(std::move(value)); return *this;} private: VpnGateway m_vpnGateway; ResponseMetadata m_responseMetadata; }; } // namespace Model } // namespace EC2 } // namespace Aws