AWS SDK for C++  1.9.74
AWS SDK for C++
DescribeCustomerGatewaysResponse.h
Go to the documentation of this file.
1 
6 #pragma once
7 #include <aws/ec2/EC2_EXPORTS.h>
11 #include <utility>
12 
13 namespace Aws
14 {
15 template<typename RESULT_TYPE>
16 class AmazonWebServiceResult;
17 
18 namespace Utils
19 {
20 namespace Xml
21 {
22  class XmlDocument;
23 } // namespace Xml
24 } // namespace Utils
25 namespace EC2
26 {
27 namespace Model
28 {
36  {
37  public:
41 
42 
46  inline const Aws::Vector<CustomerGateway>& GetCustomerGateways() const{ return m_customerGateways; }
47 
51  inline void SetCustomerGateways(const Aws::Vector<CustomerGateway>& value) { m_customerGateways = value; }
52 
56  inline void SetCustomerGateways(Aws::Vector<CustomerGateway>&& value) { m_customerGateways = std::move(value); }
57 
61  inline DescribeCustomerGatewaysResponse& WithCustomerGateways(const Aws::Vector<CustomerGateway>& value) { SetCustomerGateways(value); return *this;}
62 
66  inline DescribeCustomerGatewaysResponse& WithCustomerGateways(Aws::Vector<CustomerGateway>&& value) { SetCustomerGateways(std::move(value)); return *this;}
67 
71  inline DescribeCustomerGatewaysResponse& AddCustomerGateways(const CustomerGateway& value) { m_customerGateways.push_back(value); return *this; }
72 
76  inline DescribeCustomerGatewaysResponse& AddCustomerGateways(CustomerGateway&& value) { m_customerGateways.push_back(std::move(value)); return *this; }
77 
78 
79 
80  inline const ResponseMetadata& GetResponseMetadata() const{ return m_responseMetadata; }
81 
82 
83  inline void SetResponseMetadata(const ResponseMetadata& value) { m_responseMetadata = value; }
84 
85 
86  inline void SetResponseMetadata(ResponseMetadata&& value) { m_responseMetadata = std::move(value); }
87 
88 
89  inline DescribeCustomerGatewaysResponse& WithResponseMetadata(const ResponseMetadata& value) { SetResponseMetadata(value); return *this;}
90 
91 
92  inline DescribeCustomerGatewaysResponse& WithResponseMetadata(ResponseMetadata&& value) { SetResponseMetadata(std::move(value)); return *this;}
93 
94  private:
95 
96  Aws::Vector<CustomerGateway> m_customerGateways;
97 
98  ResponseMetadata m_responseMetadata;
99  };
100 
101 } // namespace Model
102 } // namespace EC2
103 } // namespace Aws
CustomerGateway.h
Aws::AmazonWebServiceResult
Definition: AmazonWebServiceResult.h:19
Aws::EC2::Model::DescribeCustomerGatewaysResponse::AddCustomerGateways
DescribeCustomerGatewaysResponse & AddCustomerGateways(CustomerGateway &&value)
Definition: DescribeCustomerGatewaysResponse.h:76
Aws::EC2::Model::DescribeCustomerGatewaysResponse::GetResponseMetadata
const ResponseMetadata & GetResponseMetadata() const
Definition: DescribeCustomerGatewaysResponse.h:80
Aws::EC2::Model::DescribeCustomerGatewaysResponse
Definition: DescribeCustomerGatewaysResponse.h:36
Aws::EC2::Model::DescribeCustomerGatewaysResponse::GetCustomerGateways
const Aws::Vector< CustomerGateway > & GetCustomerGateways() const
Definition: DescribeCustomerGatewaysResponse.h:46
Aws::EC2::Model::DescribeCustomerGatewaysResponse::WithCustomerGateways
DescribeCustomerGatewaysResponse & WithCustomerGateways(Aws::Vector< CustomerGateway > &&value)
Definition: DescribeCustomerGatewaysResponse.h:66
AWS_EC2_API
#define AWS_EC2_API
Definition: EC2_EXPORTS.h:28
ResponseMetadata.h
Aws::EC2::Model::DescribeCustomerGatewaysResponse::DescribeCustomerGatewaysResponse
DescribeCustomerGatewaysResponse(const Aws::AmazonWebServiceResult< Aws::Utils::Xml::XmlDocument > &result)
Aws::Vector
std::vector< T, Aws::Allocator< T > > Vector
Definition: AWSVector.h:17
Aws::EC2::Model::DescribeCustomerGatewaysResponse::WithCustomerGateways
DescribeCustomerGatewaysResponse & WithCustomerGateways(const Aws::Vector< CustomerGateway > &value)
Definition: DescribeCustomerGatewaysResponse.h:61
Aws::EC2::Model::DescribeCustomerGatewaysResponse::operator=
DescribeCustomerGatewaysResponse & operator=(const Aws::AmazonWebServiceResult< Aws::Utils::Xml::XmlDocument > &result)
Aws::EC2::Model::DescribeCustomerGatewaysResponse::SetCustomerGateways
void SetCustomerGateways(Aws::Vector< CustomerGateway > &&value)
Definition: DescribeCustomerGatewaysResponse.h:56
AWSVector.h
Aws::EC2::Model::DescribeCustomerGatewaysResponse::SetResponseMetadata
void SetResponseMetadata(const ResponseMetadata &value)
Definition: DescribeCustomerGatewaysResponse.h:83
Aws::EC2::Model::DescribeCustomerGatewaysResponse::SetCustomerGateways
void SetCustomerGateways(const Aws::Vector< CustomerGateway > &value)
Definition: DescribeCustomerGatewaysResponse.h:51
Aws::EC2::Model::DescribeCustomerGatewaysResponse::AddCustomerGateways
DescribeCustomerGatewaysResponse & AddCustomerGateways(const CustomerGateway &value)
Definition: DescribeCustomerGatewaysResponse.h:71
Aws::EC2::Model::ResponseMetadata
Definition: ResponseMetadata.h:27
Aws::EC2::Model::DescribeCustomerGatewaysResponse::WithResponseMetadata
DescribeCustomerGatewaysResponse & WithResponseMetadata(const ResponseMetadata &value)
Definition: DescribeCustomerGatewaysResponse.h:89
Aws::EC2::Model::DescribeCustomerGatewaysResponse::WithResponseMetadata
DescribeCustomerGatewaysResponse & WithResponseMetadata(ResponseMetadata &&value)
Definition: DescribeCustomerGatewaysResponse.h:92
Aws
Definition: AccessManagementClient.h:15
Aws::EC2::Model::DescribeCustomerGatewaysResponse::DescribeCustomerGatewaysResponse
DescribeCustomerGatewaysResponse()
Aws::EC2::Model::DescribeCustomerGatewaysResponse::SetResponseMetadata
void SetResponseMetadata(ResponseMetadata &&value)
Definition: DescribeCustomerGatewaysResponse.h:86
Aws::EC2::Model::CustomerGateway
Definition: CustomerGateway.h:34
EC2_EXPORTS.h