AWS SDK for C++

AWS SDK for C++ Version 1.11.829

Loading...
Searching...
No Matches
VirtualInterface.h
1
6#pragma once
7#include <aws/core/utils/memory/stl/AWSString.h>
8#include <aws/core/utils/memory/stl/AWSVector.h>
9#include <aws/directconnect/DirectConnect_EXPORTS.h>
10#include <aws/directconnect/model/AddressFamily.h>
11#include <aws/directconnect/model/BGPPeer.h>
12#include <aws/directconnect/model/RouteFilterPrefix.h>
13#include <aws/directconnect/model/Tag.h>
14#include <aws/directconnect/model/VirtualInterfaceState.h>
15
16#include <utility>
17
18namespace Aws {
19namespace Utils {
20namespace Json {
21class JsonValue;
22class JsonView;
23} // namespace Json
24} // namespace Utils
25namespace DirectConnect {
26namespace Model {
27
34 public:
35 AWS_DIRECTCONNECT_API VirtualInterface() = default;
36 AWS_DIRECTCONNECT_API VirtualInterface(Aws::Utils::Json::JsonView jsonValue);
37 AWS_DIRECTCONNECT_API VirtualInterface& operator=(Aws::Utils::Json::JsonView jsonValue);
38 AWS_DIRECTCONNECT_API Aws::Utils::Json::JsonValue Jsonize() const;
39
41
45 inline const Aws::String& GetOwnerAccount() const { return m_ownerAccount; }
46 inline bool OwnerAccountHasBeenSet() const { return m_ownerAccountHasBeenSet; }
47 template <typename OwnerAccountT = Aws::String>
48 void SetOwnerAccount(OwnerAccountT&& value) {
49 m_ownerAccountHasBeenSet = true;
50 m_ownerAccount = std::forward<OwnerAccountT>(value);
51 }
52 template <typename OwnerAccountT = Aws::String>
53 VirtualInterface& WithOwnerAccount(OwnerAccountT&& value) {
54 SetOwnerAccount(std::forward<OwnerAccountT>(value));
55 return *this;
56 }
58
60
63 inline const Aws::String& GetVirtualInterfaceId() const { return m_virtualInterfaceId; }
64 inline bool VirtualInterfaceIdHasBeenSet() const { return m_virtualInterfaceIdHasBeenSet; }
65 template <typename VirtualInterfaceIdT = Aws::String>
66 void SetVirtualInterfaceId(VirtualInterfaceIdT&& value) {
67 m_virtualInterfaceIdHasBeenSet = true;
68 m_virtualInterfaceId = std::forward<VirtualInterfaceIdT>(value);
69 }
70 template <typename VirtualInterfaceIdT = Aws::String>
71 VirtualInterface& WithVirtualInterfaceId(VirtualInterfaceIdT&& value) {
72 SetVirtualInterfaceId(std::forward<VirtualInterfaceIdT>(value));
73 return *this;
74 }
76
78
81 inline const Aws::String& GetLocation() const { return m_location; }
82 inline bool LocationHasBeenSet() const { return m_locationHasBeenSet; }
83 template <typename LocationT = Aws::String>
84 void SetLocation(LocationT&& value) {
85 m_locationHasBeenSet = true;
86 m_location = std::forward<LocationT>(value);
87 }
88 template <typename LocationT = Aws::String>
89 VirtualInterface& WithLocation(LocationT&& value) {
90 SetLocation(std::forward<LocationT>(value));
91 return *this;
92 }
94
96
99 inline const Aws::String& GetConnectionId() const { return m_connectionId; }
100 inline bool ConnectionIdHasBeenSet() const { return m_connectionIdHasBeenSet; }
101 template <typename ConnectionIdT = Aws::String>
102 void SetConnectionId(ConnectionIdT&& value) {
103 m_connectionIdHasBeenSet = true;
104 m_connectionId = std::forward<ConnectionIdT>(value);
105 }
106 template <typename ConnectionIdT = Aws::String>
107 VirtualInterface& WithConnectionId(ConnectionIdT&& value) {
108 SetConnectionId(std::forward<ConnectionIdT>(value));
109 return *this;
110 }
112
114
118 inline const Aws::String& GetVirtualInterfaceType() const { return m_virtualInterfaceType; }
119 inline bool VirtualInterfaceTypeHasBeenSet() const { return m_virtualInterfaceTypeHasBeenSet; }
120 template <typename VirtualInterfaceTypeT = Aws::String>
121 void SetVirtualInterfaceType(VirtualInterfaceTypeT&& value) {
122 m_virtualInterfaceTypeHasBeenSet = true;
123 m_virtualInterfaceType = std::forward<VirtualInterfaceTypeT>(value);
124 }
125 template <typename VirtualInterfaceTypeT = Aws::String>
126 VirtualInterface& WithVirtualInterfaceType(VirtualInterfaceTypeT&& value) {
127 SetVirtualInterfaceType(std::forward<VirtualInterfaceTypeT>(value));
128 return *this;
129 }
131
133
138 inline const Aws::String& GetVirtualInterfaceName() const { return m_virtualInterfaceName; }
139 inline bool VirtualInterfaceNameHasBeenSet() const { return m_virtualInterfaceNameHasBeenSet; }
140 template <typename VirtualInterfaceNameT = Aws::String>
141 void SetVirtualInterfaceName(VirtualInterfaceNameT&& value) {
142 m_virtualInterfaceNameHasBeenSet = true;
143 m_virtualInterfaceName = std::forward<VirtualInterfaceNameT>(value);
144 }
145 template <typename VirtualInterfaceNameT = Aws::String>
146 VirtualInterface& WithVirtualInterfaceName(VirtualInterfaceNameT&& value) {
147 SetVirtualInterfaceName(std::forward<VirtualInterfaceNameT>(value));
148 return *this;
149 }
151
153
156 inline int GetVlan() const { return m_vlan; }
157 inline bool VlanHasBeenSet() const { return m_vlanHasBeenSet; }
158 inline void SetVlan(int value) {
159 m_vlanHasBeenSet = true;
160 m_vlan = value;
161 }
162 inline VirtualInterface& WithVlan(int value) {
163 SetVlan(value);
164 return *this;
165 }
167
169
182 inline int GetAsn() const { return m_asn; }
183 inline bool AsnHasBeenSet() const { return m_asnHasBeenSet; }
184 inline void SetAsn(int value) {
185 m_asnHasBeenSet = true;
186 m_asn = value;
187 }
188 inline VirtualInterface& WithAsn(int value) {
189 SetAsn(value);
190 return *this;
191 }
193
195
211 inline long long GetAsnLong() const { return m_asnLong; }
212 inline bool AsnLongHasBeenSet() const { return m_asnLongHasBeenSet; }
213 inline void SetAsnLong(long long value) {
214 m_asnLongHasBeenSet = true;
215 m_asnLong = value;
216 }
217 inline VirtualInterface& WithAsnLong(long long value) {
218 SetAsnLong(value);
219 return *this;
220 }
222
224
227 inline long long GetAmazonSideAsn() const { return m_amazonSideAsn; }
228 inline bool AmazonSideAsnHasBeenSet() const { return m_amazonSideAsnHasBeenSet; }
229 inline void SetAmazonSideAsn(long long value) {
230 m_amazonSideAsnHasBeenSet = true;
231 m_amazonSideAsn = value;
232 }
233 inline VirtualInterface& WithAmazonSideAsn(long long value) {
234 SetAmazonSideAsn(value);
235 return *this;
236 }
238
240
244 inline const Aws::String& GetAuthKey() const { return m_authKey; }
245 inline bool AuthKeyHasBeenSet() const { return m_authKeyHasBeenSet; }
246 template <typename AuthKeyT = Aws::String>
247 void SetAuthKey(AuthKeyT&& value) {
248 m_authKeyHasBeenSet = true;
249 m_authKey = std::forward<AuthKeyT>(value);
250 }
251 template <typename AuthKeyT = Aws::String>
252 VirtualInterface& WithAuthKey(AuthKeyT&& value) {
253 SetAuthKey(std::forward<AuthKeyT>(value));
254 return *this;
255 }
257
259
262 inline const Aws::String& GetAmazonAddress() const { return m_amazonAddress; }
263 inline bool AmazonAddressHasBeenSet() const { return m_amazonAddressHasBeenSet; }
264 template <typename AmazonAddressT = Aws::String>
265 void SetAmazonAddress(AmazonAddressT&& value) {
266 m_amazonAddressHasBeenSet = true;
267 m_amazonAddress = std::forward<AmazonAddressT>(value);
268 }
269 template <typename AmazonAddressT = Aws::String>
270 VirtualInterface& WithAmazonAddress(AmazonAddressT&& value) {
271 SetAmazonAddress(std::forward<AmazonAddressT>(value));
272 return *this;
273 }
275
277
280 inline const Aws::String& GetCustomerAddress() const { return m_customerAddress; }
281 inline bool CustomerAddressHasBeenSet() const { return m_customerAddressHasBeenSet; }
282 template <typename CustomerAddressT = Aws::String>
283 void SetCustomerAddress(CustomerAddressT&& value) {
284 m_customerAddressHasBeenSet = true;
285 m_customerAddress = std::forward<CustomerAddressT>(value);
286 }
287 template <typename CustomerAddressT = Aws::String>
288 VirtualInterface& WithCustomerAddress(CustomerAddressT&& value) {
289 SetCustomerAddress(std::forward<CustomerAddressT>(value));
290 return *this;
291 }
293
295
298 inline AddressFamily GetAddressFamily() const { return m_addressFamily; }
299 inline bool AddressFamilyHasBeenSet() const { return m_addressFamilyHasBeenSet; }
300 inline void SetAddressFamily(AddressFamily value) {
301 m_addressFamilyHasBeenSet = true;
302 m_addressFamily = value;
303 }
305 SetAddressFamily(value);
306 return *this;
307 }
309
311
337 inline VirtualInterfaceState GetVirtualInterfaceState() const { return m_virtualInterfaceState; }
338 inline bool VirtualInterfaceStateHasBeenSet() const { return m_virtualInterfaceStateHasBeenSet; }
340 m_virtualInterfaceStateHasBeenSet = true;
341 m_virtualInterfaceState = value;
342 }
345 return *this;
346 }
348
350
353 inline const Aws::String& GetCustomerRouterConfig() const { return m_customerRouterConfig; }
354 inline bool CustomerRouterConfigHasBeenSet() const { return m_customerRouterConfigHasBeenSet; }
355 template <typename CustomerRouterConfigT = Aws::String>
356 void SetCustomerRouterConfig(CustomerRouterConfigT&& value) {
357 m_customerRouterConfigHasBeenSet = true;
358 m_customerRouterConfig = std::forward<CustomerRouterConfigT>(value);
359 }
360 template <typename CustomerRouterConfigT = Aws::String>
361 VirtualInterface& WithCustomerRouterConfig(CustomerRouterConfigT&& value) {
362 SetCustomerRouterConfig(std::forward<CustomerRouterConfigT>(value));
363 return *this;
364 }
366
368
372 inline int GetMtu() const { return m_mtu; }
373 inline bool MtuHasBeenSet() const { return m_mtuHasBeenSet; }
374 inline void SetMtu(int value) {
375 m_mtuHasBeenSet = true;
376 m_mtu = value;
377 }
378 inline VirtualInterface& WithMtu(int value) {
379 SetMtu(value);
380 return *this;
381 }
383
385
388 inline bool GetJumboFrameCapable() const { return m_jumboFrameCapable; }
389 inline bool JumboFrameCapableHasBeenSet() const { return m_jumboFrameCapableHasBeenSet; }
390 inline void SetJumboFrameCapable(bool value) {
391 m_jumboFrameCapableHasBeenSet = true;
392 m_jumboFrameCapable = value;
393 }
396 return *this;
397 }
399
401
405 inline const Aws::String& GetVirtualGatewayId() const { return m_virtualGatewayId; }
406 inline bool VirtualGatewayIdHasBeenSet() const { return m_virtualGatewayIdHasBeenSet; }
407 template <typename VirtualGatewayIdT = Aws::String>
408 void SetVirtualGatewayId(VirtualGatewayIdT&& value) {
409 m_virtualGatewayIdHasBeenSet = true;
410 m_virtualGatewayId = std::forward<VirtualGatewayIdT>(value);
411 }
412 template <typename VirtualGatewayIdT = Aws::String>
413 VirtualInterface& WithVirtualGatewayId(VirtualGatewayIdT&& value) {
414 SetVirtualGatewayId(std::forward<VirtualGatewayIdT>(value));
415 return *this;
416 }
418
420
423 inline const Aws::String& GetDirectConnectGatewayId() const { return m_directConnectGatewayId; }
424 inline bool DirectConnectGatewayIdHasBeenSet() const { return m_directConnectGatewayIdHasBeenSet; }
425 template <typename DirectConnectGatewayIdT = Aws::String>
426 void SetDirectConnectGatewayId(DirectConnectGatewayIdT&& value) {
427 m_directConnectGatewayIdHasBeenSet = true;
428 m_directConnectGatewayId = std::forward<DirectConnectGatewayIdT>(value);
429 }
430 template <typename DirectConnectGatewayIdT = Aws::String>
431 VirtualInterface& WithDirectConnectGatewayId(DirectConnectGatewayIdT&& value) {
432 SetDirectConnectGatewayId(std::forward<DirectConnectGatewayIdT>(value));
433 return *this;
434 }
436
438
442 inline const Aws::Vector<RouteFilterPrefix>& GetRouteFilterPrefixes() const { return m_routeFilterPrefixes; }
443 inline bool RouteFilterPrefixesHasBeenSet() const { return m_routeFilterPrefixesHasBeenSet; }
444 template <typename RouteFilterPrefixesT = Aws::Vector<RouteFilterPrefix>>
445 void SetRouteFilterPrefixes(RouteFilterPrefixesT&& value) {
446 m_routeFilterPrefixesHasBeenSet = true;
447 m_routeFilterPrefixes = std::forward<RouteFilterPrefixesT>(value);
448 }
449 template <typename RouteFilterPrefixesT = Aws::Vector<RouteFilterPrefix>>
450 VirtualInterface& WithRouteFilterPrefixes(RouteFilterPrefixesT&& value) {
451 SetRouteFilterPrefixes(std::forward<RouteFilterPrefixesT>(value));
452 return *this;
453 }
454 template <typename RouteFilterPrefixesT = RouteFilterPrefix>
455 VirtualInterface& AddRouteFilterPrefixes(RouteFilterPrefixesT&& value) {
456 m_routeFilterPrefixesHasBeenSet = true;
457 m_routeFilterPrefixes.emplace_back(std::forward<RouteFilterPrefixesT>(value));
458 return *this;
459 }
461
463
466 inline const Aws::Vector<BGPPeer>& GetBgpPeers() const { return m_bgpPeers; }
467 inline bool BgpPeersHasBeenSet() const { return m_bgpPeersHasBeenSet; }
468 template <typename BgpPeersT = Aws::Vector<BGPPeer>>
469 void SetBgpPeers(BgpPeersT&& value) {
470 m_bgpPeersHasBeenSet = true;
471 m_bgpPeers = std::forward<BgpPeersT>(value);
472 }
473 template <typename BgpPeersT = Aws::Vector<BGPPeer>>
474 VirtualInterface& WithBgpPeers(BgpPeersT&& value) {
475 SetBgpPeers(std::forward<BgpPeersT>(value));
476 return *this;
477 }
478 template <typename BgpPeersT = BGPPeer>
479 VirtualInterface& AddBgpPeers(BgpPeersT&& value) {
480 m_bgpPeersHasBeenSet = true;
481 m_bgpPeers.emplace_back(std::forward<BgpPeersT>(value));
482 return *this;
483 }
485
487
490 inline const Aws::String& GetRegion() const { return m_region; }
491 inline bool RegionHasBeenSet() const { return m_regionHasBeenSet; }
492 template <typename RegionT = Aws::String>
493 void SetRegion(RegionT&& value) {
494 m_regionHasBeenSet = true;
495 m_region = std::forward<RegionT>(value);
496 }
497 template <typename RegionT = Aws::String>
498 VirtualInterface& WithRegion(RegionT&& value) {
499 SetRegion(std::forward<RegionT>(value));
500 return *this;
501 }
503
505
508 inline const Aws::String& GetAwsDeviceV2() const { return m_awsDeviceV2; }
509 inline bool AwsDeviceV2HasBeenSet() const { return m_awsDeviceV2HasBeenSet; }
510 template <typename AwsDeviceV2T = Aws::String>
511 void SetAwsDeviceV2(AwsDeviceV2T&& value) {
512 m_awsDeviceV2HasBeenSet = true;
513 m_awsDeviceV2 = std::forward<AwsDeviceV2T>(value);
514 }
515 template <typename AwsDeviceV2T = Aws::String>
516 VirtualInterface& WithAwsDeviceV2(AwsDeviceV2T&& value) {
517 SetAwsDeviceV2(std::forward<AwsDeviceV2T>(value));
518 return *this;
519 }
521
523
528 inline const Aws::String& GetAwsLogicalDeviceId() const { return m_awsLogicalDeviceId; }
529 inline bool AwsLogicalDeviceIdHasBeenSet() const { return m_awsLogicalDeviceIdHasBeenSet; }
530 template <typename AwsLogicalDeviceIdT = Aws::String>
531 void SetAwsLogicalDeviceId(AwsLogicalDeviceIdT&& value) {
532 m_awsLogicalDeviceIdHasBeenSet = true;
533 m_awsLogicalDeviceId = std::forward<AwsLogicalDeviceIdT>(value);
534 }
535 template <typename AwsLogicalDeviceIdT = Aws::String>
536 VirtualInterface& WithAwsLogicalDeviceId(AwsLogicalDeviceIdT&& value) {
537 SetAwsLogicalDeviceId(std::forward<AwsLogicalDeviceIdT>(value));
538 return *this;
539 }
541
543
546 inline const Aws::Vector<Tag>& GetTags() const { return m_tags; }
547 inline bool TagsHasBeenSet() const { return m_tagsHasBeenSet; }
548 template <typename TagsT = Aws::Vector<Tag>>
549 void SetTags(TagsT&& value) {
550 m_tagsHasBeenSet = true;
551 m_tags = std::forward<TagsT>(value);
552 }
553 template <typename TagsT = Aws::Vector<Tag>>
554 VirtualInterface& WithTags(TagsT&& value) {
555 SetTags(std::forward<TagsT>(value));
556 return *this;
557 }
558 template <typename TagsT = Tag>
559 VirtualInterface& AddTags(TagsT&& value) {
560 m_tagsHasBeenSet = true;
561 m_tags.emplace_back(std::forward<TagsT>(value));
562 return *this;
563 }
565
567
570 inline bool GetSiteLinkEnabled() const { return m_siteLinkEnabled; }
571 inline bool SiteLinkEnabledHasBeenSet() const { return m_siteLinkEnabledHasBeenSet; }
572 inline void SetSiteLinkEnabled(bool value) {
573 m_siteLinkEnabledHasBeenSet = true;
574 m_siteLinkEnabled = value;
575 }
577 SetSiteLinkEnabled(value);
578 return *this;
579 }
581
583
590 inline const Aws::String& GetRateLimit() const { return m_rateLimit; }
591 inline bool RateLimitHasBeenSet() const { return m_rateLimitHasBeenSet; }
592 template <typename RateLimitT = Aws::String>
593 void SetRateLimit(RateLimitT&& value) {
594 m_rateLimitHasBeenSet = true;
595 m_rateLimit = std::forward<RateLimitT>(value);
596 }
597 template <typename RateLimitT = Aws::String>
598 VirtualInterface& WithRateLimit(RateLimitT&& value) {
599 SetRateLimit(std::forward<RateLimitT>(value));
600 return *this;
601 }
603
605
606 inline const Aws::String& GetRequestId() const { return m_requestId; }
607 inline bool RequestIdHasBeenSet() const { return m_requestIdHasBeenSet; }
608 template <typename RequestIdT = Aws::String>
609 void SetRequestId(RequestIdT&& value) {
610 m_requestIdHasBeenSet = true;
611 m_requestId = std::forward<RequestIdT>(value);
612 }
613 template <typename RequestIdT = Aws::String>
614 VirtualInterface& WithRequestId(RequestIdT&& value) {
615 SetRequestId(std::forward<RequestIdT>(value));
616 return *this;
617 }
619 private:
620 Aws::String m_ownerAccount;
621
622 Aws::String m_virtualInterfaceId;
623
624 Aws::String m_location;
625
626 Aws::String m_connectionId;
627
628 Aws::String m_virtualInterfaceType;
629
630 Aws::String m_virtualInterfaceName;
631
632 int m_vlan{0};
633
634 int m_asn{0};
635
636 long long m_asnLong{0};
637
638 long long m_amazonSideAsn{0};
639
640 Aws::String m_authKey;
641
642 Aws::String m_amazonAddress;
643
644 Aws::String m_customerAddress;
645
646 AddressFamily m_addressFamily{AddressFamily::NOT_SET};
647
649
650 Aws::String m_customerRouterConfig;
651
652 int m_mtu{0};
653
654 bool m_jumboFrameCapable{false};
655
656 Aws::String m_virtualGatewayId;
657
658 Aws::String m_directConnectGatewayId;
659
660 Aws::Vector<RouteFilterPrefix> m_routeFilterPrefixes;
661
662 Aws::Vector<BGPPeer> m_bgpPeers;
663
664 Aws::String m_region;
665
666 Aws::String m_awsDeviceV2;
667
668 Aws::String m_awsLogicalDeviceId;
669
670 Aws::Vector<Tag> m_tags;
671
672 bool m_siteLinkEnabled{false};
673
674 Aws::String m_rateLimit;
675
676 Aws::String m_requestId;
677 bool m_ownerAccountHasBeenSet = false;
678 bool m_virtualInterfaceIdHasBeenSet = false;
679 bool m_locationHasBeenSet = false;
680 bool m_connectionIdHasBeenSet = false;
681 bool m_virtualInterfaceTypeHasBeenSet = false;
682 bool m_virtualInterfaceNameHasBeenSet = false;
683 bool m_vlanHasBeenSet = false;
684 bool m_asnHasBeenSet = false;
685 bool m_asnLongHasBeenSet = false;
686 bool m_amazonSideAsnHasBeenSet = false;
687 bool m_authKeyHasBeenSet = false;
688 bool m_amazonAddressHasBeenSet = false;
689 bool m_customerAddressHasBeenSet = false;
690 bool m_addressFamilyHasBeenSet = false;
691 bool m_virtualInterfaceStateHasBeenSet = false;
692 bool m_customerRouterConfigHasBeenSet = false;
693 bool m_mtuHasBeenSet = false;
694 bool m_jumboFrameCapableHasBeenSet = false;
695 bool m_virtualGatewayIdHasBeenSet = false;
696 bool m_directConnectGatewayIdHasBeenSet = false;
697 bool m_routeFilterPrefixesHasBeenSet = false;
698 bool m_bgpPeersHasBeenSet = false;
699 bool m_regionHasBeenSet = false;
700 bool m_awsDeviceV2HasBeenSet = false;
701 bool m_awsLogicalDeviceIdHasBeenSet = false;
702 bool m_tagsHasBeenSet = false;
703 bool m_siteLinkEnabledHasBeenSet = false;
704 bool m_rateLimitHasBeenSet = false;
705 bool m_requestIdHasBeenSet = false;
706};
707
708} // namespace Model
709} // namespace DirectConnect
710} // namespace Aws
VirtualInterface & WithBgpPeers(BgpPeersT &&value)
void SetVirtualInterfaceState(VirtualInterfaceState value)
const Aws::String & GetVirtualGatewayId() const
VirtualInterface & WithLocation(LocationT &&value)
VirtualInterface & WithVirtualGatewayId(VirtualGatewayIdT &&value)
const Aws::Vector< Tag > & GetTags() const
const Aws::String & GetVirtualInterfaceName() const
VirtualInterface & WithRegion(RegionT &&value)
const Aws::Vector< RouteFilterPrefix > & GetRouteFilterPrefixes() const
VirtualInterface & AddBgpPeers(BgpPeersT &&value)
const Aws::String & GetConnectionId() const
VirtualInterface & WithCustomerAddress(CustomerAddressT &&value)
VirtualInterface & WithCustomerRouterConfig(CustomerRouterConfigT &&value)
void SetVirtualInterfaceId(VirtualInterfaceIdT &&value)
VirtualInterfaceState GetVirtualInterfaceState() const
VirtualInterface & WithOwnerAccount(OwnerAccountT &&value)
void SetDirectConnectGatewayId(DirectConnectGatewayIdT &&value)
AWS_DIRECTCONNECT_API VirtualInterface()=default
VirtualInterface & WithAsnLong(long long value)
VirtualInterface & WithVirtualInterfaceState(VirtualInterfaceState value)
VirtualInterface & WithTags(TagsT &&value)
void SetCustomerRouterConfig(CustomerRouterConfigT &&value)
void SetVirtualInterfaceType(VirtualInterfaceTypeT &&value)
const Aws::String & GetDirectConnectGatewayId() const
const Aws::String & GetOwnerAccount() const
void SetVirtualGatewayId(VirtualGatewayIdT &&value)
const Aws::String & GetVirtualInterfaceId() const
VirtualInterface & WithRouteFilterPrefixes(RouteFilterPrefixesT &&value)
void SetOwnerAccount(OwnerAccountT &&value)
void SetAmazonAddress(AmazonAddressT &&value)
AWS_DIRECTCONNECT_API VirtualInterface & operator=(Aws::Utils::Json::JsonView jsonValue)
VirtualInterface & WithVirtualInterfaceType(VirtualInterfaceTypeT &&value)
VirtualInterface & WithConnectionId(ConnectionIdT &&value)
const Aws::String & GetCustomerRouterConfig() const
const Aws::String & GetCustomerAddress() const
const Aws::String & GetVirtualInterfaceType() const
VirtualInterface & AddTags(TagsT &&value)
const Aws::String & GetAwsLogicalDeviceId() const
VirtualInterface & WithAwsLogicalDeviceId(AwsLogicalDeviceIdT &&value)
void SetRouteFilterPrefixes(RouteFilterPrefixesT &&value)
void SetAwsLogicalDeviceId(AwsLogicalDeviceIdT &&value)
VirtualInterface & AddRouteFilterPrefixes(RouteFilterPrefixesT &&value)
VirtualInterface & WithAmazonAddress(AmazonAddressT &&value)
VirtualInterface & WithAmazonSideAsn(long long value)
VirtualInterface & WithAuthKey(AuthKeyT &&value)
VirtualInterface & WithAwsDeviceV2(AwsDeviceV2T &&value)
VirtualInterface & WithVirtualInterfaceId(VirtualInterfaceIdT &&value)
VirtualInterface & WithDirectConnectGatewayId(DirectConnectGatewayIdT &&value)
VirtualInterface & WithRequestId(RequestIdT &&value)
void SetCustomerAddress(CustomerAddressT &&value)
AWS_DIRECTCONNECT_API VirtualInterface(Aws::Utils::Json::JsonView jsonValue)
VirtualInterface & WithAddressFamily(AddressFamily value)
VirtualInterface & WithSiteLinkEnabled(bool value)
VirtualInterface & WithJumboFrameCapable(bool value)
void SetVirtualInterfaceName(VirtualInterfaceNameT &&value)
AWS_DIRECTCONNECT_API Aws::Utils::Json::JsonValue Jsonize() const
VirtualInterface & WithVirtualInterfaceName(VirtualInterfaceNameT &&value)
VirtualInterface & WithRateLimit(RateLimitT &&value)
const Aws::Vector< BGPPeer > & GetBgpPeers() const
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
std::vector< T, Aws::Allocator< T > > Vector
Aws::Utils::Json::JsonValue JsonValue