AWS SDK for C++  1.9.74
AWS SDK for C++
GetCoipPoolUsageResponse.h
Go to the documentation of this file.
1 
6 #pragma once
7 #include <aws/ec2/EC2_EXPORTS.h>
12 #include <utility>
13 
14 namespace Aws
15 {
16 template<typename RESULT_TYPE>
17 class AmazonWebServiceResult;
18 
19 namespace Utils
20 {
21 namespace Xml
22 {
23  class XmlDocument;
24 } // namespace Xml
25 } // namespace Utils
26 namespace EC2
27 {
28 namespace Model
29 {
31  {
32  public:
36 
37 
41  inline const Aws::String& GetCoipPoolId() const{ return m_coipPoolId; }
42 
46  inline void SetCoipPoolId(const Aws::String& value) { m_coipPoolId = value; }
47 
51  inline void SetCoipPoolId(Aws::String&& value) { m_coipPoolId = std::move(value); }
52 
56  inline void SetCoipPoolId(const char* value) { m_coipPoolId.assign(value); }
57 
61  inline GetCoipPoolUsageResponse& WithCoipPoolId(const Aws::String& value) { SetCoipPoolId(value); return *this;}
62 
66  inline GetCoipPoolUsageResponse& WithCoipPoolId(Aws::String&& value) { SetCoipPoolId(std::move(value)); return *this;}
67 
71  inline GetCoipPoolUsageResponse& WithCoipPoolId(const char* value) { SetCoipPoolId(value); return *this;}
72 
73 
77  inline const Aws::Vector<CoipAddressUsage>& GetCoipAddressUsages() const{ return m_coipAddressUsages; }
78 
82  inline void SetCoipAddressUsages(const Aws::Vector<CoipAddressUsage>& value) { m_coipAddressUsages = value; }
83 
87  inline void SetCoipAddressUsages(Aws::Vector<CoipAddressUsage>&& value) { m_coipAddressUsages = std::move(value); }
88 
92  inline GetCoipPoolUsageResponse& WithCoipAddressUsages(const Aws::Vector<CoipAddressUsage>& value) { SetCoipAddressUsages(value); return *this;}
93 
97  inline GetCoipPoolUsageResponse& WithCoipAddressUsages(Aws::Vector<CoipAddressUsage>&& value) { SetCoipAddressUsages(std::move(value)); return *this;}
98 
102  inline GetCoipPoolUsageResponse& AddCoipAddressUsages(const CoipAddressUsage& value) { m_coipAddressUsages.push_back(value); return *this; }
103 
107  inline GetCoipPoolUsageResponse& AddCoipAddressUsages(CoipAddressUsage&& value) { m_coipAddressUsages.push_back(std::move(value)); return *this; }
108 
109 
113  inline const Aws::String& GetLocalGatewayRouteTableId() const{ return m_localGatewayRouteTableId; }
114 
118  inline void SetLocalGatewayRouteTableId(const Aws::String& value) { m_localGatewayRouteTableId = value; }
119 
123  inline void SetLocalGatewayRouteTableId(Aws::String&& value) { m_localGatewayRouteTableId = std::move(value); }
124 
128  inline void SetLocalGatewayRouteTableId(const char* value) { m_localGatewayRouteTableId.assign(value); }
129 
133  inline GetCoipPoolUsageResponse& WithLocalGatewayRouteTableId(const Aws::String& value) { SetLocalGatewayRouteTableId(value); return *this;}
134 
138  inline GetCoipPoolUsageResponse& WithLocalGatewayRouteTableId(Aws::String&& value) { SetLocalGatewayRouteTableId(std::move(value)); return *this;}
139 
143  inline GetCoipPoolUsageResponse& WithLocalGatewayRouteTableId(const char* value) { SetLocalGatewayRouteTableId(value); return *this;}
144 
145 
146 
147  inline const ResponseMetadata& GetResponseMetadata() const{ return m_responseMetadata; }
148 
149 
150  inline void SetResponseMetadata(const ResponseMetadata& value) { m_responseMetadata = value; }
151 
152 
153  inline void SetResponseMetadata(ResponseMetadata&& value) { m_responseMetadata = std::move(value); }
154 
155 
156  inline GetCoipPoolUsageResponse& WithResponseMetadata(const ResponseMetadata& value) { SetResponseMetadata(value); return *this;}
157 
158 
159  inline GetCoipPoolUsageResponse& WithResponseMetadata(ResponseMetadata&& value) { SetResponseMetadata(std::move(value)); return *this;}
160 
161  private:
162 
163  Aws::String m_coipPoolId;
164 
165  Aws::Vector<CoipAddressUsage> m_coipAddressUsages;
166 
167  Aws::String m_localGatewayRouteTableId;
168 
169  ResponseMetadata m_responseMetadata;
170  };
171 
172 } // namespace Model
173 } // namespace EC2
174 } // namespace Aws
Aws::EC2::Model::GetCoipPoolUsageResponse::SetCoipAddressUsages
void SetCoipAddressUsages(Aws::Vector< CoipAddressUsage > &&value)
Definition: GetCoipPoolUsageResponse.h:87
Aws::EC2::Model::GetCoipPoolUsageResponse
Definition: GetCoipPoolUsageResponse.h:31
Aws::AmazonWebServiceResult
Definition: AmazonWebServiceResult.h:19
Aws::EC2::Model::GetCoipPoolUsageResponse::SetCoipPoolId
void SetCoipPoolId(const char *value)
Definition: GetCoipPoolUsageResponse.h:56
Aws::EC2::Model::GetCoipPoolUsageResponse::GetCoipPoolUsageResponse
GetCoipPoolUsageResponse()
Aws::EC2::Model::GetCoipPoolUsageResponse::SetResponseMetadata
void SetResponseMetadata(const ResponseMetadata &value)
Definition: GetCoipPoolUsageResponse.h:150
Aws::EC2::Model::GetCoipPoolUsageResponse::WithLocalGatewayRouteTableId
GetCoipPoolUsageResponse & WithLocalGatewayRouteTableId(const char *value)
Definition: GetCoipPoolUsageResponse.h:143
Aws::EC2::Model::GetCoipPoolUsageResponse::WithResponseMetadata
GetCoipPoolUsageResponse & WithResponseMetadata(ResponseMetadata &&value)
Definition: GetCoipPoolUsageResponse.h:159
AWS_EC2_API
#define AWS_EC2_API
Definition: EC2_EXPORTS.h:28
Aws::EC2::Model::GetCoipPoolUsageResponse::WithResponseMetadata
GetCoipPoolUsageResponse & WithResponseMetadata(const ResponseMetadata &value)
Definition: GetCoipPoolUsageResponse.h:156
ResponseMetadata.h
CoipAddressUsage.h
Aws::EC2::Model::GetCoipPoolUsageResponse::WithLocalGatewayRouteTableId
GetCoipPoolUsageResponse & WithLocalGatewayRouteTableId(Aws::String &&value)
Definition: GetCoipPoolUsageResponse.h:138
Aws::EC2::Model::GetCoipPoolUsageResponse::WithCoipAddressUsages
GetCoipPoolUsageResponse & WithCoipAddressUsages(const Aws::Vector< CoipAddressUsage > &value)
Definition: GetCoipPoolUsageResponse.h:92
Aws::Vector
std::vector< T, Aws::Allocator< T > > Vector
Definition: AWSVector.h:17
Aws::EC2::Model::GetCoipPoolUsageResponse::GetResponseMetadata
const ResponseMetadata & GetResponseMetadata() const
Definition: GetCoipPoolUsageResponse.h:147
Aws::EC2::Model::GetCoipPoolUsageResponse::WithLocalGatewayRouteTableId
GetCoipPoolUsageResponse & WithLocalGatewayRouteTableId(const Aws::String &value)
Definition: GetCoipPoolUsageResponse.h:133
AWSVector.h
Aws::EC2::Model::GetCoipPoolUsageResponse::SetResponseMetadata
void SetResponseMetadata(ResponseMetadata &&value)
Definition: GetCoipPoolUsageResponse.h:153
Aws::EC2::Model::GetCoipPoolUsageResponse::GetCoipAddressUsages
const Aws::Vector< CoipAddressUsage > & GetCoipAddressUsages() const
Definition: GetCoipPoolUsageResponse.h:77
Aws::EC2::Model::GetCoipPoolUsageResponse::WithCoipPoolId
GetCoipPoolUsageResponse & WithCoipPoolId(const char *value)
Definition: GetCoipPoolUsageResponse.h:71
Aws::EC2::Model::GetCoipPoolUsageResponse::WithCoipPoolId
GetCoipPoolUsageResponse & WithCoipPoolId(Aws::String &&value)
Definition: GetCoipPoolUsageResponse.h:66
Aws::EC2::Model::GetCoipPoolUsageResponse::SetLocalGatewayRouteTableId
void SetLocalGatewayRouteTableId(const Aws::String &value)
Definition: GetCoipPoolUsageResponse.h:118
Aws::EC2::Model::CoipAddressUsage
Definition: CoipAddressUsage.h:33
Aws::EC2::Model::ResponseMetadata
Definition: ResponseMetadata.h:27
AWSString.h
Aws::EC2::Model::GetCoipPoolUsageResponse::GetLocalGatewayRouteTableId
const Aws::String & GetLocalGatewayRouteTableId() const
Definition: GetCoipPoolUsageResponse.h:113
Aws::EC2::Model::GetCoipPoolUsageResponse::AddCoipAddressUsages
GetCoipPoolUsageResponse & AddCoipAddressUsages(const CoipAddressUsage &value)
Definition: GetCoipPoolUsageResponse.h:102
Aws::EC2::Model::GetCoipPoolUsageResponse::SetLocalGatewayRouteTableId
void SetLocalGatewayRouteTableId(const char *value)
Definition: GetCoipPoolUsageResponse.h:128
Aws::EC2::Model::GetCoipPoolUsageResponse::SetLocalGatewayRouteTableId
void SetLocalGatewayRouteTableId(Aws::String &&value)
Definition: GetCoipPoolUsageResponse.h:123
Aws::EC2::Model::GetCoipPoolUsageResponse::WithCoipPoolId
GetCoipPoolUsageResponse & WithCoipPoolId(const Aws::String &value)
Definition: GetCoipPoolUsageResponse.h:61
Aws::EC2::Model::GetCoipPoolUsageResponse::operator=
GetCoipPoolUsageResponse & operator=(const Aws::AmazonWebServiceResult< Aws::Utils::Xml::XmlDocument > &result)
Aws
Definition: AccessManagementClient.h:15
Aws::EC2::Model::GetCoipPoolUsageResponse::AddCoipAddressUsages
GetCoipPoolUsageResponse & AddCoipAddressUsages(CoipAddressUsage &&value)
Definition: GetCoipPoolUsageResponse.h:107
Aws::EC2::Model::GetCoipPoolUsageResponse::SetCoipPoolId
void SetCoipPoolId(const Aws::String &value)
Definition: GetCoipPoolUsageResponse.h:46
Aws::String
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Definition: AWSString.h:97
Aws::EC2::Model::GetCoipPoolUsageResponse::SetCoipPoolId
void SetCoipPoolId(Aws::String &&value)
Definition: GetCoipPoolUsageResponse.h:51
Aws::EC2::Model::GetCoipPoolUsageResponse::SetCoipAddressUsages
void SetCoipAddressUsages(const Aws::Vector< CoipAddressUsage > &value)
Definition: GetCoipPoolUsageResponse.h:82
EC2_EXPORTS.h
Aws::EC2::Model::GetCoipPoolUsageResponse::GetCoipPoolUsageResponse
GetCoipPoolUsageResponse(const Aws::AmazonWebServiceResult< Aws::Utils::Xml::XmlDocument > &result)
Aws::EC2::Model::GetCoipPoolUsageResponse::GetCoipPoolId
const Aws::String & GetCoipPoolId() const
Definition: GetCoipPoolUsageResponse.h:41
Aws::EC2::Model::GetCoipPoolUsageResponse::WithCoipAddressUsages
GetCoipPoolUsageResponse & WithCoipAddressUsages(Aws::Vector< CoipAddressUsage > &&value)
Definition: GetCoipPoolUsageResponse.h:97