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;
CreateLagResult & WithRateLimiterStatus(RateLimiterStatusT &&value)
void SetBillingMode(BillingMode value)
const Aws::String & GetConnectionsBandwidth() const
CreateLagResult & WithMacSecKeys(MacSecKeysT &&value)
void SetAllowsHostedConnections(bool value)
const Aws::Vector< Connection > & GetConnections() const
void SetJumboFrameCapable(bool value)
void SetMinimumLinks(int value)
bool GetMacSecCapable() const
void SetRequestId(RequestIdT &&value)
CreateLagResult & WithPrefixPoolUnallocatedCountIpv6(int value)
const Aws::String & GetLagName() const
CreateLagResult & AddConnections(ConnectionsT &&value)
CreateLagResult & AddMacSecKeys(MacSecKeysT &&value)
void SetPrefixPoolUnallocatedCountIpv4(int value)
void SetProviderName(ProviderNameT &&value)
int GetPrefixPoolSizeIpv4() const
const Aws::String & GetEncryptionMode() const
CreateLagResult & WithHasLogicalRedundancy(HasLogicalRedundancy value)
Aws::Http::HttpResponseCode GetHttpResponseCode() const
CreateLagResult & WithAllowsHostedConnections(bool value)
CreateLagResult & WithProviderName(ProviderNameT &&value)
const Aws::String & GetProviderName() const
CreateLagResult & WithOwnerAccount(OwnerAccountT &&value)
const Aws::String & GetOwnerAccount() const
void SetEncryptionMode(EncryptionModeT &&value)
void SetLocation(LocationT &&value)
int GetPrefixPoolSizeIpv6() const
CreateLagResult & WithLagId(LagIdT &&value)
CreateLagResult & WithAwsLogicalDeviceId(AwsLogicalDeviceIdT &&value)
void SetAwsDevice(AwsDeviceT &&value)
AWS_DIRECTCONNECT_API CreateLagResult()=default
void SetRegion(RegionT &&value)
int GetMinimumLinks() const
CreateLagResult & AddTags(TagsT &&value)
CreateLagResult & WithTags(TagsT &&value)
CreateLagResult & WithLagState(LagState value)
void SetRateLimiterStatus(RateLimiterStatusT &&value)
void SetConnectionsBandwidth(ConnectionsBandwidthT &&value)
void SetPrefixPoolSizeIpv6(int value)
CreateLagResult & WithLagName(LagNameT &&value)
CreateLagResult & WithMacSecCapable(bool value)
int GetPrefixPoolUnallocatedCountIpv4() const
CreateLagResult & WithPrefixPoolSizeIpv4(int value)
bool GetAllowsHostedConnections() const
CreateLagResult & WithRequestId(RequestIdT &&value)
CreateLagResult & WithConnections(ConnectionsT &&value)
void SetTags(TagsT &&value)
const Aws::String & GetLocation() const
const Aws::String & GetAwsLogicalDeviceId() const
const Aws::String & GetRequestId() const
CreateLagResult & WithPrefixPoolUnallocatedCountIpv4(int value)
const Aws::String & GetAwsDeviceV2() const
HasLogicalRedundancy GetHasLogicalRedundancy() const
CreateLagResult & WithPrefixPoolSizeIpv6(int value)
CreateLagResult & WithMinimumLinks(int value)
void SetAwsLogicalDeviceId(AwsLogicalDeviceIdT &&value)
BillingMode GetBillingMode() const
CreateLagResult & WithBillingMode(BillingMode value)
CreateLagResult & WithAwsDeviceV2(AwsDeviceV2T &&value)
bool GetJumboFrameCapable() const
CreateLagResult & WithJumboFrameCapable(bool value)
AWS_DIRECTCONNECT_API CreateLagResult & operator=(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
void SetMacSecKeys(MacSecKeysT &&value)
const Aws::String & GetAwsDevice() const
CreateLagResult & WithConnectionsBandwidth(ConnectionsBandwidthT &&value)
void SetOwnerAccount(OwnerAccountT &&value)
int GetPrefixPoolUnallocatedCountIpv6() const
void SetLagId(LagIdT &&value)
CreateLagResult & WithRegion(RegionT &&value)
void SetMacSecCapable(bool value)
AWS_DIRECTCONNECT_API CreateLagResult(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
void SetPrefixPoolSizeIpv4(int value)
void SetLagName(LagNameT &&value)
CreateLagResult & WithNumberOfConnections(int value)
const Aws::String & GetLagId() const
const Aws::Vector< Tag > & GetTags() const
const Aws::String & GetRegion() const
void SetPrefixPoolUnallocatedCountIpv6(int value)
const Aws::Vector< MacSecKey > & GetMacSecKeys() const
void SetHasLogicalRedundancy(HasLogicalRedundancy value)
CreateLagResult & WithEncryptionMode(EncryptionModeT &&value)
CreateLagResult & WithAwsDevice(AwsDeviceT &&value)
LagState GetLagState() const
void SetConnections(ConnectionsT &&value)
void SetNumberOfConnections(int value)
void SetLagState(LagState value)
CreateLagResult & WithLocation(LocationT &&value)
const RateLimiterStatus & GetRateLimiterStatus() const
int GetNumberOfConnections() const
void SetAwsDeviceV2(AwsDeviceV2T &&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