AWS SDK for C++

AWS SDK for C++ Version 1.11.894

Loading...
Searching...
No Matches
DisassociateConnectionFromLagResult.h
1
6#pragma once
7#include <aws/core/http/HttpResponse.h>
8#include <aws/core/utils/DateTime.h>
9#include <aws/core/utils/memory/stl/AWSString.h>
10#include <aws/core/utils/memory/stl/AWSVector.h>
11#include <aws/directconnect/DirectConnect_EXPORTS.h>
12#include <aws/directconnect/model/BillingMode.h>
13#include <aws/directconnect/model/ConnectionState.h>
14#include <aws/directconnect/model/HasLogicalRedundancy.h>
15#include <aws/directconnect/model/MacSecKey.h>
16#include <aws/directconnect/model/RateLimiterStatus.h>
17#include <aws/directconnect/model/Tag.h>
18
19#include <utility>
20
21namespace Aws {
22template <typename RESULT_TYPE>
23class AmazonWebServiceResult;
24
25namespace Utils {
26namespace Json {
27class JsonValue;
28} // namespace Json
29} // namespace Utils
30namespace DirectConnect {
31namespace Model {
38 public:
39 AWS_DIRECTCONNECT_API DisassociateConnectionFromLagResult() = default;
43
45
48 inline const Aws::String& GetOwnerAccount() const { return m_ownerAccount; }
49 template <typename OwnerAccountT = Aws::String>
50 void SetOwnerAccount(OwnerAccountT&& value) {
51 m_ownerAccountHasBeenSet = true;
52 m_ownerAccount = std::forward<OwnerAccountT>(value);
53 }
54 template <typename OwnerAccountT = Aws::String>
56 SetOwnerAccount(std::forward<OwnerAccountT>(value));
57 return *this;
58 }
60
62
65 inline const Aws::String& GetConnectionId() const { return m_connectionId; }
66 template <typename ConnectionIdT = Aws::String>
67 void SetConnectionId(ConnectionIdT&& value) {
68 m_connectionIdHasBeenSet = true;
69 m_connectionId = std::forward<ConnectionIdT>(value);
70 }
71 template <typename ConnectionIdT = Aws::String>
73 SetConnectionId(std::forward<ConnectionIdT>(value));
74 return *this;
75 }
77
79
82 inline const Aws::String& GetConnectionName() const { return m_connectionName; }
83 template <typename ConnectionNameT = Aws::String>
84 void SetConnectionName(ConnectionNameT&& value) {
85 m_connectionNameHasBeenSet = true;
86 m_connectionName = std::forward<ConnectionNameT>(value);
87 }
88 template <typename ConnectionNameT = Aws::String>
90 SetConnectionName(std::forward<ConnectionNameT>(value));
91 return *this;
92 }
94
96
114 inline ConnectionState GetConnectionState() const { return m_connectionState; }
116 m_connectionStateHasBeenSet = true;
117 m_connectionState = value;
118 }
120 SetConnectionState(value);
121 return *this;
122 }
124
126
129 inline const Aws::String& GetRegion() const { return m_region; }
130 template <typename RegionT = Aws::String>
131 void SetRegion(RegionT&& value) {
132 m_regionHasBeenSet = true;
133 m_region = std::forward<RegionT>(value);
134 }
135 template <typename RegionT = Aws::String>
137 SetRegion(std::forward<RegionT>(value));
138 return *this;
139 }
141
143
146 inline const Aws::String& GetLocation() const { return m_location; }
147 template <typename LocationT = Aws::String>
148 void SetLocation(LocationT&& value) {
149 m_locationHasBeenSet = true;
150 m_location = std::forward<LocationT>(value);
151 }
152 template <typename LocationT = Aws::String>
154 SetLocation(std::forward<LocationT>(value));
155 return *this;
156 }
158
160
163 inline const Aws::String& GetBandwidth() const { return m_bandwidth; }
164 template <typename BandwidthT = Aws::String>
165 void SetBandwidth(BandwidthT&& value) {
166 m_bandwidthHasBeenSet = true;
167 m_bandwidth = std::forward<BandwidthT>(value);
168 }
169 template <typename BandwidthT = Aws::String>
171 SetBandwidth(std::forward<BandwidthT>(value));
172 return *this;
173 }
175
177
180 inline int GetVlan() const { return m_vlan; }
181 inline void SetVlan(int value) {
182 m_vlanHasBeenSet = true;
183 m_vlan = value;
184 }
186 SetVlan(value);
187 return *this;
188 }
190
192
196 inline const Aws::String& GetPartnerName() const { return m_partnerName; }
197 template <typename PartnerNameT = Aws::String>
198 void SetPartnerName(PartnerNameT&& value) {
199 m_partnerNameHasBeenSet = true;
200 m_partnerName = std::forward<PartnerNameT>(value);
201 }
202 template <typename PartnerNameT = Aws::String>
204 SetPartnerName(std::forward<PartnerNameT>(value));
205 return *this;
206 }
208
210
214 inline const Aws::Utils::DateTime& GetLoaIssueTime() const { return m_loaIssueTime; }
215 template <typename LoaIssueTimeT = Aws::Utils::DateTime>
216 void SetLoaIssueTime(LoaIssueTimeT&& value) {
217 m_loaIssueTimeHasBeenSet = true;
218 m_loaIssueTime = std::forward<LoaIssueTimeT>(value);
219 }
220 template <typename LoaIssueTimeT = Aws::Utils::DateTime>
222 SetLoaIssueTime(std::forward<LoaIssueTimeT>(value));
223 return *this;
224 }
226
228
231 inline const Aws::String& GetLagId() const { return m_lagId; }
232 template <typename LagIdT = Aws::String>
233 void SetLagId(LagIdT&& value) {
234 m_lagIdHasBeenSet = true;
235 m_lagId = std::forward<LagIdT>(value);
236 }
237 template <typename LagIdT = Aws::String>
239 SetLagId(std::forward<LagIdT>(value));
240 return *this;
241 }
243
245
248 inline const Aws::String& GetAwsDevice() const { return m_awsDevice; }
249 template <typename AwsDeviceT = Aws::String>
250 void SetAwsDevice(AwsDeviceT&& value) {
251 m_awsDeviceHasBeenSet = true;
252 m_awsDevice = std::forward<AwsDeviceT>(value);
253 }
254 template <typename AwsDeviceT = Aws::String>
256 SetAwsDevice(std::forward<AwsDeviceT>(value));
257 return *this;
258 }
260
262
265 inline bool GetJumboFrameCapable() const { return m_jumboFrameCapable; }
266 inline void SetJumboFrameCapable(bool value) {
267 m_jumboFrameCapableHasBeenSet = true;
268 m_jumboFrameCapable = value;
269 }
272 return *this;
273 }
275
277
280 inline const Aws::String& GetAwsDeviceV2() const { return m_awsDeviceV2; }
281 template <typename AwsDeviceV2T = Aws::String>
282 void SetAwsDeviceV2(AwsDeviceV2T&& value) {
283 m_awsDeviceV2HasBeenSet = true;
284 m_awsDeviceV2 = std::forward<AwsDeviceV2T>(value);
285 }
286 template <typename AwsDeviceV2T = Aws::String>
288 SetAwsDeviceV2(std::forward<AwsDeviceV2T>(value));
289 return *this;
290 }
292
294
299 inline const Aws::String& GetAwsLogicalDeviceId() const { return m_awsLogicalDeviceId; }
300 template <typename AwsLogicalDeviceIdT = Aws::String>
301 void SetAwsLogicalDeviceId(AwsLogicalDeviceIdT&& value) {
302 m_awsLogicalDeviceIdHasBeenSet = true;
303 m_awsLogicalDeviceId = std::forward<AwsLogicalDeviceIdT>(value);
304 }
305 template <typename AwsLogicalDeviceIdT = Aws::String>
307 SetAwsLogicalDeviceId(std::forward<AwsLogicalDeviceIdT>(value));
308 return *this;
309 }
311
313
317 inline HasLogicalRedundancy GetHasLogicalRedundancy() const { return m_hasLogicalRedundancy; }
319 m_hasLogicalRedundancyHasBeenSet = true;
320 m_hasLogicalRedundancy = value;
321 }
324 return *this;
325 }
327
329
332 inline const Aws::Vector<Tag>& GetTags() const { return m_tags; }
333 template <typename TagsT = Aws::Vector<Tag>>
334 void SetTags(TagsT&& value) {
335 m_tagsHasBeenSet = true;
336 m_tags = std::forward<TagsT>(value);
337 }
338 template <typename TagsT = Aws::Vector<Tag>>
340 SetTags(std::forward<TagsT>(value));
341 return *this;
342 }
343 template <typename TagsT = Tag>
345 m_tagsHasBeenSet = true;
346 m_tags.emplace_back(std::forward<TagsT>(value));
347 return *this;
348 }
350
352
355 inline const Aws::String& GetProviderName() const { return m_providerName; }
356 template <typename ProviderNameT = Aws::String>
357 void SetProviderName(ProviderNameT&& value) {
358 m_providerNameHasBeenSet = true;
359 m_providerName = std::forward<ProviderNameT>(value);
360 }
361 template <typename ProviderNameT = Aws::String>
363 SetProviderName(std::forward<ProviderNameT>(value));
364 return *this;
365 }
367
369
372 inline bool GetMacSecCapable() const { return m_macSecCapable; }
373 inline void SetMacSecCapable(bool value) {
374 m_macSecCapableHasBeenSet = true;
375 m_macSecCapable = value;
376 }
378 SetMacSecCapable(value);
379 return *this;
380 }
382
384
389 inline const Aws::String& GetPortEncryptionStatus() const { return m_portEncryptionStatus; }
390 template <typename PortEncryptionStatusT = Aws::String>
391 void SetPortEncryptionStatus(PortEncryptionStatusT&& value) {
392 m_portEncryptionStatusHasBeenSet = true;
393 m_portEncryptionStatus = std::forward<PortEncryptionStatusT>(value);
394 }
395 template <typename PortEncryptionStatusT = Aws::String>
397 SetPortEncryptionStatus(std::forward<PortEncryptionStatusT>(value));
398 return *this;
399 }
401
403
408 inline const Aws::String& GetEncryptionMode() const { return m_encryptionMode; }
409 template <typename EncryptionModeT = Aws::String>
410 void SetEncryptionMode(EncryptionModeT&& value) {
411 m_encryptionModeHasBeenSet = true;
412 m_encryptionMode = std::forward<EncryptionModeT>(value);
413 }
414 template <typename EncryptionModeT = Aws::String>
416 SetEncryptionMode(std::forward<EncryptionModeT>(value));
417 return *this;
418 }
420
422
425 inline const Aws::Vector<MacSecKey>& GetMacSecKeys() const { return m_macSecKeys; }
426 template <typename MacSecKeysT = Aws::Vector<MacSecKey>>
427 void SetMacSecKeys(MacSecKeysT&& value) {
428 m_macSecKeysHasBeenSet = true;
429 m_macSecKeys = std::forward<MacSecKeysT>(value);
430 }
431 template <typename MacSecKeysT = Aws::Vector<MacSecKey>>
433 SetMacSecKeys(std::forward<MacSecKeysT>(value));
434 return *this;
435 }
436 template <typename MacSecKeysT = MacSecKey>
438 m_macSecKeysHasBeenSet = true;
439 m_macSecKeys.emplace_back(std::forward<MacSecKeysT>(value));
440 return *this;
441 }
443
445
449 inline const RateLimiterStatus& GetRateLimiterStatus() const { return m_rateLimiterStatus; }
450 template <typename RateLimiterStatusT = RateLimiterStatus>
451 void SetRateLimiterStatus(RateLimiterStatusT&& value) {
452 m_rateLimiterStatusHasBeenSet = true;
453 m_rateLimiterStatus = std::forward<RateLimiterStatusT>(value);
454 }
455 template <typename RateLimiterStatusT = RateLimiterStatus>
457 SetRateLimiterStatus(std::forward<RateLimiterStatusT>(value));
458 return *this;
459 }
461
463
467 inline bool GetPartnerInterconnectMacSecCapable() const { return m_partnerInterconnectMacSecCapable; }
468 inline void SetPartnerInterconnectMacSecCapable(bool value) {
469 m_partnerInterconnectMacSecCapableHasBeenSet = true;
470 m_partnerInterconnectMacSecCapable = value;
471 }
474 return *this;
475 }
477
479
484 inline int GetPrefixPoolSizeIpv4() const { return m_prefixPoolSizeIpv4; }
485 inline void SetPrefixPoolSizeIpv4(int value) {
486 m_prefixPoolSizeIpv4HasBeenSet = true;
487 m_prefixPoolSizeIpv4 = value;
488 }
491 return *this;
492 }
494
496
501 inline int GetPrefixPoolSizeIpv6() const { return m_prefixPoolSizeIpv6; }
502 inline void SetPrefixPoolSizeIpv6(int value) {
503 m_prefixPoolSizeIpv6HasBeenSet = true;
504 m_prefixPoolSizeIpv6 = value;
505 }
508 return *this;
509 }
511
513
518 inline int GetPrefixPoolUnallocatedCountIpv4() const { return m_prefixPoolUnallocatedCountIpv4; }
519 inline void SetPrefixPoolUnallocatedCountIpv4(int value) {
520 m_prefixPoolUnallocatedCountIpv4HasBeenSet = true;
521 m_prefixPoolUnallocatedCountIpv4 = value;
522 }
525 return *this;
526 }
528
530
535 inline int GetPrefixPoolUnallocatedCountIpv6() const { return m_prefixPoolUnallocatedCountIpv6; }
536 inline void SetPrefixPoolUnallocatedCountIpv6(int value) {
537 m_prefixPoolUnallocatedCountIpv6HasBeenSet = true;
538 m_prefixPoolUnallocatedCountIpv6 = value;
539 }
542 return *this;
543 }
545
547
550 inline BillingMode GetBillingMode() const { return m_billingMode; }
551 inline void SetBillingMode(BillingMode value) {
552 m_billingModeHasBeenSet = true;
553 m_billingMode = value;
554 }
556 SetBillingMode(value);
557 return *this;
558 }
560
562
563 inline const Aws::String& GetRequestId() const { return m_requestId; }
564 template <typename RequestIdT = Aws::String>
565 void SetRequestId(RequestIdT&& value) {
566 m_requestIdHasBeenSet = true;
567 m_requestId = std::forward<RequestIdT>(value);
568 }
569 template <typename RequestIdT = Aws::String>
571 SetRequestId(std::forward<RequestIdT>(value));
572 return *this;
573 }
575 inline Aws::Http::HttpResponseCode GetHttpResponseCode() const { return m_HttpResponseCode; }
576
577 private:
578 Aws::String m_ownerAccount;
579
580 Aws::String m_connectionId;
581
582 Aws::String m_connectionName;
583
584 ConnectionState m_connectionState{ConnectionState::NOT_SET};
585
586 Aws::String m_region;
587
588 Aws::String m_location;
589
590 Aws::String m_bandwidth;
591
592 int m_vlan{0};
593
594 Aws::String m_partnerName;
595
596 Aws::Utils::DateTime m_loaIssueTime{};
597
598 Aws::String m_lagId;
599
600 Aws::String m_awsDevice;
601
602 bool m_jumboFrameCapable{false};
603
604 Aws::String m_awsDeviceV2;
605
606 Aws::String m_awsLogicalDeviceId;
607
609
610 Aws::Vector<Tag> m_tags;
611
612 Aws::String m_providerName;
613
614 bool m_macSecCapable{false};
615
616 Aws::String m_portEncryptionStatus;
617
618 Aws::String m_encryptionMode;
619
620 Aws::Vector<MacSecKey> m_macSecKeys;
621
622 RateLimiterStatus m_rateLimiterStatus;
623
624 bool m_partnerInterconnectMacSecCapable{false};
625
626 int m_prefixPoolSizeIpv4{0};
627
628 int m_prefixPoolSizeIpv6{0};
629
630 int m_prefixPoolUnallocatedCountIpv4{0};
631
632 int m_prefixPoolUnallocatedCountIpv6{0};
633
634 BillingMode m_billingMode{BillingMode::NOT_SET};
635
636 Aws::String m_requestId;
637 Aws::Http::HttpResponseCode m_HttpResponseCode;
638 bool m_ownerAccountHasBeenSet = false;
639 bool m_connectionIdHasBeenSet = false;
640 bool m_connectionNameHasBeenSet = false;
641 bool m_connectionStateHasBeenSet = false;
642 bool m_regionHasBeenSet = false;
643 bool m_locationHasBeenSet = false;
644 bool m_bandwidthHasBeenSet = false;
645 bool m_vlanHasBeenSet = false;
646 bool m_partnerNameHasBeenSet = false;
647 bool m_loaIssueTimeHasBeenSet = false;
648 bool m_lagIdHasBeenSet = false;
649 bool m_awsDeviceHasBeenSet = false;
650 bool m_jumboFrameCapableHasBeenSet = false;
651 bool m_awsDeviceV2HasBeenSet = false;
652 bool m_awsLogicalDeviceIdHasBeenSet = false;
653 bool m_hasLogicalRedundancyHasBeenSet = false;
654 bool m_tagsHasBeenSet = false;
655 bool m_providerNameHasBeenSet = false;
656 bool m_macSecCapableHasBeenSet = false;
657 bool m_portEncryptionStatusHasBeenSet = false;
658 bool m_encryptionModeHasBeenSet = false;
659 bool m_macSecKeysHasBeenSet = false;
660 bool m_rateLimiterStatusHasBeenSet = false;
661 bool m_partnerInterconnectMacSecCapableHasBeenSet = false;
662 bool m_prefixPoolSizeIpv4HasBeenSet = false;
663 bool m_prefixPoolSizeIpv6HasBeenSet = false;
664 bool m_prefixPoolUnallocatedCountIpv4HasBeenSet = false;
665 bool m_prefixPoolUnallocatedCountIpv6HasBeenSet = false;
666 bool m_billingModeHasBeenSet = false;
667 bool m_requestIdHasBeenSet = false;
668};
669
670} // namespace Model
671} // namespace DirectConnect
672} // namespace Aws
DisassociateConnectionFromLagResult & WithHasLogicalRedundancy(HasLogicalRedundancy value)
DisassociateConnectionFromLagResult & WithMacSecKeys(MacSecKeysT &&value)
DisassociateConnectionFromLagResult & WithPrefixPoolUnallocatedCountIpv4(int value)
DisassociateConnectionFromLagResult & WithConnectionName(ConnectionNameT &&value)
DisassociateConnectionFromLagResult & WithProviderName(ProviderNameT &&value)
DisassociateConnectionFromLagResult & WithPartnerName(PartnerNameT &&value)
DisassociateConnectionFromLagResult & WithLoaIssueTime(LoaIssueTimeT &&value)
AWS_DIRECTCONNECT_API DisassociateConnectionFromLagResult(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
DisassociateConnectionFromLagResult & WithAwsDevice(AwsDeviceT &&value)
DisassociateConnectionFromLagResult & WithBillingMode(BillingMode value)
DisassociateConnectionFromLagResult & WithPrefixPoolUnallocatedCountIpv6(int value)
DisassociateConnectionFromLagResult & WithRequestId(RequestIdT &&value)
AWS_DIRECTCONNECT_API DisassociateConnectionFromLagResult & operator=(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
DisassociateConnectionFromLagResult & WithRateLimiterStatus(RateLimiterStatusT &&value)
DisassociateConnectionFromLagResult & AddMacSecKeys(MacSecKeysT &&value)
DisassociateConnectionFromLagResult & WithBandwidth(BandwidthT &&value)
AWS_DIRECTCONNECT_API DisassociateConnectionFromLagResult()=default
DisassociateConnectionFromLagResult & WithOwnerAccount(OwnerAccountT &&value)
DisassociateConnectionFromLagResult & WithPortEncryptionStatus(PortEncryptionStatusT &&value)
DisassociateConnectionFromLagResult & WithConnectionId(ConnectionIdT &&value)
DisassociateConnectionFromLagResult & WithLocation(LocationT &&value)
DisassociateConnectionFromLagResult & WithEncryptionMode(EncryptionModeT &&value)
DisassociateConnectionFromLagResult & WithAwsLogicalDeviceId(AwsLogicalDeviceIdT &&value)
DisassociateConnectionFromLagResult & WithAwsDeviceV2(AwsDeviceV2T &&value)
DisassociateConnectionFromLagResult & WithPartnerInterconnectMacSecCapable(bool value)
DisassociateConnectionFromLagResult & WithConnectionState(ConnectionState 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