AWS SDK for C++  1.9.130
AWS SDK for C++
TransitGatewayAttachment.h
Go to the documentation of this file.
1 
6 #pragma once
7 #include <aws/ec2/EC2_EXPORTS.h>
15 #include <aws/ec2/model/Tag.h>
16 #include <utility>
17 
18 namespace Aws
19 {
20 namespace Utils
21 {
22 namespace Xml
23 {
24  class XmlNode;
25 } // namespace Xml
26 } // namespace Utils
27 namespace EC2
28 {
29 namespace Model
30 {
31 
39  {
40  public:
44 
45  void OutputToStream(Aws::OStream& ostream, const char* location, unsigned index, const char* locationValue) const;
46  void OutputToStream(Aws::OStream& oStream, const char* location) const;
47 
48 
52  inline const Aws::String& GetTransitGatewayAttachmentId() const{ return m_transitGatewayAttachmentId; }
53 
57  inline bool TransitGatewayAttachmentIdHasBeenSet() const { return m_transitGatewayAttachmentIdHasBeenSet; }
58 
62  inline void SetTransitGatewayAttachmentId(const Aws::String& value) { m_transitGatewayAttachmentIdHasBeenSet = true; m_transitGatewayAttachmentId = value; }
63 
67  inline void SetTransitGatewayAttachmentId(Aws::String&& value) { m_transitGatewayAttachmentIdHasBeenSet = true; m_transitGatewayAttachmentId = std::move(value); }
68 
72  inline void SetTransitGatewayAttachmentId(const char* value) { m_transitGatewayAttachmentIdHasBeenSet = true; m_transitGatewayAttachmentId.assign(value); }
73 
77  inline TransitGatewayAttachment& WithTransitGatewayAttachmentId(const Aws::String& value) { SetTransitGatewayAttachmentId(value); return *this;}
78 
82  inline TransitGatewayAttachment& WithTransitGatewayAttachmentId(Aws::String&& value) { SetTransitGatewayAttachmentId(std::move(value)); return *this;}
83 
87  inline TransitGatewayAttachment& WithTransitGatewayAttachmentId(const char* value) { SetTransitGatewayAttachmentId(value); return *this;}
88 
89 
93  inline const Aws::String& GetTransitGatewayId() const{ return m_transitGatewayId; }
94 
98  inline bool TransitGatewayIdHasBeenSet() const { return m_transitGatewayIdHasBeenSet; }
99 
103  inline void SetTransitGatewayId(const Aws::String& value) { m_transitGatewayIdHasBeenSet = true; m_transitGatewayId = value; }
104 
108  inline void SetTransitGatewayId(Aws::String&& value) { m_transitGatewayIdHasBeenSet = true; m_transitGatewayId = std::move(value); }
109 
113  inline void SetTransitGatewayId(const char* value) { m_transitGatewayIdHasBeenSet = true; m_transitGatewayId.assign(value); }
114 
118  inline TransitGatewayAttachment& WithTransitGatewayId(const Aws::String& value) { SetTransitGatewayId(value); return *this;}
119 
123  inline TransitGatewayAttachment& WithTransitGatewayId(Aws::String&& value) { SetTransitGatewayId(std::move(value)); return *this;}
124 
128  inline TransitGatewayAttachment& WithTransitGatewayId(const char* value) { SetTransitGatewayId(value); return *this;}
129 
130 
134  inline const Aws::String& GetTransitGatewayOwnerId() const{ return m_transitGatewayOwnerId; }
135 
139  inline bool TransitGatewayOwnerIdHasBeenSet() const { return m_transitGatewayOwnerIdHasBeenSet; }
140 
144  inline void SetTransitGatewayOwnerId(const Aws::String& value) { m_transitGatewayOwnerIdHasBeenSet = true; m_transitGatewayOwnerId = value; }
145 
149  inline void SetTransitGatewayOwnerId(Aws::String&& value) { m_transitGatewayOwnerIdHasBeenSet = true; m_transitGatewayOwnerId = std::move(value); }
150 
154  inline void SetTransitGatewayOwnerId(const char* value) { m_transitGatewayOwnerIdHasBeenSet = true; m_transitGatewayOwnerId.assign(value); }
155 
159  inline TransitGatewayAttachment& WithTransitGatewayOwnerId(const Aws::String& value) { SetTransitGatewayOwnerId(value); return *this;}
160 
164  inline TransitGatewayAttachment& WithTransitGatewayOwnerId(Aws::String&& value) { SetTransitGatewayOwnerId(std::move(value)); return *this;}
165 
169  inline TransitGatewayAttachment& WithTransitGatewayOwnerId(const char* value) { SetTransitGatewayOwnerId(value); return *this;}
170 
171 
175  inline const Aws::String& GetResourceOwnerId() const{ return m_resourceOwnerId; }
176 
180  inline bool ResourceOwnerIdHasBeenSet() const { return m_resourceOwnerIdHasBeenSet; }
181 
185  inline void SetResourceOwnerId(const Aws::String& value) { m_resourceOwnerIdHasBeenSet = true; m_resourceOwnerId = value; }
186 
190  inline void SetResourceOwnerId(Aws::String&& value) { m_resourceOwnerIdHasBeenSet = true; m_resourceOwnerId = std::move(value); }
191 
195  inline void SetResourceOwnerId(const char* value) { m_resourceOwnerIdHasBeenSet = true; m_resourceOwnerId.assign(value); }
196 
200  inline TransitGatewayAttachment& WithResourceOwnerId(const Aws::String& value) { SetResourceOwnerId(value); return *this;}
201 
205  inline TransitGatewayAttachment& WithResourceOwnerId(Aws::String&& value) { SetResourceOwnerId(std::move(value)); return *this;}
206 
210  inline TransitGatewayAttachment& WithResourceOwnerId(const char* value) { SetResourceOwnerId(value); return *this;}
211 
212 
217  inline const TransitGatewayAttachmentResourceType& GetResourceType() const{ return m_resourceType; }
218 
223  inline bool ResourceTypeHasBeenSet() const { return m_resourceTypeHasBeenSet; }
224 
229  inline void SetResourceType(const TransitGatewayAttachmentResourceType& value) { m_resourceTypeHasBeenSet = true; m_resourceType = value; }
230 
235  inline void SetResourceType(TransitGatewayAttachmentResourceType&& value) { m_resourceTypeHasBeenSet = true; m_resourceType = std::move(value); }
236 
241  inline TransitGatewayAttachment& WithResourceType(const TransitGatewayAttachmentResourceType& value) { SetResourceType(value); return *this;}
242 
247  inline TransitGatewayAttachment& WithResourceType(TransitGatewayAttachmentResourceType&& value) { SetResourceType(std::move(value)); return *this;}
248 
249 
253  inline const Aws::String& GetResourceId() const{ return m_resourceId; }
254 
258  inline bool ResourceIdHasBeenSet() const { return m_resourceIdHasBeenSet; }
259 
263  inline void SetResourceId(const Aws::String& value) { m_resourceIdHasBeenSet = true; m_resourceId = value; }
264 
268  inline void SetResourceId(Aws::String&& value) { m_resourceIdHasBeenSet = true; m_resourceId = std::move(value); }
269 
273  inline void SetResourceId(const char* value) { m_resourceIdHasBeenSet = true; m_resourceId.assign(value); }
274 
278  inline TransitGatewayAttachment& WithResourceId(const Aws::String& value) { SetResourceId(value); return *this;}
279 
283  inline TransitGatewayAttachment& WithResourceId(Aws::String&& value) { SetResourceId(std::move(value)); return *this;}
284 
288  inline TransitGatewayAttachment& WithResourceId(const char* value) { SetResourceId(value); return *this;}
289 
290 
295  inline const TransitGatewayAttachmentState& GetState() const{ return m_state; }
296 
301  inline bool StateHasBeenSet() const { return m_stateHasBeenSet; }
302 
307  inline void SetState(const TransitGatewayAttachmentState& value) { m_stateHasBeenSet = true; m_state = value; }
308 
313  inline void SetState(TransitGatewayAttachmentState&& value) { m_stateHasBeenSet = true; m_state = std::move(value); }
314 
319  inline TransitGatewayAttachment& WithState(const TransitGatewayAttachmentState& value) { SetState(value); return *this;}
320 
325  inline TransitGatewayAttachment& WithState(TransitGatewayAttachmentState&& value) { SetState(std::move(value)); return *this;}
326 
327 
331  inline const TransitGatewayAttachmentAssociation& GetAssociation() const{ return m_association; }
332 
336  inline bool AssociationHasBeenSet() const { return m_associationHasBeenSet; }
337 
341  inline void SetAssociation(const TransitGatewayAttachmentAssociation& value) { m_associationHasBeenSet = true; m_association = value; }
342 
346  inline void SetAssociation(TransitGatewayAttachmentAssociation&& value) { m_associationHasBeenSet = true; m_association = std::move(value); }
347 
351  inline TransitGatewayAttachment& WithAssociation(const TransitGatewayAttachmentAssociation& value) { SetAssociation(value); return *this;}
352 
356  inline TransitGatewayAttachment& WithAssociation(TransitGatewayAttachmentAssociation&& value) { SetAssociation(std::move(value)); return *this;}
357 
358 
362  inline const Aws::Utils::DateTime& GetCreationTime() const{ return m_creationTime; }
363 
367  inline bool CreationTimeHasBeenSet() const { return m_creationTimeHasBeenSet; }
368 
372  inline void SetCreationTime(const Aws::Utils::DateTime& value) { m_creationTimeHasBeenSet = true; m_creationTime = value; }
373 
377  inline void SetCreationTime(Aws::Utils::DateTime&& value) { m_creationTimeHasBeenSet = true; m_creationTime = std::move(value); }
378 
382  inline TransitGatewayAttachment& WithCreationTime(const Aws::Utils::DateTime& value) { SetCreationTime(value); return *this;}
383 
387  inline TransitGatewayAttachment& WithCreationTime(Aws::Utils::DateTime&& value) { SetCreationTime(std::move(value)); return *this;}
388 
389 
393  inline const Aws::Vector<Tag>& GetTags() const{ return m_tags; }
394 
398  inline bool TagsHasBeenSet() const { return m_tagsHasBeenSet; }
399 
403  inline void SetTags(const Aws::Vector<Tag>& value) { m_tagsHasBeenSet = true; m_tags = value; }
404 
408  inline void SetTags(Aws::Vector<Tag>&& value) { m_tagsHasBeenSet = true; m_tags = std::move(value); }
409 
413  inline TransitGatewayAttachment& WithTags(const Aws::Vector<Tag>& value) { SetTags(value); return *this;}
414 
418  inline TransitGatewayAttachment& WithTags(Aws::Vector<Tag>&& value) { SetTags(std::move(value)); return *this;}
419 
423  inline TransitGatewayAttachment& AddTags(const Tag& value) { m_tagsHasBeenSet = true; m_tags.push_back(value); return *this; }
424 
428  inline TransitGatewayAttachment& AddTags(Tag&& value) { m_tagsHasBeenSet = true; m_tags.push_back(std::move(value)); return *this; }
429 
430  private:
431 
432  Aws::String m_transitGatewayAttachmentId;
433  bool m_transitGatewayAttachmentIdHasBeenSet;
434 
435  Aws::String m_transitGatewayId;
436  bool m_transitGatewayIdHasBeenSet;
437 
438  Aws::String m_transitGatewayOwnerId;
439  bool m_transitGatewayOwnerIdHasBeenSet;
440 
441  Aws::String m_resourceOwnerId;
442  bool m_resourceOwnerIdHasBeenSet;
443 
445  bool m_resourceTypeHasBeenSet;
446 
447  Aws::String m_resourceId;
448  bool m_resourceIdHasBeenSet;
449 
451  bool m_stateHasBeenSet;
452 
454  bool m_associationHasBeenSet;
455 
456  Aws::Utils::DateTime m_creationTime;
457  bool m_creationTimeHasBeenSet;
458 
459  Aws::Vector<Tag> m_tags;
460  bool m_tagsHasBeenSet;
461  };
462 
463 } // namespace Model
464 } // namespace EC2
465 } // namespace Aws
Aws::Utils::DateTime
Definition: DateTime.h:55
Aws::EC2::Model::TransitGatewayAttachment::SetTransitGatewayId
void SetTransitGatewayId(const Aws::String &value)
Definition: TransitGatewayAttachment.h:103
Aws::EC2::Model::TransitGatewayAttachment::AddTags
TransitGatewayAttachment & AddTags(Tag &&value)
Definition: TransitGatewayAttachment.h:428
Aws::EC2::Model::TransitGatewayAttachment::SetResourceId
void SetResourceId(Aws::String &&value)
Definition: TransitGatewayAttachment.h:268
Aws::EC2::Model::TransitGatewayAttachment::SetAssociation
void SetAssociation(const TransitGatewayAttachmentAssociation &value)
Definition: TransitGatewayAttachment.h:341
Aws::EC2::Model::TransitGatewayAttachment::WithTransitGatewayAttachmentId
TransitGatewayAttachment & WithTransitGatewayAttachmentId(const char *value)
Definition: TransitGatewayAttachment.h:87
Aws::EC2::Model::Tag
Definition: Tag.h:32
Aws::EC2::Model::TransitGatewayAttachment::TransitGatewayIdHasBeenSet
bool TransitGatewayIdHasBeenSet() const
Definition: TransitGatewayAttachment.h:98
Aws::EC2::Model::TransitGatewayAttachment::SetTransitGatewayOwnerId
void SetTransitGatewayOwnerId(const Aws::String &value)
Definition: TransitGatewayAttachment.h:144
Aws::EC2::Model::TransitGatewayAttachment::SetTransitGatewayOwnerId
void SetTransitGatewayOwnerId(Aws::String &&value)
Definition: TransitGatewayAttachment.h:149
Aws::EC2::Model::TransitGatewayAttachment::WithResourceType
TransitGatewayAttachment & WithResourceType(TransitGatewayAttachmentResourceType &&value)
Definition: TransitGatewayAttachment.h:247
Aws::EC2::Model::TransitGatewayAttachment::GetState
const TransitGatewayAttachmentState & GetState() const
Definition: TransitGatewayAttachment.h:295
Aws::EC2::Model::TransitGatewayAttachmentAssociation
Definition: TransitGatewayAttachmentAssociation.h:33
Aws::EC2::Model::TransitGatewayAttachment::WithTransitGatewayId
TransitGatewayAttachment & WithTransitGatewayId(const Aws::String &value)
Definition: TransitGatewayAttachment.h:118
Aws::EC2::Model::TransitGatewayAttachment::SetResourceType
void SetResourceType(TransitGatewayAttachmentResourceType &&value)
Definition: TransitGatewayAttachment.h:235
Aws::EC2::Model::TransitGatewayAttachment::SetResourceOwnerId
void SetResourceOwnerId(Aws::String &&value)
Definition: TransitGatewayAttachment.h:190
DateTime.h
Aws::EC2::Model::TransitGatewayAttachment::WithTags
TransitGatewayAttachment & WithTags(Aws::Vector< Tag > &&value)
Definition: TransitGatewayAttachment.h:418
Aws::EC2::Model::TransitGatewayAttachment::SetTags
void SetTags(Aws::Vector< Tag > &&value)
Definition: TransitGatewayAttachment.h:408
Aws::EC2::Model::TransitGatewayAttachment::SetResourceId
void SetResourceId(const char *value)
Definition: TransitGatewayAttachment.h:273
AWS_EC2_API
#define AWS_EC2_API
Definition: EC2_EXPORTS.h:28
Aws::EC2::Model::TransitGatewayAttachment::SetTransitGatewayId
void SetTransitGatewayId(Aws::String &&value)
Definition: TransitGatewayAttachment.h:108
Aws::EC2::Model::TransitGatewayAttachment::OutputToStream
void OutputToStream(Aws::OStream &ostream, const char *location, unsigned index, const char *locationValue) const
Aws::EC2::Model::TransitGatewayAttachment::TransitGatewayOwnerIdHasBeenSet
bool TransitGatewayOwnerIdHasBeenSet() const
Definition: TransitGatewayAttachment.h:139
Aws::EC2::Model::TransitGatewayAttachment::WithTags
TransitGatewayAttachment & WithTags(const Aws::Vector< Tag > &value)
Definition: TransitGatewayAttachment.h:413
Aws::Vector
std::vector< T, Aws::Allocator< T > > Vector
Definition: AWSVector.h:17
Aws::EC2::Model::TransitGatewayAttachment::GetCreationTime
const Aws::Utils::DateTime & GetCreationTime() const
Definition: TransitGatewayAttachment.h:362
Aws::EC2::Model::TransitGatewayAttachment::OutputToStream
void OutputToStream(Aws::OStream &oStream, const char *location) const
AWSStreamFwd.h
Aws::EC2::Model::TransitGatewayAttachment::CreationTimeHasBeenSet
bool CreationTimeHasBeenSet() const
Definition: TransitGatewayAttachment.h:367
Aws::EC2::Model::TransitGatewayAttachment::TransitGatewayAttachmentIdHasBeenSet
bool TransitGatewayAttachmentIdHasBeenSet() const
Definition: TransitGatewayAttachment.h:57
Aws::EC2::Model::TransitGatewayAttachment::SetResourceId
void SetResourceId(const Aws::String &value)
Definition: TransitGatewayAttachment.h:263
Aws::EC2::Model::TransitGatewayAttachmentResourceType
TransitGatewayAttachmentResourceType
Definition: TransitGatewayAttachmentResourceType.h:17
AWSVector.h
Tag.h
Aws::EC2::Model::TransitGatewayAttachment::SetAssociation
void SetAssociation(TransitGatewayAttachmentAssociation &&value)
Definition: TransitGatewayAttachment.h:346
Aws::EC2::Model::TransitGatewayAttachment::WithCreationTime
TransitGatewayAttachment & WithCreationTime(const Aws::Utils::DateTime &value)
Definition: TransitGatewayAttachment.h:382
Aws::OStream
std::basic_ostream< char, std::char_traits< char > > OStream
Definition: AWSStreamFwd.h:21
Aws::EC2::Model::TransitGatewayAttachment::SetResourceOwnerId
void SetResourceOwnerId(const Aws::String &value)
Definition: TransitGatewayAttachment.h:185
Aws::EC2::Model::TransitGatewayAttachment::SetResourceOwnerId
void SetResourceOwnerId(const char *value)
Definition: TransitGatewayAttachment.h:195
Aws::EC2::Model::TransitGatewayAttachment::WithTransitGatewayAttachmentId
TransitGatewayAttachment & WithTransitGatewayAttachmentId(Aws::String &&value)
Definition: TransitGatewayAttachment.h:82
Aws::EC2::Model::TransitGatewayAttachment::GetResourceId
const Aws::String & GetResourceId() const
Definition: TransitGatewayAttachment.h:253
Aws::EC2::Model::TransitGatewayAttachment::SetCreationTime
void SetCreationTime(Aws::Utils::DateTime &&value)
Definition: TransitGatewayAttachment.h:377
TransitGatewayAttachmentResourceType.h
Aws::EC2::Model::TransitGatewayAttachment::WithTransitGatewayId
TransitGatewayAttachment & WithTransitGatewayId(Aws::String &&value)
Definition: TransitGatewayAttachment.h:123
TransitGatewayAttachmentAssociation.h
Aws::EC2::Model::TransitGatewayAttachment
Definition: TransitGatewayAttachment.h:39
Aws::Utils::Xml::XmlNode
Definition: XmlSerializer.h:53
Aws::EC2::Model::TransitGatewayAttachment::WithResourceOwnerId
TransitGatewayAttachment & WithResourceOwnerId(const char *value)
Definition: TransitGatewayAttachment.h:210
Aws::EC2::Model::TransitGatewayAttachment::TransitGatewayAttachment
TransitGatewayAttachment()
Aws::EC2::Model::TransitGatewayAttachment::SetTransitGatewayAttachmentId
void SetTransitGatewayAttachmentId(const char *value)
Definition: TransitGatewayAttachment.h:72
Aws::EC2::Model::TransitGatewayAttachment::GetTags
const Aws::Vector< Tag > & GetTags() const
Definition: TransitGatewayAttachment.h:393
Aws::EC2::Model::TransitGatewayAttachment::SetState
void SetState(TransitGatewayAttachmentState &&value)
Definition: TransitGatewayAttachment.h:313
Aws::EC2::Model::TransitGatewayAttachment::ResourceIdHasBeenSet
bool ResourceIdHasBeenSet() const
Definition: TransitGatewayAttachment.h:258
Aws::EC2::Model::TransitGatewayAttachment::WithState
TransitGatewayAttachment & WithState(TransitGatewayAttachmentState &&value)
Definition: TransitGatewayAttachment.h:325
Aws::EC2::Model::TransitGatewayAttachment::WithState
TransitGatewayAttachment & WithState(const TransitGatewayAttachmentState &value)
Definition: TransitGatewayAttachment.h:319
Aws::EC2::Model::TransitGatewayAttachment::WithTransitGatewayOwnerId
TransitGatewayAttachment & WithTransitGatewayOwnerId(Aws::String &&value)
Definition: TransitGatewayAttachment.h:164
Aws::EC2::Model::TransitGatewayAttachment::AddTags
TransitGatewayAttachment & AddTags(const Tag &value)
Definition: TransitGatewayAttachment.h:423
Aws::EC2::Model::TransitGatewayAttachment::WithResourceId
TransitGatewayAttachment & WithResourceId(const Aws::String &value)
Definition: TransitGatewayAttachment.h:278
Aws::EC2::Model::TransitGatewayAttachment::WithResourceOwnerId
TransitGatewayAttachment & WithResourceOwnerId(Aws::String &&value)
Definition: TransitGatewayAttachment.h:205
Aws::EC2::Model::TransitGatewayAttachment::WithResourceType
TransitGatewayAttachment & WithResourceType(const TransitGatewayAttachmentResourceType &value)
Definition: TransitGatewayAttachment.h:241
Aws::EC2::Model::TransitGatewayAttachment::SetTransitGatewayOwnerId
void SetTransitGatewayOwnerId(const char *value)
Definition: TransitGatewayAttachment.h:154
Aws::EC2::Model::TransitGatewayAttachmentState
TransitGatewayAttachmentState
Definition: TransitGatewayAttachmentState.h:17
Aws::EC2::Model::TransitGatewayAttachment::WithTransitGatewayAttachmentId
TransitGatewayAttachment & WithTransitGatewayAttachmentId(const Aws::String &value)
Definition: TransitGatewayAttachment.h:77
Aws::EC2::Model::TransitGatewayAttachment::TagsHasBeenSet
bool TagsHasBeenSet() const
Definition: TransitGatewayAttachment.h:398
AWSString.h
Aws::EC2::Model::TransitGatewayAttachment::WithAssociation
TransitGatewayAttachment & WithAssociation(const TransitGatewayAttachmentAssociation &value)
Definition: TransitGatewayAttachment.h:351
Aws::EC2::Model::TransitGatewayAttachment::GetTransitGatewayOwnerId
const Aws::String & GetTransitGatewayOwnerId() const
Definition: TransitGatewayAttachment.h:134
Aws::EC2::Model::TransitGatewayAttachment::AssociationHasBeenSet
bool AssociationHasBeenSet() const
Definition: TransitGatewayAttachment.h:336
Aws::EC2::Model::TransitGatewayAttachment::WithAssociation
TransitGatewayAttachment & WithAssociation(TransitGatewayAttachmentAssociation &&value)
Definition: TransitGatewayAttachment.h:356
Aws::EC2::Model::TransitGatewayAttachment::SetCreationTime
void SetCreationTime(const Aws::Utils::DateTime &value)
Definition: TransitGatewayAttachment.h:372
Aws::EC2::Model::TransitGatewayAttachment::ResourceOwnerIdHasBeenSet
bool ResourceOwnerIdHasBeenSet() const
Definition: TransitGatewayAttachment.h:180
Aws::EC2::Model::TransitGatewayAttachment::WithTransitGatewayOwnerId
TransitGatewayAttachment & WithTransitGatewayOwnerId(const char *value)
Definition: TransitGatewayAttachment.h:169
Aws::EC2::Model::TransitGatewayAttachment::WithResourceId
TransitGatewayAttachment & WithResourceId(Aws::String &&value)
Definition: TransitGatewayAttachment.h:283
Aws::EC2::Model::TransitGatewayAttachment::SetTags
void SetTags(const Aws::Vector< Tag > &value)
Definition: TransitGatewayAttachment.h:403
Aws::EC2::Model::TransitGatewayAttachment::ResourceTypeHasBeenSet
bool ResourceTypeHasBeenSet() const
Definition: TransitGatewayAttachment.h:223
Aws::EC2::Model::TransitGatewayAttachment::WithTransitGatewayId
TransitGatewayAttachment & WithTransitGatewayId(const char *value)
Definition: TransitGatewayAttachment.h:128
Aws::EC2::Model::TransitGatewayAttachment::SetResourceType
void SetResourceType(const TransitGatewayAttachmentResourceType &value)
Definition: TransitGatewayAttachment.h:229
Aws::EC2::Model::TransitGatewayAttachment::GetTransitGatewayId
const Aws::String & GetTransitGatewayId() const
Definition: TransitGatewayAttachment.h:93
Aws::EC2::Model::TransitGatewayAttachment::StateHasBeenSet
bool StateHasBeenSet() const
Definition: TransitGatewayAttachment.h:301
Aws::EC2::Model::TransitGatewayAttachment::WithCreationTime
TransitGatewayAttachment & WithCreationTime(Aws::Utils::DateTime &&value)
Definition: TransitGatewayAttachment.h:387
Aws::EC2::Model::TransitGatewayAttachment::GetResourceOwnerId
const Aws::String & GetResourceOwnerId() const
Definition: TransitGatewayAttachment.h:175
Aws::EC2::Model::TransitGatewayAttachment::WithResourceId
TransitGatewayAttachment & WithResourceId(const char *value)
Definition: TransitGatewayAttachment.h:288
Aws
Definition: AccessManagementClient.h:15
Aws::EC2::Model::TransitGatewayAttachment::GetResourceType
const TransitGatewayAttachmentResourceType & GetResourceType() const
Definition: TransitGatewayAttachment.h:217
Aws::EC2::Model::TransitGatewayAttachment::GetAssociation
const TransitGatewayAttachmentAssociation & GetAssociation() const
Definition: TransitGatewayAttachment.h:331
Aws::EC2::Model::TransitGatewayAttachment::SetTransitGatewayAttachmentId
void SetTransitGatewayAttachmentId(Aws::String &&value)
Definition: TransitGatewayAttachment.h:67
Aws::EC2::Model::TransitGatewayAttachment::TransitGatewayAttachment
TransitGatewayAttachment(const Aws::Utils::Xml::XmlNode &xmlNode)
Aws::String
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Definition: AWSString.h:97
index
int index
Definition: cJSON.h:181
TransitGatewayAttachmentState.h
Aws::EC2::Model::TransitGatewayAttachment::operator=
TransitGatewayAttachment & operator=(const Aws::Utils::Xml::XmlNode &xmlNode)
EC2_EXPORTS.h
Aws::EC2::Model::TransitGatewayAttachment::SetTransitGatewayAttachmentId
void SetTransitGatewayAttachmentId(const Aws::String &value)
Definition: TransitGatewayAttachment.h:62
Aws::EC2::Model::TransitGatewayAttachment::WithTransitGatewayOwnerId
TransitGatewayAttachment & WithTransitGatewayOwnerId(const Aws::String &value)
Definition: TransitGatewayAttachment.h:159
Aws::EC2::Model::TransitGatewayAttachment::SetState
void SetState(const TransitGatewayAttachmentState &value)
Definition: TransitGatewayAttachment.h:307
Aws::EC2::Model::TransitGatewayAttachment::WithResourceOwnerId
TransitGatewayAttachment & WithResourceOwnerId(const Aws::String &value)
Definition: TransitGatewayAttachment.h:200
Aws::EC2::Model::TransitGatewayAttachment::SetTransitGatewayId
void SetTransitGatewayId(const char *value)
Definition: TransitGatewayAttachment.h:113
Aws::EC2::Model::TransitGatewayAttachment::GetTransitGatewayAttachmentId
const Aws::String & GetTransitGatewayAttachmentId() const
Definition: TransitGatewayAttachment.h:52