AWS SDK for C++

AWS SDK for C++ Version 1.11.875

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/Connection.h>
11#include <aws/directconnect/model/HasLogicalRedundancy.h>
12#include <aws/directconnect/model/LagState.h>
13#include <aws/directconnect/model/MacSecKey.h>
14#include <aws/directconnect/model/RateLimiterStatus.h>
15#include <aws/directconnect/model/Tag.h>
16
17#include <utility>
18
19namespace Aws {
20namespace Utils {
21namespace Json {
22class JsonValue;
23class JsonView;
24} // namespace Json
25} // namespace Utils
26namespace DirectConnect {
27namespace Model {
28
35class Lag {
36 public:
37 AWS_DIRECTCONNECT_API Lag() = default;
38 AWS_DIRECTCONNECT_API Lag(Aws::Utils::Json::JsonView jsonValue);
39 AWS_DIRECTCONNECT_API Lag& operator=(Aws::Utils::Json::JsonView jsonValue);
40 AWS_DIRECTCONNECT_API Aws::Utils::Json::JsonValue Jsonize() const;
41
43
47 inline const Aws::String& GetConnectionsBandwidth() const { return m_connectionsBandwidth; }
48 inline bool ConnectionsBandwidthHasBeenSet() const { return m_connectionsBandwidthHasBeenSet; }
49 template <typename ConnectionsBandwidthT = Aws::String>
50 void SetConnectionsBandwidth(ConnectionsBandwidthT&& value) {
51 m_connectionsBandwidthHasBeenSet = true;
52 m_connectionsBandwidth = std::forward<ConnectionsBandwidthT>(value);
53 }
54 template <typename ConnectionsBandwidthT = Aws::String>
55 Lag& WithConnectionsBandwidth(ConnectionsBandwidthT&& value) {
56 SetConnectionsBandwidth(std::forward<ConnectionsBandwidthT>(value));
57 return *this;
58 }
60
62
68 inline int GetNumberOfConnections() const { return m_numberOfConnections; }
69 inline bool NumberOfConnectionsHasBeenSet() const { return m_numberOfConnectionsHasBeenSet; }
70 inline void SetNumberOfConnections(int value) {
71 m_numberOfConnectionsHasBeenSet = true;
72 m_numberOfConnections = value;
73 }
74 inline Lag& WithNumberOfConnections(int value) {
76 return *this;
77 }
79
81
84 inline const Aws::String& GetLagId() const { return m_lagId; }
85 inline bool LagIdHasBeenSet() const { return m_lagIdHasBeenSet; }
86 template <typename LagIdT = Aws::String>
87 void SetLagId(LagIdT&& value) {
88 m_lagIdHasBeenSet = true;
89 m_lagId = std::forward<LagIdT>(value);
90 }
91 template <typename LagIdT = Aws::String>
92 Lag& WithLagId(LagIdT&& value) {
93 SetLagId(std::forward<LagIdT>(value));
94 return *this;
95 }
97
99
102 inline const Aws::String& GetOwnerAccount() const { return m_ownerAccount; }
103 inline bool OwnerAccountHasBeenSet() const { return m_ownerAccountHasBeenSet; }
104 template <typename OwnerAccountT = Aws::String>
105 void SetOwnerAccount(OwnerAccountT&& value) {
106 m_ownerAccountHasBeenSet = true;
107 m_ownerAccount = std::forward<OwnerAccountT>(value);
108 }
109 template <typename OwnerAccountT = Aws::String>
110 Lag& WithOwnerAccount(OwnerAccountT&& value) {
111 SetOwnerAccount(std::forward<OwnerAccountT>(value));
112 return *this;
113 }
115
117
120 inline const Aws::String& GetLagName() const { return m_lagName; }
121 inline bool LagNameHasBeenSet() const { return m_lagNameHasBeenSet; }
122 template <typename LagNameT = Aws::String>
123 void SetLagName(LagNameT&& value) {
124 m_lagNameHasBeenSet = true;
125 m_lagName = std::forward<LagNameT>(value);
126 }
127 template <typename LagNameT = Aws::String>
128 Lag& WithLagName(LagNameT&& value) {
129 SetLagName(std::forward<LagNameT>(value));
130 return *this;
131 }
133
135
147 inline LagState GetLagState() const { return m_lagState; }
148 inline bool LagStateHasBeenSet() const { return m_lagStateHasBeenSet; }
149 inline void SetLagState(LagState value) {
150 m_lagStateHasBeenSet = true;
151 m_lagState = value;
152 }
153 inline Lag& WithLagState(LagState value) {
154 SetLagState(value);
155 return *this;
156 }
158
160
163 inline const Aws::String& GetLocation() const { return m_location; }
164 inline bool LocationHasBeenSet() const { return m_locationHasBeenSet; }
165 template <typename LocationT = Aws::String>
166 void SetLocation(LocationT&& value) {
167 m_locationHasBeenSet = true;
168 m_location = std::forward<LocationT>(value);
169 }
170 template <typename LocationT = Aws::String>
171 Lag& WithLocation(LocationT&& value) {
172 SetLocation(std::forward<LocationT>(value));
173 return *this;
174 }
176
178
181 inline const Aws::String& GetRegion() const { return m_region; }
182 inline bool RegionHasBeenSet() const { return m_regionHasBeenSet; }
183 template <typename RegionT = Aws::String>
184 void SetRegion(RegionT&& value) {
185 m_regionHasBeenSet = true;
186 m_region = std::forward<RegionT>(value);
187 }
188 template <typename RegionT = Aws::String>
189 Lag& WithRegion(RegionT&& value) {
190 SetRegion(std::forward<RegionT>(value));
191 return *this;
192 }
194
196
200 inline int GetMinimumLinks() const { return m_minimumLinks; }
201 inline bool MinimumLinksHasBeenSet() const { return m_minimumLinksHasBeenSet; }
202 inline void SetMinimumLinks(int value) {
203 m_minimumLinksHasBeenSet = true;
204 m_minimumLinks = value;
205 }
206 inline Lag& WithMinimumLinks(int value) {
207 SetMinimumLinks(value);
208 return *this;
209 }
211
213
216 inline const Aws::String& GetAwsDevice() const { return m_awsDevice; }
217 inline bool AwsDeviceHasBeenSet() const { return m_awsDeviceHasBeenSet; }
218 template <typename AwsDeviceT = Aws::String>
219 void SetAwsDevice(AwsDeviceT&& value) {
220 m_awsDeviceHasBeenSet = true;
221 m_awsDevice = std::forward<AwsDeviceT>(value);
222 }
223 template <typename AwsDeviceT = Aws::String>
224 Lag& WithAwsDevice(AwsDeviceT&& value) {
225 SetAwsDevice(std::forward<AwsDeviceT>(value));
226 return *this;
227 }
229
231
234 inline const Aws::String& GetAwsDeviceV2() const { return m_awsDeviceV2; }
235 inline bool AwsDeviceV2HasBeenSet() const { return m_awsDeviceV2HasBeenSet; }
236 template <typename AwsDeviceV2T = Aws::String>
237 void SetAwsDeviceV2(AwsDeviceV2T&& value) {
238 m_awsDeviceV2HasBeenSet = true;
239 m_awsDeviceV2 = std::forward<AwsDeviceV2T>(value);
240 }
241 template <typename AwsDeviceV2T = Aws::String>
242 Lag& WithAwsDeviceV2(AwsDeviceV2T&& value) {
243 SetAwsDeviceV2(std::forward<AwsDeviceV2T>(value));
244 return *this;
245 }
247
249
254 inline const Aws::String& GetAwsLogicalDeviceId() const { return m_awsLogicalDeviceId; }
255 inline bool AwsLogicalDeviceIdHasBeenSet() const { return m_awsLogicalDeviceIdHasBeenSet; }
256 template <typename AwsLogicalDeviceIdT = Aws::String>
257 void SetAwsLogicalDeviceId(AwsLogicalDeviceIdT&& value) {
258 m_awsLogicalDeviceIdHasBeenSet = true;
259 m_awsLogicalDeviceId = std::forward<AwsLogicalDeviceIdT>(value);
260 }
261 template <typename AwsLogicalDeviceIdT = Aws::String>
262 Lag& WithAwsLogicalDeviceId(AwsLogicalDeviceIdT&& value) {
263 SetAwsLogicalDeviceId(std::forward<AwsLogicalDeviceIdT>(value));
264 return *this;
265 }
267
269
272 inline const Aws::Vector<Connection>& GetConnections() const { return m_connections; }
273 inline bool ConnectionsHasBeenSet() const { return m_connectionsHasBeenSet; }
274 template <typename ConnectionsT = Aws::Vector<Connection>>
275 void SetConnections(ConnectionsT&& value) {
276 m_connectionsHasBeenSet = true;
277 m_connections = std::forward<ConnectionsT>(value);
278 }
279 template <typename ConnectionsT = Aws::Vector<Connection>>
280 Lag& WithConnections(ConnectionsT&& value) {
281 SetConnections(std::forward<ConnectionsT>(value));
282 return *this;
283 }
284 template <typename ConnectionsT = Connection>
285 Lag& AddConnections(ConnectionsT&& value) {
286 m_connectionsHasBeenSet = true;
287 m_connections.emplace_back(std::forward<ConnectionsT>(value));
288 return *this;
289 }
291
293
296 inline bool GetAllowsHostedConnections() const { return m_allowsHostedConnections; }
297 inline bool AllowsHostedConnectionsHasBeenSet() const { return m_allowsHostedConnectionsHasBeenSet; }
298 inline void SetAllowsHostedConnections(bool value) {
299 m_allowsHostedConnectionsHasBeenSet = true;
300 m_allowsHostedConnections = value;
301 }
302 inline Lag& WithAllowsHostedConnections(bool value) {
304 return *this;
305 }
307
309
312 inline bool GetJumboFrameCapable() const { return m_jumboFrameCapable; }
313 inline bool JumboFrameCapableHasBeenSet() const { return m_jumboFrameCapableHasBeenSet; }
314 inline void SetJumboFrameCapable(bool value) {
315 m_jumboFrameCapableHasBeenSet = true;
316 m_jumboFrameCapable = value;
317 }
318 inline Lag& WithJumboFrameCapable(bool value) {
320 return *this;
321 }
323
325
329 inline HasLogicalRedundancy GetHasLogicalRedundancy() const { return m_hasLogicalRedundancy; }
330 inline bool HasLogicalRedundancyHasBeenSet() const { return m_hasLogicalRedundancyHasBeenSet; }
332 m_hasLogicalRedundancyHasBeenSet = true;
333 m_hasLogicalRedundancy = value;
334 }
337 return *this;
338 }
340
342
345 inline const Aws::Vector<Tag>& GetTags() const { return m_tags; }
346 inline bool TagsHasBeenSet() const { return m_tagsHasBeenSet; }
347 template <typename TagsT = Aws::Vector<Tag>>
348 void SetTags(TagsT&& value) {
349 m_tagsHasBeenSet = true;
350 m_tags = std::forward<TagsT>(value);
351 }
352 template <typename TagsT = Aws::Vector<Tag>>
353 Lag& WithTags(TagsT&& value) {
354 SetTags(std::forward<TagsT>(value));
355 return *this;
356 }
357 template <typename TagsT = Tag>
358 Lag& AddTags(TagsT&& value) {
359 m_tagsHasBeenSet = true;
360 m_tags.emplace_back(std::forward<TagsT>(value));
361 return *this;
362 }
364
366
369 inline const Aws::String& GetProviderName() const { return m_providerName; }
370 inline bool ProviderNameHasBeenSet() const { return m_providerNameHasBeenSet; }
371 template <typename ProviderNameT = Aws::String>
372 void SetProviderName(ProviderNameT&& value) {
373 m_providerNameHasBeenSet = true;
374 m_providerName = std::forward<ProviderNameT>(value);
375 }
376 template <typename ProviderNameT = Aws::String>
377 Lag& WithProviderName(ProviderNameT&& value) {
378 SetProviderName(std::forward<ProviderNameT>(value));
379 return *this;
380 }
382
384
387 inline bool GetMacSecCapable() const { return m_macSecCapable; }
388 inline bool MacSecCapableHasBeenSet() const { return m_macSecCapableHasBeenSet; }
389 inline void SetMacSecCapable(bool value) {
390 m_macSecCapableHasBeenSet = true;
391 m_macSecCapable = value;
392 }
393 inline Lag& WithMacSecCapable(bool value) {
394 SetMacSecCapable(value);
395 return *this;
396 }
398
400
405 inline const Aws::String& GetEncryptionMode() const { return m_encryptionMode; }
406 inline bool EncryptionModeHasBeenSet() const { return m_encryptionModeHasBeenSet; }
407 template <typename EncryptionModeT = Aws::String>
408 void SetEncryptionMode(EncryptionModeT&& value) {
409 m_encryptionModeHasBeenSet = true;
410 m_encryptionMode = std::forward<EncryptionModeT>(value);
411 }
412 template <typename EncryptionModeT = Aws::String>
413 Lag& WithEncryptionMode(EncryptionModeT&& value) {
414 SetEncryptionMode(std::forward<EncryptionModeT>(value));
415 return *this;
416 }
418
420
423 inline const Aws::Vector<MacSecKey>& GetMacSecKeys() const { return m_macSecKeys; }
424 inline bool MacSecKeysHasBeenSet() const { return m_macSecKeysHasBeenSet; }
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>>
431 Lag& WithMacSecKeys(MacSecKeysT&& value) {
432 SetMacSecKeys(std::forward<MacSecKeysT>(value));
433 return *this;
434 }
435 template <typename MacSecKeysT = MacSecKey>
436 Lag& AddMacSecKeys(MacSecKeysT&& value) {
437 m_macSecKeysHasBeenSet = true;
438 m_macSecKeys.emplace_back(std::forward<MacSecKeysT>(value));
439 return *this;
440 }
442
444
449 inline int GetPrefixPoolSizeIpv4() const { return m_prefixPoolSizeIpv4; }
450 inline bool PrefixPoolSizeIpv4HasBeenSet() const { return m_prefixPoolSizeIpv4HasBeenSet; }
451 inline void SetPrefixPoolSizeIpv4(int value) {
452 m_prefixPoolSizeIpv4HasBeenSet = true;
453 m_prefixPoolSizeIpv4 = value;
454 }
455 inline Lag& WithPrefixPoolSizeIpv4(int value) {
457 return *this;
458 }
460
462
467 inline int GetPrefixPoolSizeIpv6() const { return m_prefixPoolSizeIpv6; }
468 inline bool PrefixPoolSizeIpv6HasBeenSet() const { return m_prefixPoolSizeIpv6HasBeenSet; }
469 inline void SetPrefixPoolSizeIpv6(int value) {
470 m_prefixPoolSizeIpv6HasBeenSet = true;
471 m_prefixPoolSizeIpv6 = value;
472 }
473 inline Lag& WithPrefixPoolSizeIpv6(int value) {
475 return *this;
476 }
478
480
485 inline int GetPrefixPoolUnallocatedCountIpv4() const { return m_prefixPoolUnallocatedCountIpv4; }
486 inline bool PrefixPoolUnallocatedCountIpv4HasBeenSet() const { return m_prefixPoolUnallocatedCountIpv4HasBeenSet; }
487 inline void SetPrefixPoolUnallocatedCountIpv4(int value) {
488 m_prefixPoolUnallocatedCountIpv4HasBeenSet = true;
489 m_prefixPoolUnallocatedCountIpv4 = value;
490 }
493 return *this;
494 }
496
498
503 inline int GetPrefixPoolUnallocatedCountIpv6() const { return m_prefixPoolUnallocatedCountIpv6; }
504 inline bool PrefixPoolUnallocatedCountIpv6HasBeenSet() const { return m_prefixPoolUnallocatedCountIpv6HasBeenSet; }
505 inline void SetPrefixPoolUnallocatedCountIpv6(int value) {
506 m_prefixPoolUnallocatedCountIpv6HasBeenSet = true;
507 m_prefixPoolUnallocatedCountIpv6 = value;
508 }
511 return *this;
512 }
514
516
520 inline const RateLimiterStatus& GetRateLimiterStatus() const { return m_rateLimiterStatus; }
521 inline bool RateLimiterStatusHasBeenSet() const { return m_rateLimiterStatusHasBeenSet; }
522 template <typename RateLimiterStatusT = RateLimiterStatus>
523 void SetRateLimiterStatus(RateLimiterStatusT&& value) {
524 m_rateLimiterStatusHasBeenSet = true;
525 m_rateLimiterStatus = std::forward<RateLimiterStatusT>(value);
526 }
527 template <typename RateLimiterStatusT = RateLimiterStatus>
528 Lag& WithRateLimiterStatus(RateLimiterStatusT&& value) {
529 SetRateLimiterStatus(std::forward<RateLimiterStatusT>(value));
530 return *this;
531 }
533
535
536 inline const Aws::String& GetRequestId() const { return m_requestId; }
537 inline bool RequestIdHasBeenSet() const { return m_requestIdHasBeenSet; }
538 template <typename RequestIdT = Aws::String>
539 void SetRequestId(RequestIdT&& value) {
540 m_requestIdHasBeenSet = true;
541 m_requestId = std::forward<RequestIdT>(value);
542 }
543 template <typename RequestIdT = Aws::String>
544 Lag& WithRequestId(RequestIdT&& value) {
545 SetRequestId(std::forward<RequestIdT>(value));
546 return *this;
547 }
549 private:
550 Aws::String m_connectionsBandwidth;
551
552 int m_numberOfConnections{0};
553
554 Aws::String m_lagId;
555
556 Aws::String m_ownerAccount;
557
558 Aws::String m_lagName;
559
560 LagState m_lagState{LagState::NOT_SET};
561
562 Aws::String m_location;
563
564 Aws::String m_region;
565
566 int m_minimumLinks{0};
567
568 Aws::String m_awsDevice;
569
570 Aws::String m_awsDeviceV2;
571
572 Aws::String m_awsLogicalDeviceId;
573
574 Aws::Vector<Connection> m_connections;
575
576 bool m_allowsHostedConnections{false};
577
578 bool m_jumboFrameCapable{false};
579
581
582 Aws::Vector<Tag> m_tags;
583
584 Aws::String m_providerName;
585
586 bool m_macSecCapable{false};
587
588 Aws::String m_encryptionMode;
589
590 Aws::Vector<MacSecKey> m_macSecKeys;
591
592 int m_prefixPoolSizeIpv4{0};
593
594 int m_prefixPoolSizeIpv6{0};
595
596 int m_prefixPoolUnallocatedCountIpv4{0};
597
598 int m_prefixPoolUnallocatedCountIpv6{0};
599
600 RateLimiterStatus m_rateLimiterStatus;
601
602 Aws::String m_requestId;
603 bool m_connectionsBandwidthHasBeenSet = false;
604 bool m_numberOfConnectionsHasBeenSet = false;
605 bool m_lagIdHasBeenSet = false;
606 bool m_ownerAccountHasBeenSet = false;
607 bool m_lagNameHasBeenSet = false;
608 bool m_lagStateHasBeenSet = false;
609 bool m_locationHasBeenSet = false;
610 bool m_regionHasBeenSet = false;
611 bool m_minimumLinksHasBeenSet = false;
612 bool m_awsDeviceHasBeenSet = false;
613 bool m_awsDeviceV2HasBeenSet = false;
614 bool m_awsLogicalDeviceIdHasBeenSet = false;
615 bool m_connectionsHasBeenSet = false;
616 bool m_allowsHostedConnectionsHasBeenSet = false;
617 bool m_jumboFrameCapableHasBeenSet = false;
618 bool m_hasLogicalRedundancyHasBeenSet = false;
619 bool m_tagsHasBeenSet = false;
620 bool m_providerNameHasBeenSet = false;
621 bool m_macSecCapableHasBeenSet = false;
622 bool m_encryptionModeHasBeenSet = false;
623 bool m_macSecKeysHasBeenSet = false;
624 bool m_prefixPoolSizeIpv4HasBeenSet = false;
625 bool m_prefixPoolSizeIpv6HasBeenSet = false;
626 bool m_prefixPoolUnallocatedCountIpv4HasBeenSet = false;
627 bool m_prefixPoolUnallocatedCountIpv6HasBeenSet = false;
628 bool m_rateLimiterStatusHasBeenSet = false;
629 bool m_requestIdHasBeenSet = false;
630};
631
632} // namespace Model
633} // namespace DirectConnect
634} // namespace Aws
const Aws::String & GetLagName() const
Definition Lag.h:120
bool GetJumboFrameCapable() const
Definition Lag.h:312
Lag & WithJumboFrameCapable(bool value)
Definition Lag.h:318
Lag & WithAwsLogicalDeviceId(AwsLogicalDeviceIdT &&value)
Definition Lag.h:262
bool ConnectionsHasBeenSet() const
Definition Lag.h:273
int GetPrefixPoolUnallocatedCountIpv6() const
Definition Lag.h:503
Lag & WithLagState(LagState value)
Definition Lag.h:153
void SetAwsDeviceV2(AwsDeviceV2T &&value)
Definition Lag.h:237
void SetLagState(LagState value)
Definition Lag.h:149
const Aws::Vector< Tag > & GetTags() const
Definition Lag.h:345
bool MacSecCapableHasBeenSet() const
Definition Lag.h:388
const Aws::String & GetLagId() const
Definition Lag.h:84
void SetJumboFrameCapable(bool value)
Definition Lag.h:314
bool LagNameHasBeenSet() const
Definition Lag.h:121
Lag & WithNumberOfConnections(int value)
Definition Lag.h:74
void SetRateLimiterStatus(RateLimiterStatusT &&value)
Definition Lag.h:523
bool AwsDeviceHasBeenSet() const
Definition Lag.h:217
const Aws::String & GetConnectionsBandwidth() const
Definition Lag.h:47
void SetHasLogicalRedundancy(HasLogicalRedundancy value)
Definition Lag.h:331
Lag & AddMacSecKeys(MacSecKeysT &&value)
Definition Lag.h:436
void SetMinimumLinks(int value)
Definition Lag.h:202
const Aws::Vector< Connection > & GetConnections() const
Definition Lag.h:272
AWS_DIRECTCONNECT_API Lag()=default
const Aws::String & GetRegion() const
Definition Lag.h:181
const Aws::String & GetAwsLogicalDeviceId() const
Definition Lag.h:254
Lag & WithPrefixPoolUnallocatedCountIpv6(int value)
Definition Lag.h:509
void SetPrefixPoolSizeIpv4(int value)
Definition Lag.h:451
bool MacSecKeysHasBeenSet() const
Definition Lag.h:424
Lag & WithLocation(LocationT &&value)
Definition Lag.h:171
HasLogicalRedundancy GetHasLogicalRedundancy() const
Definition Lag.h:329
bool PrefixPoolUnallocatedCountIpv4HasBeenSet() const
Definition Lag.h:486
const Aws::String & GetLocation() const
Definition Lag.h:163
void SetMacSecCapable(bool value)
Definition Lag.h:389
Lag & WithRateLimiterStatus(RateLimiterStatusT &&value)
Definition Lag.h:528
bool EncryptionModeHasBeenSet() const
Definition Lag.h:406
Lag & WithRequestId(RequestIdT &&value)
Definition Lag.h:544
bool TagsHasBeenSet() const
Definition Lag.h:346
AWS_DIRECTCONNECT_API Lag & operator=(Aws::Utils::Json::JsonView jsonValue)
Lag & AddConnections(ConnectionsT &&value)
Definition Lag.h:285
Lag & WithMacSecCapable(bool value)
Definition Lag.h:393
AWS_DIRECTCONNECT_API Aws::Utils::Json::JsonValue Jsonize() const
Lag & WithOwnerAccount(OwnerAccountT &&value)
Definition Lag.h:110
Lag & WithPrefixPoolSizeIpv6(int value)
Definition Lag.h:473
const RateLimiterStatus & GetRateLimiterStatus() const
Definition Lag.h:520
Lag & WithMinimumLinks(int value)
Definition Lag.h:206
bool RequestIdHasBeenSet() const
Definition Lag.h:537
bool LagStateHasBeenSet() const
Definition Lag.h:148
Lag & WithAwsDeviceV2(AwsDeviceV2T &&value)
Definition Lag.h:242
const Aws::Vector< MacSecKey > & GetMacSecKeys() const
Definition Lag.h:423
void SetAllowsHostedConnections(bool value)
Definition Lag.h:298
const Aws::String & GetRequestId() const
Definition Lag.h:536
bool LocationHasBeenSet() const
Definition Lag.h:164
bool GetMacSecCapable() const
Definition Lag.h:387
bool AwsLogicalDeviceIdHasBeenSet() const
Definition Lag.h:255
const Aws::String & GetOwnerAccount() const
Definition Lag.h:102
Lag & WithEncryptionMode(EncryptionModeT &&value)
Definition Lag.h:413
void SetAwsDevice(AwsDeviceT &&value)
Definition Lag.h:219
const Aws::String & GetAwsDeviceV2() const
Definition Lag.h:234
bool RegionHasBeenSet() const
Definition Lag.h:182
Lag & WithLagId(LagIdT &&value)
Definition Lag.h:92
bool AllowsHostedConnectionsHasBeenSet() const
Definition Lag.h:297
const Aws::String & GetAwsDevice() const
Definition Lag.h:216
void SetNumberOfConnections(int value)
Definition Lag.h:70
Lag & WithLagName(LagNameT &&value)
Definition Lag.h:128
Lag & WithConnections(ConnectionsT &&value)
Definition Lag.h:280
void SetPrefixPoolUnallocatedCountIpv4(int value)
Definition Lag.h:487
Lag & WithTags(TagsT &&value)
Definition Lag.h:353
LagState GetLagState() const
Definition Lag.h:147
bool LagIdHasBeenSet() const
Definition Lag.h:85
int GetPrefixPoolSizeIpv6() const
Definition Lag.h:467
void SetMacSecKeys(MacSecKeysT &&value)
Definition Lag.h:426
void SetConnectionsBandwidth(ConnectionsBandwidthT &&value)
Definition Lag.h:50
void SetLocation(LocationT &&value)
Definition Lag.h:166
bool NumberOfConnectionsHasBeenSet() const
Definition Lag.h:69
void SetTags(TagsT &&value)
Definition Lag.h:348
void SetRequestId(RequestIdT &&value)
Definition Lag.h:539
Lag & WithConnectionsBandwidth(ConnectionsBandwidthT &&value)
Definition Lag.h:55
const Aws::String & GetEncryptionMode() const
Definition Lag.h:405
int GetNumberOfConnections() const
Definition Lag.h:68
Lag & WithPrefixPoolUnallocatedCountIpv4(int value)
Definition Lag.h:491
Lag & WithProviderName(ProviderNameT &&value)
Definition Lag.h:377
const Aws::String & GetProviderName() const
Definition Lag.h:369
void SetPrefixPoolUnallocatedCountIpv6(int value)
Definition Lag.h:505
bool PrefixPoolSizeIpv4HasBeenSet() const
Definition Lag.h:450
void SetOwnerAccount(OwnerAccountT &&value)
Definition Lag.h:105
Lag & WithAwsDevice(AwsDeviceT &&value)
Definition Lag.h:224
Lag & WithAllowsHostedConnections(bool value)
Definition Lag.h:302
void SetLagId(LagIdT &&value)
Definition Lag.h:87
int GetPrefixPoolUnallocatedCountIpv4() const
Definition Lag.h:485
bool MinimumLinksHasBeenSet() const
Definition Lag.h:201
void SetRegion(RegionT &&value)
Definition Lag.h:184
bool AwsDeviceV2HasBeenSet() const
Definition Lag.h:235
void SetConnections(ConnectionsT &&value)
Definition Lag.h:275
AWS_DIRECTCONNECT_API Lag(Aws::Utils::Json::JsonView jsonValue)
bool PrefixPoolSizeIpv6HasBeenSet() const
Definition Lag.h:468
bool PrefixPoolUnallocatedCountIpv6HasBeenSet() const
Definition Lag.h:504
void SetEncryptionMode(EncryptionModeT &&value)
Definition Lag.h:408
bool OwnerAccountHasBeenSet() const
Definition Lag.h:103
Lag & WithMacSecKeys(MacSecKeysT &&value)
Definition Lag.h:431
Lag & AddTags(TagsT &&value)
Definition Lag.h:358
Lag & WithRegion(RegionT &&value)
Definition Lag.h:189
int GetMinimumLinks() const
Definition Lag.h:200
bool GetAllowsHostedConnections() const
Definition Lag.h:296
bool ConnectionsBandwidthHasBeenSet() const
Definition Lag.h:48
int GetPrefixPoolSizeIpv4() const
Definition Lag.h:449
Lag & WithHasLogicalRedundancy(HasLogicalRedundancy value)
Definition Lag.h:335
void SetPrefixPoolSizeIpv6(int value)
Definition Lag.h:469
void SetAwsLogicalDeviceId(AwsLogicalDeviceIdT &&value)
Definition Lag.h:257
bool HasLogicalRedundancyHasBeenSet() const
Definition Lag.h:330
bool RateLimiterStatusHasBeenSet() const
Definition Lag.h:521
void SetProviderName(ProviderNameT &&value)
Definition Lag.h:372
void SetLagName(LagNameT &&value)
Definition Lag.h:123
bool JumboFrameCapableHasBeenSet() const
Definition Lag.h:313
Lag & WithPrefixPoolSizeIpv4(int value)
Definition Lag.h:455
bool ProviderNameHasBeenSet() const
Definition Lag.h:370
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
std::vector< T, Aws::Allocator< T > > Vector
Aws::Utils::Json::JsonValue JsonValue