AWS SDK for C++

AWS SDK for C++ Version 1.11.895

Loading...
Searching...
No Matches
Connection.h
1
6#pragma once
7#include <aws/core/utils/DateTime.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/BillingMode.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 {
21namespace Utils {
22namespace Json {
23class JsonValue;
24class JsonView;
25} // namespace Json
26} // namespace Utils
27namespace DirectConnect {
28namespace Model {
29
36 public:
37 AWS_DIRECTCONNECT_API Connection() = default;
38 AWS_DIRECTCONNECT_API Connection(Aws::Utils::Json::JsonView jsonValue);
39 AWS_DIRECTCONNECT_API Connection& operator=(Aws::Utils::Json::JsonView jsonValue);
40 AWS_DIRECTCONNECT_API Aws::Utils::Json::JsonValue Jsonize() const;
41
43
46 inline const Aws::String& GetOwnerAccount() const { return m_ownerAccount; }
47 inline bool OwnerAccountHasBeenSet() const { return m_ownerAccountHasBeenSet; }
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>
54 Connection& WithOwnerAccount(OwnerAccountT&& value) {
55 SetOwnerAccount(std::forward<OwnerAccountT>(value));
56 return *this;
57 }
59
61
64 inline const Aws::String& GetConnectionId() const { return m_connectionId; }
65 inline bool ConnectionIdHasBeenSet() const { return m_connectionIdHasBeenSet; }
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>
72 Connection& WithConnectionId(ConnectionIdT&& value) {
73 SetConnectionId(std::forward<ConnectionIdT>(value));
74 return *this;
75 }
77
79
82 inline const Aws::String& GetConnectionName() const { return m_connectionName; }
83 inline bool ConnectionNameHasBeenSet() const { return m_connectionNameHasBeenSet; }
84 template <typename ConnectionNameT = Aws::String>
85 void SetConnectionName(ConnectionNameT&& value) {
86 m_connectionNameHasBeenSet = true;
87 m_connectionName = std::forward<ConnectionNameT>(value);
88 }
89 template <typename ConnectionNameT = Aws::String>
90 Connection& WithConnectionName(ConnectionNameT&& value) {
91 SetConnectionName(std::forward<ConnectionNameT>(value));
92 return *this;
93 }
95
97
115 inline ConnectionState GetConnectionState() const { return m_connectionState; }
116 inline bool ConnectionStateHasBeenSet() const { return m_connectionStateHasBeenSet; }
118 m_connectionStateHasBeenSet = true;
119 m_connectionState = value;
120 }
122 SetConnectionState(value);
123 return *this;
124 }
126
128
131 inline const Aws::String& GetRegion() const { return m_region; }
132 inline bool RegionHasBeenSet() const { return m_regionHasBeenSet; }
133 template <typename RegionT = Aws::String>
134 void SetRegion(RegionT&& value) {
135 m_regionHasBeenSet = true;
136 m_region = std::forward<RegionT>(value);
137 }
138 template <typename RegionT = Aws::String>
139 Connection& WithRegion(RegionT&& value) {
140 SetRegion(std::forward<RegionT>(value));
141 return *this;
142 }
144
146
149 inline const Aws::String& GetLocation() const { return m_location; }
150 inline bool LocationHasBeenSet() const { return m_locationHasBeenSet; }
151 template <typename LocationT = Aws::String>
152 void SetLocation(LocationT&& value) {
153 m_locationHasBeenSet = true;
154 m_location = std::forward<LocationT>(value);
155 }
156 template <typename LocationT = Aws::String>
157 Connection& WithLocation(LocationT&& value) {
158 SetLocation(std::forward<LocationT>(value));
159 return *this;
160 }
162
164
167 inline const Aws::String& GetBandwidth() const { return m_bandwidth; }
168 inline bool BandwidthHasBeenSet() const { return m_bandwidthHasBeenSet; }
169 template <typename BandwidthT = Aws::String>
170 void SetBandwidth(BandwidthT&& value) {
171 m_bandwidthHasBeenSet = true;
172 m_bandwidth = std::forward<BandwidthT>(value);
173 }
174 template <typename BandwidthT = Aws::String>
175 Connection& WithBandwidth(BandwidthT&& value) {
176 SetBandwidth(std::forward<BandwidthT>(value));
177 return *this;
178 }
180
182
185 inline int GetVlan() const { return m_vlan; }
186 inline bool VlanHasBeenSet() const { return m_vlanHasBeenSet; }
187 inline void SetVlan(int value) {
188 m_vlanHasBeenSet = true;
189 m_vlan = value;
190 }
191 inline Connection& WithVlan(int value) {
192 SetVlan(value);
193 return *this;
194 }
196
198
202 inline const Aws::String& GetPartnerName() const { return m_partnerName; }
203 inline bool PartnerNameHasBeenSet() const { return m_partnerNameHasBeenSet; }
204 template <typename PartnerNameT = Aws::String>
205 void SetPartnerName(PartnerNameT&& value) {
206 m_partnerNameHasBeenSet = true;
207 m_partnerName = std::forward<PartnerNameT>(value);
208 }
209 template <typename PartnerNameT = Aws::String>
210 Connection& WithPartnerName(PartnerNameT&& value) {
211 SetPartnerName(std::forward<PartnerNameT>(value));
212 return *this;
213 }
215
217
221 inline const Aws::Utils::DateTime& GetLoaIssueTime() const { return m_loaIssueTime; }
222 inline bool LoaIssueTimeHasBeenSet() const { return m_loaIssueTimeHasBeenSet; }
223 template <typename LoaIssueTimeT = Aws::Utils::DateTime>
224 void SetLoaIssueTime(LoaIssueTimeT&& value) {
225 m_loaIssueTimeHasBeenSet = true;
226 m_loaIssueTime = std::forward<LoaIssueTimeT>(value);
227 }
228 template <typename LoaIssueTimeT = Aws::Utils::DateTime>
229 Connection& WithLoaIssueTime(LoaIssueTimeT&& value) {
230 SetLoaIssueTime(std::forward<LoaIssueTimeT>(value));
231 return *this;
232 }
234
236
239 inline const Aws::String& GetLagId() const { return m_lagId; }
240 inline bool LagIdHasBeenSet() const { return m_lagIdHasBeenSet; }
241 template <typename LagIdT = Aws::String>
242 void SetLagId(LagIdT&& value) {
243 m_lagIdHasBeenSet = true;
244 m_lagId = std::forward<LagIdT>(value);
245 }
246 template <typename LagIdT = Aws::String>
247 Connection& WithLagId(LagIdT&& value) {
248 SetLagId(std::forward<LagIdT>(value));
249 return *this;
250 }
252
254
257 inline const Aws::String& GetAwsDevice() const { return m_awsDevice; }
258 inline bool AwsDeviceHasBeenSet() const { return m_awsDeviceHasBeenSet; }
259 template <typename AwsDeviceT = Aws::String>
260 void SetAwsDevice(AwsDeviceT&& value) {
261 m_awsDeviceHasBeenSet = true;
262 m_awsDevice = std::forward<AwsDeviceT>(value);
263 }
264 template <typename AwsDeviceT = Aws::String>
265 Connection& WithAwsDevice(AwsDeviceT&& value) {
266 SetAwsDevice(std::forward<AwsDeviceT>(value));
267 return *this;
268 }
270
272
275 inline bool GetJumboFrameCapable() const { return m_jumboFrameCapable; }
276 inline bool JumboFrameCapableHasBeenSet() const { return m_jumboFrameCapableHasBeenSet; }
277 inline void SetJumboFrameCapable(bool value) {
278 m_jumboFrameCapableHasBeenSet = true;
279 m_jumboFrameCapable = value;
280 }
281 inline Connection& WithJumboFrameCapable(bool value) {
283 return *this;
284 }
286
288
291 inline const Aws::String& GetAwsDeviceV2() const { return m_awsDeviceV2; }
292 inline bool AwsDeviceV2HasBeenSet() const { return m_awsDeviceV2HasBeenSet; }
293 template <typename AwsDeviceV2T = Aws::String>
294 void SetAwsDeviceV2(AwsDeviceV2T&& value) {
295 m_awsDeviceV2HasBeenSet = true;
296 m_awsDeviceV2 = std::forward<AwsDeviceV2T>(value);
297 }
298 template <typename AwsDeviceV2T = Aws::String>
299 Connection& WithAwsDeviceV2(AwsDeviceV2T&& value) {
300 SetAwsDeviceV2(std::forward<AwsDeviceV2T>(value));
301 return *this;
302 }
304
306
311 inline const Aws::String& GetAwsLogicalDeviceId() const { return m_awsLogicalDeviceId; }
312 inline bool AwsLogicalDeviceIdHasBeenSet() const { return m_awsLogicalDeviceIdHasBeenSet; }
313 template <typename AwsLogicalDeviceIdT = Aws::String>
314 void SetAwsLogicalDeviceId(AwsLogicalDeviceIdT&& value) {
315 m_awsLogicalDeviceIdHasBeenSet = true;
316 m_awsLogicalDeviceId = std::forward<AwsLogicalDeviceIdT>(value);
317 }
318 template <typename AwsLogicalDeviceIdT = Aws::String>
319 Connection& WithAwsLogicalDeviceId(AwsLogicalDeviceIdT&& value) {
320 SetAwsLogicalDeviceId(std::forward<AwsLogicalDeviceIdT>(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 Connection& WithTags(TagsT&& value) {
355 SetTags(std::forward<TagsT>(value));
356 return *this;
357 }
358 template <typename TagsT = Tag>
359 Connection& 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 Connection& 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 Connection& WithMacSecCapable(bool value) {
395 SetMacSecCapable(value);
396 return *this;
397 }
399
401
406 inline const Aws::String& GetPortEncryptionStatus() const { return m_portEncryptionStatus; }
407 inline bool PortEncryptionStatusHasBeenSet() const { return m_portEncryptionStatusHasBeenSet; }
408 template <typename PortEncryptionStatusT = Aws::String>
409 void SetPortEncryptionStatus(PortEncryptionStatusT&& value) {
410 m_portEncryptionStatusHasBeenSet = true;
411 m_portEncryptionStatus = std::forward<PortEncryptionStatusT>(value);
412 }
413 template <typename PortEncryptionStatusT = Aws::String>
414 Connection& WithPortEncryptionStatus(PortEncryptionStatusT&& value) {
415 SetPortEncryptionStatus(std::forward<PortEncryptionStatusT>(value));
416 return *this;
417 }
419
421
426 inline const Aws::String& GetEncryptionMode() const { return m_encryptionMode; }
427 inline bool EncryptionModeHasBeenSet() const { return m_encryptionModeHasBeenSet; }
428 template <typename EncryptionModeT = Aws::String>
429 void SetEncryptionMode(EncryptionModeT&& value) {
430 m_encryptionModeHasBeenSet = true;
431 m_encryptionMode = std::forward<EncryptionModeT>(value);
432 }
433 template <typename EncryptionModeT = Aws::String>
434 Connection& WithEncryptionMode(EncryptionModeT&& value) {
435 SetEncryptionMode(std::forward<EncryptionModeT>(value));
436 return *this;
437 }
439
441
444 inline const Aws::Vector<MacSecKey>& GetMacSecKeys() const { return m_macSecKeys; }
445 inline bool MacSecKeysHasBeenSet() const { return m_macSecKeysHasBeenSet; }
446 template <typename MacSecKeysT = Aws::Vector<MacSecKey>>
447 void SetMacSecKeys(MacSecKeysT&& value) {
448 m_macSecKeysHasBeenSet = true;
449 m_macSecKeys = std::forward<MacSecKeysT>(value);
450 }
451 template <typename MacSecKeysT = Aws::Vector<MacSecKey>>
452 Connection& WithMacSecKeys(MacSecKeysT&& value) {
453 SetMacSecKeys(std::forward<MacSecKeysT>(value));
454 return *this;
455 }
456 template <typename MacSecKeysT = MacSecKey>
457 Connection& AddMacSecKeys(MacSecKeysT&& value) {
458 m_macSecKeysHasBeenSet = true;
459 m_macSecKeys.emplace_back(std::forward<MacSecKeysT>(value));
460 return *this;
461 }
463
465
469 inline const RateLimiterStatus& GetRateLimiterStatus() const { return m_rateLimiterStatus; }
470 inline bool RateLimiterStatusHasBeenSet() const { return m_rateLimiterStatusHasBeenSet; }
471 template <typename RateLimiterStatusT = RateLimiterStatus>
472 void SetRateLimiterStatus(RateLimiterStatusT&& value) {
473 m_rateLimiterStatusHasBeenSet = true;
474 m_rateLimiterStatus = std::forward<RateLimiterStatusT>(value);
475 }
476 template <typename RateLimiterStatusT = RateLimiterStatus>
477 Connection& WithRateLimiterStatus(RateLimiterStatusT&& value) {
478 SetRateLimiterStatus(std::forward<RateLimiterStatusT>(value));
479 return *this;
480 }
482
484
488 inline bool GetPartnerInterconnectMacSecCapable() const { return m_partnerInterconnectMacSecCapable; }
489 inline bool PartnerInterconnectMacSecCapableHasBeenSet() const { return m_partnerInterconnectMacSecCapableHasBeenSet; }
490 inline void SetPartnerInterconnectMacSecCapable(bool value) {
491 m_partnerInterconnectMacSecCapableHasBeenSet = true;
492 m_partnerInterconnectMacSecCapable = value;
493 }
496 return *this;
497 }
499
501
506 inline int GetPrefixPoolSizeIpv4() const { return m_prefixPoolSizeIpv4; }
507 inline bool PrefixPoolSizeIpv4HasBeenSet() const { return m_prefixPoolSizeIpv4HasBeenSet; }
508 inline void SetPrefixPoolSizeIpv4(int value) {
509 m_prefixPoolSizeIpv4HasBeenSet = true;
510 m_prefixPoolSizeIpv4 = value;
511 }
514 return *this;
515 }
517
519
524 inline int GetPrefixPoolSizeIpv6() const { return m_prefixPoolSizeIpv6; }
525 inline bool PrefixPoolSizeIpv6HasBeenSet() const { return m_prefixPoolSizeIpv6HasBeenSet; }
526 inline void SetPrefixPoolSizeIpv6(int value) {
527 m_prefixPoolSizeIpv6HasBeenSet = true;
528 m_prefixPoolSizeIpv6 = value;
529 }
532 return *this;
533 }
535
537
542 inline int GetPrefixPoolUnallocatedCountIpv4() const { return m_prefixPoolUnallocatedCountIpv4; }
543 inline bool PrefixPoolUnallocatedCountIpv4HasBeenSet() const { return m_prefixPoolUnallocatedCountIpv4HasBeenSet; }
544 inline void SetPrefixPoolUnallocatedCountIpv4(int value) {
545 m_prefixPoolUnallocatedCountIpv4HasBeenSet = true;
546 m_prefixPoolUnallocatedCountIpv4 = value;
547 }
550 return *this;
551 }
553
555
560 inline int GetPrefixPoolUnallocatedCountIpv6() const { return m_prefixPoolUnallocatedCountIpv6; }
561 inline bool PrefixPoolUnallocatedCountIpv6HasBeenSet() const { return m_prefixPoolUnallocatedCountIpv6HasBeenSet; }
562 inline void SetPrefixPoolUnallocatedCountIpv6(int value) {
563 m_prefixPoolUnallocatedCountIpv6HasBeenSet = true;
564 m_prefixPoolUnallocatedCountIpv6 = value;
565 }
568 return *this;
569 }
571
573
576 inline BillingMode GetBillingMode() const { return m_billingMode; }
577 inline bool BillingModeHasBeenSet() const { return m_billingModeHasBeenSet; }
578 inline void SetBillingMode(BillingMode value) {
579 m_billingModeHasBeenSet = true;
580 m_billingMode = value;
581 }
583 SetBillingMode(value);
584 return *this;
585 }
587
589
590 inline const Aws::String& GetRequestId() const { return m_requestId; }
591 inline bool RequestIdHasBeenSet() const { return m_requestIdHasBeenSet; }
592 template <typename RequestIdT = Aws::String>
593 void SetRequestId(RequestIdT&& value) {
594 m_requestIdHasBeenSet = true;
595 m_requestId = std::forward<RequestIdT>(value);
596 }
597 template <typename RequestIdT = Aws::String>
598 Connection& WithRequestId(RequestIdT&& value) {
599 SetRequestId(std::forward<RequestIdT>(value));
600 return *this;
601 }
603 private:
604 Aws::String m_ownerAccount;
605
606 Aws::String m_connectionId;
607
608 Aws::String m_connectionName;
609
610 ConnectionState m_connectionState{ConnectionState::NOT_SET};
611
612 Aws::String m_region;
613
614 Aws::String m_location;
615
616 Aws::String m_bandwidth;
617
618 int m_vlan{0};
619
620 Aws::String m_partnerName;
621
622 Aws::Utils::DateTime m_loaIssueTime{};
623
624 Aws::String m_lagId;
625
626 Aws::String m_awsDevice;
627
628 bool m_jumboFrameCapable{false};
629
630 Aws::String m_awsDeviceV2;
631
632 Aws::String m_awsLogicalDeviceId;
633
635
636 Aws::Vector<Tag> m_tags;
637
638 Aws::String m_providerName;
639
640 bool m_macSecCapable{false};
641
642 Aws::String m_portEncryptionStatus;
643
644 Aws::String m_encryptionMode;
645
646 Aws::Vector<MacSecKey> m_macSecKeys;
647
648 RateLimiterStatus m_rateLimiterStatus;
649
650 bool m_partnerInterconnectMacSecCapable{false};
651
652 int m_prefixPoolSizeIpv4{0};
653
654 int m_prefixPoolSizeIpv6{0};
655
656 int m_prefixPoolUnallocatedCountIpv4{0};
657
658 int m_prefixPoolUnallocatedCountIpv6{0};
659
660 BillingMode m_billingMode{BillingMode::NOT_SET};
661
662 Aws::String m_requestId;
663 bool m_ownerAccountHasBeenSet = false;
664 bool m_connectionIdHasBeenSet = false;
665 bool m_connectionNameHasBeenSet = false;
666 bool m_connectionStateHasBeenSet = false;
667 bool m_regionHasBeenSet = false;
668 bool m_locationHasBeenSet = false;
669 bool m_bandwidthHasBeenSet = false;
670 bool m_vlanHasBeenSet = false;
671 bool m_partnerNameHasBeenSet = false;
672 bool m_loaIssueTimeHasBeenSet = false;
673 bool m_lagIdHasBeenSet = false;
674 bool m_awsDeviceHasBeenSet = false;
675 bool m_jumboFrameCapableHasBeenSet = false;
676 bool m_awsDeviceV2HasBeenSet = false;
677 bool m_awsLogicalDeviceIdHasBeenSet = false;
678 bool m_hasLogicalRedundancyHasBeenSet = false;
679 bool m_tagsHasBeenSet = false;
680 bool m_providerNameHasBeenSet = false;
681 bool m_macSecCapableHasBeenSet = false;
682 bool m_portEncryptionStatusHasBeenSet = false;
683 bool m_encryptionModeHasBeenSet = false;
684 bool m_macSecKeysHasBeenSet = false;
685 bool m_rateLimiterStatusHasBeenSet = false;
686 bool m_partnerInterconnectMacSecCapableHasBeenSet = false;
687 bool m_prefixPoolSizeIpv4HasBeenSet = false;
688 bool m_prefixPoolSizeIpv6HasBeenSet = false;
689 bool m_prefixPoolUnallocatedCountIpv4HasBeenSet = false;
690 bool m_prefixPoolUnallocatedCountIpv6HasBeenSet = false;
691 bool m_billingModeHasBeenSet = false;
692 bool m_requestIdHasBeenSet = false;
693};
694
695} // namespace Model
696} // namespace DirectConnect
697} // namespace Aws
void SetLocation(LocationT &&value)
Definition Connection.h:152
const Aws::Vector< Tag > & GetTags() const
Definition Connection.h:346
Connection & WithPortEncryptionStatus(PortEncryptionStatusT &&value)
Definition Connection.h:414
void SetHasLogicalRedundancy(HasLogicalRedundancy value)
Definition Connection.h:332
const Aws::String & GetAwsDevice() const
Definition Connection.h:257
Connection & WithProviderName(ProviderNameT &&value)
Definition Connection.h:378
void SetProviderName(ProviderNameT &&value)
Definition Connection.h:373
const Aws::String & GetEncryptionMode() const
Definition Connection.h:426
Connection & WithPartnerInterconnectMacSecCapable(bool value)
Definition Connection.h:494
Connection & WithVlan(int value)
Definition Connection.h:191
const Aws::String & GetLagId() const
Definition Connection.h:239
void SetConnectionName(ConnectionNameT &&value)
Definition Connection.h:85
void SetPartnerInterconnectMacSecCapable(bool value)
Definition Connection.h:490
Connection & WithPrefixPoolSizeIpv6(int value)
Definition Connection.h:530
void SetAwsDevice(AwsDeviceT &&value)
Definition Connection.h:260
Connection & WithAwsDevice(AwsDeviceT &&value)
Definition Connection.h:265
void SetAwsLogicalDeviceId(AwsLogicalDeviceIdT &&value)
Definition Connection.h:314
const Aws::String & GetPartnerName() const
Definition Connection.h:202
void SetPrefixPoolUnallocatedCountIpv6(int value)
Definition Connection.h:562
void SetConnectionState(ConnectionState value)
Definition Connection.h:117
Connection & WithRequestId(RequestIdT &&value)
Definition Connection.h:598
const Aws::Utils::DateTime & GetLoaIssueTime() const
Definition Connection.h:221
Connection & WithLocation(LocationT &&value)
Definition Connection.h:157
Connection & WithConnectionState(ConnectionState value)
Definition Connection.h:121
AWS_DIRECTCONNECT_API Connection()=default
Connection & WithRateLimiterStatus(RateLimiterStatusT &&value)
Definition Connection.h:477
void SetPrefixPoolUnallocatedCountIpv4(int value)
Definition Connection.h:544
void SetPartnerName(PartnerNameT &&value)
Definition Connection.h:205
void SetConnectionId(ConnectionIdT &&value)
Definition Connection.h:67
void SetEncryptionMode(EncryptionModeT &&value)
Definition Connection.h:429
const Aws::String & GetBandwidth() const
Definition Connection.h:167
void SetPortEncryptionStatus(PortEncryptionStatusT &&value)
Definition Connection.h:409
const Aws::String & GetLocation() const
Definition Connection.h:149
void SetRequestId(RequestIdT &&value)
Definition Connection.h:593
const Aws::String & GetPortEncryptionStatus() const
Definition Connection.h:406
Connection & WithHasLogicalRedundancy(HasLogicalRedundancy value)
Definition Connection.h:336
AWS_DIRECTCONNECT_API Aws::Utils::Json::JsonValue Jsonize() const
void SetAwsDeviceV2(AwsDeviceV2T &&value)
Definition Connection.h:294
Connection & WithBandwidth(BandwidthT &&value)
Definition Connection.h:175
void SetMacSecKeys(MacSecKeysT &&value)
Definition Connection.h:447
Connection & WithPrefixPoolUnallocatedCountIpv6(int value)
Definition Connection.h:566
Connection & WithPartnerName(PartnerNameT &&value)
Definition Connection.h:210
Connection & WithAwsDeviceV2(AwsDeviceV2T &&value)
Definition Connection.h:299
Connection & WithPrefixPoolSizeIpv4(int value)
Definition Connection.h:512
const RateLimiterStatus & GetRateLimiterStatus() const
Definition Connection.h:469
void SetOwnerAccount(OwnerAccountT &&value)
Definition Connection.h:49
HasLogicalRedundancy GetHasLogicalRedundancy() const
Definition Connection.h:330
Connection & WithConnectionName(ConnectionNameT &&value)
Definition Connection.h:90
void SetRateLimiterStatus(RateLimiterStatusT &&value)
Definition Connection.h:472
const Aws::String & GetConnectionName() const
Definition Connection.h:82
void SetLoaIssueTime(LoaIssueTimeT &&value)
Definition Connection.h:224
AWS_DIRECTCONNECT_API Connection(Aws::Utils::Json::JsonView jsonValue)
Connection & WithPrefixPoolUnallocatedCountIpv4(int value)
Definition Connection.h:548
Connection & AddMacSecKeys(MacSecKeysT &&value)
Definition Connection.h:457
const Aws::String & GetRequestId() const
Definition Connection.h:590
AWS_DIRECTCONNECT_API Connection & operator=(Aws::Utils::Json::JsonView jsonValue)
Connection & WithOwnerAccount(OwnerAccountT &&value)
Definition Connection.h:54
Connection & WithLoaIssueTime(LoaIssueTimeT &&value)
Definition Connection.h:229
bool PartnerInterconnectMacSecCapableHasBeenSet() const
Definition Connection.h:489
Connection & WithTags(TagsT &&value)
Definition Connection.h:354
Connection & WithLagId(LagIdT &&value)
Definition Connection.h:247
const Aws::String & GetConnectionId() const
Definition Connection.h:64
Connection & WithRegion(RegionT &&value)
Definition Connection.h:139
Connection & WithEncryptionMode(EncryptionModeT &&value)
Definition Connection.h:434
Connection & WithAwsLogicalDeviceId(AwsLogicalDeviceIdT &&value)
Definition Connection.h:319
bool PrefixPoolUnallocatedCountIpv4HasBeenSet() const
Definition Connection.h:543
Connection & WithMacSecCapable(bool value)
Definition Connection.h:394
const Aws::Vector< MacSecKey > & GetMacSecKeys() const
Definition Connection.h:444
const Aws::String & GetAwsDeviceV2() const
Definition Connection.h:291
Connection & WithBillingMode(BillingMode value)
Definition Connection.h:582
Connection & WithJumboFrameCapable(bool value)
Definition Connection.h:281
void SetBandwidth(BandwidthT &&value)
Definition Connection.h:170
const Aws::String & GetAwsLogicalDeviceId() const
Definition Connection.h:311
const Aws::String & GetRegion() const
Definition Connection.h:131
Connection & WithMacSecKeys(MacSecKeysT &&value)
Definition Connection.h:452
void SetBillingMode(BillingMode value)
Definition Connection.h:578
const Aws::String & GetProviderName() const
Definition Connection.h:370
Connection & AddTags(TagsT &&value)
Definition Connection.h:359
const Aws::String & GetOwnerAccount() const
Definition Connection.h:46
bool PrefixPoolUnallocatedCountIpv6HasBeenSet() const
Definition Connection.h:561
ConnectionState GetConnectionState() const
Definition Connection.h:115
Connection & WithConnectionId(ConnectionIdT &&value)
Definition Connection.h:72
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
std::vector< T, Aws::Allocator< T > > Vector
Aws::Utils::Json::JsonValue JsonValue