AWS SDK for C++

AWS SDK for C++ Version 1.11.896

Loading...
Searching...
No Matches
Lag.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/BillingMode.h>
11#include <aws/directconnect/model/Connection.h>
12#include <aws/directconnect/model/HasLogicalRedundancy.h>
13#include <aws/directconnect/model/LagState.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 {
21namespace Utils {
22namespace Json {
23class JsonValue;
24class JsonView;
25} // namespace Json
26} // namespace Utils
27namespace DirectConnect {
28namespace Model {
29
36class Lag {
37 public:
38 AWS_DIRECTCONNECT_API Lag() = default;
39 AWS_DIRECTCONNECT_API Lag(Aws::Utils::Json::JsonView jsonValue);
40 AWS_DIRECTCONNECT_API Lag& operator=(Aws::Utils::Json::JsonView jsonValue);
41 AWS_DIRECTCONNECT_API Aws::Utils::Json::JsonValue Jsonize() const;
42
44
48 inline const Aws::String& GetConnectionsBandwidth() const { return m_connectionsBandwidth; }
49 inline bool ConnectionsBandwidthHasBeenSet() const { return m_connectionsBandwidthHasBeenSet; }
50 template <typename ConnectionsBandwidthT = Aws::String>
51 void SetConnectionsBandwidth(ConnectionsBandwidthT&& value) {
52 m_connectionsBandwidthHasBeenSet = true;
53 m_connectionsBandwidth = std::forward<ConnectionsBandwidthT>(value);
54 }
55 template <typename ConnectionsBandwidthT = Aws::String>
56 Lag& WithConnectionsBandwidth(ConnectionsBandwidthT&& value) {
57 SetConnectionsBandwidth(std::forward<ConnectionsBandwidthT>(value));
58 return *this;
59 }
61
63
69 inline int GetNumberOfConnections() const { return m_numberOfConnections; }
70 inline bool NumberOfConnectionsHasBeenSet() const { return m_numberOfConnectionsHasBeenSet; }
71 inline void SetNumberOfConnections(int value) {
72 m_numberOfConnectionsHasBeenSet = true;
73 m_numberOfConnections = value;
74 }
75 inline Lag& WithNumberOfConnections(int value) {
77 return *this;
78 }
80
82
85 inline const Aws::String& GetLagId() const { return m_lagId; }
86 inline bool LagIdHasBeenSet() const { return m_lagIdHasBeenSet; }
87 template <typename LagIdT = Aws::String>
88 void SetLagId(LagIdT&& value) {
89 m_lagIdHasBeenSet = true;
90 m_lagId = std::forward<LagIdT>(value);
91 }
92 template <typename LagIdT = Aws::String>
93 Lag& WithLagId(LagIdT&& value) {
94 SetLagId(std::forward<LagIdT>(value));
95 return *this;
96 }
98
100
103 inline const Aws::String& GetOwnerAccount() const { return m_ownerAccount; }
104 inline bool OwnerAccountHasBeenSet() const { return m_ownerAccountHasBeenSet; }
105 template <typename OwnerAccountT = Aws::String>
106 void SetOwnerAccount(OwnerAccountT&& value) {
107 m_ownerAccountHasBeenSet = true;
108 m_ownerAccount = std::forward<OwnerAccountT>(value);
109 }
110 template <typename OwnerAccountT = Aws::String>
111 Lag& WithOwnerAccount(OwnerAccountT&& value) {
112 SetOwnerAccount(std::forward<OwnerAccountT>(value));
113 return *this;
114 }
116
118
121 inline const Aws::String& GetLagName() const { return m_lagName; }
122 inline bool LagNameHasBeenSet() const { return m_lagNameHasBeenSet; }
123 template <typename LagNameT = Aws::String>
124 void SetLagName(LagNameT&& value) {
125 m_lagNameHasBeenSet = true;
126 m_lagName = std::forward<LagNameT>(value);
127 }
128 template <typename LagNameT = Aws::String>
129 Lag& WithLagName(LagNameT&& value) {
130 SetLagName(std::forward<LagNameT>(value));
131 return *this;
132 }
134
136
148 inline LagState GetLagState() const { return m_lagState; }
149 inline bool LagStateHasBeenSet() const { return m_lagStateHasBeenSet; }
150 inline void SetLagState(LagState value) {
151 m_lagStateHasBeenSet = true;
152 m_lagState = value;
153 }
154 inline Lag& WithLagState(LagState value) {
155 SetLagState(value);
156 return *this;
157 }
159
161
164 inline const Aws::String& GetLocation() const { return m_location; }
165 inline bool LocationHasBeenSet() const { return m_locationHasBeenSet; }
166 template <typename LocationT = Aws::String>
167 void SetLocation(LocationT&& value) {
168 m_locationHasBeenSet = true;
169 m_location = std::forward<LocationT>(value);
170 }
171 template <typename LocationT = Aws::String>
172 Lag& WithLocation(LocationT&& value) {
173 SetLocation(std::forward<LocationT>(value));
174 return *this;
175 }
177
179
182 inline const Aws::String& GetRegion() const { return m_region; }
183 inline bool RegionHasBeenSet() const { return m_regionHasBeenSet; }
184 template <typename RegionT = Aws::String>
185 void SetRegion(RegionT&& value) {
186 m_regionHasBeenSet = true;
187 m_region = std::forward<RegionT>(value);
188 }
189 template <typename RegionT = Aws::String>
190 Lag& WithRegion(RegionT&& value) {
191 SetRegion(std::forward<RegionT>(value));
192 return *this;
193 }
195
197
201 inline int GetMinimumLinks() const { return m_minimumLinks; }
202 inline bool MinimumLinksHasBeenSet() const { return m_minimumLinksHasBeenSet; }
203 inline void SetMinimumLinks(int value) {
204 m_minimumLinksHasBeenSet = true;
205 m_minimumLinks = value;
206 }
207 inline Lag& WithMinimumLinks(int value) {
208 SetMinimumLinks(value);
209 return *this;
210 }
212
214
217 inline const Aws::String& GetAwsDevice() const { return m_awsDevice; }
218 inline bool AwsDeviceHasBeenSet() const { return m_awsDeviceHasBeenSet; }
219 template <typename AwsDeviceT = Aws::String>
220 void SetAwsDevice(AwsDeviceT&& value) {
221 m_awsDeviceHasBeenSet = true;
222 m_awsDevice = std::forward<AwsDeviceT>(value);
223 }
224 template <typename AwsDeviceT = Aws::String>
225 Lag& WithAwsDevice(AwsDeviceT&& value) {
226 SetAwsDevice(std::forward<AwsDeviceT>(value));
227 return *this;
228 }
230
232
235 inline const Aws::String& GetAwsDeviceV2() const { return m_awsDeviceV2; }
236 inline bool AwsDeviceV2HasBeenSet() const { return m_awsDeviceV2HasBeenSet; }
237 template <typename AwsDeviceV2T = Aws::String>
238 void SetAwsDeviceV2(AwsDeviceV2T&& value) {
239 m_awsDeviceV2HasBeenSet = true;
240 m_awsDeviceV2 = std::forward<AwsDeviceV2T>(value);
241 }
242 template <typename AwsDeviceV2T = Aws::String>
243 Lag& WithAwsDeviceV2(AwsDeviceV2T&& value) {
244 SetAwsDeviceV2(std::forward<AwsDeviceV2T>(value));
245 return *this;
246 }
248
250
255 inline const Aws::String& GetAwsLogicalDeviceId() const { return m_awsLogicalDeviceId; }
256 inline bool AwsLogicalDeviceIdHasBeenSet() const { return m_awsLogicalDeviceIdHasBeenSet; }
257 template <typename AwsLogicalDeviceIdT = Aws::String>
258 void SetAwsLogicalDeviceId(AwsLogicalDeviceIdT&& value) {
259 m_awsLogicalDeviceIdHasBeenSet = true;
260 m_awsLogicalDeviceId = std::forward<AwsLogicalDeviceIdT>(value);
261 }
262 template <typename AwsLogicalDeviceIdT = Aws::String>
263 Lag& WithAwsLogicalDeviceId(AwsLogicalDeviceIdT&& value) {
264 SetAwsLogicalDeviceId(std::forward<AwsLogicalDeviceIdT>(value));
265 return *this;
266 }
268
270
273 inline const Aws::Vector<Connection>& GetConnections() const { return m_connections; }
274 inline bool ConnectionsHasBeenSet() const { return m_connectionsHasBeenSet; }
275 template <typename ConnectionsT = Aws::Vector<Connection>>
276 void SetConnections(ConnectionsT&& value) {
277 m_connectionsHasBeenSet = true;
278 m_connections = std::forward<ConnectionsT>(value);
279 }
280 template <typename ConnectionsT = Aws::Vector<Connection>>
281 Lag& WithConnections(ConnectionsT&& value) {
282 SetConnections(std::forward<ConnectionsT>(value));
283 return *this;
284 }
285 template <typename ConnectionsT = Connection>
286 Lag& AddConnections(ConnectionsT&& value) {
287 m_connectionsHasBeenSet = true;
288 m_connections.emplace_back(std::forward<ConnectionsT>(value));
289 return *this;
290 }
292
294
297 inline bool GetAllowsHostedConnections() const { return m_allowsHostedConnections; }
298 inline bool AllowsHostedConnectionsHasBeenSet() const { return m_allowsHostedConnectionsHasBeenSet; }
299 inline void SetAllowsHostedConnections(bool value) {
300 m_allowsHostedConnectionsHasBeenSet = true;
301 m_allowsHostedConnections = value;
302 }
303 inline Lag& WithAllowsHostedConnections(bool value) {
305 return *this;
306 }
308
310
313 inline bool GetJumboFrameCapable() const { return m_jumboFrameCapable; }
314 inline bool JumboFrameCapableHasBeenSet() const { return m_jumboFrameCapableHasBeenSet; }
315 inline void SetJumboFrameCapable(bool value) {
316 m_jumboFrameCapableHasBeenSet = true;
317 m_jumboFrameCapable = value;
318 }
319 inline Lag& WithJumboFrameCapable(bool value) {
321 return *this;
322 }
324
326
330 inline HasLogicalRedundancy GetHasLogicalRedundancy() const { return m_hasLogicalRedundancy; }
331 inline bool HasLogicalRedundancyHasBeenSet() const { return m_hasLogicalRedundancyHasBeenSet; }
333 m_hasLogicalRedundancyHasBeenSet = true;
334 m_hasLogicalRedundancy = value;
335 }
338 return *this;
339 }
341
343
346 inline const Aws::Vector<Tag>& GetTags() const { return m_tags; }
347 inline bool TagsHasBeenSet() const { return m_tagsHasBeenSet; }
348 template <typename TagsT = Aws::Vector<Tag>>
349 void SetTags(TagsT&& value) {
350 m_tagsHasBeenSet = true;
351 m_tags = std::forward<TagsT>(value);
352 }
353 template <typename TagsT = Aws::Vector<Tag>>
354 Lag& WithTags(TagsT&& value) {
355 SetTags(std::forward<TagsT>(value));
356 return *this;
357 }
358 template <typename TagsT = Tag>
359 Lag& AddTags(TagsT&& value) {
360 m_tagsHasBeenSet = true;
361 m_tags.emplace_back(std::forward<TagsT>(value));
362 return *this;
363 }
365
367
370 inline const Aws::String& GetProviderName() const { return m_providerName; }
371 inline bool ProviderNameHasBeenSet() const { return m_providerNameHasBeenSet; }
372 template <typename ProviderNameT = Aws::String>
373 void SetProviderName(ProviderNameT&& value) {
374 m_providerNameHasBeenSet = true;
375 m_providerName = std::forward<ProviderNameT>(value);
376 }
377 template <typename ProviderNameT = Aws::String>
378 Lag& WithProviderName(ProviderNameT&& value) {
379 SetProviderName(std::forward<ProviderNameT>(value));
380 return *this;
381 }
383
385
388 inline bool GetMacSecCapable() const { return m_macSecCapable; }
389 inline bool MacSecCapableHasBeenSet() const { return m_macSecCapableHasBeenSet; }
390 inline void SetMacSecCapable(bool value) {
391 m_macSecCapableHasBeenSet = true;
392 m_macSecCapable = value;
393 }
394 inline Lag& WithMacSecCapable(bool value) {
395 SetMacSecCapable(value);
396 return *this;
397 }
399
401
406 inline const Aws::String& GetEncryptionMode() const { return m_encryptionMode; }
407 inline bool EncryptionModeHasBeenSet() const { return m_encryptionModeHasBeenSet; }
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>
414 Lag& WithEncryptionMode(EncryptionModeT&& value) {
415 SetEncryptionMode(std::forward<EncryptionModeT>(value));
416 return *this;
417 }
419
421
424 inline const Aws::Vector<MacSecKey>& GetMacSecKeys() const { return m_macSecKeys; }
425 inline bool MacSecKeysHasBeenSet() const { return m_macSecKeysHasBeenSet; }
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>>
432 Lag& WithMacSecKeys(MacSecKeysT&& value) {
433 SetMacSecKeys(std::forward<MacSecKeysT>(value));
434 return *this;
435 }
436 template <typename MacSecKeysT = MacSecKey>
437 Lag& AddMacSecKeys(MacSecKeysT&& value) {
438 m_macSecKeysHasBeenSet = true;
439 m_macSecKeys.emplace_back(std::forward<MacSecKeysT>(value));
440 return *this;
441 }
443
445
450 inline int GetPrefixPoolSizeIpv4() const { return m_prefixPoolSizeIpv4; }
451 inline bool PrefixPoolSizeIpv4HasBeenSet() const { return m_prefixPoolSizeIpv4HasBeenSet; }
452 inline void SetPrefixPoolSizeIpv4(int value) {
453 m_prefixPoolSizeIpv4HasBeenSet = true;
454 m_prefixPoolSizeIpv4 = value;
455 }
456 inline Lag& WithPrefixPoolSizeIpv4(int value) {
458 return *this;
459 }
461
463
468 inline int GetPrefixPoolSizeIpv6() const { return m_prefixPoolSizeIpv6; }
469 inline bool PrefixPoolSizeIpv6HasBeenSet() const { return m_prefixPoolSizeIpv6HasBeenSet; }
470 inline void SetPrefixPoolSizeIpv6(int value) {
471 m_prefixPoolSizeIpv6HasBeenSet = true;
472 m_prefixPoolSizeIpv6 = value;
473 }
474 inline Lag& WithPrefixPoolSizeIpv6(int value) {
476 return *this;
477 }
479
481
486 inline int GetPrefixPoolUnallocatedCountIpv4() const { return m_prefixPoolUnallocatedCountIpv4; }
487 inline bool PrefixPoolUnallocatedCountIpv4HasBeenSet() const { return m_prefixPoolUnallocatedCountIpv4HasBeenSet; }
488 inline void SetPrefixPoolUnallocatedCountIpv4(int value) {
489 m_prefixPoolUnallocatedCountIpv4HasBeenSet = true;
490 m_prefixPoolUnallocatedCountIpv4 = value;
491 }
494 return *this;
495 }
497
499
504 inline int GetPrefixPoolUnallocatedCountIpv6() const { return m_prefixPoolUnallocatedCountIpv6; }
505 inline bool PrefixPoolUnallocatedCountIpv6HasBeenSet() const { return m_prefixPoolUnallocatedCountIpv6HasBeenSet; }
506 inline void SetPrefixPoolUnallocatedCountIpv6(int value) {
507 m_prefixPoolUnallocatedCountIpv6HasBeenSet = true;
508 m_prefixPoolUnallocatedCountIpv6 = value;
509 }
512 return *this;
513 }
515
517
521 inline const RateLimiterStatus& GetRateLimiterStatus() const { return m_rateLimiterStatus; }
522 inline bool RateLimiterStatusHasBeenSet() const { return m_rateLimiterStatusHasBeenSet; }
523 template <typename RateLimiterStatusT = RateLimiterStatus>
524 void SetRateLimiterStatus(RateLimiterStatusT&& value) {
525 m_rateLimiterStatusHasBeenSet = true;
526 m_rateLimiterStatus = std::forward<RateLimiterStatusT>(value);
527 }
528 template <typename RateLimiterStatusT = RateLimiterStatus>
529 Lag& WithRateLimiterStatus(RateLimiterStatusT&& value) {
530 SetRateLimiterStatus(std::forward<RateLimiterStatusT>(value));
531 return *this;
532 }
534
536
539 inline BillingMode GetBillingMode() const { return m_billingMode; }
540 inline bool BillingModeHasBeenSet() const { return m_billingModeHasBeenSet; }
541 inline void SetBillingMode(BillingMode value) {
542 m_billingModeHasBeenSet = true;
543 m_billingMode = value;
544 }
546 SetBillingMode(value);
547 return *this;
548 }
550
552
553 inline const Aws::String& GetRequestId() const { return m_requestId; }
554 inline bool RequestIdHasBeenSet() const { return m_requestIdHasBeenSet; }
555 template <typename RequestIdT = Aws::String>
556 void SetRequestId(RequestIdT&& value) {
557 m_requestIdHasBeenSet = true;
558 m_requestId = std::forward<RequestIdT>(value);
559 }
560 template <typename RequestIdT = Aws::String>
561 Lag& WithRequestId(RequestIdT&& value) {
562 SetRequestId(std::forward<RequestIdT>(value));
563 return *this;
564 }
566 private:
567 Aws::String m_connectionsBandwidth;
568
569 int m_numberOfConnections{0};
570
571 Aws::String m_lagId;
572
573 Aws::String m_ownerAccount;
574
575 Aws::String m_lagName;
576
577 LagState m_lagState{LagState::NOT_SET};
578
579 Aws::String m_location;
580
581 Aws::String m_region;
582
583 int m_minimumLinks{0};
584
585 Aws::String m_awsDevice;
586
587 Aws::String m_awsDeviceV2;
588
589 Aws::String m_awsLogicalDeviceId;
590
591 Aws::Vector<Connection> m_connections;
592
593 bool m_allowsHostedConnections{false};
594
595 bool m_jumboFrameCapable{false};
596
598
599 Aws::Vector<Tag> m_tags;
600
601 Aws::String m_providerName;
602
603 bool m_macSecCapable{false};
604
605 Aws::String m_encryptionMode;
606
607 Aws::Vector<MacSecKey> m_macSecKeys;
608
609 int m_prefixPoolSizeIpv4{0};
610
611 int m_prefixPoolSizeIpv6{0};
612
613 int m_prefixPoolUnallocatedCountIpv4{0};
614
615 int m_prefixPoolUnallocatedCountIpv6{0};
616
617 RateLimiterStatus m_rateLimiterStatus;
618
619 BillingMode m_billingMode{BillingMode::NOT_SET};
620
621 Aws::String m_requestId;
622 bool m_connectionsBandwidthHasBeenSet = false;
623 bool m_numberOfConnectionsHasBeenSet = false;
624 bool m_lagIdHasBeenSet = false;
625 bool m_ownerAccountHasBeenSet = false;
626 bool m_lagNameHasBeenSet = false;
627 bool m_lagStateHasBeenSet = false;
628 bool m_locationHasBeenSet = false;
629 bool m_regionHasBeenSet = false;
630 bool m_minimumLinksHasBeenSet = false;
631 bool m_awsDeviceHasBeenSet = false;
632 bool m_awsDeviceV2HasBeenSet = false;
633 bool m_awsLogicalDeviceIdHasBeenSet = false;
634 bool m_connectionsHasBeenSet = false;
635 bool m_allowsHostedConnectionsHasBeenSet = false;
636 bool m_jumboFrameCapableHasBeenSet = false;
637 bool m_hasLogicalRedundancyHasBeenSet = false;
638 bool m_tagsHasBeenSet = false;
639 bool m_providerNameHasBeenSet = false;
640 bool m_macSecCapableHasBeenSet = false;
641 bool m_encryptionModeHasBeenSet = false;
642 bool m_macSecKeysHasBeenSet = false;
643 bool m_prefixPoolSizeIpv4HasBeenSet = false;
644 bool m_prefixPoolSizeIpv6HasBeenSet = false;
645 bool m_prefixPoolUnallocatedCountIpv4HasBeenSet = false;
646 bool m_prefixPoolUnallocatedCountIpv6HasBeenSet = false;
647 bool m_rateLimiterStatusHasBeenSet = false;
648 bool m_billingModeHasBeenSet = false;
649 bool m_requestIdHasBeenSet = false;
650};
651
652} // namespace Model
653} // namespace DirectConnect
654} // namespace Aws
const Aws::String & GetLagName() const
Definition Lag.h:121
bool GetJumboFrameCapable() const
Definition Lag.h:313
BillingMode GetBillingMode() const
Definition Lag.h:539
Lag & WithJumboFrameCapable(bool value)
Definition Lag.h:319
bool BillingModeHasBeenSet() const
Definition Lag.h:540
Lag & WithAwsLogicalDeviceId(AwsLogicalDeviceIdT &&value)
Definition Lag.h:263
bool ConnectionsHasBeenSet() const
Definition Lag.h:274
int GetPrefixPoolUnallocatedCountIpv6() const
Definition Lag.h:504
Lag & WithLagState(LagState value)
Definition Lag.h:154
void SetAwsDeviceV2(AwsDeviceV2T &&value)
Definition Lag.h:238
void SetLagState(LagState value)
Definition Lag.h:150
const Aws::Vector< Tag > & GetTags() const
Definition Lag.h:346
bool MacSecCapableHasBeenSet() const
Definition Lag.h:389
const Aws::String & GetLagId() const
Definition Lag.h:85
Lag & WithBillingMode(BillingMode value)
Definition Lag.h:545
void SetJumboFrameCapable(bool value)
Definition Lag.h:315
bool LagNameHasBeenSet() const
Definition Lag.h:122
Lag & WithNumberOfConnections(int value)
Definition Lag.h:75
void SetRateLimiterStatus(RateLimiterStatusT &&value)
Definition Lag.h:524
bool AwsDeviceHasBeenSet() const
Definition Lag.h:218
const Aws::String & GetConnectionsBandwidth() const
Definition Lag.h:48
void SetHasLogicalRedundancy(HasLogicalRedundancy value)
Definition Lag.h:332
Lag & AddMacSecKeys(MacSecKeysT &&value)
Definition Lag.h:437
void SetMinimumLinks(int value)
Definition Lag.h:203
const Aws::Vector< Connection > & GetConnections() const
Definition Lag.h:273
AWS_DIRECTCONNECT_API Lag()=default
const Aws::String & GetRegion() const
Definition Lag.h:182
const Aws::String & GetAwsLogicalDeviceId() const
Definition Lag.h:255
Lag & WithPrefixPoolUnallocatedCountIpv6(int value)
Definition Lag.h:510
void SetPrefixPoolSizeIpv4(int value)
Definition Lag.h:452
bool MacSecKeysHasBeenSet() const
Definition Lag.h:425
Lag & WithLocation(LocationT &&value)
Definition Lag.h:172
HasLogicalRedundancy GetHasLogicalRedundancy() const
Definition Lag.h:330
bool PrefixPoolUnallocatedCountIpv4HasBeenSet() const
Definition Lag.h:487
const Aws::String & GetLocation() const
Definition Lag.h:164
void SetMacSecCapable(bool value)
Definition Lag.h:390
Lag & WithRateLimiterStatus(RateLimiterStatusT &&value)
Definition Lag.h:529
bool EncryptionModeHasBeenSet() const
Definition Lag.h:407
Lag & WithRequestId(RequestIdT &&value)
Definition Lag.h:561
bool TagsHasBeenSet() const
Definition Lag.h:347
AWS_DIRECTCONNECT_API Lag & operator=(Aws::Utils::Json::JsonView jsonValue)
Lag & AddConnections(ConnectionsT &&value)
Definition Lag.h:286
Lag & WithMacSecCapable(bool value)
Definition Lag.h:394
AWS_DIRECTCONNECT_API Aws::Utils::Json::JsonValue Jsonize() const
Lag & WithOwnerAccount(OwnerAccountT &&value)
Definition Lag.h:111
Lag & WithPrefixPoolSizeIpv6(int value)
Definition Lag.h:474
const RateLimiterStatus & GetRateLimiterStatus() const
Definition Lag.h:521
Lag & WithMinimumLinks(int value)
Definition Lag.h:207
bool RequestIdHasBeenSet() const
Definition Lag.h:554
bool LagStateHasBeenSet() const
Definition Lag.h:149
Lag & WithAwsDeviceV2(AwsDeviceV2T &&value)
Definition Lag.h:243
const Aws::Vector< MacSecKey > & GetMacSecKeys() const
Definition Lag.h:424
void SetAllowsHostedConnections(bool value)
Definition Lag.h:299
const Aws::String & GetRequestId() const
Definition Lag.h:553
bool LocationHasBeenSet() const
Definition Lag.h:165
bool GetMacSecCapable() const
Definition Lag.h:388
bool AwsLogicalDeviceIdHasBeenSet() const
Definition Lag.h:256
const Aws::String & GetOwnerAccount() const
Definition Lag.h:103
Lag & WithEncryptionMode(EncryptionModeT &&value)
Definition Lag.h:414
void SetAwsDevice(AwsDeviceT &&value)
Definition Lag.h:220
const Aws::String & GetAwsDeviceV2() const
Definition Lag.h:235
bool RegionHasBeenSet() const
Definition Lag.h:183
Lag & WithLagId(LagIdT &&value)
Definition Lag.h:93
bool AllowsHostedConnectionsHasBeenSet() const
Definition Lag.h:298
const Aws::String & GetAwsDevice() const
Definition Lag.h:217
void SetNumberOfConnections(int value)
Definition Lag.h:71
Lag & WithLagName(LagNameT &&value)
Definition Lag.h:129
Lag & WithConnections(ConnectionsT &&value)
Definition Lag.h:281
void SetPrefixPoolUnallocatedCountIpv4(int value)
Definition Lag.h:488
Lag & WithTags(TagsT &&value)
Definition Lag.h:354
LagState GetLagState() const
Definition Lag.h:148
bool LagIdHasBeenSet() const
Definition Lag.h:86
int GetPrefixPoolSizeIpv6() const
Definition Lag.h:468
void SetMacSecKeys(MacSecKeysT &&value)
Definition Lag.h:427
void SetConnectionsBandwidth(ConnectionsBandwidthT &&value)
Definition Lag.h:51
void SetLocation(LocationT &&value)
Definition Lag.h:167
bool NumberOfConnectionsHasBeenSet() const
Definition Lag.h:70
void SetTags(TagsT &&value)
Definition Lag.h:349
void SetRequestId(RequestIdT &&value)
Definition Lag.h:556
Lag & WithConnectionsBandwidth(ConnectionsBandwidthT &&value)
Definition Lag.h:56
const Aws::String & GetEncryptionMode() const
Definition Lag.h:406
int GetNumberOfConnections() const
Definition Lag.h:69
Lag & WithPrefixPoolUnallocatedCountIpv4(int value)
Definition Lag.h:492
Lag & WithProviderName(ProviderNameT &&value)
Definition Lag.h:378
const Aws::String & GetProviderName() const
Definition Lag.h:370
void SetPrefixPoolUnallocatedCountIpv6(int value)
Definition Lag.h:506
bool PrefixPoolSizeIpv4HasBeenSet() const
Definition Lag.h:451
void SetOwnerAccount(OwnerAccountT &&value)
Definition Lag.h:106
Lag & WithAwsDevice(AwsDeviceT &&value)
Definition Lag.h:225
void SetBillingMode(BillingMode value)
Definition Lag.h:541
Lag & WithAllowsHostedConnections(bool value)
Definition Lag.h:303
void SetLagId(LagIdT &&value)
Definition Lag.h:88
int GetPrefixPoolUnallocatedCountIpv4() const
Definition Lag.h:486
bool MinimumLinksHasBeenSet() const
Definition Lag.h:202
void SetRegion(RegionT &&value)
Definition Lag.h:185
bool AwsDeviceV2HasBeenSet() const
Definition Lag.h:236
void SetConnections(ConnectionsT &&value)
Definition Lag.h:276
AWS_DIRECTCONNECT_API Lag(Aws::Utils::Json::JsonView jsonValue)
bool PrefixPoolSizeIpv6HasBeenSet() const
Definition Lag.h:469
bool PrefixPoolUnallocatedCountIpv6HasBeenSet() const
Definition Lag.h:505
void SetEncryptionMode(EncryptionModeT &&value)
Definition Lag.h:409
bool OwnerAccountHasBeenSet() const
Definition Lag.h:104
Lag & WithMacSecKeys(MacSecKeysT &&value)
Definition Lag.h:432
Lag & AddTags(TagsT &&value)
Definition Lag.h:359
Lag & WithRegion(RegionT &&value)
Definition Lag.h:190
int GetMinimumLinks() const
Definition Lag.h:201
bool GetAllowsHostedConnections() const
Definition Lag.h:297
bool ConnectionsBandwidthHasBeenSet() const
Definition Lag.h:49
int GetPrefixPoolSizeIpv4() const
Definition Lag.h:450
Lag & WithHasLogicalRedundancy(HasLogicalRedundancy value)
Definition Lag.h:336
void SetPrefixPoolSizeIpv6(int value)
Definition Lag.h:470
void SetAwsLogicalDeviceId(AwsLogicalDeviceIdT &&value)
Definition Lag.h:258
bool HasLogicalRedundancyHasBeenSet() const
Definition Lag.h:331
bool RateLimiterStatusHasBeenSet() const
Definition Lag.h:522
void SetProviderName(ProviderNameT &&value)
Definition Lag.h:373
void SetLagName(LagNameT &&value)
Definition Lag.h:124
bool JumboFrameCapableHasBeenSet() const
Definition Lag.h:314
Lag & WithPrefixPoolSizeIpv4(int value)
Definition Lag.h:456
bool ProviderNameHasBeenSet() const
Definition Lag.h:371
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
std::vector< T, Aws::Allocator< T > > Vector
Aws::Utils::Json::JsonValue JsonValue