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

See Also:

AWS * API Reference

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

Information about the customer gateway.

*/ inline const CustomerGateway& GetCustomerGateway() const{ return m_customerGateway; } /** *

Information about the customer gateway.

*/ inline void SetCustomerGateway(const CustomerGateway& value) { m_customerGateway = value; } /** *

Information about the customer gateway.

*/ inline void SetCustomerGateway(CustomerGateway&& value) { m_customerGateway = std::move(value); } /** *

Information about the customer gateway.

*/ inline CreateCustomerGatewayResponse& WithCustomerGateway(const CustomerGateway& value) { SetCustomerGateway(value); return *this;} /** *

Information about the customer gateway.

*/ inline CreateCustomerGatewayResponse& WithCustomerGateway(CustomerGateway&& value) { SetCustomerGateway(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 CreateCustomerGatewayResponse& WithResponseMetadata(const ResponseMetadata& value) { SetResponseMetadata(value); return *this;} inline CreateCustomerGatewayResponse& WithResponseMetadata(ResponseMetadata&& value) { SetResponseMetadata(std::move(value)); return *this;} private: CustomerGateway m_customerGateway; ResponseMetadata m_responseMetadata; }; } // namespace Model } // namespace EC2 } // namespace Aws