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/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>
21template <
typename RESULT_TYPE>
22class AmazonWebServiceResult;
29namespace DirectConnect {
48 template <
typename OwnerAccountT = Aws::String>
50 m_ownerAccountHasBeenSet =
true;
51 m_ownerAccount = std::forward<OwnerAccountT>(value);
53 template <
typename OwnerAccountT = Aws::String>
65 template <
typename ConnectionIdT = Aws::String>
67 m_connectionIdHasBeenSet =
true;
68 m_connectionId = std::forward<ConnectionIdT>(value);
70 template <
typename ConnectionIdT = Aws::String>
82 template <
typename ConnectionNameT = Aws::String>
84 m_connectionNameHasBeenSet =
true;
85 m_connectionName = std::forward<ConnectionNameT>(value);
87 template <
typename ConnectionNameT = Aws::String>
115 m_connectionStateHasBeenSet =
true;
116 m_connectionState = value;
129 template <
typename RegionT = Aws::String>
131 m_regionHasBeenSet =
true;
132 m_region = std::forward<RegionT>(value);
134 template <
typename RegionT = Aws::String>
146 template <
typename LocationT = Aws::String>
148 m_locationHasBeenSet =
true;
149 m_location = std::forward<LocationT>(value);
151 template <
typename LocationT = Aws::String>
163 template <
typename Bandw
idthT = Aws::String>
165 m_bandwidthHasBeenSet =
true;
166 m_bandwidth = std::forward<BandwidthT>(value);
168 template <
typename Bandw
idthT = Aws::String>
181 m_vlanHasBeenSet =
true;
196 template <
typename PartnerNameT = Aws::String>
198 m_partnerNameHasBeenSet =
true;
199 m_partnerName = std::forward<PartnerNameT>(value);
201 template <
typename PartnerNameT = Aws::String>
214 template <
typename LoaIssueTimeT = Aws::Utils::DateTime>
216 m_loaIssueTimeHasBeenSet =
true;
217 m_loaIssueTime = std::forward<LoaIssueTimeT>(value);
219 template <
typename LoaIssueTimeT = Aws::Utils::DateTime>
231 template <
typename LagIdT = Aws::String>
233 m_lagIdHasBeenSet =
true;
234 m_lagId = std::forward<LagIdT>(value);
236 template <
typename LagIdT = Aws::String>
238 SetLagId(std::forward<LagIdT>(value));
248 template <
typename AwsDeviceT = Aws::String>
250 m_awsDeviceHasBeenSet =
true;
251 m_awsDevice = std::forward<AwsDeviceT>(value);
253 template <
typename AwsDeviceT = Aws::String>
266 m_jumboFrameCapableHasBeenSet =
true;
267 m_jumboFrameCapable = value;
280 template <
typename AwsDeviceV2T = Aws::String>
282 m_awsDeviceV2HasBeenSet =
true;
283 m_awsDeviceV2 = std::forward<AwsDeviceV2T>(value);
285 template <
typename AwsDeviceV2T = Aws::String>
299 template <
typename AwsLogicalDeviceIdT = Aws::String>
301 m_awsLogicalDeviceIdHasBeenSet =
true;
302 m_awsLogicalDeviceId = std::forward<AwsLogicalDeviceIdT>(value);
304 template <
typename AwsLogicalDeviceIdT = Aws::String>
318 m_hasLogicalRedundancyHasBeenSet =
true;
319 m_hasLogicalRedundancy = value;
332 template <
typename TagsT = Aws::Vector<Tag>>
334 m_tagsHasBeenSet =
true;
335 m_tags = std::forward<TagsT>(value);
337 template <
typename TagsT = Aws::Vector<Tag>>
339 SetTags(std::forward<TagsT>(value));
342 template <
typename TagsT = Tag>
344 m_tagsHasBeenSet =
true;
345 m_tags.emplace_back(std::forward<TagsT>(value));
355 template <
typename Prov
iderNameT = Aws::String>
357 m_providerNameHasBeenSet =
true;
358 m_providerName = std::forward<ProviderNameT>(value);
360 template <
typename Prov
iderNameT = Aws::String>
373 m_macSecCapableHasBeenSet =
true;
374 m_macSecCapable = value;
389 template <
typename PortEncryptionStatusT = Aws::String>
391 m_portEncryptionStatusHasBeenSet =
true;
392 m_portEncryptionStatus = std::forward<PortEncryptionStatusT>(value);
394 template <
typename PortEncryptionStatusT = Aws::String>
408 template <
typename EncryptionModeT = Aws::String>
410 m_encryptionModeHasBeenSet =
true;
411 m_encryptionMode = std::forward<EncryptionModeT>(value);
413 template <
typename EncryptionModeT = Aws::String>
425 template <
typename MacSecKeysT = Aws::Vector<MacSecKey>>
427 m_macSecKeysHasBeenSet =
true;
428 m_macSecKeys = std::forward<MacSecKeysT>(value);
430 template <
typename MacSecKeysT = Aws::Vector<MacSecKey>>
435 template <
typename MacSecKeysT = MacSecKey>
437 m_macSecKeysHasBeenSet =
true;
438 m_macSecKeys.emplace_back(std::forward<MacSecKeysT>(value));
449 template <
typename RateLimiterStatusT = RateLimiterStatus>
451 m_rateLimiterStatusHasBeenSet =
true;
452 m_rateLimiterStatus = std::forward<RateLimiterStatusT>(value);
454 template <
typename RateLimiterStatusT = RateLimiterStatus>
468 m_partnerInterconnectMacSecCapableHasBeenSet =
true;
469 m_partnerInterconnectMacSecCapable = value;
485 m_prefixPoolSizeIpv4HasBeenSet =
true;
486 m_prefixPoolSizeIpv4 = value;
502 m_prefixPoolSizeIpv6HasBeenSet =
true;
503 m_prefixPoolSizeIpv6 = value;
519 m_prefixPoolUnallocatedCountIpv4HasBeenSet =
true;
520 m_prefixPoolUnallocatedCountIpv4 = value;
536 m_prefixPoolUnallocatedCountIpv6HasBeenSet =
true;
537 m_prefixPoolUnallocatedCountIpv6 = value;
548 template <
typename RequestIdT = Aws::String>
550 m_requestIdHasBeenSet =
true;
551 m_requestId = std::forward<RequestIdT>(value);
553 template <
typename RequestIdT = Aws::String>
586 bool m_jumboFrameCapable{
false};
598 bool m_macSecCapable{
false};
606 RateLimiterStatus m_rateLimiterStatus;
608 bool m_partnerInterconnectMacSecCapable{
false};
610 int m_prefixPoolSizeIpv4{0};
612 int m_prefixPoolSizeIpv6{0};
614 int m_prefixPoolUnallocatedCountIpv4{0};
616 int m_prefixPoolUnallocatedCountIpv6{0};
620 bool m_ownerAccountHasBeenSet =
false;
621 bool m_connectionIdHasBeenSet =
false;
622 bool m_connectionNameHasBeenSet =
false;
623 bool m_connectionStateHasBeenSet =
false;
624 bool m_regionHasBeenSet =
false;
625 bool m_locationHasBeenSet =
false;
626 bool m_bandwidthHasBeenSet =
false;
627 bool m_vlanHasBeenSet =
false;
628 bool m_partnerNameHasBeenSet =
false;
629 bool m_loaIssueTimeHasBeenSet =
false;
630 bool m_lagIdHasBeenSet =
false;
631 bool m_awsDeviceHasBeenSet =
false;
632 bool m_jumboFrameCapableHasBeenSet =
false;
633 bool m_awsDeviceV2HasBeenSet =
false;
634 bool m_awsLogicalDeviceIdHasBeenSet =
false;
635 bool m_hasLogicalRedundancyHasBeenSet =
false;
636 bool m_tagsHasBeenSet =
false;
637 bool m_providerNameHasBeenSet =
false;
638 bool m_macSecCapableHasBeenSet =
false;
639 bool m_portEncryptionStatusHasBeenSet =
false;
640 bool m_encryptionModeHasBeenSet =
false;
641 bool m_macSecKeysHasBeenSet =
false;
642 bool m_rateLimiterStatusHasBeenSet =
false;
643 bool m_partnerInterconnectMacSecCapableHasBeenSet =
false;
644 bool m_prefixPoolSizeIpv4HasBeenSet =
false;
645 bool m_prefixPoolSizeIpv6HasBeenSet =
false;
646 bool m_prefixPoolUnallocatedCountIpv4HasBeenSet =
false;
647 bool m_prefixPoolUnallocatedCountIpv6HasBeenSet =
false;
648 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
bool GetJumboFrameCapable() const
DisassociateConnectionFromLagResult & WithLoaIssueTime(LoaIssueTimeT &&value)
AWS_DIRECTCONNECT_API DisassociateConnectionFromLagResult(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
DisassociateConnectionFromLagResult & WithAwsDevice(AwsDeviceT &&value)
int GetPrefixPoolUnallocatedCountIpv4() const
void SetRequestId(RequestIdT &&value)
DisassociateConnectionFromLagResult & WithPrefixPoolUnallocatedCountIpv6(int value)
DisassociateConnectionFromLagResult & WithRequestId(RequestIdT &&value)
const Aws::String & GetLagId() 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