7#include <aws/core/http/HttpResponse.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/Connection.h>
13#include <aws/directconnect/model/HasLogicalRedundancy.h>
14#include <aws/directconnect/model/LagState.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 {
50 template <
typename ConnectionsBandw
idthT = Aws::String>
52 m_connectionsBandwidthHasBeenSet =
true;
53 m_connectionsBandwidth = std::forward<ConnectionsBandwidthT>(value);
55 template <
typename ConnectionsBandw
idthT = Aws::String>
71 m_numberOfConnectionsHasBeenSet =
true;
72 m_numberOfConnections = value;
85 template <
typename LagIdT = Aws::String>
87 m_lagIdHasBeenSet =
true;
88 m_lagId = std::forward<LagIdT>(value);
90 template <
typename LagIdT = Aws::String>
92 SetLagId(std::forward<LagIdT>(value));
102 template <
typename OwnerAccountT = Aws::String>
104 m_ownerAccountHasBeenSet =
true;
105 m_ownerAccount = std::forward<OwnerAccountT>(value);
107 template <
typename OwnerAccountT = Aws::String>
119 template <
typename LagNameT = Aws::String>
121 m_lagNameHasBeenSet =
true;
122 m_lagName = std::forward<LagNameT>(value);
124 template <
typename LagNameT = Aws::String>
146 m_lagStateHasBeenSet =
true;
160 template <
typename LocationT = Aws::String>
162 m_locationHasBeenSet =
true;
163 m_location = std::forward<LocationT>(value);
165 template <
typename LocationT = Aws::String>
177 template <
typename RegionT = Aws::String>
179 m_regionHasBeenSet =
true;
180 m_region = std::forward<RegionT>(value);
182 template <
typename RegionT = Aws::String>
196 m_minimumLinksHasBeenSet =
true;
197 m_minimumLinks = value;
210 template <
typename AwsDeviceT = Aws::String>
212 m_awsDeviceHasBeenSet =
true;
213 m_awsDevice = std::forward<AwsDeviceT>(value);
215 template <
typename AwsDeviceT = Aws::String>
227 template <
typename AwsDeviceV2T = Aws::String>
229 m_awsDeviceV2HasBeenSet =
true;
230 m_awsDeviceV2 = std::forward<AwsDeviceV2T>(value);
232 template <
typename AwsDeviceV2T = Aws::String>
246 template <
typename AwsLogicalDeviceIdT = Aws::String>
248 m_awsLogicalDeviceIdHasBeenSet =
true;
249 m_awsLogicalDeviceId = std::forward<AwsLogicalDeviceIdT>(value);
251 template <
typename AwsLogicalDeviceIdT = Aws::String>
263 template <
typename ConnectionsT = Aws::Vector<Connection>>
265 m_connectionsHasBeenSet =
true;
266 m_connections = std::forward<ConnectionsT>(value);
268 template <
typename ConnectionsT = Aws::Vector<Connection>>
273 template <
typename ConnectionsT = Connection>
275 m_connectionsHasBeenSet =
true;
276 m_connections.emplace_back(std::forward<ConnectionsT>(value));
287 m_allowsHostedConnectionsHasBeenSet =
true;
288 m_allowsHostedConnections = value;
302 m_jumboFrameCapableHasBeenSet =
true;
303 m_jumboFrameCapable = value;
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 EncryptionModeT = Aws::String>
391 m_encryptionModeHasBeenSet =
true;
392 m_encryptionMode = std::forward<EncryptionModeT>(value);
394 template <
typename EncryptionModeT = Aws::String>
406 template <
typename MacSecKeysT = Aws::Vector<MacSecKey>>
408 m_macSecKeysHasBeenSet =
true;
409 m_macSecKeys = std::forward<MacSecKeysT>(value);
411 template <
typename MacSecKeysT = Aws::Vector<MacSecKey>>
416 template <
typename MacSecKeysT = MacSecKey>
418 m_macSecKeysHasBeenSet =
true;
419 m_macSecKeys.emplace_back(std::forward<MacSecKeysT>(value));
432 m_prefixPoolSizeIpv4HasBeenSet =
true;
433 m_prefixPoolSizeIpv4 = value;
449 m_prefixPoolSizeIpv6HasBeenSet =
true;
450 m_prefixPoolSizeIpv6 = value;
466 m_prefixPoolUnallocatedCountIpv4HasBeenSet =
true;
467 m_prefixPoolUnallocatedCountIpv4 = value;
483 m_prefixPoolUnallocatedCountIpv6HasBeenSet =
true;
484 m_prefixPoolUnallocatedCountIpv6 = value;
498 template <
typename RateLimiterStatusT = RateLimiterStatus>
500 m_rateLimiterStatusHasBeenSet =
true;
501 m_rateLimiterStatus = std::forward<RateLimiterStatusT>(value);
503 template <
typename RateLimiterStatusT = RateLimiterStatus>
516 m_billingModeHasBeenSet =
true;
517 m_billingMode = value;
528 template <
typename RequestIdT = Aws::String>
530 m_requestIdHasBeenSet =
true;
531 m_requestId = std::forward<RequestIdT>(value);
533 template <
typename RequestIdT = Aws::String>
544 int m_numberOfConnections{0};
558 int m_minimumLinks{0};
568 bool m_allowsHostedConnections{
false};
570 bool m_jumboFrameCapable{
false};
578 bool m_macSecCapable{
false};
584 int m_prefixPoolSizeIpv4{0};
586 int m_prefixPoolSizeIpv6{0};
588 int m_prefixPoolUnallocatedCountIpv4{0};
590 int m_prefixPoolUnallocatedCountIpv6{0};
592 RateLimiterStatus m_rateLimiterStatus;
598 bool m_connectionsBandwidthHasBeenSet =
false;
599 bool m_numberOfConnectionsHasBeenSet =
false;
600 bool m_lagIdHasBeenSet =
false;
601 bool m_ownerAccountHasBeenSet =
false;
602 bool m_lagNameHasBeenSet =
false;
603 bool m_lagStateHasBeenSet =
false;
604 bool m_locationHasBeenSet =
false;
605 bool m_regionHasBeenSet =
false;
606 bool m_minimumLinksHasBeenSet =
false;
607 bool m_awsDeviceHasBeenSet =
false;
608 bool m_awsDeviceV2HasBeenSet =
false;
609 bool m_awsLogicalDeviceIdHasBeenSet =
false;
610 bool m_connectionsHasBeenSet =
false;
611 bool m_allowsHostedConnectionsHasBeenSet =
false;
612 bool m_jumboFrameCapableHasBeenSet =
false;
613 bool m_hasLogicalRedundancyHasBeenSet =
false;
614 bool m_tagsHasBeenSet =
false;
615 bool m_providerNameHasBeenSet =
false;
616 bool m_macSecCapableHasBeenSet =
false;
617 bool m_encryptionModeHasBeenSet =
false;
618 bool m_macSecKeysHasBeenSet =
false;
619 bool m_prefixPoolSizeIpv4HasBeenSet =
false;
620 bool m_prefixPoolSizeIpv6HasBeenSet =
false;
621 bool m_prefixPoolUnallocatedCountIpv4HasBeenSet =
false;
622 bool m_prefixPoolUnallocatedCountIpv6HasBeenSet =
false;
623 bool m_rateLimiterStatusHasBeenSet =
false;
624 bool m_billingModeHasBeenSet =
false;
625 bool m_requestIdHasBeenSet =
false;
void SetHasLogicalRedundancy(HasLogicalRedundancy value)
void SetLagId(LagIdT &&value)
DeleteLagResult & WithLagName(LagNameT &&value)
void SetMinimumLinks(int value)
DeleteLagResult & WithRegion(RegionT &&value)
const Aws::String & GetConnectionsBandwidth() const
void SetMacSecKeys(MacSecKeysT &&value)
DeleteLagResult & WithAwsLogicalDeviceId(AwsLogicalDeviceIdT &&value)
const Aws::String & GetLagName() const
DeleteLagResult & WithMacSecCapable(bool value)
const RateLimiterStatus & GetRateLimiterStatus() const
HasLogicalRedundancy GetHasLogicalRedundancy() const
void SetAwsDevice(AwsDeviceT &&value)
void SetMacSecCapable(bool value)
void SetRequestId(RequestIdT &&value)
DeleteLagResult & WithHasLogicalRedundancy(HasLogicalRedundancy value)
DeleteLagResult & WithRequestId(RequestIdT &&value)
void SetConnectionsBandwidth(ConnectionsBandwidthT &&value)
void SetOwnerAccount(OwnerAccountT &&value)
const Aws::String & GetRequestId() const
DeleteLagResult & WithPrefixPoolSizeIpv6(int value)
DeleteLagResult & WithAllowsHostedConnections(bool value)
void SetPrefixPoolUnallocatedCountIpv6(int value)
DeleteLagResult & WithRateLimiterStatus(RateLimiterStatusT &&value)
const Aws::Vector< MacSecKey > & GetMacSecKeys() const
int GetPrefixPoolUnallocatedCountIpv6() const
const Aws::String & GetOwnerAccount() const
DeleteLagResult & WithLagId(LagIdT &&value)
DeleteLagResult & WithOwnerAccount(OwnerAccountT &&value)
void SetNumberOfConnections(int value)
int GetPrefixPoolSizeIpv6() const
const Aws::String & GetEncryptionMode() const
const Aws::String & GetLagId() const
void SetAllowsHostedConnections(bool value)
bool GetAllowsHostedConnections() const
DeleteLagResult & WithPrefixPoolSizeIpv4(int value)
void SetPrefixPoolSizeIpv6(int value)
int GetPrefixPoolSizeIpv4() const
DeleteLagResult & WithConnections(ConnectionsT &&value)
void SetPrefixPoolSizeIpv4(int value)
AWS_DIRECTCONNECT_API DeleteLagResult(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
DeleteLagResult & WithMinimumLinks(int value)
const Aws::String & GetProviderName() const
DeleteLagResult & WithBillingMode(BillingMode value)
DeleteLagResult & WithPrefixPoolUnallocatedCountIpv6(int value)
DeleteLagResult & AddConnections(ConnectionsT &&value)
void SetAwsLogicalDeviceId(AwsLogicalDeviceIdT &&value)
DeleteLagResult & AddMacSecKeys(MacSecKeysT &&value)
int GetNumberOfConnections() const
DeleteLagResult & WithNumberOfConnections(int value)
int GetMinimumLinks() const
void SetLagName(LagNameT &&value)
int GetPrefixPoolUnallocatedCountIpv4() const
void SetEncryptionMode(EncryptionModeT &&value)
const Aws::Vector< Tag > & GetTags() const
DeleteLagResult & WithProviderName(ProviderNameT &&value)
Aws::Http::HttpResponseCode GetHttpResponseCode() const
void SetRegion(RegionT &&value)
DeleteLagResult & AddTags(TagsT &&value)
DeleteLagResult & WithJumboFrameCapable(bool value)
DeleteLagResult & WithEncryptionMode(EncryptionModeT &&value)
AWS_DIRECTCONNECT_API DeleteLagResult()=default
DeleteLagResult & WithPrefixPoolUnallocatedCountIpv4(int value)
DeleteLagResult & WithAwsDeviceV2(AwsDeviceV2T &&value)
DeleteLagResult & WithLocation(LocationT &&value)
void SetBillingMode(BillingMode value)
void SetAwsDeviceV2(AwsDeviceV2T &&value)
const Aws::Vector< Connection > & GetConnections() const
void SetPrefixPoolUnallocatedCountIpv4(int value)
BillingMode GetBillingMode() const
const Aws::String & GetAwsLogicalDeviceId() const
void SetLocation(LocationT &&value)
const Aws::String & GetAwsDeviceV2() const
bool GetMacSecCapable() const
void SetRateLimiterStatus(RateLimiterStatusT &&value)
void SetConnections(ConnectionsT &&value)
void SetProviderName(ProviderNameT &&value)
const Aws::String & GetRegion() const
const Aws::String & GetAwsDevice() const
DeleteLagResult & WithConnectionsBandwidth(ConnectionsBandwidthT &&value)
LagState GetLagState() const
DeleteLagResult & WithAwsDevice(AwsDeviceT &&value)
void SetTags(TagsT &&value)
DeleteLagResult & WithMacSecKeys(MacSecKeysT &&value)
DeleteLagResult & WithTags(TagsT &&value)
void SetJumboFrameCapable(bool value)
const Aws::String & GetLocation() const
bool GetJumboFrameCapable() const
void SetLagState(LagState value)
DeleteLagResult & WithLagState(LagState value)
AWS_DIRECTCONNECT_API DeleteLagResult & operator=(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
std::vector< T, Aws::Allocator< T > > Vector
Aws::Utils::Json::JsonValue JsonValue