AWS SDK for C++

AWS SDK for C++ Version 1.11.763

Loading...
Searching...
No Matches
UpdateVirtualInterfaceAttributesResult.h
1
6#pragma once
7#include <aws/core/http/HttpResponse.h>
8#include <aws/core/utils/memory/stl/AWSString.h>
9#include <aws/core/utils/memory/stl/AWSVector.h>
10#include <aws/directconnect/DirectConnect_EXPORTS.h>
11#include <aws/directconnect/model/AddressFamily.h>
12#include <aws/directconnect/model/BGPPeer.h>
13#include <aws/directconnect/model/RouteFilterPrefix.h>
14#include <aws/directconnect/model/Tag.h>
15#include <aws/directconnect/model/VirtualInterfaceState.h>
16
17#include <utility>
18
19namespace Aws {
20template <typename RESULT_TYPE>
21class AmazonWebServiceResult;
22
23namespace Utils {
24namespace Json {
25class JsonValue;
26} // namespace Json
27} // namespace Utils
28namespace DirectConnect {
29namespace Model {
36 public:
37 AWS_DIRECTCONNECT_API UpdateVirtualInterfaceAttributesResult() = default;
41
43
47 inline const Aws::String& GetOwnerAccount() const { return m_ownerAccount; }
48 template <typename OwnerAccountT = Aws::String>
49 void SetOwnerAccount(OwnerAccountT&& value) {
50 m_ownerAccountHasBeenSet = true;
51 m_ownerAccount = std::forward<OwnerAccountT>(value);
52 }
53 template <typename OwnerAccountT = Aws::String>
55 SetOwnerAccount(std::forward<OwnerAccountT>(value));
56 return *this;
57 }
59
61
64 inline const Aws::String& GetVirtualInterfaceId() const { return m_virtualInterfaceId; }
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>
72 SetVirtualInterfaceId(std::forward<VirtualInterfaceIdT>(value));
73 return *this;
74 }
76
78
81 inline const Aws::String& GetLocation() const { return m_location; }
82 template <typename LocationT = Aws::String>
83 void SetLocation(LocationT&& value) {
84 m_locationHasBeenSet = true;
85 m_location = std::forward<LocationT>(value);
86 }
87 template <typename LocationT = Aws::String>
89 SetLocation(std::forward<LocationT>(value));
90 return *this;
91 }
93
95
98 inline const Aws::String& GetConnectionId() const { return m_connectionId; }
99 template <typename ConnectionIdT = Aws::String>
100 void SetConnectionId(ConnectionIdT&& value) {
101 m_connectionIdHasBeenSet = true;
102 m_connectionId = std::forward<ConnectionIdT>(value);
103 }
104 template <typename ConnectionIdT = Aws::String>
106 SetConnectionId(std::forward<ConnectionIdT>(value));
107 return *this;
108 }
110
112
116 inline const Aws::String& GetVirtualInterfaceType() const { return m_virtualInterfaceType; }
117 template <typename VirtualInterfaceTypeT = Aws::String>
118 void SetVirtualInterfaceType(VirtualInterfaceTypeT&& value) {
119 m_virtualInterfaceTypeHasBeenSet = true;
120 m_virtualInterfaceType = std::forward<VirtualInterfaceTypeT>(value);
121 }
122 template <typename VirtualInterfaceTypeT = Aws::String>
124 SetVirtualInterfaceType(std::forward<VirtualInterfaceTypeT>(value));
125 return *this;
126 }
128
130
135 inline const Aws::String& GetVirtualInterfaceName() const { return m_virtualInterfaceName; }
136 template <typename VirtualInterfaceNameT = Aws::String>
137 void SetVirtualInterfaceName(VirtualInterfaceNameT&& value) {
138 m_virtualInterfaceNameHasBeenSet = true;
139 m_virtualInterfaceName = std::forward<VirtualInterfaceNameT>(value);
140 }
141 template <typename VirtualInterfaceNameT = Aws::String>
143 SetVirtualInterfaceName(std::forward<VirtualInterfaceNameT>(value));
144 return *this;
145 }
147
149
152 inline int GetVlan() const { return m_vlan; }
153 inline void SetVlan(int value) {
154 m_vlanHasBeenSet = true;
155 m_vlan = value;
156 }
158 SetVlan(value);
159 return *this;
160 }
162
164
175 inline int GetAsn() const { return m_asn; }
176 inline void SetAsn(int value) {
177 m_asnHasBeenSet = true;
178 m_asn = value;
179 }
181 SetAsn(value);
182 return *this;
183 }
185
187
197 inline long long GetAsnLong() const { return m_asnLong; }
198 inline void SetAsnLong(long long value) {
199 m_asnLongHasBeenSet = true;
200 m_asnLong = value;
201 }
203 SetAsnLong(value);
204 return *this;
205 }
207
209
212 inline long long GetAmazonSideAsn() const { return m_amazonSideAsn; }
213 inline void SetAmazonSideAsn(long long value) {
214 m_amazonSideAsnHasBeenSet = true;
215 m_amazonSideAsn = value;
216 }
218 SetAmazonSideAsn(value);
219 return *this;
220 }
222
224
228 inline const Aws::String& GetAuthKey() const { return m_authKey; }
229 template <typename AuthKeyT = Aws::String>
230 void SetAuthKey(AuthKeyT&& value) {
231 m_authKeyHasBeenSet = true;
232 m_authKey = std::forward<AuthKeyT>(value);
233 }
234 template <typename AuthKeyT = Aws::String>
236 SetAuthKey(std::forward<AuthKeyT>(value));
237 return *this;
238 }
240
242
245 inline const Aws::String& GetAmazonAddress() const { return m_amazonAddress; }
246 template <typename AmazonAddressT = Aws::String>
247 void SetAmazonAddress(AmazonAddressT&& value) {
248 m_amazonAddressHasBeenSet = true;
249 m_amazonAddress = std::forward<AmazonAddressT>(value);
250 }
251 template <typename AmazonAddressT = Aws::String>
253 SetAmazonAddress(std::forward<AmazonAddressT>(value));
254 return *this;
255 }
257
259
262 inline const Aws::String& GetCustomerAddress() const { return m_customerAddress; }
263 template <typename CustomerAddressT = Aws::String>
264 void SetCustomerAddress(CustomerAddressT&& value) {
265 m_customerAddressHasBeenSet = true;
266 m_customerAddress = std::forward<CustomerAddressT>(value);
267 }
268 template <typename CustomerAddressT = Aws::String>
270 SetCustomerAddress(std::forward<CustomerAddressT>(value));
271 return *this;
272 }
274
276
279 inline AddressFamily GetAddressFamily() const { return m_addressFamily; }
280 inline void SetAddressFamily(AddressFamily value) {
281 m_addressFamilyHasBeenSet = true;
282 m_addressFamily = value;
283 }
285 SetAddressFamily(value);
286 return *this;
287 }
289
291
317 inline VirtualInterfaceState GetVirtualInterfaceState() const { return m_virtualInterfaceState; }
319 m_virtualInterfaceStateHasBeenSet = true;
320 m_virtualInterfaceState = value;
321 }
324 return *this;
325 }
327
329
332 inline const Aws::String& GetCustomerRouterConfig() const { return m_customerRouterConfig; }
333 template <typename CustomerRouterConfigT = Aws::String>
334 void SetCustomerRouterConfig(CustomerRouterConfigT&& value) {
335 m_customerRouterConfigHasBeenSet = true;
336 m_customerRouterConfig = std::forward<CustomerRouterConfigT>(value);
337 }
338 template <typename CustomerRouterConfigT = Aws::String>
340 SetCustomerRouterConfig(std::forward<CustomerRouterConfigT>(value));
341 return *this;
342 }
344
346
350 inline int GetMtu() const { return m_mtu; }
351 inline void SetMtu(int value) {
352 m_mtuHasBeenSet = true;
353 m_mtu = value;
354 }
356 SetMtu(value);
357 return *this;
358 }
360
362
365 inline bool GetJumboFrameCapable() const { return m_jumboFrameCapable; }
366 inline void SetJumboFrameCapable(bool value) {
367 m_jumboFrameCapableHasBeenSet = true;
368 m_jumboFrameCapable = value;
369 }
372 return *this;
373 }
375
377
381 inline const Aws::String& GetVirtualGatewayId() const { return m_virtualGatewayId; }
382 template <typename VirtualGatewayIdT = Aws::String>
383 void SetVirtualGatewayId(VirtualGatewayIdT&& value) {
384 m_virtualGatewayIdHasBeenSet = true;
385 m_virtualGatewayId = std::forward<VirtualGatewayIdT>(value);
386 }
387 template <typename VirtualGatewayIdT = Aws::String>
389 SetVirtualGatewayId(std::forward<VirtualGatewayIdT>(value));
390 return *this;
391 }
393
395
398 inline const Aws::String& GetDirectConnectGatewayId() const { return m_directConnectGatewayId; }
399 template <typename DirectConnectGatewayIdT = Aws::String>
400 void SetDirectConnectGatewayId(DirectConnectGatewayIdT&& value) {
401 m_directConnectGatewayIdHasBeenSet = true;
402 m_directConnectGatewayId = std::forward<DirectConnectGatewayIdT>(value);
403 }
404 template <typename DirectConnectGatewayIdT = Aws::String>
406 SetDirectConnectGatewayId(std::forward<DirectConnectGatewayIdT>(value));
407 return *this;
408 }
410
412
416 inline const Aws::Vector<RouteFilterPrefix>& GetRouteFilterPrefixes() const { return m_routeFilterPrefixes; }
417 template <typename RouteFilterPrefixesT = Aws::Vector<RouteFilterPrefix>>
418 void SetRouteFilterPrefixes(RouteFilterPrefixesT&& value) {
419 m_routeFilterPrefixesHasBeenSet = true;
420 m_routeFilterPrefixes = std::forward<RouteFilterPrefixesT>(value);
421 }
422 template <typename RouteFilterPrefixesT = Aws::Vector<RouteFilterPrefix>>
424 SetRouteFilterPrefixes(std::forward<RouteFilterPrefixesT>(value));
425 return *this;
426 }
427 template <typename RouteFilterPrefixesT = RouteFilterPrefix>
429 m_routeFilterPrefixesHasBeenSet = true;
430 m_routeFilterPrefixes.emplace_back(std::forward<RouteFilterPrefixesT>(value));
431 return *this;
432 }
434
436
439 inline const Aws::Vector<BGPPeer>& GetBgpPeers() const { return m_bgpPeers; }
440 template <typename BgpPeersT = Aws::Vector<BGPPeer>>
441 void SetBgpPeers(BgpPeersT&& value) {
442 m_bgpPeersHasBeenSet = true;
443 m_bgpPeers = std::forward<BgpPeersT>(value);
444 }
445 template <typename BgpPeersT = Aws::Vector<BGPPeer>>
447 SetBgpPeers(std::forward<BgpPeersT>(value));
448 return *this;
449 }
450 template <typename BgpPeersT = BGPPeer>
452 m_bgpPeersHasBeenSet = true;
453 m_bgpPeers.emplace_back(std::forward<BgpPeersT>(value));
454 return *this;
455 }
457
459
462 inline const Aws::String& GetRegion() const { return m_region; }
463 template <typename RegionT = Aws::String>
464 void SetRegion(RegionT&& value) {
465 m_regionHasBeenSet = true;
466 m_region = std::forward<RegionT>(value);
467 }
468 template <typename RegionT = Aws::String>
470 SetRegion(std::forward<RegionT>(value));
471 return *this;
472 }
474
476
479 inline const Aws::String& GetAwsDeviceV2() const { return m_awsDeviceV2; }
480 template <typename AwsDeviceV2T = Aws::String>
481 void SetAwsDeviceV2(AwsDeviceV2T&& value) {
482 m_awsDeviceV2HasBeenSet = true;
483 m_awsDeviceV2 = std::forward<AwsDeviceV2T>(value);
484 }
485 template <typename AwsDeviceV2T = Aws::String>
487 SetAwsDeviceV2(std::forward<AwsDeviceV2T>(value));
488 return *this;
489 }
491
493
498 inline const Aws::String& GetAwsLogicalDeviceId() const { return m_awsLogicalDeviceId; }
499 template <typename AwsLogicalDeviceIdT = Aws::String>
500 void SetAwsLogicalDeviceId(AwsLogicalDeviceIdT&& value) {
501 m_awsLogicalDeviceIdHasBeenSet = true;
502 m_awsLogicalDeviceId = std::forward<AwsLogicalDeviceIdT>(value);
503 }
504 template <typename AwsLogicalDeviceIdT = Aws::String>
506 SetAwsLogicalDeviceId(std::forward<AwsLogicalDeviceIdT>(value));
507 return *this;
508 }
510
512
515 inline const Aws::Vector<Tag>& GetTags() const { return m_tags; }
516 template <typename TagsT = Aws::Vector<Tag>>
517 void SetTags(TagsT&& value) {
518 m_tagsHasBeenSet = true;
519 m_tags = std::forward<TagsT>(value);
520 }
521 template <typename TagsT = Aws::Vector<Tag>>
523 SetTags(std::forward<TagsT>(value));
524 return *this;
525 }
526 template <typename TagsT = Tag>
528 m_tagsHasBeenSet = true;
529 m_tags.emplace_back(std::forward<TagsT>(value));
530 return *this;
531 }
533
535
538 inline bool GetSiteLinkEnabled() const { return m_siteLinkEnabled; }
539 inline void SetSiteLinkEnabled(bool value) {
540 m_siteLinkEnabledHasBeenSet = true;
541 m_siteLinkEnabled = value;
542 }
544 SetSiteLinkEnabled(value);
545 return *this;
546 }
548
550
551 inline const Aws::String& GetRequestId() const { return m_requestId; }
552 template <typename RequestIdT = Aws::String>
553 void SetRequestId(RequestIdT&& value) {
554 m_requestIdHasBeenSet = true;
555 m_requestId = std::forward<RequestIdT>(value);
556 }
557 template <typename RequestIdT = Aws::String>
559 SetRequestId(std::forward<RequestIdT>(value));
560 return *this;
561 }
563 inline Aws::Http::HttpResponseCode GetHttpResponseCode() const { return m_HttpResponseCode; }
564
565 private:
566 Aws::String m_ownerAccount;
567
568 Aws::String m_virtualInterfaceId;
569
570 Aws::String m_location;
571
572 Aws::String m_connectionId;
573
574 Aws::String m_virtualInterfaceType;
575
576 Aws::String m_virtualInterfaceName;
577
578 int m_vlan{0};
579
580 int m_asn{0};
581
582 long long m_asnLong{0};
583
584 long long m_amazonSideAsn{0};
585
586 Aws::String m_authKey;
587
588 Aws::String m_amazonAddress;
589
590 Aws::String m_customerAddress;
591
592 AddressFamily m_addressFamily{AddressFamily::NOT_SET};
593
595
596 Aws::String m_customerRouterConfig;
597
598 int m_mtu{0};
599
600 bool m_jumboFrameCapable{false};
601
602 Aws::String m_virtualGatewayId;
603
604 Aws::String m_directConnectGatewayId;
605
606 Aws::Vector<RouteFilterPrefix> m_routeFilterPrefixes;
607
608 Aws::Vector<BGPPeer> m_bgpPeers;
609
610 Aws::String m_region;
611
612 Aws::String m_awsDeviceV2;
613
614 Aws::String m_awsLogicalDeviceId;
615
616 Aws::Vector<Tag> m_tags;
617
618 bool m_siteLinkEnabled{false};
619
620 Aws::String m_requestId;
621 Aws::Http::HttpResponseCode m_HttpResponseCode;
622 bool m_ownerAccountHasBeenSet = false;
623 bool m_virtualInterfaceIdHasBeenSet = false;
624 bool m_locationHasBeenSet = false;
625 bool m_connectionIdHasBeenSet = false;
626 bool m_virtualInterfaceTypeHasBeenSet = false;
627 bool m_virtualInterfaceNameHasBeenSet = false;
628 bool m_vlanHasBeenSet = false;
629 bool m_asnHasBeenSet = false;
630 bool m_asnLongHasBeenSet = false;
631 bool m_amazonSideAsnHasBeenSet = false;
632 bool m_authKeyHasBeenSet = false;
633 bool m_amazonAddressHasBeenSet = false;
634 bool m_customerAddressHasBeenSet = false;
635 bool m_addressFamilyHasBeenSet = false;
636 bool m_virtualInterfaceStateHasBeenSet = false;
637 bool m_customerRouterConfigHasBeenSet = false;
638 bool m_mtuHasBeenSet = false;
639 bool m_jumboFrameCapableHasBeenSet = false;
640 bool m_virtualGatewayIdHasBeenSet = false;
641 bool m_directConnectGatewayIdHasBeenSet = false;
642 bool m_routeFilterPrefixesHasBeenSet = false;
643 bool m_bgpPeersHasBeenSet = false;
644 bool m_regionHasBeenSet = false;
645 bool m_awsDeviceV2HasBeenSet = false;
646 bool m_awsLogicalDeviceIdHasBeenSet = false;
647 bool m_tagsHasBeenSet = false;
648 bool m_siteLinkEnabledHasBeenSet = false;
649 bool m_requestIdHasBeenSet = false;
650};
651
652} // namespace Model
653} // namespace DirectConnect
654} // namespace Aws
UpdateVirtualInterfaceAttributesResult & WithVirtualGatewayId(VirtualGatewayIdT &&value)
UpdateVirtualInterfaceAttributesResult & WithVirtualInterfaceId(VirtualInterfaceIdT &&value)
UpdateVirtualInterfaceAttributesResult & WithAwsDeviceV2(AwsDeviceV2T &&value)
UpdateVirtualInterfaceAttributesResult & WithAddressFamily(AddressFamily value)
UpdateVirtualInterfaceAttributesResult & WithLocation(LocationT &&value)
UpdateVirtualInterfaceAttributesResult & WithVirtualInterfaceState(VirtualInterfaceState value)
UpdateVirtualInterfaceAttributesResult & WithRequestId(RequestIdT &&value)
UpdateVirtualInterfaceAttributesResult & WithAmazonAddress(AmazonAddressT &&value)
UpdateVirtualInterfaceAttributesResult & WithAmazonSideAsn(long long value)
UpdateVirtualInterfaceAttributesResult & AddBgpPeers(BgpPeersT &&value)
UpdateVirtualInterfaceAttributesResult & WithAwsLogicalDeviceId(AwsLogicalDeviceIdT &&value)
AWS_DIRECTCONNECT_API UpdateVirtualInterfaceAttributesResult & operator=(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
UpdateVirtualInterfaceAttributesResult & WithOwnerAccount(OwnerAccountT &&value)
AWS_DIRECTCONNECT_API UpdateVirtualInterfaceAttributesResult(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
UpdateVirtualInterfaceAttributesResult & WithVirtualInterfaceName(VirtualInterfaceNameT &&value)
UpdateVirtualInterfaceAttributesResult & AddRouteFilterPrefixes(RouteFilterPrefixesT &&value)
UpdateVirtualInterfaceAttributesResult & WithVirtualInterfaceType(VirtualInterfaceTypeT &&value)
AWS_DIRECTCONNECT_API UpdateVirtualInterfaceAttributesResult()=default
UpdateVirtualInterfaceAttributesResult & WithCustomerAddress(CustomerAddressT &&value)
UpdateVirtualInterfaceAttributesResult & WithCustomerRouterConfig(CustomerRouterConfigT &&value)
UpdateVirtualInterfaceAttributesResult & WithConnectionId(ConnectionIdT &&value)
UpdateVirtualInterfaceAttributesResult & WithBgpPeers(BgpPeersT &&value)
UpdateVirtualInterfaceAttributesResult & WithDirectConnectGatewayId(DirectConnectGatewayIdT &&value)
UpdateVirtualInterfaceAttributesResult & WithRouteFilterPrefixes(RouteFilterPrefixesT &&value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
std::vector< T, Aws::Allocator< T > > Vector
Aws::Utils::Json::JsonValue JsonValue