7#include <aws/core/http/HttpResponse.h>
8#include <aws/core/utils/memory/stl/AWSVector.h>
9#include <aws/ec2/EC2_EXPORTS.h>
10#include <aws/ec2/model/CustomerGateway.h>
11#include <aws/ec2/model/ResponseMetadata.h>
16template <
typename RESULT_TYPE>
17class AmazonWebServiceResult;
43 template <
typename CustomerGatewaysT = Aws::Vector<CustomerGateway>>
45 m_customerGatewaysHasBeenSet =
true;
46 m_customerGateways = std::forward<CustomerGatewaysT>(value);
48 template <
typename CustomerGatewaysT = Aws::Vector<CustomerGateway>>
53 template <
typename CustomerGatewaysT = CustomerGateway>
55 m_customerGatewaysHasBeenSet =
true;
56 m_customerGateways.emplace_back(std::forward<CustomerGatewaysT>(value));
64 template <
typename ResponseMetadataT = ResponseMetadata>
66 m_responseMetadataHasBeenSet =
true;
67 m_responseMetadata = std::forward<ResponseMetadataT>(value);
69 template <
typename ResponseMetadataT = ResponseMetadata>
82 bool m_customerGatewaysHasBeenSet =
false;
83 bool m_responseMetadataHasBeenSet =
false;
const ResponseMetadata & GetResponseMetadata() const
Aws::Http::HttpResponseCode GetHttpResponseCode() const
const Aws::Vector< CustomerGateway > & GetCustomerGateways() const
DescribeCustomerGatewaysResponse & AddCustomerGateways(CustomerGatewaysT &&value)
AWS_EC2_API DescribeCustomerGatewaysResponse()=default
void SetCustomerGateways(CustomerGatewaysT &&value)
void SetResponseMetadata(ResponseMetadataT &&value)
AWS_EC2_API DescribeCustomerGatewaysResponse & operator=(const Aws::AmazonWebServiceResult< Aws::Utils::Xml::XmlDocument > &result)
DescribeCustomerGatewaysResponse & WithResponseMetadata(ResponseMetadataT &&value)
AWS_EC2_API DescribeCustomerGatewaysResponse(const Aws::AmazonWebServiceResult< Aws::Utils::Xml::XmlDocument > &result)
DescribeCustomerGatewaysResponse & WithCustomerGateways(CustomerGatewaysT &&value)
std::vector< T, Aws::Allocator< T > > Vector
Aws::Utils::Xml::XmlDocument XmlDocument