/** * Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. * SPDX-License-Identifier: Apache-2.0. */ #pragma once #include #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 DescribeCustomerGateways.

See Also:

* AWS * API Reference

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

Information about one or more customer gateways.

*/ inline const Aws::Vector& GetCustomerGateways() const{ return m_customerGateways; } /** *

Information about one or more customer gateways.

*/ inline void SetCustomerGateways(const Aws::Vector& value) { m_customerGateways = value; } /** *

Information about one or more customer gateways.

*/ inline void SetCustomerGateways(Aws::Vector&& value) { m_customerGateways = std::move(value); } /** *

Information about one or more customer gateways.

*/ inline DescribeCustomerGatewaysResponse& WithCustomerGateways(const Aws::Vector& value) { SetCustomerGateways(value); return *this;} /** *

Information about one or more customer gateways.

*/ inline DescribeCustomerGatewaysResponse& WithCustomerGateways(Aws::Vector&& value) { SetCustomerGateways(std::move(value)); return *this;} /** *

Information about one or more customer gateways.

*/ inline DescribeCustomerGatewaysResponse& AddCustomerGateways(const CustomerGateway& value) { m_customerGateways.push_back(value); return *this; } /** *

Information about one or more customer gateways.

*/ inline DescribeCustomerGatewaysResponse& AddCustomerGateways(CustomerGateway&& value) { m_customerGateways.push_back(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 DescribeCustomerGatewaysResponse& WithResponseMetadata(const ResponseMetadata& value) { SetResponseMetadata(value); return *this;} inline DescribeCustomerGatewaysResponse& WithResponseMetadata(ResponseMetadata&& value) { SetResponseMetadata(std::move(value)); return *this;} private: Aws::Vector m_customerGateways; ResponseMetadata m_responseMetadata; }; } // namespace Model } // namespace EC2 } // namespace Aws