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>
27namespace DirectConnect {
48 template <
typename OwnerAccountT = Aws::String>
50 m_ownerAccountHasBeenSet =
true;
51 m_ownerAccount = std::forward<OwnerAccountT>(value);
53 template <
typename OwnerAccountT = Aws::String>
66 template <
typename ConnectionIdT = Aws::String>
68 m_connectionIdHasBeenSet =
true;
69 m_connectionId = std::forward<ConnectionIdT>(value);
71 template <
typename ConnectionIdT = Aws::String>
84 template <
typename ConnectionNameT = Aws::String>
86 m_connectionNameHasBeenSet =
true;
87 m_connectionName = std::forward<ConnectionNameT>(value);
89 template <
typename ConnectionNameT = Aws::String>
118 m_connectionStateHasBeenSet =
true;
119 m_connectionState = value;
133 template <
typename RegionT = Aws::String>
135 m_regionHasBeenSet =
true;
136 m_region = std::forward<RegionT>(value);
138 template <
typename RegionT = Aws::String>
151 template <
typename LocationT = Aws::String>
153 m_locationHasBeenSet =
true;
154 m_location = std::forward<LocationT>(value);
156 template <
typename LocationT = Aws::String>
169 template <
typename Bandw
idthT = Aws::String>
171 m_bandwidthHasBeenSet =
true;
172 m_bandwidth = std::forward<BandwidthT>(value);
174 template <
typename Bandw
idthT = Aws::String>
188 m_vlanHasBeenSet =
true;
204 template <
typename PartnerNameT = Aws::String>
206 m_partnerNameHasBeenSet =
true;
207 m_partnerName = std::forward<PartnerNameT>(value);
209 template <
typename PartnerNameT = Aws::String>
223 template <
typename LoaIssueTimeT = Aws::Utils::DateTime>
225 m_loaIssueTimeHasBeenSet =
true;
226 m_loaIssueTime = std::forward<LoaIssueTimeT>(value);
228 template <
typename LoaIssueTimeT = Aws::Utils::DateTime>
241 template <
typename LagIdT = Aws::String>
243 m_lagIdHasBeenSet =
true;
244 m_lagId = std::forward<LagIdT>(value);
246 template <
typename LagIdT = Aws::String>
248 SetLagId(std::forward<LagIdT>(value));
259 template <
typename AwsDeviceT = Aws::String>
261 m_awsDeviceHasBeenSet =
true;
262 m_awsDevice = std::forward<AwsDeviceT>(value);
264 template <
typename AwsDeviceT = Aws::String>
278 m_jumboFrameCapableHasBeenSet =
true;
279 m_jumboFrameCapable = value;
293 template <
typename AwsDeviceV2T = Aws::String>
295 m_awsDeviceV2HasBeenSet =
true;
296 m_awsDeviceV2 = std::forward<AwsDeviceV2T>(value);
298 template <
typename AwsDeviceV2T = Aws::String>
313 template <
typename AwsLogicalDeviceIdT = Aws::String>
315 m_awsLogicalDeviceIdHasBeenSet =
true;
316 m_awsLogicalDeviceId = std::forward<AwsLogicalDeviceIdT>(value);
318 template <
typename AwsLogicalDeviceIdT = Aws::String>
333 m_hasLogicalRedundancyHasBeenSet =
true;
334 m_hasLogicalRedundancy = value;
348 template <
typename TagsT = Aws::Vector<Tag>>
350 m_tagsHasBeenSet =
true;
351 m_tags = std::forward<TagsT>(value);
353 template <
typename TagsT = Aws::Vector<Tag>>
355 SetTags(std::forward<TagsT>(value));
358 template <
typename TagsT = Tag>
360 m_tagsHasBeenSet =
true;
361 m_tags.emplace_back(std::forward<TagsT>(value));
372 template <
typename Prov
iderNameT = Aws::String>
374 m_providerNameHasBeenSet =
true;
375 m_providerName = std::forward<ProviderNameT>(value);
377 template <
typename Prov
iderNameT = Aws::String>
391 m_macSecCapableHasBeenSet =
true;
392 m_macSecCapable = value;
408 template <
typename PortEncryptionStatusT = Aws::String>
410 m_portEncryptionStatusHasBeenSet =
true;
411 m_portEncryptionStatus = std::forward<PortEncryptionStatusT>(value);
413 template <
typename PortEncryptionStatusT = Aws::String>
428 template <
typename EncryptionModeT = Aws::String>
430 m_encryptionModeHasBeenSet =
true;
431 m_encryptionMode = std::forward<EncryptionModeT>(value);
433 template <
typename EncryptionModeT = Aws::String>
446 template <
typename MacSecKeysT = Aws::Vector<MacSecKey>>
448 m_macSecKeysHasBeenSet =
true;
449 m_macSecKeys = std::forward<MacSecKeysT>(value);
451 template <
typename MacSecKeysT = Aws::Vector<MacSecKey>>
456 template <
typename MacSecKeysT = MacSecKey>
458 m_macSecKeysHasBeenSet =
true;
459 m_macSecKeys.emplace_back(std::forward<MacSecKeysT>(value));
471 template <
typename RateLimiterStatusT = RateLimiterStatus>
473 m_rateLimiterStatusHasBeenSet =
true;
474 m_rateLimiterStatus = std::forward<RateLimiterStatusT>(value);
476 template <
typename RateLimiterStatusT = RateLimiterStatus>
491 m_partnerInterconnectMacSecCapableHasBeenSet =
true;
492 m_partnerInterconnectMacSecCapable = value;
509 m_prefixPoolSizeIpv4HasBeenSet =
true;
510 m_prefixPoolSizeIpv4 = value;
527 m_prefixPoolSizeIpv6HasBeenSet =
true;
528 m_prefixPoolSizeIpv6 = value;
545 m_prefixPoolUnallocatedCountIpv4HasBeenSet =
true;
546 m_prefixPoolUnallocatedCountIpv4 = value;
563 m_prefixPoolUnallocatedCountIpv6HasBeenSet =
true;
564 m_prefixPoolUnallocatedCountIpv6 = value;
579 m_billingModeHasBeenSet =
true;
580 m_billingMode = value;
592 template <
typename RequestIdT = Aws::String>
594 m_requestIdHasBeenSet =
true;
595 m_requestId = std::forward<RequestIdT>(value);
597 template <
typename RequestIdT = Aws::String>
628 bool m_jumboFrameCapable{
false};
640 bool m_macSecCapable{
false};
648 RateLimiterStatus m_rateLimiterStatus;
650 bool m_partnerInterconnectMacSecCapable{
false};
652 int m_prefixPoolSizeIpv4{0};
654 int m_prefixPoolSizeIpv6{0};
656 int m_prefixPoolUnallocatedCountIpv4{0};
658 int m_prefixPoolUnallocatedCountIpv6{0};
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;
void SetMacSecCapable(bool value)
void SetLocation(LocationT &&value)
bool LocationHasBeenSet() const
const Aws::Vector< Tag > & GetTags() const
bool RateLimiterStatusHasBeenSet() const
bool RegionHasBeenSet() const
Connection & WithPortEncryptionStatus(PortEncryptionStatusT &&value)
void SetHasLogicalRedundancy(HasLogicalRedundancy value)
bool MacSecCapableHasBeenSet() const
const Aws::String & GetAwsDevice() const
Connection & WithProviderName(ProviderNameT &&value)
bool BillingModeHasBeenSet() const
bool PartnerNameHasBeenSet() const
void SetProviderName(ProviderNameT &&value)
bool MacSecKeysHasBeenSet() const
bool VlanHasBeenSet() const
const Aws::String & GetEncryptionMode() const
bool HasLogicalRedundancyHasBeenSet() const
Connection & WithPartnerInterconnectMacSecCapable(bool value)
Connection & WithVlan(int value)
const Aws::String & GetLagId() const
void SetConnectionName(ConnectionNameT &&value)
bool AwsLogicalDeviceIdHasBeenSet() const
bool AwsDeviceHasBeenSet() const
void SetPartnerInterconnectMacSecCapable(bool value)
bool BandwidthHasBeenSet() const
Connection & WithPrefixPoolSizeIpv6(int value)
void SetAwsDevice(AwsDeviceT &&value)
void SetTags(TagsT &&value)
Connection & WithAwsDevice(AwsDeviceT &&value)
bool RequestIdHasBeenSet() const
void SetAwsLogicalDeviceId(AwsLogicalDeviceIdT &&value)
int GetPrefixPoolUnallocatedCountIpv6() const
bool LoaIssueTimeHasBeenSet() const
const Aws::String & GetPartnerName() const
void SetPrefixPoolUnallocatedCountIpv6(int value)
void SetConnectionState(ConnectionState value)
Connection & WithRequestId(RequestIdT &&value)
const Aws::Utils::DateTime & GetLoaIssueTime() const
Connection & WithLocation(LocationT &&value)
Connection & WithConnectionState(ConnectionState value)
BillingMode GetBillingMode() const
AWS_DIRECTCONNECT_API Connection()=default
bool TagsHasBeenSet() const
Connection & WithRateLimiterStatus(RateLimiterStatusT &&value)
void SetPrefixPoolUnallocatedCountIpv4(int value)
void SetPartnerName(PartnerNameT &&value)
bool AwsDeviceV2HasBeenSet() const
void SetConnectionId(ConnectionIdT &&value)
void SetEncryptionMode(EncryptionModeT &&value)
const Aws::String & GetBandwidth() const
void SetPortEncryptionStatus(PortEncryptionStatusT &&value)
const Aws::String & GetLocation() const
int GetPrefixPoolSizeIpv6() const
bool PrefixPoolSizeIpv6HasBeenSet() const
void SetRequestId(RequestIdT &&value)
bool GetMacSecCapable() const
const Aws::String & GetPortEncryptionStatus() const
int GetPrefixPoolSizeIpv4() const
bool PortEncryptionStatusHasBeenSet() const
Connection & WithHasLogicalRedundancy(HasLogicalRedundancy value)
AWS_DIRECTCONNECT_API Aws::Utils::Json::JsonValue Jsonize() const
void SetAwsDeviceV2(AwsDeviceV2T &&value)
Connection & WithBandwidth(BandwidthT &&value)
void SetMacSecKeys(MacSecKeysT &&value)
void SetPrefixPoolSizeIpv4(int value)
Connection & WithPrefixPoolUnallocatedCountIpv6(int value)
Connection & WithPartnerName(PartnerNameT &&value)
Connection & WithAwsDeviceV2(AwsDeviceV2T &&value)
int GetPrefixPoolUnallocatedCountIpv4() const
Connection & WithPrefixPoolSizeIpv4(int value)
const RateLimiterStatus & GetRateLimiterStatus() const
void SetOwnerAccount(OwnerAccountT &&value)
bool PrefixPoolSizeIpv4HasBeenSet() const
HasLogicalRedundancy GetHasLogicalRedundancy() const
Connection & WithConnectionName(ConnectionNameT &&value)
void SetRateLimiterStatus(RateLimiterStatusT &&value)
const Aws::String & GetConnectionName() const
bool JumboFrameCapableHasBeenSet() const
void SetLoaIssueTime(LoaIssueTimeT &&value)
AWS_DIRECTCONNECT_API Connection(Aws::Utils::Json::JsonView jsonValue)
Connection & WithPrefixPoolUnallocatedCountIpv4(int value)
bool GetPartnerInterconnectMacSecCapable() const
Connection & AddMacSecKeys(MacSecKeysT &&value)
const Aws::String & GetRequestId() const
AWS_DIRECTCONNECT_API Connection & operator=(Aws::Utils::Json::JsonView jsonValue)
Connection & WithOwnerAccount(OwnerAccountT &&value)
bool LagIdHasBeenSet() const
Connection & WithLoaIssueTime(LoaIssueTimeT &&value)
bool PartnerInterconnectMacSecCapableHasBeenSet() const
Connection & WithTags(TagsT &&value)
void SetPrefixPoolSizeIpv6(int value)
Connection & WithLagId(LagIdT &&value)
bool EncryptionModeHasBeenSet() const
const Aws::String & GetConnectionId() const
Connection & WithRegion(RegionT &&value)
bool ConnectionNameHasBeenSet() const
bool GetJumboFrameCapable() const
Connection & WithEncryptionMode(EncryptionModeT &&value)
Connection & WithAwsLogicalDeviceId(AwsLogicalDeviceIdT &&value)
bool PrefixPoolUnallocatedCountIpv4HasBeenSet() const
Connection & WithMacSecCapable(bool value)
const Aws::Vector< MacSecKey > & GetMacSecKeys() const
const Aws::String & GetAwsDeviceV2() const
Connection & WithBillingMode(BillingMode value)
bool ConnectionIdHasBeenSet() const
Connection & WithJumboFrameCapable(bool value)
bool ProviderNameHasBeenSet() const
void SetBandwidth(BandwidthT &&value)
void SetLagId(LagIdT &&value)
const Aws::String & GetAwsLogicalDeviceId() const
const Aws::String & GetRegion() const
Connection & WithMacSecKeys(MacSecKeysT &&value)
void SetJumboFrameCapable(bool value)
void SetBillingMode(BillingMode value)
const Aws::String & GetProviderName() const
bool OwnerAccountHasBeenSet() const
void SetRegion(RegionT &&value)
Connection & AddTags(TagsT &&value)
bool ConnectionStateHasBeenSet() const
const Aws::String & GetOwnerAccount() const
bool PrefixPoolUnallocatedCountIpv6HasBeenSet() const
ConnectionState GetConnectionState() const
Connection & WithConnectionId(ConnectionIdT &&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