AWS SDK for C++

AWS SDK for C++ Version 1.11.875

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/ConnectionState.h>
13#include <aws/directconnect/model/HasLogicalRedundancy.h>
14#include <aws/directconnect/model/MacSecKey.h>
15#include <aws/directconnect/model/RateLimiterStatus.h>
16#include <aws/directconnect/model/Tag.h>
17
18#include <utility>
19
20namespace Aws {
21template <typename RESULT_TYPE>
22class AmazonWebServiceResult;
23
24namespace Utils {
25namespace Json {
26class JsonValue;
27} // namespace Json
28} // namespace Utils
29namespace DirectConnect {
30namespace Model {
37 public:
38 AWS_DIRECTCONNECT_API DisassociateConnectionFromLagResult() = default;
42
44
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& GetConnectionId() const { return m_connectionId; }
65 template <typename ConnectionIdT = Aws::String>
66 void SetConnectionId(ConnectionIdT&& value) {
67 m_connectionIdHasBeenSet = true;
68 m_connectionId = std::forward<ConnectionIdT>(value);
69 }
70 template <typename ConnectionIdT = Aws::String>
72 SetConnectionId(std::forward<ConnectionIdT>(value));
73 return *this;
74 }
76
78
81 inline const Aws::String& GetConnectionName() const { return m_connectionName; }
82 template <typename ConnectionNameT = Aws::String>
83 void SetConnectionName(ConnectionNameT&& value) {
84 m_connectionNameHasBeenSet = true;
85 m_connectionName = std::forward<ConnectionNameT>(value);
86 }
87 template <typename ConnectionNameT = Aws::String>
89 SetConnectionName(std::forward<ConnectionNameT>(value));
90 return *this;
91 }
93
95
113 inline ConnectionState GetConnectionState() const { return m_connectionState; }
115 m_connectionStateHasBeenSet = true;
116 m_connectionState = value;
117 }
119 SetConnectionState(value);
120 return *this;
121 }
123
125
128 inline const Aws::String& GetRegion() const { return m_region; }
129 template <typename RegionT = Aws::String>
130 void SetRegion(RegionT&& value) {
131 m_regionHasBeenSet = true;
132 m_region = std::forward<RegionT>(value);
133 }
134 template <typename RegionT = Aws::String>
136 SetRegion(std::forward<RegionT>(value));
137 return *this;
138 }
140
142
145 inline const Aws::String& GetLocation() const { return m_location; }
146 template <typename LocationT = Aws::String>
147 void SetLocation(LocationT&& value) {
148 m_locationHasBeenSet = true;
149 m_location = std::forward<LocationT>(value);
150 }
151 template <typename LocationT = Aws::String>
153 SetLocation(std::forward<LocationT>(value));
154 return *this;
155 }
157
159
162 inline const Aws::String& GetBandwidth() const { return m_bandwidth; }
163 template <typename BandwidthT = Aws::String>
164 void SetBandwidth(BandwidthT&& value) {
165 m_bandwidthHasBeenSet = true;
166 m_bandwidth = std::forward<BandwidthT>(value);
167 }
168 template <typename BandwidthT = Aws::String>
170 SetBandwidth(std::forward<BandwidthT>(value));
171 return *this;
172 }
174
176
179 inline int GetVlan() const { return m_vlan; }
180 inline void SetVlan(int value) {
181 m_vlanHasBeenSet = true;
182 m_vlan = value;
183 }
185 SetVlan(value);
186 return *this;
187 }
189
191
195 inline const Aws::String& GetPartnerName() const { return m_partnerName; }
196 template <typename PartnerNameT = Aws::String>
197 void SetPartnerName(PartnerNameT&& value) {
198 m_partnerNameHasBeenSet = true;
199 m_partnerName = std::forward<PartnerNameT>(value);
200 }
201 template <typename PartnerNameT = Aws::String>
203 SetPartnerName(std::forward<PartnerNameT>(value));
204 return *this;
205 }
207
209
213 inline const Aws::Utils::DateTime& GetLoaIssueTime() const { return m_loaIssueTime; }
214 template <typename LoaIssueTimeT = Aws::Utils::DateTime>
215 void SetLoaIssueTime(LoaIssueTimeT&& value) {
216 m_loaIssueTimeHasBeenSet = true;
217 m_loaIssueTime = std::forward<LoaIssueTimeT>(value);
218 }
219 template <typename LoaIssueTimeT = Aws::Utils::DateTime>
221 SetLoaIssueTime(std::forward<LoaIssueTimeT>(value));
222 return *this;
223 }
225
227
230 inline const Aws::String& GetLagId() const { return m_lagId; }
231 template <typename LagIdT = Aws::String>
232 void SetLagId(LagIdT&& value) {
233 m_lagIdHasBeenSet = true;
234 m_lagId = std::forward<LagIdT>(value);
235 }
236 template <typename LagIdT = Aws::String>
238 SetLagId(std::forward<LagIdT>(value));
239 return *this;
240 }
242
244
247 inline const Aws::String& GetAwsDevice() const { return m_awsDevice; }
248 template <typename AwsDeviceT = Aws::String>
249 void SetAwsDevice(AwsDeviceT&& value) {
250 m_awsDeviceHasBeenSet = true;
251 m_awsDevice = std::forward<AwsDeviceT>(value);
252 }
253 template <typename AwsDeviceT = Aws::String>
255 SetAwsDevice(std::forward<AwsDeviceT>(value));
256 return *this;
257 }
259
261
264 inline bool GetJumboFrameCapable() const { return m_jumboFrameCapable; }
265 inline void SetJumboFrameCapable(bool value) {
266 m_jumboFrameCapableHasBeenSet = true;
267 m_jumboFrameCapable = value;
268 }
271 return *this;
272 }
274
276
279 inline const Aws::String& GetAwsDeviceV2() const { return m_awsDeviceV2; }
280 template <typename AwsDeviceV2T = Aws::String>
281 void SetAwsDeviceV2(AwsDeviceV2T&& value) {
282 m_awsDeviceV2HasBeenSet = true;
283 m_awsDeviceV2 = std::forward<AwsDeviceV2T>(value);
284 }
285 template <typename AwsDeviceV2T = Aws::String>
287 SetAwsDeviceV2(std::forward<AwsDeviceV2T>(value));
288 return *this;
289 }
291
293
298 inline const Aws::String& GetAwsLogicalDeviceId() const { return m_awsLogicalDeviceId; }
299 template <typename AwsLogicalDeviceIdT = Aws::String>
300 void SetAwsLogicalDeviceId(AwsLogicalDeviceIdT&& value) {
301 m_awsLogicalDeviceIdHasBeenSet = true;
302 m_awsLogicalDeviceId = std::forward<AwsLogicalDeviceIdT>(value);
303 }
304 template <typename AwsLogicalDeviceIdT = Aws::String>
306 SetAwsLogicalDeviceId(std::forward<AwsLogicalDeviceIdT>(value));
307 return *this;
308 }
310
312
316 inline HasLogicalRedundancy GetHasLogicalRedundancy() const { return m_hasLogicalRedundancy; }
318 m_hasLogicalRedundancyHasBeenSet = true;
319 m_hasLogicalRedundancy = value;
320 }
323 return *this;
324 }
326
328
331 inline const Aws::Vector<Tag>& GetTags() const { return m_tags; }
332 template <typename TagsT = Aws::Vector<Tag>>
333 void SetTags(TagsT&& value) {
334 m_tagsHasBeenSet = true;
335 m_tags = std::forward<TagsT>(value);
336 }
337 template <typename TagsT = Aws::Vector<Tag>>
339 SetTags(std::forward<TagsT>(value));
340 return *this;
341 }
342 template <typename TagsT = Tag>
344 m_tagsHasBeenSet = true;
345 m_tags.emplace_back(std::forward<TagsT>(value));
346 return *this;
347 }
349
351
354 inline const Aws::String& GetProviderName() const { return m_providerName; }
355 template <typename ProviderNameT = Aws::String>
356 void SetProviderName(ProviderNameT&& value) {
357 m_providerNameHasBeenSet = true;
358 m_providerName = std::forward<ProviderNameT>(value);
359 }
360 template <typename ProviderNameT = Aws::String>
362 SetProviderName(std::forward<ProviderNameT>(value));
363 return *this;
364 }
366
368
371 inline bool GetMacSecCapable() const { return m_macSecCapable; }
372 inline void SetMacSecCapable(bool value) {
373 m_macSecCapableHasBeenSet = true;
374 m_macSecCapable = value;
375 }
377 SetMacSecCapable(value);
378 return *this;
379 }
381
383
388 inline const Aws::String& GetPortEncryptionStatus() const { return m_portEncryptionStatus; }
389 template <typename PortEncryptionStatusT = Aws::String>
390 void SetPortEncryptionStatus(PortEncryptionStatusT&& value) {
391 m_portEncryptionStatusHasBeenSet = true;
392 m_portEncryptionStatus = std::forward<PortEncryptionStatusT>(value);
393 }
394 template <typename PortEncryptionStatusT = Aws::String>
396 SetPortEncryptionStatus(std::forward<PortEncryptionStatusT>(value));
397 return *this;
398 }
400
402
407 inline const Aws::String& GetEncryptionMode() const { return m_encryptionMode; }
408 template <typename EncryptionModeT = Aws::String>
409 void SetEncryptionMode(EncryptionModeT&& value) {
410 m_encryptionModeHasBeenSet = true;
411 m_encryptionMode = std::forward<EncryptionModeT>(value);
412 }
413 template <typename EncryptionModeT = Aws::String>
415 SetEncryptionMode(std::forward<EncryptionModeT>(value));
416 return *this;
417 }
419
421
424 inline const Aws::Vector<MacSecKey>& GetMacSecKeys() const { return m_macSecKeys; }
425 template <typename MacSecKeysT = Aws::Vector<MacSecKey>>
426 void SetMacSecKeys(MacSecKeysT&& value) {
427 m_macSecKeysHasBeenSet = true;
428 m_macSecKeys = std::forward<MacSecKeysT>(value);
429 }
430 template <typename MacSecKeysT = Aws::Vector<MacSecKey>>
432 SetMacSecKeys(std::forward<MacSecKeysT>(value));
433 return *this;
434 }
435 template <typename MacSecKeysT = MacSecKey>
437 m_macSecKeysHasBeenSet = true;
438 m_macSecKeys.emplace_back(std::forward<MacSecKeysT>(value));
439 return *this;
440 }
442
444
448 inline const RateLimiterStatus& GetRateLimiterStatus() const { return m_rateLimiterStatus; }
449 template <typename RateLimiterStatusT = RateLimiterStatus>
450 void SetRateLimiterStatus(RateLimiterStatusT&& value) {
451 m_rateLimiterStatusHasBeenSet = true;
452 m_rateLimiterStatus = std::forward<RateLimiterStatusT>(value);
453 }
454 template <typename RateLimiterStatusT = RateLimiterStatus>
456 SetRateLimiterStatus(std::forward<RateLimiterStatusT>(value));
457 return *this;
458 }
460
462
466 inline bool GetPartnerInterconnectMacSecCapable() const { return m_partnerInterconnectMacSecCapable; }
467 inline void SetPartnerInterconnectMacSecCapable(bool value) {
468 m_partnerInterconnectMacSecCapableHasBeenSet = true;
469 m_partnerInterconnectMacSecCapable = value;
470 }
473 return *this;
474 }
476
478
483 inline int GetPrefixPoolSizeIpv4() const { return m_prefixPoolSizeIpv4; }
484 inline void SetPrefixPoolSizeIpv4(int value) {
485 m_prefixPoolSizeIpv4HasBeenSet = true;
486 m_prefixPoolSizeIpv4 = value;
487 }
490 return *this;
491 }
493
495
500 inline int GetPrefixPoolSizeIpv6() const { return m_prefixPoolSizeIpv6; }
501 inline void SetPrefixPoolSizeIpv6(int value) {
502 m_prefixPoolSizeIpv6HasBeenSet = true;
503 m_prefixPoolSizeIpv6 = value;
504 }
507 return *this;
508 }
510
512
517 inline int GetPrefixPoolUnallocatedCountIpv4() const { return m_prefixPoolUnallocatedCountIpv4; }
518 inline void SetPrefixPoolUnallocatedCountIpv4(int value) {
519 m_prefixPoolUnallocatedCountIpv4HasBeenSet = true;
520 m_prefixPoolUnallocatedCountIpv4 = value;
521 }
524 return *this;
525 }
527
529
534 inline int GetPrefixPoolUnallocatedCountIpv6() const { return m_prefixPoolUnallocatedCountIpv6; }
535 inline void SetPrefixPoolUnallocatedCountIpv6(int value) {
536 m_prefixPoolUnallocatedCountIpv6HasBeenSet = true;
537 m_prefixPoolUnallocatedCountIpv6 = value;
538 }
541 return *this;
542 }
544
546
547 inline const Aws::String& GetRequestId() const { return m_requestId; }
548 template <typename RequestIdT = Aws::String>
549 void SetRequestId(RequestIdT&& value) {
550 m_requestIdHasBeenSet = true;
551 m_requestId = std::forward<RequestIdT>(value);
552 }
553 template <typename RequestIdT = Aws::String>
555 SetRequestId(std::forward<RequestIdT>(value));
556 return *this;
557 }
559 inline Aws::Http::HttpResponseCode GetHttpResponseCode() const { return m_HttpResponseCode; }
560
561 private:
562 Aws::String m_ownerAccount;
563
564 Aws::String m_connectionId;
565
566 Aws::String m_connectionName;
567
568 ConnectionState m_connectionState{ConnectionState::NOT_SET};
569
570 Aws::String m_region;
571
572 Aws::String m_location;
573
574 Aws::String m_bandwidth;
575
576 int m_vlan{0};
577
578 Aws::String m_partnerName;
579
580 Aws::Utils::DateTime m_loaIssueTime{};
581
582 Aws::String m_lagId;
583
584 Aws::String m_awsDevice;
585
586 bool m_jumboFrameCapable{false};
587
588 Aws::String m_awsDeviceV2;
589
590 Aws::String m_awsLogicalDeviceId;
591
593
594 Aws::Vector<Tag> m_tags;
595
596 Aws::String m_providerName;
597
598 bool m_macSecCapable{false};
599
600 Aws::String m_portEncryptionStatus;
601
602 Aws::String m_encryptionMode;
603
604 Aws::Vector<MacSecKey> m_macSecKeys;
605
606 RateLimiterStatus m_rateLimiterStatus;
607
608 bool m_partnerInterconnectMacSecCapable{false};
609
610 int m_prefixPoolSizeIpv4{0};
611
612 int m_prefixPoolSizeIpv6{0};
613
614 int m_prefixPoolUnallocatedCountIpv4{0};
615
616 int m_prefixPoolUnallocatedCountIpv6{0};
617
618 Aws::String m_requestId;
619 Aws::Http::HttpResponseCode m_HttpResponseCode;
620 bool m_ownerAccountHasBeenSet = false;
621 bool m_connectionIdHasBeenSet = false;
622 bool m_connectionNameHasBeenSet = false;
623 bool m_connectionStateHasBeenSet = false;
624 bool m_regionHasBeenSet = false;
625 bool m_locationHasBeenSet = false;
626 bool m_bandwidthHasBeenSet = false;
627 bool m_vlanHasBeenSet = false;
628 bool m_partnerNameHasBeenSet = false;
629 bool m_loaIssueTimeHasBeenSet = false;
630 bool m_lagIdHasBeenSet = false;
631 bool m_awsDeviceHasBeenSet = false;
632 bool m_jumboFrameCapableHasBeenSet = false;
633 bool m_awsDeviceV2HasBeenSet = false;
634 bool m_awsLogicalDeviceIdHasBeenSet = false;
635 bool m_hasLogicalRedundancyHasBeenSet = false;
636 bool m_tagsHasBeenSet = false;
637 bool m_providerNameHasBeenSet = false;
638 bool m_macSecCapableHasBeenSet = false;
639 bool m_portEncryptionStatusHasBeenSet = false;
640 bool m_encryptionModeHasBeenSet = false;
641 bool m_macSecKeysHasBeenSet = false;
642 bool m_rateLimiterStatusHasBeenSet = false;
643 bool m_partnerInterconnectMacSecCapableHasBeenSet = false;
644 bool m_prefixPoolSizeIpv4HasBeenSet = false;
645 bool m_prefixPoolSizeIpv6HasBeenSet = false;
646 bool m_prefixPoolUnallocatedCountIpv4HasBeenSet = false;
647 bool m_prefixPoolUnallocatedCountIpv6HasBeenSet = false;
648 bool m_requestIdHasBeenSet = false;
649};
650
651} // namespace Model
652} // namespace DirectConnect
653} // 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 & 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