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/BillingMode.h>
13#include <aws/directconnect/model/ConnectionState.h>
14#include <aws/directconnect/model/HasLogicalRedundancy.h>
15#include <aws/directconnect/model/MacSecKey.h>
16#include <aws/directconnect/model/RateLimiterStatus.h>
17#include <aws/directconnect/model/Tag.h>
22template <
typename RESULT_TYPE>
23class AmazonWebServiceResult;
30namespace DirectConnect {
49 template <
typename OwnerAccountT = Aws::String>
51 m_ownerAccountHasBeenSet =
true;
52 m_ownerAccount = std::forward<OwnerAccountT>(value);
54 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>
83 template <
typename ConnectionNameT = Aws::String>
85 m_connectionNameHasBeenSet =
true;
86 m_connectionName = std::forward<ConnectionNameT>(value);
88 template <
typename ConnectionNameT = Aws::String>
116 m_connectionStateHasBeenSet =
true;
117 m_connectionState = value;
130 template <
typename RegionT = Aws::String>
132 m_regionHasBeenSet =
true;
133 m_region = std::forward<RegionT>(value);
135 template <
typename RegionT = Aws::String>
147 template <
typename LocationT = Aws::String>
149 m_locationHasBeenSet =
true;
150 m_location = std::forward<LocationT>(value);
152 template <
typename LocationT = Aws::String>
164 template <
typename Bandw
idthT = Aws::String>
166 m_bandwidthHasBeenSet =
true;
167 m_bandwidth = std::forward<BandwidthT>(value);
169 template <
typename Bandw
idthT = Aws::String>
182 m_vlanHasBeenSet =
true;
197 template <
typename PartnerNameT = Aws::String>
199 m_partnerNameHasBeenSet =
true;
200 m_partnerName = std::forward<PartnerNameT>(value);
202 template <
typename PartnerNameT = Aws::String>
215 template <
typename LoaIssueTimeT = Aws::Utils::DateTime>
217 m_loaIssueTimeHasBeenSet =
true;
218 m_loaIssueTime = std::forward<LoaIssueTimeT>(value);
220 template <
typename LoaIssueTimeT = Aws::Utils::DateTime>
232 template <
typename LagIdT = Aws::String>
234 m_lagIdHasBeenSet =
true;
235 m_lagId = std::forward<LagIdT>(value);
237 template <
typename LagIdT = Aws::String>
239 SetLagId(std::forward<LagIdT>(value));
249 template <
typename AwsDeviceT = Aws::String>
251 m_awsDeviceHasBeenSet =
true;
252 m_awsDevice = std::forward<AwsDeviceT>(value);
254 template <
typename AwsDeviceT = Aws::String>
267 m_jumboFrameCapableHasBeenSet =
true;
268 m_jumboFrameCapable = value;
281 template <
typename AwsDeviceV2T = Aws::String>
283 m_awsDeviceV2HasBeenSet =
true;
284 m_awsDeviceV2 = std::forward<AwsDeviceV2T>(value);
286 template <
typename AwsDeviceV2T = Aws::String>
300 template <
typename AwsLogicalDeviceIdT = Aws::String>
302 m_awsLogicalDeviceIdHasBeenSet =
true;
303 m_awsLogicalDeviceId = std::forward<AwsLogicalDeviceIdT>(value);
305 template <
typename AwsLogicalDeviceIdT = Aws::String>
319 m_hasLogicalRedundancyHasBeenSet =
true;
320 m_hasLogicalRedundancy = value;
333 template <
typename TagsT = Aws::Vector<Tag>>
335 m_tagsHasBeenSet =
true;
336 m_tags = std::forward<TagsT>(value);
338 template <
typename TagsT = Aws::Vector<Tag>>
340 SetTags(std::forward<TagsT>(value));
343 template <
typename TagsT = Tag>
345 m_tagsHasBeenSet =
true;
346 m_tags.emplace_back(std::forward<TagsT>(value));
356 template <
typename Prov
iderNameT = Aws::String>
358 m_providerNameHasBeenSet =
true;
359 m_providerName = std::forward<ProviderNameT>(value);
361 template <
typename Prov
iderNameT = Aws::String>
374 m_macSecCapableHasBeenSet =
true;
375 m_macSecCapable = value;
390 template <
typename PortEncryptionStatusT = Aws::String>
392 m_portEncryptionStatusHasBeenSet =
true;
393 m_portEncryptionStatus = std::forward<PortEncryptionStatusT>(value);
395 template <
typename PortEncryptionStatusT = Aws::String>
409 template <
typename EncryptionModeT = Aws::String>
411 m_encryptionModeHasBeenSet =
true;
412 m_encryptionMode = std::forward<EncryptionModeT>(value);
414 template <
typename EncryptionModeT = Aws::String>
426 template <
typename MacSecKeysT = Aws::Vector<MacSecKey>>
428 m_macSecKeysHasBeenSet =
true;
429 m_macSecKeys = std::forward<MacSecKeysT>(value);
431 template <
typename MacSecKeysT = Aws::Vector<MacSecKey>>
436 template <
typename MacSecKeysT = MacSecKey>
438 m_macSecKeysHasBeenSet =
true;
439 m_macSecKeys.emplace_back(std::forward<MacSecKeysT>(value));
450 template <
typename RateLimiterStatusT = RateLimiterStatus>
452 m_rateLimiterStatusHasBeenSet =
true;
453 m_rateLimiterStatus = std::forward<RateLimiterStatusT>(value);
455 template <
typename RateLimiterStatusT = RateLimiterStatus>
469 m_partnerInterconnectMacSecCapableHasBeenSet =
true;
470 m_partnerInterconnectMacSecCapable = value;
486 m_prefixPoolSizeIpv4HasBeenSet =
true;
487 m_prefixPoolSizeIpv4 = value;
503 m_prefixPoolSizeIpv6HasBeenSet =
true;
504 m_prefixPoolSizeIpv6 = value;
520 m_prefixPoolUnallocatedCountIpv4HasBeenSet =
true;
521 m_prefixPoolUnallocatedCountIpv4 = value;
537 m_prefixPoolUnallocatedCountIpv6HasBeenSet =
true;
538 m_prefixPoolUnallocatedCountIpv6 = value;
552 m_billingModeHasBeenSet =
true;
553 m_billingMode = value;
564 template <
typename RequestIdT = Aws::String>
566 m_requestIdHasBeenSet =
true;
567 m_requestId = std::forward<RequestIdT>(value);
569 template <
typename RequestIdT = Aws::String>
602 bool m_jumboFrameCapable{
false};
614 bool m_macSecCapable{
false};
622 RateLimiterStatus m_rateLimiterStatus;
624 bool m_partnerInterconnectMacSecCapable{
false};
626 int m_prefixPoolSizeIpv4{0};
628 int m_prefixPoolSizeIpv6{0};
630 int m_prefixPoolUnallocatedCountIpv4{0};
632 int m_prefixPoolUnallocatedCountIpv6{0};
638 bool m_ownerAccountHasBeenSet =
false;
639 bool m_connectionIdHasBeenSet =
false;
640 bool m_connectionNameHasBeenSet =
false;
641 bool m_connectionStateHasBeenSet =
false;
642 bool m_regionHasBeenSet =
false;
643 bool m_locationHasBeenSet =
false;
644 bool m_bandwidthHasBeenSet =
false;
645 bool m_vlanHasBeenSet =
false;
646 bool m_partnerNameHasBeenSet =
false;
647 bool m_loaIssueTimeHasBeenSet =
false;
648 bool m_lagIdHasBeenSet =
false;
649 bool m_awsDeviceHasBeenSet =
false;
650 bool m_jumboFrameCapableHasBeenSet =
false;
651 bool m_awsDeviceV2HasBeenSet =
false;
652 bool m_awsLogicalDeviceIdHasBeenSet =
false;
653 bool m_hasLogicalRedundancyHasBeenSet =
false;
654 bool m_tagsHasBeenSet =
false;
655 bool m_providerNameHasBeenSet =
false;
656 bool m_macSecCapableHasBeenSet =
false;
657 bool m_portEncryptionStatusHasBeenSet =
false;
658 bool m_encryptionModeHasBeenSet =
false;
659 bool m_macSecKeysHasBeenSet =
false;
660 bool m_rateLimiterStatusHasBeenSet =
false;
661 bool m_partnerInterconnectMacSecCapableHasBeenSet =
false;
662 bool m_prefixPoolSizeIpv4HasBeenSet =
false;
663 bool m_prefixPoolSizeIpv6HasBeenSet =
false;
664 bool m_prefixPoolUnallocatedCountIpv4HasBeenSet =
false;
665 bool m_prefixPoolUnallocatedCountIpv6HasBeenSet =
false;
666 bool m_billingModeHasBeenSet =
false;
667 bool m_requestIdHasBeenSet =
false;
void SetTags(TagsT &&value)
void SetBandwidth(BandwidthT &&value)
DisassociateConnectionFromLagResult & WithPrefixPoolSizeIpv4(int value)
DisassociateConnectionFromLagResult & WithHasLogicalRedundancy(HasLogicalRedundancy value)
DisassociateConnectionFromLagResult & WithMacSecKeys(MacSecKeysT &&value)
DisassociateConnectionFromLagResult & WithPrefixPoolUnallocatedCountIpv4(int value)
const Aws::String & GetConnectionName() const
bool GetPartnerInterconnectMacSecCapable() const
DisassociateConnectionFromLagResult & WithJumboFrameCapable(bool value)
void SetJumboFrameCapable(bool value)
int GetPrefixPoolUnallocatedCountIpv6() const
DisassociateConnectionFromLagResult & WithTags(TagsT &&value)
void SetConnectionState(ConnectionState value)
const Aws::Vector< MacSecKey > & GetMacSecKeys() const
DisassociateConnectionFromLagResult & WithRegion(RegionT &&value)
const Aws::String & GetPartnerName() const
DisassociateConnectionFromLagResult & WithConnectionName(ConnectionNameT &&value)
void SetAwsLogicalDeviceId(AwsLogicalDeviceIdT &&value)
void SetMacSecKeys(MacSecKeysT &&value)
const Aws::String & GetAwsLogicalDeviceId() const
const Aws::String & GetBandwidth() const
void SetOwnerAccount(OwnerAccountT &&value)
void SetConnectionId(ConnectionIdT &&value)
void SetAwsDevice(AwsDeviceT &&value)
DisassociateConnectionFromLagResult & WithLagId(LagIdT &&value)
DisassociateConnectionFromLagResult & WithPrefixPoolSizeIpv6(int value)
DisassociateConnectionFromLagResult & WithVlan(int value)
DisassociateConnectionFromLagResult & WithProviderName(ProviderNameT &&value)
const Aws::String & GetLocation() const
const Aws::String & GetEncryptionMode() const
HasLogicalRedundancy GetHasLogicalRedundancy() const
void SetLagId(LagIdT &&value)
ConnectionState GetConnectionState() const
DisassociateConnectionFromLagResult & WithPartnerName(PartnerNameT &&value)
Aws::Http::HttpResponseCode GetHttpResponseCode() const
void SetAwsDeviceV2(AwsDeviceV2T &&value)
const RateLimiterStatus & GetRateLimiterStatus() const
void SetBillingMode(BillingMode value)
bool GetJumboFrameCapable() const
DisassociateConnectionFromLagResult & WithLoaIssueTime(LoaIssueTimeT &&value)
AWS_DIRECTCONNECT_API DisassociateConnectionFromLagResult(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
DisassociateConnectionFromLagResult & WithAwsDevice(AwsDeviceT &&value)
DisassociateConnectionFromLagResult & WithBillingMode(BillingMode value)
int GetPrefixPoolUnallocatedCountIpv4() const
void SetRequestId(RequestIdT &&value)
DisassociateConnectionFromLagResult & WithPrefixPoolUnallocatedCountIpv6(int value)
DisassociateConnectionFromLagResult & WithRequestId(RequestIdT &&value)
const Aws::String & GetLagId() const
BillingMode GetBillingMode() const
void SetProviderName(ProviderNameT &&value)
AWS_DIRECTCONNECT_API DisassociateConnectionFromLagResult & operator=(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
const Aws::String & GetProviderName() const
void SetEncryptionMode(EncryptionModeT &&value)
DisassociateConnectionFromLagResult & WithRateLimiterStatus(RateLimiterStatusT &&value)
void SetPrefixPoolSizeIpv6(int value)
DisassociateConnectionFromLagResult & AddMacSecKeys(MacSecKeysT &&value)
DisassociateConnectionFromLagResult & WithMacSecCapable(bool value)
DisassociateConnectionFromLagResult & WithBandwidth(BandwidthT &&value)
const Aws::String & GetRegion() const
bool GetMacSecCapable() const
const Aws::String & GetConnectionId() const
void SetLoaIssueTime(LoaIssueTimeT &&value)
void SetPrefixPoolSizeIpv4(int value)
AWS_DIRECTCONNECT_API DisassociateConnectionFromLagResult()=default
DisassociateConnectionFromLagResult & WithOwnerAccount(OwnerAccountT &&value)
DisassociateConnectionFromLagResult & WithPortEncryptionStatus(PortEncryptionStatusT &&value)
const Aws::String & GetAwsDeviceV2() const
const Aws::String & GetAwsDevice() const
int GetPrefixPoolSizeIpv4() const
void SetRateLimiterStatus(RateLimiterStatusT &&value)
DisassociateConnectionFromLagResult & WithConnectionId(ConnectionIdT &&value)
void SetPortEncryptionStatus(PortEncryptionStatusT &&value)
const Aws::Utils::DateTime & GetLoaIssueTime() const
DisassociateConnectionFromLagResult & WithLocation(LocationT &&value)
void SetPartnerName(PartnerNameT &&value)
void SetRegion(RegionT &&value)
DisassociateConnectionFromLagResult & WithEncryptionMode(EncryptionModeT &&value)
const Aws::String & GetOwnerAccount() const
int GetPrefixPoolSizeIpv6() const
void SetPartnerInterconnectMacSecCapable(bool value)
DisassociateConnectionFromLagResult & WithAwsLogicalDeviceId(AwsLogicalDeviceIdT &&value)
DisassociateConnectionFromLagResult & AddTags(TagsT &&value)
DisassociateConnectionFromLagResult & WithAwsDeviceV2(AwsDeviceV2T &&value)
void SetHasLogicalRedundancy(HasLogicalRedundancy value)
const Aws::String & GetRequestId() const
void SetLocation(LocationT &&value)
DisassociateConnectionFromLagResult & WithPartnerInterconnectMacSecCapable(bool value)
void SetPrefixPoolUnallocatedCountIpv6(int value)
const Aws::String & GetPortEncryptionStatus() const
const Aws::Vector< Tag > & GetTags() const
void SetConnectionName(ConnectionNameT &&value)
DisassociateConnectionFromLagResult & WithConnectionState(ConnectionState value)
void SetPrefixPoolUnallocatedCountIpv4(int value)
void SetMacSecCapable(bool 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