AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
VirtualInterface.h
1
6#pragma once
7#include <aws/directconnect/DirectConnect_EXPORTS.h>
8#include <aws/core/utils/memory/stl/AWSString.h>
9#include <aws/directconnect/model/AddressFamily.h>
10#include <aws/directconnect/model/VirtualInterfaceState.h>
11#include <aws/core/utils/memory/stl/AWSVector.h>
12#include <aws/directconnect/model/RouteFilterPrefix.h>
13#include <aws/directconnect/model/BGPPeer.h>
14#include <aws/directconnect/model/Tag.h>
15#include <utility>
16
17namespace Aws
18{
19namespace Utils
20{
21namespace Json
22{
23 class JsonValue;
24 class JsonView;
25} // namespace Json
26} // namespace Utils
27namespace DirectConnect
28{
29namespace Model
30{
31
38 {
39 public:
40 AWS_DIRECTCONNECT_API VirtualInterface();
41 AWS_DIRECTCONNECT_API VirtualInterface(Aws::Utils::Json::JsonView jsonValue);
42 AWS_DIRECTCONNECT_API VirtualInterface& operator=(Aws::Utils::Json::JsonView jsonValue);
43 AWS_DIRECTCONNECT_API Aws::Utils::Json::JsonValue Jsonize() const;
44
45
47
51 inline const Aws::String& GetOwnerAccount() const{ return m_ownerAccount; }
52 inline bool OwnerAccountHasBeenSet() const { return m_ownerAccountHasBeenSet; }
53 inline void SetOwnerAccount(const Aws::String& value) { m_ownerAccountHasBeenSet = true; m_ownerAccount = value; }
54 inline void SetOwnerAccount(Aws::String&& value) { m_ownerAccountHasBeenSet = true; m_ownerAccount = std::move(value); }
55 inline void SetOwnerAccount(const char* value) { m_ownerAccountHasBeenSet = true; m_ownerAccount.assign(value); }
56 inline VirtualInterface& WithOwnerAccount(const Aws::String& value) { SetOwnerAccount(value); return *this;}
57 inline VirtualInterface& WithOwnerAccount(Aws::String&& value) { SetOwnerAccount(std::move(value)); return *this;}
58 inline VirtualInterface& WithOwnerAccount(const char* value) { SetOwnerAccount(value); return *this;}
60
62
65 inline const Aws::String& GetVirtualInterfaceId() const{ return m_virtualInterfaceId; }
66 inline bool VirtualInterfaceIdHasBeenSet() const { return m_virtualInterfaceIdHasBeenSet; }
67 inline void SetVirtualInterfaceId(const Aws::String& value) { m_virtualInterfaceIdHasBeenSet = true; m_virtualInterfaceId = value; }
68 inline void SetVirtualInterfaceId(Aws::String&& value) { m_virtualInterfaceIdHasBeenSet = true; m_virtualInterfaceId = std::move(value); }
69 inline void SetVirtualInterfaceId(const char* value) { m_virtualInterfaceIdHasBeenSet = true; m_virtualInterfaceId.assign(value); }
70 inline VirtualInterface& WithVirtualInterfaceId(const Aws::String& value) { SetVirtualInterfaceId(value); return *this;}
71 inline VirtualInterface& WithVirtualInterfaceId(Aws::String&& value) { SetVirtualInterfaceId(std::move(value)); return *this;}
72 inline VirtualInterface& WithVirtualInterfaceId(const char* value) { SetVirtualInterfaceId(value); return *this;}
74
76
79 inline const Aws::String& GetLocation() const{ return m_location; }
80 inline bool LocationHasBeenSet() const { return m_locationHasBeenSet; }
81 inline void SetLocation(const Aws::String& value) { m_locationHasBeenSet = true; m_location = value; }
82 inline void SetLocation(Aws::String&& value) { m_locationHasBeenSet = true; m_location = std::move(value); }
83 inline void SetLocation(const char* value) { m_locationHasBeenSet = true; m_location.assign(value); }
84 inline VirtualInterface& WithLocation(const Aws::String& value) { SetLocation(value); return *this;}
85 inline VirtualInterface& WithLocation(Aws::String&& value) { SetLocation(std::move(value)); return *this;}
86 inline VirtualInterface& WithLocation(const char* value) { SetLocation(value); return *this;}
88
90
93 inline const Aws::String& GetConnectionId() const{ return m_connectionId; }
94 inline bool ConnectionIdHasBeenSet() const { return m_connectionIdHasBeenSet; }
95 inline void SetConnectionId(const Aws::String& value) { m_connectionIdHasBeenSet = true; m_connectionId = value; }
96 inline void SetConnectionId(Aws::String&& value) { m_connectionIdHasBeenSet = true; m_connectionId = std::move(value); }
97 inline void SetConnectionId(const char* value) { m_connectionIdHasBeenSet = true; m_connectionId.assign(value); }
98 inline VirtualInterface& WithConnectionId(const Aws::String& value) { SetConnectionId(value); return *this;}
99 inline VirtualInterface& WithConnectionId(Aws::String&& value) { SetConnectionId(std::move(value)); return *this;}
100 inline VirtualInterface& WithConnectionId(const char* value) { SetConnectionId(value); return *this;}
102
104
108 inline const Aws::String& GetVirtualInterfaceType() const{ return m_virtualInterfaceType; }
109 inline bool VirtualInterfaceTypeHasBeenSet() const { return m_virtualInterfaceTypeHasBeenSet; }
110 inline void SetVirtualInterfaceType(const Aws::String& value) { m_virtualInterfaceTypeHasBeenSet = true; m_virtualInterfaceType = value; }
111 inline void SetVirtualInterfaceType(Aws::String&& value) { m_virtualInterfaceTypeHasBeenSet = true; m_virtualInterfaceType = std::move(value); }
112 inline void SetVirtualInterfaceType(const char* value) { m_virtualInterfaceTypeHasBeenSet = true; m_virtualInterfaceType.assign(value); }
114 inline VirtualInterface& WithVirtualInterfaceType(Aws::String&& value) { SetVirtualInterfaceType(std::move(value)); return *this;}
115 inline VirtualInterface& WithVirtualInterfaceType(const char* value) { SetVirtualInterfaceType(value); return *this;}
117
119
124 inline const Aws::String& GetVirtualInterfaceName() const{ return m_virtualInterfaceName; }
125 inline bool VirtualInterfaceNameHasBeenSet() const { return m_virtualInterfaceNameHasBeenSet; }
126 inline void SetVirtualInterfaceName(const Aws::String& value) { m_virtualInterfaceNameHasBeenSet = true; m_virtualInterfaceName = value; }
127 inline void SetVirtualInterfaceName(Aws::String&& value) { m_virtualInterfaceNameHasBeenSet = true; m_virtualInterfaceName = std::move(value); }
128 inline void SetVirtualInterfaceName(const char* value) { m_virtualInterfaceNameHasBeenSet = true; m_virtualInterfaceName.assign(value); }
130 inline VirtualInterface& WithVirtualInterfaceName(Aws::String&& value) { SetVirtualInterfaceName(std::move(value)); return *this;}
131 inline VirtualInterface& WithVirtualInterfaceName(const char* value) { SetVirtualInterfaceName(value); return *this;}
133
135
138 inline int GetVlan() const{ return m_vlan; }
139 inline bool VlanHasBeenSet() const { return m_vlanHasBeenSet; }
140 inline void SetVlan(int value) { m_vlanHasBeenSet = true; m_vlan = value; }
141 inline VirtualInterface& WithVlan(int value) { SetVlan(value); return *this;}
143
145
149 inline int GetAsn() const{ return m_asn; }
150 inline bool AsnHasBeenSet() const { return m_asnHasBeenSet; }
151 inline void SetAsn(int value) { m_asnHasBeenSet = true; m_asn = value; }
152 inline VirtualInterface& WithAsn(int value) { SetAsn(value); return *this;}
154
156
159 inline long long GetAmazonSideAsn() const{ return m_amazonSideAsn; }
160 inline bool AmazonSideAsnHasBeenSet() const { return m_amazonSideAsnHasBeenSet; }
161 inline void SetAmazonSideAsn(long long value) { m_amazonSideAsnHasBeenSet = true; m_amazonSideAsn = value; }
162 inline VirtualInterface& WithAmazonSideAsn(long long value) { SetAmazonSideAsn(value); return *this;}
164
166
170 inline const Aws::String& GetAuthKey() const{ return m_authKey; }
171 inline bool AuthKeyHasBeenSet() const { return m_authKeyHasBeenSet; }
172 inline void SetAuthKey(const Aws::String& value) { m_authKeyHasBeenSet = true; m_authKey = value; }
173 inline void SetAuthKey(Aws::String&& value) { m_authKeyHasBeenSet = true; m_authKey = std::move(value); }
174 inline void SetAuthKey(const char* value) { m_authKeyHasBeenSet = true; m_authKey.assign(value); }
175 inline VirtualInterface& WithAuthKey(const Aws::String& value) { SetAuthKey(value); return *this;}
176 inline VirtualInterface& WithAuthKey(Aws::String&& value) { SetAuthKey(std::move(value)); return *this;}
177 inline VirtualInterface& WithAuthKey(const char* value) { SetAuthKey(value); return *this;}
179
181
184 inline const Aws::String& GetAmazonAddress() const{ return m_amazonAddress; }
185 inline bool AmazonAddressHasBeenSet() const { return m_amazonAddressHasBeenSet; }
186 inline void SetAmazonAddress(const Aws::String& value) { m_amazonAddressHasBeenSet = true; m_amazonAddress = value; }
187 inline void SetAmazonAddress(Aws::String&& value) { m_amazonAddressHasBeenSet = true; m_amazonAddress = std::move(value); }
188 inline void SetAmazonAddress(const char* value) { m_amazonAddressHasBeenSet = true; m_amazonAddress.assign(value); }
189 inline VirtualInterface& WithAmazonAddress(const Aws::String& value) { SetAmazonAddress(value); return *this;}
190 inline VirtualInterface& WithAmazonAddress(Aws::String&& value) { SetAmazonAddress(std::move(value)); return *this;}
191 inline VirtualInterface& WithAmazonAddress(const char* value) { SetAmazonAddress(value); return *this;}
193
195
198 inline const Aws::String& GetCustomerAddress() const{ return m_customerAddress; }
199 inline bool CustomerAddressHasBeenSet() const { return m_customerAddressHasBeenSet; }
200 inline void SetCustomerAddress(const Aws::String& value) { m_customerAddressHasBeenSet = true; m_customerAddress = value; }
201 inline void SetCustomerAddress(Aws::String&& value) { m_customerAddressHasBeenSet = true; m_customerAddress = std::move(value); }
202 inline void SetCustomerAddress(const char* value) { m_customerAddressHasBeenSet = true; m_customerAddress.assign(value); }
203 inline VirtualInterface& WithCustomerAddress(const Aws::String& value) { SetCustomerAddress(value); return *this;}
204 inline VirtualInterface& WithCustomerAddress(Aws::String&& value) { SetCustomerAddress(std::move(value)); return *this;}
205 inline VirtualInterface& WithCustomerAddress(const char* value) { SetCustomerAddress(value); return *this;}
207
209
212 inline const AddressFamily& GetAddressFamily() const{ return m_addressFamily; }
213 inline bool AddressFamilyHasBeenSet() const { return m_addressFamilyHasBeenSet; }
214 inline void SetAddressFamily(const AddressFamily& value) { m_addressFamilyHasBeenSet = true; m_addressFamily = value; }
215 inline void SetAddressFamily(AddressFamily&& value) { m_addressFamilyHasBeenSet = true; m_addressFamily = std::move(value); }
216 inline VirtualInterface& WithAddressFamily(const AddressFamily& value) { SetAddressFamily(value); return *this;}
217 inline VirtualInterface& WithAddressFamily(AddressFamily&& value) { SetAddressFamily(std::move(value)); return *this;}
219
221
245 inline const VirtualInterfaceState& GetVirtualInterfaceState() const{ return m_virtualInterfaceState; }
246 inline bool VirtualInterfaceStateHasBeenSet() const { return m_virtualInterfaceStateHasBeenSet; }
247 inline void SetVirtualInterfaceState(const VirtualInterfaceState& value) { m_virtualInterfaceStateHasBeenSet = true; m_virtualInterfaceState = value; }
248 inline void SetVirtualInterfaceState(VirtualInterfaceState&& value) { m_virtualInterfaceStateHasBeenSet = true; m_virtualInterfaceState = std::move(value); }
252
254
257 inline const Aws::String& GetCustomerRouterConfig() const{ return m_customerRouterConfig; }
258 inline bool CustomerRouterConfigHasBeenSet() const { return m_customerRouterConfigHasBeenSet; }
259 inline void SetCustomerRouterConfig(const Aws::String& value) { m_customerRouterConfigHasBeenSet = true; m_customerRouterConfig = value; }
260 inline void SetCustomerRouterConfig(Aws::String&& value) { m_customerRouterConfigHasBeenSet = true; m_customerRouterConfig = std::move(value); }
261 inline void SetCustomerRouterConfig(const char* value) { m_customerRouterConfigHasBeenSet = true; m_customerRouterConfig.assign(value); }
263 inline VirtualInterface& WithCustomerRouterConfig(Aws::String&& value) { SetCustomerRouterConfig(std::move(value)); return *this;}
264 inline VirtualInterface& WithCustomerRouterConfig(const char* value) { SetCustomerRouterConfig(value); return *this;}
266
268
272 inline int GetMtu() const{ return m_mtu; }
273 inline bool MtuHasBeenSet() const { return m_mtuHasBeenSet; }
274 inline void SetMtu(int value) { m_mtuHasBeenSet = true; m_mtu = value; }
275 inline VirtualInterface& WithMtu(int value) { SetMtu(value); return *this;}
277
279
282 inline bool GetJumboFrameCapable() const{ return m_jumboFrameCapable; }
283 inline bool JumboFrameCapableHasBeenSet() const { return m_jumboFrameCapableHasBeenSet; }
284 inline void SetJumboFrameCapable(bool value) { m_jumboFrameCapableHasBeenSet = true; m_jumboFrameCapable = value; }
285 inline VirtualInterface& WithJumboFrameCapable(bool value) { SetJumboFrameCapable(value); return *this;}
287
289
293 inline const Aws::String& GetVirtualGatewayId() const{ return m_virtualGatewayId; }
294 inline bool VirtualGatewayIdHasBeenSet() const { return m_virtualGatewayIdHasBeenSet; }
295 inline void SetVirtualGatewayId(const Aws::String& value) { m_virtualGatewayIdHasBeenSet = true; m_virtualGatewayId = value; }
296 inline void SetVirtualGatewayId(Aws::String&& value) { m_virtualGatewayIdHasBeenSet = true; m_virtualGatewayId = std::move(value); }
297 inline void SetVirtualGatewayId(const char* value) { m_virtualGatewayIdHasBeenSet = true; m_virtualGatewayId.assign(value); }
298 inline VirtualInterface& WithVirtualGatewayId(const Aws::String& value) { SetVirtualGatewayId(value); return *this;}
299 inline VirtualInterface& WithVirtualGatewayId(Aws::String&& value) { SetVirtualGatewayId(std::move(value)); return *this;}
300 inline VirtualInterface& WithVirtualGatewayId(const char* value) { SetVirtualGatewayId(value); return *this;}
302
304
307 inline const Aws::String& GetDirectConnectGatewayId() const{ return m_directConnectGatewayId; }
308 inline bool DirectConnectGatewayIdHasBeenSet() const { return m_directConnectGatewayIdHasBeenSet; }
309 inline void SetDirectConnectGatewayId(const Aws::String& value) { m_directConnectGatewayIdHasBeenSet = true; m_directConnectGatewayId = value; }
310 inline void SetDirectConnectGatewayId(Aws::String&& value) { m_directConnectGatewayIdHasBeenSet = true; m_directConnectGatewayId = std::move(value); }
311 inline void SetDirectConnectGatewayId(const char* value) { m_directConnectGatewayIdHasBeenSet = true; m_directConnectGatewayId.assign(value); }
313 inline VirtualInterface& WithDirectConnectGatewayId(Aws::String&& value) { SetDirectConnectGatewayId(std::move(value)); return *this;}
314 inline VirtualInterface& WithDirectConnectGatewayId(const char* value) { SetDirectConnectGatewayId(value); return *this;}
316
318
322 inline const Aws::Vector<RouteFilterPrefix>& GetRouteFilterPrefixes() const{ return m_routeFilterPrefixes; }
323 inline bool RouteFilterPrefixesHasBeenSet() const { return m_routeFilterPrefixesHasBeenSet; }
324 inline void SetRouteFilterPrefixes(const Aws::Vector<RouteFilterPrefix>& value) { m_routeFilterPrefixesHasBeenSet = true; m_routeFilterPrefixes = value; }
325 inline void SetRouteFilterPrefixes(Aws::Vector<RouteFilterPrefix>&& value) { m_routeFilterPrefixesHasBeenSet = true; m_routeFilterPrefixes = std::move(value); }
328 inline VirtualInterface& AddRouteFilterPrefixes(const RouteFilterPrefix& value) { m_routeFilterPrefixesHasBeenSet = true; m_routeFilterPrefixes.push_back(value); return *this; }
329 inline VirtualInterface& AddRouteFilterPrefixes(RouteFilterPrefix&& value) { m_routeFilterPrefixesHasBeenSet = true; m_routeFilterPrefixes.push_back(std::move(value)); return *this; }
331
333
336 inline const Aws::Vector<BGPPeer>& GetBgpPeers() const{ return m_bgpPeers; }
337 inline bool BgpPeersHasBeenSet() const { return m_bgpPeersHasBeenSet; }
338 inline void SetBgpPeers(const Aws::Vector<BGPPeer>& value) { m_bgpPeersHasBeenSet = true; m_bgpPeers = value; }
339 inline void SetBgpPeers(Aws::Vector<BGPPeer>&& value) { m_bgpPeersHasBeenSet = true; m_bgpPeers = std::move(value); }
340 inline VirtualInterface& WithBgpPeers(const Aws::Vector<BGPPeer>& value) { SetBgpPeers(value); return *this;}
341 inline VirtualInterface& WithBgpPeers(Aws::Vector<BGPPeer>&& value) { SetBgpPeers(std::move(value)); return *this;}
342 inline VirtualInterface& AddBgpPeers(const BGPPeer& value) { m_bgpPeersHasBeenSet = true; m_bgpPeers.push_back(value); return *this; }
343 inline VirtualInterface& AddBgpPeers(BGPPeer&& value) { m_bgpPeersHasBeenSet = true; m_bgpPeers.push_back(std::move(value)); return *this; }
345
347
350 inline const Aws::String& GetRegion() const{ return m_region; }
351 inline bool RegionHasBeenSet() const { return m_regionHasBeenSet; }
352 inline void SetRegion(const Aws::String& value) { m_regionHasBeenSet = true; m_region = value; }
353 inline void SetRegion(Aws::String&& value) { m_regionHasBeenSet = true; m_region = std::move(value); }
354 inline void SetRegion(const char* value) { m_regionHasBeenSet = true; m_region.assign(value); }
355 inline VirtualInterface& WithRegion(const Aws::String& value) { SetRegion(value); return *this;}
356 inline VirtualInterface& WithRegion(Aws::String&& value) { SetRegion(std::move(value)); return *this;}
357 inline VirtualInterface& WithRegion(const char* value) { SetRegion(value); return *this;}
359
361
364 inline const Aws::String& GetAwsDeviceV2() const{ return m_awsDeviceV2; }
365 inline bool AwsDeviceV2HasBeenSet() const { return m_awsDeviceV2HasBeenSet; }
366 inline void SetAwsDeviceV2(const Aws::String& value) { m_awsDeviceV2HasBeenSet = true; m_awsDeviceV2 = value; }
367 inline void SetAwsDeviceV2(Aws::String&& value) { m_awsDeviceV2HasBeenSet = true; m_awsDeviceV2 = std::move(value); }
368 inline void SetAwsDeviceV2(const char* value) { m_awsDeviceV2HasBeenSet = true; m_awsDeviceV2.assign(value); }
369 inline VirtualInterface& WithAwsDeviceV2(const Aws::String& value) { SetAwsDeviceV2(value); return *this;}
370 inline VirtualInterface& WithAwsDeviceV2(Aws::String&& value) { SetAwsDeviceV2(std::move(value)); return *this;}
371 inline VirtualInterface& WithAwsDeviceV2(const char* value) { SetAwsDeviceV2(value); return *this;}
373
375
380 inline const Aws::String& GetAwsLogicalDeviceId() const{ return m_awsLogicalDeviceId; }
381 inline bool AwsLogicalDeviceIdHasBeenSet() const { return m_awsLogicalDeviceIdHasBeenSet; }
382 inline void SetAwsLogicalDeviceId(const Aws::String& value) { m_awsLogicalDeviceIdHasBeenSet = true; m_awsLogicalDeviceId = value; }
383 inline void SetAwsLogicalDeviceId(Aws::String&& value) { m_awsLogicalDeviceIdHasBeenSet = true; m_awsLogicalDeviceId = std::move(value); }
384 inline void SetAwsLogicalDeviceId(const char* value) { m_awsLogicalDeviceIdHasBeenSet = true; m_awsLogicalDeviceId.assign(value); }
385 inline VirtualInterface& WithAwsLogicalDeviceId(const Aws::String& value) { SetAwsLogicalDeviceId(value); return *this;}
386 inline VirtualInterface& WithAwsLogicalDeviceId(Aws::String&& value) { SetAwsLogicalDeviceId(std::move(value)); return *this;}
387 inline VirtualInterface& WithAwsLogicalDeviceId(const char* value) { SetAwsLogicalDeviceId(value); return *this;}
389
391
394 inline const Aws::Vector<Tag>& GetTags() const{ return m_tags; }
395 inline bool TagsHasBeenSet() const { return m_tagsHasBeenSet; }
396 inline void SetTags(const Aws::Vector<Tag>& value) { m_tagsHasBeenSet = true; m_tags = value; }
397 inline void SetTags(Aws::Vector<Tag>&& value) { m_tagsHasBeenSet = true; m_tags = std::move(value); }
398 inline VirtualInterface& WithTags(const Aws::Vector<Tag>& value) { SetTags(value); return *this;}
399 inline VirtualInterface& WithTags(Aws::Vector<Tag>&& value) { SetTags(std::move(value)); return *this;}
400 inline VirtualInterface& AddTags(const Tag& value) { m_tagsHasBeenSet = true; m_tags.push_back(value); return *this; }
401 inline VirtualInterface& AddTags(Tag&& value) { m_tagsHasBeenSet = true; m_tags.push_back(std::move(value)); return *this; }
403
405
408 inline bool GetSiteLinkEnabled() const{ return m_siteLinkEnabled; }
409 inline bool SiteLinkEnabledHasBeenSet() const { return m_siteLinkEnabledHasBeenSet; }
410 inline void SetSiteLinkEnabled(bool value) { m_siteLinkEnabledHasBeenSet = true; m_siteLinkEnabled = value; }
411 inline VirtualInterface& WithSiteLinkEnabled(bool value) { SetSiteLinkEnabled(value); return *this;}
413
415
416 inline const Aws::String& GetRequestId() const{ return m_requestId; }
417 inline bool RequestIdHasBeenSet() const { return m_requestIdHasBeenSet; }
418 inline void SetRequestId(const Aws::String& value) { m_requestIdHasBeenSet = true; m_requestId = value; }
419 inline void SetRequestId(Aws::String&& value) { m_requestIdHasBeenSet = true; m_requestId = std::move(value); }
420 inline void SetRequestId(const char* value) { m_requestIdHasBeenSet = true; m_requestId.assign(value); }
421 inline VirtualInterface& WithRequestId(const Aws::String& value) { SetRequestId(value); return *this;}
422 inline VirtualInterface& WithRequestId(Aws::String&& value) { SetRequestId(std::move(value)); return *this;}
423 inline VirtualInterface& WithRequestId(const char* value) { SetRequestId(value); return *this;}
425 private:
426
427 Aws::String m_ownerAccount;
428 bool m_ownerAccountHasBeenSet = false;
429
430 Aws::String m_virtualInterfaceId;
431 bool m_virtualInterfaceIdHasBeenSet = false;
432
433 Aws::String m_location;
434 bool m_locationHasBeenSet = false;
435
436 Aws::String m_connectionId;
437 bool m_connectionIdHasBeenSet = false;
438
439 Aws::String m_virtualInterfaceType;
440 bool m_virtualInterfaceTypeHasBeenSet = false;
441
442 Aws::String m_virtualInterfaceName;
443 bool m_virtualInterfaceNameHasBeenSet = false;
444
445 int m_vlan;
446 bool m_vlanHasBeenSet = false;
447
448 int m_asn;
449 bool m_asnHasBeenSet = false;
450
451 long long m_amazonSideAsn;
452 bool m_amazonSideAsnHasBeenSet = false;
453
454 Aws::String m_authKey;
455 bool m_authKeyHasBeenSet = false;
456
457 Aws::String m_amazonAddress;
458 bool m_amazonAddressHasBeenSet = false;
459
460 Aws::String m_customerAddress;
461 bool m_customerAddressHasBeenSet = false;
462
463 AddressFamily m_addressFamily;
464 bool m_addressFamilyHasBeenSet = false;
465
466 VirtualInterfaceState m_virtualInterfaceState;
467 bool m_virtualInterfaceStateHasBeenSet = false;
468
469 Aws::String m_customerRouterConfig;
470 bool m_customerRouterConfigHasBeenSet = false;
471
472 int m_mtu;
473 bool m_mtuHasBeenSet = false;
474
475 bool m_jumboFrameCapable;
476 bool m_jumboFrameCapableHasBeenSet = false;
477
478 Aws::String m_virtualGatewayId;
479 bool m_virtualGatewayIdHasBeenSet = false;
480
481 Aws::String m_directConnectGatewayId;
482 bool m_directConnectGatewayIdHasBeenSet = false;
483
484 Aws::Vector<RouteFilterPrefix> m_routeFilterPrefixes;
485 bool m_routeFilterPrefixesHasBeenSet = false;
486
487 Aws::Vector<BGPPeer> m_bgpPeers;
488 bool m_bgpPeersHasBeenSet = false;
489
490 Aws::String m_region;
491 bool m_regionHasBeenSet = false;
492
493 Aws::String m_awsDeviceV2;
494 bool m_awsDeviceV2HasBeenSet = false;
495
496 Aws::String m_awsLogicalDeviceId;
497 bool m_awsLogicalDeviceIdHasBeenSet = false;
498
499 Aws::Vector<Tag> m_tags;
500 bool m_tagsHasBeenSet = false;
501
502 bool m_siteLinkEnabled;
503 bool m_siteLinkEnabledHasBeenSet = false;
504
505 Aws::String m_requestId;
506 bool m_requestIdHasBeenSet = false;
507 };
508
509} // namespace Model
510} // namespace DirectConnect
511} // namespace Aws
const Aws::String & GetVirtualGatewayId() const
VirtualInterface & WithCustomerAddress(const Aws::String &value)
VirtualInterface & WithConnectionId(Aws::String &&value)
VirtualInterface & WithVirtualInterfaceName(const char *value)
VirtualInterface & WithVirtualGatewayId(const char *value)
const Aws::Vector< Tag > & GetTags() const
const Aws::String & GetVirtualInterfaceName() const
const Aws::Vector< RouteFilterPrefix > & GetRouteFilterPrefixes() const
VirtualInterface & AddTags(Tag &&value)
VirtualInterface & WithAddressFamily(AddressFamily &&value)
VirtualInterface & WithCustomerRouterConfig(Aws::String &&value)
VirtualInterface & WithVirtualInterfaceState(VirtualInterfaceState &&value)
const Aws::String & GetConnectionId() const
VirtualInterface & WithRequestId(const char *value)
VirtualInterface & WithAddressFamily(const AddressFamily &value)
void SetConnectionId(const Aws::String &value)
VirtualInterface & WithRouteFilterPrefixes(Aws::Vector< RouteFilterPrefix > &&value)
void SetVirtualInterfaceState(VirtualInterfaceState &&value)
VirtualInterface & WithAwsLogicalDeviceId(const char *value)
VirtualInterface & WithVirtualInterfaceType(const char *value)
VirtualInterface & WithOwnerAccount(const Aws::String &value)
void SetOwnerAccount(const Aws::String &value)
void SetRegion(const Aws::String &value)
void SetVirtualInterfaceName(Aws::String &&value)
VirtualInterface & WithAmazonAddress(Aws::String &&value)
void SetTags(const Aws::Vector< Tag > &value)
VirtualInterface & WithAuthKey(const char *value)
VirtualInterface & WithRequestId(Aws::String &&value)
VirtualInterface & WithVirtualInterfaceName(const Aws::String &value)
VirtualInterface & WithRegion(Aws::String &&value)
VirtualInterface & WithAmazonAddress(const Aws::String &value)
VirtualInterface & WithConnectionId(const Aws::String &value)
VirtualInterface & WithOwnerAccount(Aws::String &&value)
VirtualInterface & WithTags(const Aws::Vector< Tag > &value)
void SetAwsDeviceV2(const Aws::String &value)
const Aws::String & GetDirectConnectGatewayId() const
const Aws::String & GetOwnerAccount() const
void SetRequestId(const Aws::String &value)
const Aws::String & GetVirtualInterfaceId() const
void SetVirtualInterfaceType(Aws::String &&value)
VirtualInterface & WithAwsLogicalDeviceId(Aws::String &&value)
VirtualInterface & WithRegion(const Aws::String &value)
VirtualInterface & WithOwnerAccount(const char *value)
void SetCustomerRouterConfig(Aws::String &&value)
VirtualInterface & WithVirtualInterfaceType(const Aws::String &value)
void SetVirtualInterfaceState(const VirtualInterfaceState &value)
VirtualInterface & WithTags(Aws::Vector< Tag > &&value)
void SetAuthKey(const Aws::String &value)
void SetVirtualGatewayId(const Aws::String &value)
void SetBgpPeers(const Aws::Vector< BGPPeer > &value)
VirtualInterface & WithCustomerAddress(Aws::String &&value)
VirtualInterface & WithConnectionId(const char *value)
AWS_DIRECTCONNECT_API VirtualInterface & operator=(Aws::Utils::Json::JsonView jsonValue)
VirtualInterface & WithAwsDeviceV2(const char *value)
void SetAwsLogicalDeviceId(const Aws::String &value)
VirtualInterface & WithVirtualInterfaceState(const VirtualInterfaceState &value)
void SetVirtualInterfaceName(const Aws::String &value)
void SetBgpPeers(Aws::Vector< BGPPeer > &&value)
const Aws::String & GetCustomerRouterConfig() const
VirtualInterface & WithLocation(const char *value)
VirtualInterface & AddBgpPeers(BGPPeer &&value)
const Aws::String & GetCustomerAddress() const
VirtualInterface & WithLocation(Aws::String &&value)
const Aws::String & GetVirtualInterfaceType() const
VirtualInterface & WithRouteFilterPrefixes(const Aws::Vector< RouteFilterPrefix > &value)
VirtualInterface & WithVirtualInterfaceId(const char *value)
VirtualInterface & AddRouteFilterPrefixes(RouteFilterPrefix &&value)
VirtualInterface & AddRouteFilterPrefixes(const RouteFilterPrefix &value)
const Aws::String & GetAwsLogicalDeviceId() const
VirtualInterface & WithVirtualGatewayId(const Aws::String &value)
const AddressFamily & GetAddressFamily() const
const VirtualInterfaceState & GetVirtualInterfaceState() const
VirtualInterface & WithAmazonAddress(const char *value)
void SetDirectConnectGatewayId(Aws::String &&value)
VirtualInterface & WithAmazonSideAsn(long long value)
VirtualInterface & WithCustomerRouterConfig(const Aws::String &value)
void SetCustomerRouterConfig(const Aws::String &value)
VirtualInterface & WithAwsDeviceV2(const Aws::String &value)
VirtualInterface & WithVirtualInterfaceId(const Aws::String &value)
VirtualInterface & WithAwsDeviceV2(Aws::String &&value)
VirtualInterface & AddTags(const Tag &value)
void SetTags(Aws::Vector< Tag > &&value)
VirtualInterface & WithRegion(const char *value)
void SetCustomerAddress(const Aws::String &value)
VirtualInterface & WithDirectConnectGatewayId(const Aws::String &value)
void SetVirtualInterfaceId(const Aws::String &value)
VirtualInterface & WithRequestId(const Aws::String &value)
VirtualInterface & WithDirectConnectGatewayId(Aws::String &&value)
AWS_DIRECTCONNECT_API VirtualInterface(Aws::Utils::Json::JsonView jsonValue)
VirtualInterface & WithLocation(const Aws::String &value)
VirtualInterface & WithVirtualInterfaceId(Aws::String &&value)
VirtualInterface & WithBgpPeers(Aws::Vector< BGPPeer > &&value)
VirtualInterface & AddBgpPeers(const BGPPeer &value)
void SetVirtualInterfaceId(Aws::String &&value)
VirtualInterface & WithAuthKey(const Aws::String &value)
void SetAmazonAddress(const Aws::String &value)
VirtualInterface & WithSiteLinkEnabled(bool value)
VirtualInterface & WithDirectConnectGatewayId(const char *value)
VirtualInterface & WithJumboFrameCapable(bool value)
void SetLocation(const Aws::String &value)
VirtualInterface & WithVirtualInterfaceType(Aws::String &&value)
VirtualInterface & WithAwsLogicalDeviceId(const Aws::String &value)
VirtualInterface & WithCustomerAddress(const char *value)
AWS_DIRECTCONNECT_API Aws::Utils::Json::JsonValue Jsonize() const
void SetVirtualInterfaceType(const Aws::String &value)
VirtualInterface & WithVirtualInterfaceName(Aws::String &&value)
VirtualInterface & WithBgpPeers(const Aws::Vector< BGPPeer > &value)
void SetRouteFilterPrefixes(const Aws::Vector< RouteFilterPrefix > &value)
void SetDirectConnectGatewayId(const Aws::String &value)
void SetAddressFamily(const AddressFamily &value)
void SetRouteFilterPrefixes(Aws::Vector< RouteFilterPrefix > &&value)
VirtualInterface & WithAuthKey(Aws::String &&value)
VirtualInterface & WithVirtualGatewayId(Aws::String &&value)
VirtualInterface & WithCustomerRouterConfig(const char *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