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/Connection.h>
12#include <aws/directconnect/model/HasLogicalRedundancy.h>
13#include <aws/directconnect/model/LagState.h>
14#include <aws/directconnect/model/MacSecKey.h>
15#include <aws/directconnect/model/Tag.h>
20template <
typename RESULT_TYPE>
21class AmazonWebServiceResult;
28namespace DirectConnect {
48 template <
typename ConnectionsBandw
idthT = Aws::String>
50 m_connectionsBandwidthHasBeenSet =
true;
51 m_connectionsBandwidth = std::forward<ConnectionsBandwidthT>(value);
53 template <
typename ConnectionsBandw
idthT = Aws::String>
69 m_numberOfConnectionsHasBeenSet =
true;
70 m_numberOfConnections = value;
83 template <
typename LagIdT = Aws::String>
85 m_lagIdHasBeenSet =
true;
86 m_lagId = std::forward<LagIdT>(value);
88 template <
typename LagIdT = Aws::String>
90 SetLagId(std::forward<LagIdT>(value));
100 template <
typename OwnerAccountT = Aws::String>
102 m_ownerAccountHasBeenSet =
true;
103 m_ownerAccount = std::forward<OwnerAccountT>(value);
105 template <
typename OwnerAccountT = Aws::String>
117 template <
typename LagNameT = Aws::String>
119 m_lagNameHasBeenSet =
true;
120 m_lagName = std::forward<LagNameT>(value);
122 template <
typename LagNameT = Aws::String>
144 m_lagStateHasBeenSet =
true;
158 template <
typename LocationT = Aws::String>
160 m_locationHasBeenSet =
true;
161 m_location = std::forward<LocationT>(value);
163 template <
typename LocationT = Aws::String>
175 template <
typename RegionT = Aws::String>
177 m_regionHasBeenSet =
true;
178 m_region = std::forward<RegionT>(value);
180 template <
typename RegionT = Aws::String>
194 m_minimumLinksHasBeenSet =
true;
195 m_minimumLinks = value;
208 template <
typename AwsDeviceT = Aws::String>
210 m_awsDeviceHasBeenSet =
true;
211 m_awsDevice = std::forward<AwsDeviceT>(value);
213 template <
typename AwsDeviceT = Aws::String>
225 template <
typename AwsDeviceV2T = Aws::String>
227 m_awsDeviceV2HasBeenSet =
true;
228 m_awsDeviceV2 = std::forward<AwsDeviceV2T>(value);
230 template <
typename AwsDeviceV2T = Aws::String>
244 template <
typename AwsLogicalDeviceIdT = Aws::String>
246 m_awsLogicalDeviceIdHasBeenSet =
true;
247 m_awsLogicalDeviceId = std::forward<AwsLogicalDeviceIdT>(value);
249 template <
typename AwsLogicalDeviceIdT = Aws::String>
261 template <
typename ConnectionsT = Aws::Vector<Connection>>
263 m_connectionsHasBeenSet =
true;
264 m_connections = std::forward<ConnectionsT>(value);
266 template <
typename ConnectionsT = Aws::Vector<Connection>>
271 template <
typename ConnectionsT = Connection>
273 m_connectionsHasBeenSet =
true;
274 m_connections.emplace_back(std::forward<ConnectionsT>(value));
285 m_allowsHostedConnectionsHasBeenSet =
true;
286 m_allowsHostedConnections = value;
300 m_jumboFrameCapableHasBeenSet =
true;
301 m_jumboFrameCapable = value;
316 m_hasLogicalRedundancyHasBeenSet =
true;
317 m_hasLogicalRedundancy = value;
330 template <
typename TagsT = Aws::Vector<Tag>>
332 m_tagsHasBeenSet =
true;
333 m_tags = std::forward<TagsT>(value);
335 template <
typename TagsT = Aws::Vector<Tag>>
337 SetTags(std::forward<TagsT>(value));
340 template <
typename TagsT = Tag>
342 m_tagsHasBeenSet =
true;
343 m_tags.emplace_back(std::forward<TagsT>(value));
353 template <
typename Prov
iderNameT = Aws::String>
355 m_providerNameHasBeenSet =
true;
356 m_providerName = std::forward<ProviderNameT>(value);
358 template <
typename Prov
iderNameT = Aws::String>
371 m_macSecCapableHasBeenSet =
true;
372 m_macSecCapable = value;
387 template <
typename EncryptionModeT = Aws::String>
389 m_encryptionModeHasBeenSet =
true;
390 m_encryptionMode = std::forward<EncryptionModeT>(value);
392 template <
typename EncryptionModeT = Aws::String>
404 template <
typename MacSecKeysT = Aws::Vector<MacSecKey>>
406 m_macSecKeysHasBeenSet =
true;
407 m_macSecKeys = std::forward<MacSecKeysT>(value);
409 template <
typename MacSecKeysT = Aws::Vector<MacSecKey>>
414 template <
typename MacSecKeysT = MacSecKey>
416 m_macSecKeysHasBeenSet =
true;
417 m_macSecKeys.emplace_back(std::forward<MacSecKeysT>(value));
425 template <
typename RequestIdT = Aws::String>
427 m_requestIdHasBeenSet =
true;
428 m_requestId = std::forward<RequestIdT>(value);
430 template <
typename RequestIdT = Aws::String>
441 int m_numberOfConnections{0};
455 int m_minimumLinks{0};
465 bool m_allowsHostedConnections{
false};
467 bool m_jumboFrameCapable{
false};
475 bool m_macSecCapable{
false};
483 bool m_connectionsBandwidthHasBeenSet =
false;
484 bool m_numberOfConnectionsHasBeenSet =
false;
485 bool m_lagIdHasBeenSet =
false;
486 bool m_ownerAccountHasBeenSet =
false;
487 bool m_lagNameHasBeenSet =
false;
488 bool m_lagStateHasBeenSet =
false;
489 bool m_locationHasBeenSet =
false;
490 bool m_regionHasBeenSet =
false;
491 bool m_minimumLinksHasBeenSet =
false;
492 bool m_awsDeviceHasBeenSet =
false;
493 bool m_awsDeviceV2HasBeenSet =
false;
494 bool m_awsLogicalDeviceIdHasBeenSet =
false;
495 bool m_connectionsHasBeenSet =
false;
496 bool m_allowsHostedConnectionsHasBeenSet =
false;
497 bool m_jumboFrameCapableHasBeenSet =
false;
498 bool m_hasLogicalRedundancyHasBeenSet =
false;
499 bool m_tagsHasBeenSet =
false;
500 bool m_providerNameHasBeenSet =
false;
501 bool m_macSecCapableHasBeenSet =
false;
502 bool m_encryptionModeHasBeenSet =
false;
503 bool m_macSecKeysHasBeenSet =
false;
504 bool m_requestIdHasBeenSet =
false;
void SetAllowsHostedConnections(bool value)
UpdateLagResult & WithConnectionsBandwidth(ConnectionsBandwidthT &&value)
void SetRequestId(RequestIdT &&value)
AWS_DIRECTCONNECT_API UpdateLagResult()=default
const Aws::String & GetOwnerAccount() const
bool GetMacSecCapable() const
UpdateLagResult & WithMacSecKeys(MacSecKeysT &&value)
UpdateLagResult & WithJumboFrameCapable(bool value)
void SetAwsLogicalDeviceId(AwsLogicalDeviceIdT &&value)
UpdateLagResult & AddConnections(ConnectionsT &&value)
const Aws::Vector< Connection > & GetConnections() const
AWS_DIRECTCONNECT_API UpdateLagResult & operator=(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
UpdateLagResult & WithLocation(LocationT &&value)
UpdateLagResult & WithAllowsHostedConnections(bool value)
int GetNumberOfConnections() const
const Aws::String & GetLocation() const
const Aws::String & GetAwsDevice() const
void SetLagName(LagNameT &&value)
void SetMinimumLinks(int value)
const Aws::String & GetEncryptionMode() const
Aws::Http::HttpResponseCode GetHttpResponseCode() const
UpdateLagResult & WithOwnerAccount(OwnerAccountT &&value)
UpdateLagResult & WithProviderName(ProviderNameT &&value)
bool GetJumboFrameCapable() const
void SetOwnerAccount(OwnerAccountT &&value)
UpdateLagResult & WithMacSecCapable(bool value)
void SetRegion(RegionT &&value)
const Aws::String & GetRegion() const
UpdateLagResult & WithTags(TagsT &&value)
UpdateLagResult & WithLagId(LagIdT &&value)
int GetMinimumLinks() const
const Aws::String & GetConnectionsBandwidth() const
const Aws::Vector< MacSecKey > & GetMacSecKeys() const
void SetJumboFrameCapable(bool value)
void SetHasLogicalRedundancy(HasLogicalRedundancy value)
HasLogicalRedundancy GetHasLogicalRedundancy() const
const Aws::String & GetLagId() const
const Aws::String & GetRequestId() const
void SetLagId(LagIdT &&value)
const Aws::String & GetProviderName() const
const Aws::Vector< Tag > & GetTags() const
UpdateLagResult & WithConnections(ConnectionsT &&value)
void SetAwsDeviceV2(AwsDeviceV2T &&value)
void SetLagState(LagState value)
void SetMacSecCapable(bool value)
UpdateLagResult & AddTags(TagsT &&value)
LagState GetLagState() const
void SetTags(TagsT &&value)
UpdateLagResult & WithLagName(LagNameT &&value)
bool GetAllowsHostedConnections() const
UpdateLagResult & WithRegion(RegionT &&value)
void SetAwsDevice(AwsDeviceT &&value)
UpdateLagResult & AddMacSecKeys(MacSecKeysT &&value)
const Aws::String & GetAwsDeviceV2() const
UpdateLagResult & WithNumberOfConnections(int value)
void SetProviderName(ProviderNameT &&value)
AWS_DIRECTCONNECT_API UpdateLagResult(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
UpdateLagResult & WithLagState(LagState value)
UpdateLagResult & WithAwsDeviceV2(AwsDeviceV2T &&value)
const Aws::String & GetLagName() const
UpdateLagResult & WithAwsLogicalDeviceId(AwsLogicalDeviceIdT &&value)
UpdateLagResult & WithAwsDevice(AwsDeviceT &&value)
UpdateLagResult & WithEncryptionMode(EncryptionModeT &&value)
void SetConnectionsBandwidth(ConnectionsBandwidthT &&value)
void SetLocation(LocationT &&value)
void SetMacSecKeys(MacSecKeysT &&value)
UpdateLagResult & WithMinimumLinks(int value)
void SetConnections(ConnectionsT &&value)
const Aws::String & GetAwsLogicalDeviceId() const
void SetEncryptionMode(EncryptionModeT &&value)
UpdateLagResult & WithRequestId(RequestIdT &&value)
UpdateLagResult & WithHasLogicalRedundancy(HasLogicalRedundancy value)
void SetNumberOfConnections(int 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