AWS SDK for C++  1.9.66
AWS SDK for C++
VpnConnection.h
Go to the documentation of this file.
1 
6 #pragma once
7 #include <aws/ec2/EC2_EXPORTS.h>
10 #include <aws/ec2/model/VpnState.h>
15 #include <aws/ec2/model/Tag.h>
17 #include <utility>
18 
19 namespace Aws
20 {
21 namespace Utils
22 {
23 namespace Xml
24 {
25  class XmlNode;
26 } // namespace Xml
27 } // namespace Utils
28 namespace EC2
29 {
30 namespace Model
31 {
32 
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 
56  inline const Aws::String& GetCustomerGatewayConfiguration() const{ return m_customerGatewayConfiguration; }
57 
65  inline bool CustomerGatewayConfigurationHasBeenSet() const { return m_customerGatewayConfigurationHasBeenSet; }
66 
74  inline void SetCustomerGatewayConfiguration(const Aws::String& value) { m_customerGatewayConfigurationHasBeenSet = true; m_customerGatewayConfiguration = value; }
75 
83  inline void SetCustomerGatewayConfiguration(Aws::String&& value) { m_customerGatewayConfigurationHasBeenSet = true; m_customerGatewayConfiguration = std::move(value); }
84 
92  inline void SetCustomerGatewayConfiguration(const char* value) { m_customerGatewayConfigurationHasBeenSet = true; m_customerGatewayConfiguration.assign(value); }
93 
101  inline VpnConnection& WithCustomerGatewayConfiguration(const Aws::String& value) { SetCustomerGatewayConfiguration(value); return *this;}
102 
110  inline VpnConnection& WithCustomerGatewayConfiguration(Aws::String&& value) { SetCustomerGatewayConfiguration(std::move(value)); return *this;}
111 
119  inline VpnConnection& WithCustomerGatewayConfiguration(const char* value) { SetCustomerGatewayConfiguration(value); return *this;}
120 
121 
125  inline const Aws::String& GetCustomerGatewayId() const{ return m_customerGatewayId; }
126 
130  inline bool CustomerGatewayIdHasBeenSet() const { return m_customerGatewayIdHasBeenSet; }
131 
135  inline void SetCustomerGatewayId(const Aws::String& value) { m_customerGatewayIdHasBeenSet = true; m_customerGatewayId = value; }
136 
140  inline void SetCustomerGatewayId(Aws::String&& value) { m_customerGatewayIdHasBeenSet = true; m_customerGatewayId = std::move(value); }
141 
145  inline void SetCustomerGatewayId(const char* value) { m_customerGatewayIdHasBeenSet = true; m_customerGatewayId.assign(value); }
146 
150  inline VpnConnection& WithCustomerGatewayId(const Aws::String& value) { SetCustomerGatewayId(value); return *this;}
151 
155  inline VpnConnection& WithCustomerGatewayId(Aws::String&& value) { SetCustomerGatewayId(std::move(value)); return *this;}
156 
160  inline VpnConnection& WithCustomerGatewayId(const char* value) { SetCustomerGatewayId(value); return *this;}
161 
162 
168  inline const Aws::String& GetCategory() const{ return m_category; }
169 
175  inline bool CategoryHasBeenSet() const { return m_categoryHasBeenSet; }
176 
182  inline void SetCategory(const Aws::String& value) { m_categoryHasBeenSet = true; m_category = value; }
183 
189  inline void SetCategory(Aws::String&& value) { m_categoryHasBeenSet = true; m_category = std::move(value); }
190 
196  inline void SetCategory(const char* value) { m_categoryHasBeenSet = true; m_category.assign(value); }
197 
203  inline VpnConnection& WithCategory(const Aws::String& value) { SetCategory(value); return *this;}
204 
210  inline VpnConnection& WithCategory(Aws::String&& value) { SetCategory(std::move(value)); return *this;}
211 
217  inline VpnConnection& WithCategory(const char* value) { SetCategory(value); return *this;}
218 
219 
223  inline const VpnState& GetState() const{ return m_state; }
224 
228  inline bool StateHasBeenSet() const { return m_stateHasBeenSet; }
229 
233  inline void SetState(const VpnState& value) { m_stateHasBeenSet = true; m_state = value; }
234 
238  inline void SetState(VpnState&& value) { m_stateHasBeenSet = true; m_state = std::move(value); }
239 
243  inline VpnConnection& WithState(const VpnState& value) { SetState(value); return *this;}
244 
248  inline VpnConnection& WithState(VpnState&& value) { SetState(std::move(value)); return *this;}
249 
250 
254  inline const GatewayType& GetType() const{ return m_type; }
255 
259  inline bool TypeHasBeenSet() const { return m_typeHasBeenSet; }
260 
264  inline void SetType(const GatewayType& value) { m_typeHasBeenSet = true; m_type = value; }
265 
269  inline void SetType(GatewayType&& value) { m_typeHasBeenSet = true; m_type = std::move(value); }
270 
274  inline VpnConnection& WithType(const GatewayType& value) { SetType(value); return *this;}
275 
279  inline VpnConnection& WithType(GatewayType&& value) { SetType(std::move(value)); return *this;}
280 
281 
285  inline const Aws::String& GetVpnConnectionId() const{ return m_vpnConnectionId; }
286 
290  inline bool VpnConnectionIdHasBeenSet() const { return m_vpnConnectionIdHasBeenSet; }
291 
295  inline void SetVpnConnectionId(const Aws::String& value) { m_vpnConnectionIdHasBeenSet = true; m_vpnConnectionId = value; }
296 
300  inline void SetVpnConnectionId(Aws::String&& value) { m_vpnConnectionIdHasBeenSet = true; m_vpnConnectionId = std::move(value); }
301 
305  inline void SetVpnConnectionId(const char* value) { m_vpnConnectionIdHasBeenSet = true; m_vpnConnectionId.assign(value); }
306 
310  inline VpnConnection& WithVpnConnectionId(const Aws::String& value) { SetVpnConnectionId(value); return *this;}
311 
315  inline VpnConnection& WithVpnConnectionId(Aws::String&& value) { SetVpnConnectionId(std::move(value)); return *this;}
316 
320  inline VpnConnection& WithVpnConnectionId(const char* value) { SetVpnConnectionId(value); return *this;}
321 
322 
327  inline const Aws::String& GetVpnGatewayId() const{ return m_vpnGatewayId; }
328 
333  inline bool VpnGatewayIdHasBeenSet() const { return m_vpnGatewayIdHasBeenSet; }
334 
339  inline void SetVpnGatewayId(const Aws::String& value) { m_vpnGatewayIdHasBeenSet = true; m_vpnGatewayId = value; }
340 
345  inline void SetVpnGatewayId(Aws::String&& value) { m_vpnGatewayIdHasBeenSet = true; m_vpnGatewayId = std::move(value); }
346 
351  inline void SetVpnGatewayId(const char* value) { m_vpnGatewayIdHasBeenSet = true; m_vpnGatewayId.assign(value); }
352 
357  inline VpnConnection& WithVpnGatewayId(const Aws::String& value) { SetVpnGatewayId(value); return *this;}
358 
363  inline VpnConnection& WithVpnGatewayId(Aws::String&& value) { SetVpnGatewayId(std::move(value)); return *this;}
364 
369  inline VpnConnection& WithVpnGatewayId(const char* value) { SetVpnGatewayId(value); return *this;}
370 
371 
375  inline const Aws::String& GetTransitGatewayId() const{ return m_transitGatewayId; }
376 
380  inline bool TransitGatewayIdHasBeenSet() const { return m_transitGatewayIdHasBeenSet; }
381 
385  inline void SetTransitGatewayId(const Aws::String& value) { m_transitGatewayIdHasBeenSet = true; m_transitGatewayId = value; }
386 
390  inline void SetTransitGatewayId(Aws::String&& value) { m_transitGatewayIdHasBeenSet = true; m_transitGatewayId = std::move(value); }
391 
395  inline void SetTransitGatewayId(const char* value) { m_transitGatewayIdHasBeenSet = true; m_transitGatewayId.assign(value); }
396 
400  inline VpnConnection& WithTransitGatewayId(const Aws::String& value) { SetTransitGatewayId(value); return *this;}
401 
405  inline VpnConnection& WithTransitGatewayId(Aws::String&& value) { SetTransitGatewayId(std::move(value)); return *this;}
406 
410  inline VpnConnection& WithTransitGatewayId(const char* value) { SetTransitGatewayId(value); return *this;}
411 
412 
416  inline const VpnConnectionOptions& GetOptions() const{ return m_options; }
417 
421  inline bool OptionsHasBeenSet() const { return m_optionsHasBeenSet; }
422 
426  inline void SetOptions(const VpnConnectionOptions& value) { m_optionsHasBeenSet = true; m_options = value; }
427 
431  inline void SetOptions(VpnConnectionOptions&& value) { m_optionsHasBeenSet = true; m_options = std::move(value); }
432 
436  inline VpnConnection& WithOptions(const VpnConnectionOptions& value) { SetOptions(value); return *this;}
437 
441  inline VpnConnection& WithOptions(VpnConnectionOptions&& value) { SetOptions(std::move(value)); return *this;}
442 
443 
447  inline const Aws::Vector<VpnStaticRoute>& GetRoutes() const{ return m_routes; }
448 
452  inline bool RoutesHasBeenSet() const { return m_routesHasBeenSet; }
453 
457  inline void SetRoutes(const Aws::Vector<VpnStaticRoute>& value) { m_routesHasBeenSet = true; m_routes = value; }
458 
462  inline void SetRoutes(Aws::Vector<VpnStaticRoute>&& value) { m_routesHasBeenSet = true; m_routes = std::move(value); }
463 
467  inline VpnConnection& WithRoutes(const Aws::Vector<VpnStaticRoute>& value) { SetRoutes(value); return *this;}
468 
472  inline VpnConnection& WithRoutes(Aws::Vector<VpnStaticRoute>&& value) { SetRoutes(std::move(value)); return *this;}
473 
477  inline VpnConnection& AddRoutes(const VpnStaticRoute& value) { m_routesHasBeenSet = true; m_routes.push_back(value); return *this; }
478 
482  inline VpnConnection& AddRoutes(VpnStaticRoute&& value) { m_routesHasBeenSet = true; m_routes.push_back(std::move(value)); return *this; }
483 
484 
488  inline const Aws::Vector<Tag>& GetTags() const{ return m_tags; }
489 
493  inline bool TagsHasBeenSet() const { return m_tagsHasBeenSet; }
494 
498  inline void SetTags(const Aws::Vector<Tag>& value) { m_tagsHasBeenSet = true; m_tags = value; }
499 
503  inline void SetTags(Aws::Vector<Tag>&& value) { m_tagsHasBeenSet = true; m_tags = std::move(value); }
504 
508  inline VpnConnection& WithTags(const Aws::Vector<Tag>& value) { SetTags(value); return *this;}
509 
513  inline VpnConnection& WithTags(Aws::Vector<Tag>&& value) { SetTags(std::move(value)); return *this;}
514 
518  inline VpnConnection& AddTags(const Tag& value) { m_tagsHasBeenSet = true; m_tags.push_back(value); return *this; }
519 
523  inline VpnConnection& AddTags(Tag&& value) { m_tagsHasBeenSet = true; m_tags.push_back(std::move(value)); return *this; }
524 
525 
529  inline const Aws::Vector<VgwTelemetry>& GetVgwTelemetry() const{ return m_vgwTelemetry; }
530 
534  inline bool VgwTelemetryHasBeenSet() const { return m_vgwTelemetryHasBeenSet; }
535 
539  inline void SetVgwTelemetry(const Aws::Vector<VgwTelemetry>& value) { m_vgwTelemetryHasBeenSet = true; m_vgwTelemetry = value; }
540 
544  inline void SetVgwTelemetry(Aws::Vector<VgwTelemetry>&& value) { m_vgwTelemetryHasBeenSet = true; m_vgwTelemetry = std::move(value); }
545 
549  inline VpnConnection& WithVgwTelemetry(const Aws::Vector<VgwTelemetry>& value) { SetVgwTelemetry(value); return *this;}
550 
554  inline VpnConnection& WithVgwTelemetry(Aws::Vector<VgwTelemetry>&& value) { SetVgwTelemetry(std::move(value)); return *this;}
555 
559  inline VpnConnection& AddVgwTelemetry(const VgwTelemetry& value) { m_vgwTelemetryHasBeenSet = true; m_vgwTelemetry.push_back(value); return *this; }
560 
564  inline VpnConnection& AddVgwTelemetry(VgwTelemetry&& value) { m_vgwTelemetryHasBeenSet = true; m_vgwTelemetry.push_back(std::move(value)); return *this; }
565 
566  private:
567 
568  Aws::String m_customerGatewayConfiguration;
569  bool m_customerGatewayConfigurationHasBeenSet;
570 
571  Aws::String m_customerGatewayId;
572  bool m_customerGatewayIdHasBeenSet;
573 
574  Aws::String m_category;
575  bool m_categoryHasBeenSet;
576 
577  VpnState m_state;
578  bool m_stateHasBeenSet;
579 
580  GatewayType m_type;
581  bool m_typeHasBeenSet;
582 
583  Aws::String m_vpnConnectionId;
584  bool m_vpnConnectionIdHasBeenSet;
585 
586  Aws::String m_vpnGatewayId;
587  bool m_vpnGatewayIdHasBeenSet;
588 
589  Aws::String m_transitGatewayId;
590  bool m_transitGatewayIdHasBeenSet;
591 
592  VpnConnectionOptions m_options;
593  bool m_optionsHasBeenSet;
594 
596  bool m_routesHasBeenSet;
597 
598  Aws::Vector<Tag> m_tags;
599  bool m_tagsHasBeenSet;
600 
601  Aws::Vector<VgwTelemetry> m_vgwTelemetry;
602  bool m_vgwTelemetryHasBeenSet;
603  };
604 
605 } // namespace Model
606 } // namespace EC2
607 } // namespace Aws
Aws::EC2::Model::VpnConnection::GetOptions
const VpnConnectionOptions & GetOptions() const
Definition: VpnConnection.h:416
Aws::EC2::Model::VpnConnection::GetRoutes
const Aws::Vector< VpnStaticRoute > & GetRoutes() const
Definition: VpnConnection.h:447
Aws::EC2::Model::VpnConnection::GetTags
const Aws::Vector< Tag > & GetTags() const
Definition: VpnConnection.h:488
Aws::EC2::Model::VpnConnection::SetCustomerGatewayId
void SetCustomerGatewayId(const Aws::String &value)
Definition: VpnConnection.h:135
Aws::EC2::Model::VpnConnection::TypeHasBeenSet
bool TypeHasBeenSet() const
Definition: VpnConnection.h:259
Aws::EC2::Model::VpnConnection::AddRoutes
VpnConnection & AddRoutes(VpnStaticRoute &&value)
Definition: VpnConnection.h:482
Aws::EC2::Model::GatewayType
GatewayType
Definition: GatewayType.h:17
Aws::EC2::Model::VpnConnection::WithCustomerGatewayId
VpnConnection & WithCustomerGatewayId(Aws::String &&value)
Definition: VpnConnection.h:155
Aws::EC2::Model::VpnConnection::SetVpnGatewayId
void SetVpnGatewayId(Aws::String &&value)
Definition: VpnConnection.h:345
Aws::EC2::Model::VpnConnection::SetCustomerGatewayConfiguration
void SetCustomerGatewayConfiguration(const Aws::String &value)
Definition: VpnConnection.h:74
Aws::EC2::Model::VpnConnection::SetVgwTelemetry
void SetVgwTelemetry(const Aws::Vector< VgwTelemetry > &value)
Definition: VpnConnection.h:539
Aws::EC2::Model::VpnConnection::SetTransitGatewayId
void SetTransitGatewayId(const Aws::String &value)
Definition: VpnConnection.h:385
Aws::EC2::Model::Tag
Definition: Tag.h:32
Aws::EC2::Model::VpnConnection::WithVpnConnectionId
VpnConnection & WithVpnConnectionId(const char *value)
Definition: VpnConnection.h:320
VpnStaticRoute.h
Aws::EC2::Model::VpnConnection::SetVpnConnectionId
void SetVpnConnectionId(Aws::String &&value)
Definition: VpnConnection.h:300
Aws::EC2::Model::VpnConnection::SetOptions
void SetOptions(VpnConnectionOptions &&value)
Definition: VpnConnection.h:431
Aws::EC2::Model::VpnConnection::StateHasBeenSet
bool StateHasBeenSet() const
Definition: VpnConnection.h:228
Aws::EC2::Model::VpnConnection::WithCategory
VpnConnection & WithCategory(const Aws::String &value)
Definition: VpnConnection.h:203
Aws::EC2::Model::VpnConnection::GetCustomerGatewayConfiguration
const Aws::String & GetCustomerGatewayConfiguration() const
Definition: VpnConnection.h:56
Aws::EC2::Model::VpnConnection::SetVpnConnectionId
void SetVpnConnectionId(const char *value)
Definition: VpnConnection.h:305
VpnState.h
Aws::EC2::Model::VpnConnection::WithType
VpnConnection & WithType(GatewayType &&value)
Definition: VpnConnection.h:279
Aws::EC2::Model::VpnConnection::WithTags
VpnConnection & WithTags(const Aws::Vector< Tag > &value)
Definition: VpnConnection.h:508
Aws::EC2::Model::VpnConnection::WithCustomerGatewayConfiguration
VpnConnection & WithCustomerGatewayConfiguration(const char *value)
Definition: VpnConnection.h:119
Aws::EC2::Model::VpnConnection::WithTransitGatewayId
VpnConnection & WithTransitGatewayId(Aws::String &&value)
Definition: VpnConnection.h:405
Aws::EC2::Model::VpnConnection::WithVpnGatewayId
VpnConnection & WithVpnGatewayId(const Aws::String &value)
Definition: VpnConnection.h:357
AWS_EC2_API
#define AWS_EC2_API
Definition: EC2_EXPORTS.h:28
Aws::EC2::Model::VpnConnection::WithType
VpnConnection & WithType(const GatewayType &value)
Definition: VpnConnection.h:274
Aws::EC2::Model::VpnConnection::VgwTelemetryHasBeenSet
bool VgwTelemetryHasBeenSet() const
Definition: VpnConnection.h:534
Aws::EC2::Model::VpnConnection::CategoryHasBeenSet
bool CategoryHasBeenSet() const
Definition: VpnConnection.h:175
Aws::EC2::Model::VpnConnection::GetCategory
const Aws::String & GetCategory() const
Definition: VpnConnection.h:168
Aws::EC2::Model::VpnConnection::SetState
void SetState(const VpnState &value)
Definition: VpnConnection.h:233
Aws::EC2::Model::VpnConnection::AddTags
VpnConnection & AddTags(const Tag &value)
Definition: VpnConnection.h:518
Aws::EC2::Model::VpnConnection::WithCustomerGatewayConfiguration
VpnConnection & WithCustomerGatewayConfiguration(const Aws::String &value)
Definition: VpnConnection.h:101
Aws::EC2::Model::VpnConnection::SetCustomerGatewayId
void SetCustomerGatewayId(const char *value)
Definition: VpnConnection.h:145
Aws::Vector
std::vector< T, Aws::Allocator< T > > Vector
Definition: AWSVector.h:17
Aws::EC2::Model::VpnConnection::WithCustomerGatewayConfiguration
VpnConnection & WithCustomerGatewayConfiguration(Aws::String &&value)
Definition: VpnConnection.h:110
Aws::EC2::Model::VpnConnection::OptionsHasBeenSet
bool OptionsHasBeenSet() const
Definition: VpnConnection.h:421
Aws::EC2::Model::VpnConnection::SetCategory
void SetCategory(Aws::String &&value)
Definition: VpnConnection.h:189
Aws::EC2::Model::VpnConnection::SetTransitGatewayId
void SetTransitGatewayId(const char *value)
Definition: VpnConnection.h:395
AWSStreamFwd.h
Aws::EC2::Model::VpnConnection::GetVpnConnectionId
const Aws::String & GetVpnConnectionId() const
Definition: VpnConnection.h:285
Aws::EC2::Model::VpnConnection::WithVpnConnectionId
VpnConnection & WithVpnConnectionId(Aws::String &&value)
Definition: VpnConnection.h:315
Aws::EC2::Model::VpnConnection::VpnGatewayIdHasBeenSet
bool VpnGatewayIdHasBeenSet() const
Definition: VpnConnection.h:333
Aws::EC2::Model::VpnConnection::AddRoutes
VpnConnection & AddRoutes(const VpnStaticRoute &value)
Definition: VpnConnection.h:477
Aws::EC2::Model::VpnConnection::WithTransitGatewayId
VpnConnection & WithTransitGatewayId(const Aws::String &value)
Definition: VpnConnection.h:400
AWSVector.h
Tag.h
Aws::EC2::Model::VpnConnection::AddVgwTelemetry
VpnConnection & AddVgwTelemetry(const VgwTelemetry &value)
Definition: VpnConnection.h:559
Aws::EC2::Model::VpnConnection::WithState
VpnConnection & WithState(VpnState &&value)
Definition: VpnConnection.h:248
Aws::EC2::Model::VpnConnection::SetType
void SetType(GatewayType &&value)
Definition: VpnConnection.h:269
Aws::EC2::Model::VpnConnection::SetCustomerGatewayConfiguration
void SetCustomerGatewayConfiguration(Aws::String &&value)
Definition: VpnConnection.h:83
Aws::EC2::Model::VpnConnection::SetRoutes
void SetRoutes(const Aws::Vector< VpnStaticRoute > &value)
Definition: VpnConnection.h:457
Aws::EC2::Model::VpnConnection::GetType
const GatewayType & GetType() const
Definition: VpnConnection.h:254
Aws::EC2::Model::VpnConnection::SetOptions
void SetOptions(const VpnConnectionOptions &value)
Definition: VpnConnection.h:426
Aws::EC2::Model::VpnConnection::GetVpnGatewayId
const Aws::String & GetVpnGatewayId() const
Definition: VpnConnection.h:327
Aws::OStream
std::basic_ostream< char, std::char_traits< char > > OStream
Definition: AWSStreamFwd.h:21
Aws::EC2::Model::VpnConnection::WithCustomerGatewayId
VpnConnection & WithCustomerGatewayId(const Aws::String &value)
Definition: VpnConnection.h:150
Aws::EC2::Model::VpnConnection::WithTransitGatewayId
VpnConnection & WithTransitGatewayId(const char *value)
Definition: VpnConnection.h:410
Aws::EC2::Model::VpnConnectionOptions
Definition: VpnConnectionOptions.h:35
Aws::EC2::Model::VpnConnection::TransitGatewayIdHasBeenSet
bool TransitGatewayIdHasBeenSet() const
Definition: VpnConnection.h:380
Aws::EC2::Model::VpnConnection::SetRoutes
void SetRoutes(Aws::Vector< VpnStaticRoute > &&value)
Definition: VpnConnection.h:462
Aws::EC2::Model::VpnConnection::WithVgwTelemetry
VpnConnection & WithVgwTelemetry(Aws::Vector< VgwTelemetry > &&value)
Definition: VpnConnection.h:554
Aws::Utils::Xml::XmlNode
Definition: XmlSerializer.h:53
Aws::EC2::Model::VpnConnection::WithState
VpnConnection & WithState(const VpnState &value)
Definition: VpnConnection.h:243
Aws::EC2::Model::VpnConnection::WithOptions
VpnConnection & WithOptions(VpnConnectionOptions &&value)
Definition: VpnConnection.h:441
Aws::EC2::Model::VpnConnection::GetTransitGatewayId
const Aws::String & GetTransitGatewayId() const
Definition: VpnConnection.h:375
Aws::EC2::Model::VpnConnection::WithCategory
VpnConnection & WithCategory(const char *value)
Definition: VpnConnection.h:217
Aws::EC2::Model::VpnConnection::RoutesHasBeenSet
bool RoutesHasBeenSet() const
Definition: VpnConnection.h:452
Aws::EC2::Model::VpnConnection::SetType
void SetType(const GatewayType &value)
Definition: VpnConnection.h:264
Aws::EC2::Model::VpnConnection::CustomerGatewayConfigurationHasBeenSet
bool CustomerGatewayConfigurationHasBeenSet() const
Definition: VpnConnection.h:65
Aws::EC2::Model::VpnConnection::SetCategory
void SetCategory(const Aws::String &value)
Definition: VpnConnection.h:182
Aws::EC2::Model::VpnConnection::SetState
void SetState(VpnState &&value)
Definition: VpnConnection.h:238
Aws::EC2::Model::VpnConnection::OutputToStream
void OutputToStream(Aws::OStream &ostream, const char *location, unsigned index, const char *locationValue) const
AWSString.h
Aws::EC2::Model::VpnConnection::WithRoutes
VpnConnection & WithRoutes(const Aws::Vector< VpnStaticRoute > &value)
Definition: VpnConnection.h:467
Aws::EC2::Model::VpnConnection::WithTags
VpnConnection & WithTags(Aws::Vector< Tag > &&value)
Definition: VpnConnection.h:513
Aws::EC2::Model::VpnConnection::SetVgwTelemetry
void SetVgwTelemetry(Aws::Vector< VgwTelemetry > &&value)
Definition: VpnConnection.h:544
Aws::EC2::Model::VpnConnection::GetState
const VpnState & GetState() const
Definition: VpnConnection.h:223
Aws::EC2::Model::VpnConnection::WithOptions
VpnConnection & WithOptions(const VpnConnectionOptions &value)
Definition: VpnConnection.h:436
Aws::EC2::Model::VpnConnection::VpnConnectionIdHasBeenSet
bool VpnConnectionIdHasBeenSet() const
Definition: VpnConnection.h:290
Aws::EC2::Model::VgwTelemetry
Definition: VgwTelemetry.h:34
Aws::EC2::Model::VpnConnection::SetTransitGatewayId
void SetTransitGatewayId(Aws::String &&value)
Definition: VpnConnection.h:390
Aws::EC2::Model::VpnConnection::WithVpnConnectionId
VpnConnection & WithVpnConnectionId(const Aws::String &value)
Definition: VpnConnection.h:310
Aws::EC2::Model::VpnConnection::GetCustomerGatewayId
const Aws::String & GetCustomerGatewayId() const
Definition: VpnConnection.h:125
Aws::EC2::Model::VpnConnection::WithCustomerGatewayId
VpnConnection & WithCustomerGatewayId(const char *value)
Definition: VpnConnection.h:160
Aws::EC2::Model::VpnConnection::SetVpnConnectionId
void SetVpnConnectionId(const Aws::String &value)
Definition: VpnConnection.h:295
Aws::EC2::Model::VpnConnection::GetVgwTelemetry
const Aws::Vector< VgwTelemetry > & GetVgwTelemetry() const
Definition: VpnConnection.h:529
Aws::EC2::Model::VpnConnection::SetCustomerGatewayConfiguration
void SetCustomerGatewayConfiguration(const char *value)
Definition: VpnConnection.h:92
Aws::EC2::Model::VpnState
VpnState
Definition: VpnState.h:17
Aws::EC2::Model::VpnConnection::operator=
VpnConnection & operator=(const Aws::Utils::Xml::XmlNode &xmlNode)
Aws::EC2::Model::VpnConnection::SetTags
void SetTags(Aws::Vector< Tag > &&value)
Definition: VpnConnection.h:503
VpnConnectionOptions.h
Aws
Definition: AccessManagementClient.h:15
Aws::EC2::Model::VpnConnection::AddTags
VpnConnection & AddTags(Tag &&value)
Definition: VpnConnection.h:523
Aws::EC2::Model::VpnConnection::VpnConnection
VpnConnection()
Aws::EC2::Model::VpnConnection::SetCustomerGatewayId
void SetCustomerGatewayId(Aws::String &&value)
Definition: VpnConnection.h:140
VgwTelemetry.h
GatewayType.h
Aws::EC2::Model::VpnConnection::WithVpnGatewayId
VpnConnection & WithVpnGatewayId(Aws::String &&value)
Definition: VpnConnection.h:363
Aws::EC2::Model::VpnConnection::WithCategory
VpnConnection & WithCategory(Aws::String &&value)
Definition: VpnConnection.h:210
Aws::String
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Definition: AWSString.h:97
Aws::EC2::Model::VpnConnection::SetVpnGatewayId
void SetVpnGatewayId(const Aws::String &value)
Definition: VpnConnection.h:339
Aws::EC2::Model::VpnConnection::CustomerGatewayIdHasBeenSet
bool CustomerGatewayIdHasBeenSet() const
Definition: VpnConnection.h:130
index
int index
Definition: cJSON.h:181
Aws::EC2::Model::VpnConnection
Definition: VpnConnection.h:39
Aws::EC2::Model::VpnConnection::VpnConnection
VpnConnection(const Aws::Utils::Xml::XmlNode &xmlNode)
Aws::EC2::Model::VpnConnection::WithVgwTelemetry
VpnConnection & WithVgwTelemetry(const Aws::Vector< VgwTelemetry > &value)
Definition: VpnConnection.h:549
Aws::EC2::Model::VpnConnection::WithVpnGatewayId
VpnConnection & WithVpnGatewayId(const char *value)
Definition: VpnConnection.h:369
Aws::EC2::Model::VpnConnection::SetVpnGatewayId
void SetVpnGatewayId(const char *value)
Definition: VpnConnection.h:351
Aws::EC2::Model::VpnConnection::OutputToStream
void OutputToStream(Aws::OStream &oStream, const char *location) const
EC2_EXPORTS.h
Aws::EC2::Model::VpnConnection::SetCategory
void SetCategory(const char *value)
Definition: VpnConnection.h:196
Aws::EC2::Model::VpnConnection::SetTags
void SetTags(const Aws::Vector< Tag > &value)
Definition: VpnConnection.h:498
Aws::EC2::Model::VpnConnection::AddVgwTelemetry
VpnConnection & AddVgwTelemetry(VgwTelemetry &&value)
Definition: VpnConnection.h:564
Aws::EC2::Model::VpnConnection::WithRoutes
VpnConnection & WithRoutes(Aws::Vector< VpnStaticRoute > &&value)
Definition: VpnConnection.h:472
Aws::EC2::Model::VpnConnection::TagsHasBeenSet
bool TagsHasBeenSet() const
Definition: VpnConnection.h:493
Aws::EC2::Model::VpnStaticRoute
Definition: VpnStaticRoute.h:34