AWS SDK for C++  1.9.72
AWS SDK for C++
LocalGatewayRouteTable.h
Go to the documentation of this file.
1 
6 #pragma once
7 #include <aws/ec2/EC2_EXPORTS.h>
11 #include <aws/ec2/model/Tag.h>
12 #include <utility>
13 
14 namespace Aws
15 {
16 namespace Utils
17 {
18 namespace Xml
19 {
20  class XmlNode;
21 } // namespace Xml
22 } // namespace Utils
23 namespace EC2
24 {
25 namespace Model
26 {
27 
34  {
35  public:
39 
40  void OutputToStream(Aws::OStream& ostream, const char* location, unsigned index, const char* locationValue) const;
41  void OutputToStream(Aws::OStream& oStream, const char* location) const;
42 
43 
47  inline const Aws::String& GetLocalGatewayRouteTableId() const{ return m_localGatewayRouteTableId; }
48 
52  inline bool LocalGatewayRouteTableIdHasBeenSet() const { return m_localGatewayRouteTableIdHasBeenSet; }
53 
57  inline void SetLocalGatewayRouteTableId(const Aws::String& value) { m_localGatewayRouteTableIdHasBeenSet = true; m_localGatewayRouteTableId = value; }
58 
62  inline void SetLocalGatewayRouteTableId(Aws::String&& value) { m_localGatewayRouteTableIdHasBeenSet = true; m_localGatewayRouteTableId = std::move(value); }
63 
67  inline void SetLocalGatewayRouteTableId(const char* value) { m_localGatewayRouteTableIdHasBeenSet = true; m_localGatewayRouteTableId.assign(value); }
68 
72  inline LocalGatewayRouteTable& WithLocalGatewayRouteTableId(const Aws::String& value) { SetLocalGatewayRouteTableId(value); return *this;}
73 
77  inline LocalGatewayRouteTable& WithLocalGatewayRouteTableId(Aws::String&& value) { SetLocalGatewayRouteTableId(std::move(value)); return *this;}
78 
82  inline LocalGatewayRouteTable& WithLocalGatewayRouteTableId(const char* value) { SetLocalGatewayRouteTableId(value); return *this;}
83 
84 
88  inline const Aws::String& GetLocalGatewayRouteTableArn() const{ return m_localGatewayRouteTableArn; }
89 
93  inline bool LocalGatewayRouteTableArnHasBeenSet() const { return m_localGatewayRouteTableArnHasBeenSet; }
94 
98  inline void SetLocalGatewayRouteTableArn(const Aws::String& value) { m_localGatewayRouteTableArnHasBeenSet = true; m_localGatewayRouteTableArn = value; }
99 
103  inline void SetLocalGatewayRouteTableArn(Aws::String&& value) { m_localGatewayRouteTableArnHasBeenSet = true; m_localGatewayRouteTableArn = std::move(value); }
104 
108  inline void SetLocalGatewayRouteTableArn(const char* value) { m_localGatewayRouteTableArnHasBeenSet = true; m_localGatewayRouteTableArn.assign(value); }
109 
113  inline LocalGatewayRouteTable& WithLocalGatewayRouteTableArn(const Aws::String& value) { SetLocalGatewayRouteTableArn(value); return *this;}
114 
118  inline LocalGatewayRouteTable& WithLocalGatewayRouteTableArn(Aws::String&& value) { SetLocalGatewayRouteTableArn(std::move(value)); return *this;}
119 
123  inline LocalGatewayRouteTable& WithLocalGatewayRouteTableArn(const char* value) { SetLocalGatewayRouteTableArn(value); return *this;}
124 
125 
129  inline const Aws::String& GetLocalGatewayId() const{ return m_localGatewayId; }
130 
134  inline bool LocalGatewayIdHasBeenSet() const { return m_localGatewayIdHasBeenSet; }
135 
139  inline void SetLocalGatewayId(const Aws::String& value) { m_localGatewayIdHasBeenSet = true; m_localGatewayId = value; }
140 
144  inline void SetLocalGatewayId(Aws::String&& value) { m_localGatewayIdHasBeenSet = true; m_localGatewayId = std::move(value); }
145 
149  inline void SetLocalGatewayId(const char* value) { m_localGatewayIdHasBeenSet = true; m_localGatewayId.assign(value); }
150 
154  inline LocalGatewayRouteTable& WithLocalGatewayId(const Aws::String& value) { SetLocalGatewayId(value); return *this;}
155 
159  inline LocalGatewayRouteTable& WithLocalGatewayId(Aws::String&& value) { SetLocalGatewayId(std::move(value)); return *this;}
160 
164  inline LocalGatewayRouteTable& WithLocalGatewayId(const char* value) { SetLocalGatewayId(value); return *this;}
165 
166 
170  inline const Aws::String& GetOutpostArn() const{ return m_outpostArn; }
171 
175  inline bool OutpostArnHasBeenSet() const { return m_outpostArnHasBeenSet; }
176 
180  inline void SetOutpostArn(const Aws::String& value) { m_outpostArnHasBeenSet = true; m_outpostArn = value; }
181 
185  inline void SetOutpostArn(Aws::String&& value) { m_outpostArnHasBeenSet = true; m_outpostArn = std::move(value); }
186 
190  inline void SetOutpostArn(const char* value) { m_outpostArnHasBeenSet = true; m_outpostArn.assign(value); }
191 
195  inline LocalGatewayRouteTable& WithOutpostArn(const Aws::String& value) { SetOutpostArn(value); return *this;}
196 
200  inline LocalGatewayRouteTable& WithOutpostArn(Aws::String&& value) { SetOutpostArn(std::move(value)); return *this;}
201 
205  inline LocalGatewayRouteTable& WithOutpostArn(const char* value) { SetOutpostArn(value); return *this;}
206 
207 
211  inline const Aws::String& GetOwnerId() const{ return m_ownerId; }
212 
216  inline bool OwnerIdHasBeenSet() const { return m_ownerIdHasBeenSet; }
217 
221  inline void SetOwnerId(const Aws::String& value) { m_ownerIdHasBeenSet = true; m_ownerId = value; }
222 
226  inline void SetOwnerId(Aws::String&& value) { m_ownerIdHasBeenSet = true; m_ownerId = std::move(value); }
227 
231  inline void SetOwnerId(const char* value) { m_ownerIdHasBeenSet = true; m_ownerId.assign(value); }
232 
236  inline LocalGatewayRouteTable& WithOwnerId(const Aws::String& value) { SetOwnerId(value); return *this;}
237 
241  inline LocalGatewayRouteTable& WithOwnerId(Aws::String&& value) { SetOwnerId(std::move(value)); return *this;}
242 
246  inline LocalGatewayRouteTable& WithOwnerId(const char* value) { SetOwnerId(value); return *this;}
247 
248 
252  inline const Aws::String& GetState() const{ return m_state; }
253 
257  inline bool StateHasBeenSet() const { return m_stateHasBeenSet; }
258 
262  inline void SetState(const Aws::String& value) { m_stateHasBeenSet = true; m_state = value; }
263 
267  inline void SetState(Aws::String&& value) { m_stateHasBeenSet = true; m_state = std::move(value); }
268 
272  inline void SetState(const char* value) { m_stateHasBeenSet = true; m_state.assign(value); }
273 
277  inline LocalGatewayRouteTable& WithState(const Aws::String& value) { SetState(value); return *this;}
278 
282  inline LocalGatewayRouteTable& WithState(Aws::String&& value) { SetState(std::move(value)); return *this;}
283 
287  inline LocalGatewayRouteTable& WithState(const char* value) { SetState(value); return *this;}
288 
289 
293  inline const Aws::Vector<Tag>& GetTags() const{ return m_tags; }
294 
298  inline bool TagsHasBeenSet() const { return m_tagsHasBeenSet; }
299 
303  inline void SetTags(const Aws::Vector<Tag>& value) { m_tagsHasBeenSet = true; m_tags = value; }
304 
308  inline void SetTags(Aws::Vector<Tag>&& value) { m_tagsHasBeenSet = true; m_tags = std::move(value); }
309 
313  inline LocalGatewayRouteTable& WithTags(const Aws::Vector<Tag>& value) { SetTags(value); return *this;}
314 
318  inline LocalGatewayRouteTable& WithTags(Aws::Vector<Tag>&& value) { SetTags(std::move(value)); return *this;}
319 
323  inline LocalGatewayRouteTable& AddTags(const Tag& value) { m_tagsHasBeenSet = true; m_tags.push_back(value); return *this; }
324 
328  inline LocalGatewayRouteTable& AddTags(Tag&& value) { m_tagsHasBeenSet = true; m_tags.push_back(std::move(value)); return *this; }
329 
330  private:
331 
332  Aws::String m_localGatewayRouteTableId;
333  bool m_localGatewayRouteTableIdHasBeenSet;
334 
335  Aws::String m_localGatewayRouteTableArn;
336  bool m_localGatewayRouteTableArnHasBeenSet;
337 
338  Aws::String m_localGatewayId;
339  bool m_localGatewayIdHasBeenSet;
340 
341  Aws::String m_outpostArn;
342  bool m_outpostArnHasBeenSet;
343 
344  Aws::String m_ownerId;
345  bool m_ownerIdHasBeenSet;
346 
347  Aws::String m_state;
348  bool m_stateHasBeenSet;
349 
350  Aws::Vector<Tag> m_tags;
351  bool m_tagsHasBeenSet;
352  };
353 
354 } // namespace Model
355 } // namespace EC2
356 } // namespace Aws
Aws::EC2::Model::LocalGatewayRouteTable::SetTags
void SetTags(Aws::Vector< Tag > &&value)
Definition: LocalGatewayRouteTable.h:308
Aws::EC2::Model::LocalGatewayRouteTable::SetLocalGatewayRouteTableId
void SetLocalGatewayRouteTableId(const Aws::String &value)
Definition: LocalGatewayRouteTable.h:57
Aws::EC2::Model::LocalGatewayRouteTable::SetLocalGatewayId
void SetLocalGatewayId(const char *value)
Definition: LocalGatewayRouteTable.h:149
Aws::EC2::Model::LocalGatewayRouteTable::SetLocalGatewayRouteTableArn
void SetLocalGatewayRouteTableArn(const char *value)
Definition: LocalGatewayRouteTable.h:108
Aws::EC2::Model::LocalGatewayRouteTable::WithOwnerId
LocalGatewayRouteTable & WithOwnerId(const Aws::String &value)
Definition: LocalGatewayRouteTable.h:236
Aws::EC2::Model::LocalGatewayRouteTable::GetLocalGatewayId
const Aws::String & GetLocalGatewayId() const
Definition: LocalGatewayRouteTable.h:129
Aws::EC2::Model::Tag
Definition: Tag.h:32
Aws::EC2::Model::LocalGatewayRouteTable::SetLocalGatewayId
void SetLocalGatewayId(const Aws::String &value)
Definition: LocalGatewayRouteTable.h:139
Aws::EC2::Model::LocalGatewayRouteTable::AddTags
LocalGatewayRouteTable & AddTags(Tag &&value)
Definition: LocalGatewayRouteTable.h:328
Aws::EC2::Model::LocalGatewayRouteTable::GetLocalGatewayRouteTableId
const Aws::String & GetLocalGatewayRouteTableId() const
Definition: LocalGatewayRouteTable.h:47
Aws::EC2::Model::LocalGatewayRouteTable::WithState
LocalGatewayRouteTable & WithState(Aws::String &&value)
Definition: LocalGatewayRouteTable.h:282
Aws::EC2::Model::LocalGatewayRouteTable::GetOwnerId
const Aws::String & GetOwnerId() const
Definition: LocalGatewayRouteTable.h:211
Aws::EC2::Model::LocalGatewayRouteTable::SetOwnerId
void SetOwnerId(const Aws::String &value)
Definition: LocalGatewayRouteTable.h:221
Aws::EC2::Model::LocalGatewayRouteTable::LocalGatewayIdHasBeenSet
bool LocalGatewayIdHasBeenSet() const
Definition: LocalGatewayRouteTable.h:134
Aws::EC2::Model::LocalGatewayRouteTable::WithLocalGatewayId
LocalGatewayRouteTable & WithLocalGatewayId(Aws::String &&value)
Definition: LocalGatewayRouteTable.h:159
Aws::EC2::Model::LocalGatewayRouteTable::AddTags
LocalGatewayRouteTable & AddTags(const Tag &value)
Definition: LocalGatewayRouteTable.h:323
Aws::EC2::Model::LocalGatewayRouteTable::SetLocalGatewayRouteTableArn
void SetLocalGatewayRouteTableArn(Aws::String &&value)
Definition: LocalGatewayRouteTable.h:103
AWS_EC2_API
#define AWS_EC2_API
Definition: EC2_EXPORTS.h:28
Aws::Vector
std::vector< T, Aws::Allocator< T > > Vector
Definition: AWSVector.h:17
AWSStreamFwd.h
Aws::EC2::Model::LocalGatewayRouteTable::OutputToStream
void OutputToStream(Aws::OStream &oStream, const char *location) const
AWSVector.h
Tag.h
Aws::EC2::Model::LocalGatewayRouteTable::WithLocalGatewayRouteTableId
LocalGatewayRouteTable & WithLocalGatewayRouteTableId(Aws::String &&value)
Definition: LocalGatewayRouteTable.h:77
Aws::EC2::Model::LocalGatewayRouteTable::WithLocalGatewayRouteTableArn
LocalGatewayRouteTable & WithLocalGatewayRouteTableArn(const Aws::String &value)
Definition: LocalGatewayRouteTable.h:113
Aws::EC2::Model::LocalGatewayRouteTable::GetLocalGatewayRouteTableArn
const Aws::String & GetLocalGatewayRouteTableArn() const
Definition: LocalGatewayRouteTable.h:88
Aws::EC2::Model::LocalGatewayRouteTable::SetTags
void SetTags(const Aws::Vector< Tag > &value)
Definition: LocalGatewayRouteTable.h:303
Aws::EC2::Model::LocalGatewayRouteTable::SetState
void SetState(const Aws::String &value)
Definition: LocalGatewayRouteTable.h:262
Aws::OStream
std::basic_ostream< char, std::char_traits< char > > OStream
Definition: AWSStreamFwd.h:21
Aws::EC2::Model::LocalGatewayRouteTable::WithTags
LocalGatewayRouteTable & WithTags(Aws::Vector< Tag > &&value)
Definition: LocalGatewayRouteTable.h:318
Aws::EC2::Model::LocalGatewayRouteTable::WithState
LocalGatewayRouteTable & WithState(const char *value)
Definition: LocalGatewayRouteTable.h:287
Aws::EC2::Model::LocalGatewayRouteTable::LocalGatewayRouteTable
LocalGatewayRouteTable()
Aws::EC2::Model::LocalGatewayRouteTable::LocalGatewayRouteTable
LocalGatewayRouteTable(const Aws::Utils::Xml::XmlNode &xmlNode)
Aws::EC2::Model::LocalGatewayRouteTable::SetLocalGatewayId
void SetLocalGatewayId(Aws::String &&value)
Definition: LocalGatewayRouteTable.h:144
Aws::Utils::Xml::XmlNode
Definition: XmlSerializer.h:53
Aws::EC2::Model::LocalGatewayRouteTable::SetState
void SetState(Aws::String &&value)
Definition: LocalGatewayRouteTable.h:267
Aws::EC2::Model::LocalGatewayRouteTable::SetState
void SetState(const char *value)
Definition: LocalGatewayRouteTable.h:272
Aws::EC2::Model::LocalGatewayRouteTable::LocalGatewayRouteTableArnHasBeenSet
bool LocalGatewayRouteTableArnHasBeenSet() const
Definition: LocalGatewayRouteTable.h:93
Aws::EC2::Model::LocalGatewayRouteTable::WithLocalGatewayRouteTableArn
LocalGatewayRouteTable & WithLocalGatewayRouteTableArn(Aws::String &&value)
Definition: LocalGatewayRouteTable.h:118
Aws::EC2::Model::LocalGatewayRouteTable::WithLocalGatewayRouteTableArn
LocalGatewayRouteTable & WithLocalGatewayRouteTableArn(const char *value)
Definition: LocalGatewayRouteTable.h:123
Aws::EC2::Model::LocalGatewayRouteTable::TagsHasBeenSet
bool TagsHasBeenSet() const
Definition: LocalGatewayRouteTable.h:298
Aws::EC2::Model::LocalGatewayRouteTable::WithLocalGatewayRouteTableId
LocalGatewayRouteTable & WithLocalGatewayRouteTableId(const Aws::String &value)
Definition: LocalGatewayRouteTable.h:72
Aws::EC2::Model::LocalGatewayRouteTable::WithOutpostArn
LocalGatewayRouteTable & WithOutpostArn(const Aws::String &value)
Definition: LocalGatewayRouteTable.h:195
AWSString.h
Aws::EC2::Model::LocalGatewayRouteTable::StateHasBeenSet
bool StateHasBeenSet() const
Definition: LocalGatewayRouteTable.h:257
Aws::EC2::Model::LocalGatewayRouteTable::SetOutpostArn
void SetOutpostArn(const Aws::String &value)
Definition: LocalGatewayRouteTable.h:180
Aws::EC2::Model::LocalGatewayRouteTable::GetOutpostArn
const Aws::String & GetOutpostArn() const
Definition: LocalGatewayRouteTable.h:170
Aws::EC2::Model::LocalGatewayRouteTable::WithOwnerId
LocalGatewayRouteTable & WithOwnerId(const char *value)
Definition: LocalGatewayRouteTable.h:246
Aws::EC2::Model::LocalGatewayRouteTable::WithOwnerId
LocalGatewayRouteTable & WithOwnerId(Aws::String &&value)
Definition: LocalGatewayRouteTable.h:241
Aws::EC2::Model::LocalGatewayRouteTable::SetOutpostArn
void SetOutpostArn(Aws::String &&value)
Definition: LocalGatewayRouteTable.h:185
Aws::EC2::Model::LocalGatewayRouteTable::GetTags
const Aws::Vector< Tag > & GetTags() const
Definition: LocalGatewayRouteTable.h:293
Aws::EC2::Model::LocalGatewayRouteTable::SetLocalGatewayRouteTableArn
void SetLocalGatewayRouteTableArn(const Aws::String &value)
Definition: LocalGatewayRouteTable.h:98
Aws::EC2::Model::LocalGatewayRouteTable::OutpostArnHasBeenSet
bool OutpostArnHasBeenSet() const
Definition: LocalGatewayRouteTable.h:175
Aws::EC2::Model::LocalGatewayRouteTable::WithState
LocalGatewayRouteTable & WithState(const Aws::String &value)
Definition: LocalGatewayRouteTable.h:277
Aws::EC2::Model::LocalGatewayRouteTable::WithLocalGatewayRouteTableId
LocalGatewayRouteTable & WithLocalGatewayRouteTableId(const char *value)
Definition: LocalGatewayRouteTable.h:82
Aws
Definition: AccessManagementClient.h:15
Aws::EC2::Model::LocalGatewayRouteTable::GetState
const Aws::String & GetState() const
Definition: LocalGatewayRouteTable.h:252
Aws::EC2::Model::LocalGatewayRouteTable
Definition: LocalGatewayRouteTable.h:34
Aws::EC2::Model::LocalGatewayRouteTable::WithLocalGatewayId
LocalGatewayRouteTable & WithLocalGatewayId(const char *value)
Definition: LocalGatewayRouteTable.h:164
Aws::EC2::Model::LocalGatewayRouteTable::SetLocalGatewayRouteTableId
void SetLocalGatewayRouteTableId(const char *value)
Definition: LocalGatewayRouteTable.h:67
Aws::EC2::Model::LocalGatewayRouteTable::SetOutpostArn
void SetOutpostArn(const char *value)
Definition: LocalGatewayRouteTable.h:190
Aws::EC2::Model::LocalGatewayRouteTable::WithOutpostArn
LocalGatewayRouteTable & WithOutpostArn(const char *value)
Definition: LocalGatewayRouteTable.h:205
Aws::EC2::Model::LocalGatewayRouteTable::WithLocalGatewayId
LocalGatewayRouteTable & WithLocalGatewayId(const Aws::String &value)
Definition: LocalGatewayRouteTable.h:154
Aws::String
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Definition: AWSString.h:97
Aws::EC2::Model::LocalGatewayRouteTable::SetOwnerId
void SetOwnerId(Aws::String &&value)
Definition: LocalGatewayRouteTable.h:226
index
int index
Definition: cJSON.h:181
Aws::EC2::Model::LocalGatewayRouteTable::OutputToStream
void OutputToStream(Aws::OStream &ostream, const char *location, unsigned index, const char *locationValue) const
Aws::EC2::Model::LocalGatewayRouteTable::WithTags
LocalGatewayRouteTable & WithTags(const Aws::Vector< Tag > &value)
Definition: LocalGatewayRouteTable.h:313
Aws::EC2::Model::LocalGatewayRouteTable::SetLocalGatewayRouteTableId
void SetLocalGatewayRouteTableId(Aws::String &&value)
Definition: LocalGatewayRouteTable.h:62
Aws::EC2::Model::LocalGatewayRouteTable::WithOutpostArn
LocalGatewayRouteTable & WithOutpostArn(Aws::String &&value)
Definition: LocalGatewayRouteTable.h:200
EC2_EXPORTS.h
Aws::EC2::Model::LocalGatewayRouteTable::OwnerIdHasBeenSet
bool OwnerIdHasBeenSet() const
Definition: LocalGatewayRouteTable.h:216
Aws::EC2::Model::LocalGatewayRouteTable::SetOwnerId
void SetOwnerId(const char *value)
Definition: LocalGatewayRouteTable.h:231
Aws::EC2::Model::LocalGatewayRouteTable::operator=
LocalGatewayRouteTable & operator=(const Aws::Utils::Xml::XmlNode &xmlNode)
Aws::EC2::Model::LocalGatewayRouteTable::LocalGatewayRouteTableIdHasBeenSet
bool LocalGatewayRouteTableIdHasBeenSet() const
Definition: LocalGatewayRouteTable.h:52