7#include <aws/directconnect/DirectConnect_EXPORTS.h>
8#include <aws/core/utils/memory/stl/AWSString.h>
9#include <aws/directconnect/model/LagState.h>
10#include <aws/core/utils/memory/stl/AWSVector.h>
11#include <aws/directconnect/model/HasLogicalRedundancy.h>
12#include <aws/directconnect/model/Connection.h>
13#include <aws/directconnect/model/Tag.h>
14#include <aws/directconnect/model/MacSecKey.h>
27namespace DirectConnect
41 AWS_DIRECTCONNECT_API
Lag();
56 inline void SetConnectionsBandwidth(
const char* value) { m_connectionsBandwidthHasBeenSet =
true; m_connectionsBandwidth.assign(value); }
71 inline void SetNumberOfConnections(
int value) { m_numberOfConnectionsHasBeenSet =
true; m_numberOfConnections = value; }
83 inline void SetLagId(
const char* value) { m_lagIdHasBeenSet =
true; m_lagId.assign(value); }
97 inline void SetOwnerAccount(
const char* value) { m_ownerAccountHasBeenSet =
true; m_ownerAccount.assign(value); }
111 inline void SetLagName(
const char* value) { m_lagNameHasBeenSet =
true; m_lagName.assign(value); }
146 inline void SetLocation(
const char* value) { m_locationHasBeenSet =
true; m_location.assign(value); }
160 inline void SetRegion(
const char* value) { m_regionHasBeenSet =
true; m_region.assign(value); }
173 inline void SetMinimumLinks(
int value) { m_minimumLinksHasBeenSet =
true; m_minimumLinks = value; }
185 inline void SetAwsDevice(
const char* value) { m_awsDeviceHasBeenSet =
true; m_awsDevice.assign(value); }
199 inline void SetAwsDeviceV2(
const char* value) { m_awsDeviceV2HasBeenSet =
true; m_awsDeviceV2.assign(value); }
215 inline void SetAwsLogicalDeviceId(
const char* value) { m_awsLogicalDeviceIdHasBeenSet =
true; m_awsLogicalDeviceId.assign(value); }
251 inline void SetJumboFrameCapable(
bool value) { m_jumboFrameCapableHasBeenSet =
true; m_jumboFrameCapable = value; }
278 inline Lag&
AddTags(
const Tag& value) { m_tagsHasBeenSet =
true; m_tags.push_back(value);
return *
this; }
279 inline Lag&
AddTags(
Tag&& value) { m_tagsHasBeenSet =
true; m_tags.push_back(std::move(value));
return *
this; }
290 inline void SetProviderName(
const char* value) { m_providerNameHasBeenSet =
true; m_providerName.assign(value); }
302 inline void SetMacSecCapable(
bool value) { m_macSecCapableHasBeenSet =
true; m_macSecCapable = value; }
316 inline void SetEncryptionMode(
const char* value) { m_encryptionModeHasBeenSet =
true; m_encryptionMode.assign(value); }
342 inline void SetRequestId(
const char* value) { m_requestIdHasBeenSet =
true; m_requestId.assign(value); }
350 bool m_connectionsBandwidthHasBeenSet =
false;
352 int m_numberOfConnections;
353 bool m_numberOfConnectionsHasBeenSet =
false;
356 bool m_lagIdHasBeenSet =
false;
359 bool m_ownerAccountHasBeenSet =
false;
362 bool m_lagNameHasBeenSet =
false;
365 bool m_lagStateHasBeenSet =
false;
368 bool m_locationHasBeenSet =
false;
371 bool m_regionHasBeenSet =
false;
374 bool m_minimumLinksHasBeenSet =
false;
377 bool m_awsDeviceHasBeenSet =
false;
380 bool m_awsDeviceV2HasBeenSet =
false;
383 bool m_awsLogicalDeviceIdHasBeenSet =
false;
386 bool m_connectionsHasBeenSet =
false;
388 bool m_allowsHostedConnections;
389 bool m_allowsHostedConnectionsHasBeenSet =
false;
391 bool m_jumboFrameCapable;
392 bool m_jumboFrameCapableHasBeenSet =
false;
395 bool m_hasLogicalRedundancyHasBeenSet =
false;
398 bool m_tagsHasBeenSet =
false;
401 bool m_providerNameHasBeenSet =
false;
403 bool m_macSecCapable;
404 bool m_macSecCapableHasBeenSet =
false;
407 bool m_encryptionModeHasBeenSet =
false;
410 bool m_macSecKeysHasBeenSet =
false;
413 bool m_requestIdHasBeenSet =
false;
const Aws::String & GetLagName() const
bool GetJumboFrameCapable() const
void SetAwsLogicalDeviceId(const char *value)
Lag & WithJumboFrameCapable(bool value)
void SetLocation(const char *value)
void SetLocation(Aws::String &&value)
void SetHasLogicalRedundancy(const HasLogicalRedundancy &value)
void SetRegion(Aws::String &&value)
bool ConnectionsHasBeenSet() const
void SetRequestId(Aws::String &&value)
Lag & WithLagId(Aws::String &&value)
void SetConnections(const Aws::Vector< Connection > &value)
Lag & WithMacSecKeys(const Aws::Vector< MacSecKey > &value)
Lag & WithProviderName(Aws::String &&value)
void SetLagName(const char *value)
Lag & WithConnectionsBandwidth(const char *value)
void SetMacSecKeys(Aws::Vector< MacSecKey > &&value)
Lag & WithAwsLogicalDeviceId(const Aws::String &value)
const Aws::Vector< Tag > & GetTags() const
bool MacSecCapableHasBeenSet() const
const Aws::String & GetLagId() const
Lag & WithRegion(const char *value)
void SetEncryptionMode(const Aws::String &value)
const HasLogicalRedundancy & GetHasLogicalRedundancy() const
Lag & WithRegion(const Aws::String &value)
void SetTags(Aws::Vector< Tag > &&value)
void SetAwsDevice(const Aws::String &value)
Lag & WithLagState(LagState &&value)
Lag & WithAwsDevice(const Aws::String &value)
void SetJumboFrameCapable(bool value)
Lag & WithTags(Aws::Vector< Tag > &&value)
void SetLagName(Aws::String &&value)
void SetConnectionsBandwidth(const char *value)
void SetProviderName(const char *value)
void SetConnectionsBandwidth(const Aws::String &value)
bool LagNameHasBeenSet() const
Lag & WithNumberOfConnections(int value)
void SetRegion(const char *value)
Lag & WithLagName(const char *value)
void SetRegion(const Aws::String &value)
void SetLagId(const char *value)
bool AwsDeviceHasBeenSet() const
Lag & AddMacSecKeys(MacSecKey &&value)
const Aws::String & GetConnectionsBandwidth() const
void SetLagName(const Aws::String &value)
Lag & WithHasLogicalRedundancy(const HasLogicalRedundancy &value)
void SetMinimumLinks(int value)
void SetProviderName(Aws::String &&value)
const Aws::Vector< Connection > & GetConnections() const
void SetAwsLogicalDeviceId(const Aws::String &value)
Lag & WithOwnerAccount(const Aws::String &value)
const Aws::String & GetRegion() const
void SetAwsDevice(Aws::String &&value)
const Aws::String & GetAwsLogicalDeviceId() const
void SetOwnerAccount(const char *value)
Lag & WithConnectionsBandwidth(const Aws::String &value)
void SetLagState(const LagState &value)
bool MacSecKeysHasBeenSet() const
const Aws::String & GetLocation() const
void SetMacSecCapable(bool value)
Lag & WithRequestId(const Aws::String &value)
bool EncryptionModeHasBeenSet() const
void SetOwnerAccount(const Aws::String &value)
Lag & AddConnections(Connection &&value)
bool TagsHasBeenSet() const
void SetEncryptionMode(const char *value)
void SetAwsLogicalDeviceId(Aws::String &&value)
AWS_DIRECTCONNECT_API Lag & operator=(Aws::Utils::Json::JsonView jsonValue)
Lag & WithRequestId(Aws::String &&value)
Lag & WithMacSecCapable(bool value)
Lag & WithConnections(Aws::Vector< Connection > &&value)
Lag & WithRequestId(const char *value)
AWS_DIRECTCONNECT_API Aws::Utils::Json::JsonValue Jsonize() const
Lag & WithAwsLogicalDeviceId(const char *value)
Lag & WithMinimumLinks(int value)
bool RequestIdHasBeenSet() const
Lag & WithProviderName(const char *value)
void SetLagId(Aws::String &&value)
bool LagStateHasBeenSet() const
Lag & WithEncryptionMode(Aws::String &&value)
void SetOwnerAccount(Aws::String &&value)
Lag & WithAwsDeviceV2(const char *value)
void SetConnectionsBandwidth(Aws::String &&value)
void SetRequestId(const char *value)
const Aws::Vector< MacSecKey > & GetMacSecKeys() const
void SetAllowsHostedConnections(bool value)
void SetHasLogicalRedundancy(HasLogicalRedundancy &&value)
Lag & WithAwsDevice(Aws::String &&value)
Lag & WithEncryptionMode(const Aws::String &value)
const Aws::String & GetRequestId() const
bool LocationHasBeenSet() const
bool GetMacSecCapable() const
bool AwsLogicalDeviceIdHasBeenSet() const
const Aws::String & GetOwnerAccount() const
const Aws::String & GetAwsDeviceV2() const
Lag & WithLocation(const char *value)
bool RegionHasBeenSet() const
bool AllowsHostedConnectionsHasBeenSet() const
const Aws::String & GetAwsDevice() const
void SetNumberOfConnections(int value)
void SetProviderName(const Aws::String &value)
Lag & WithRegion(Aws::String &&value)
Lag & WithLagId(const Aws::String &value)
Lag & AddMacSecKeys(const MacSecKey &value)
Lag & AddTags(const Tag &value)
bool LagIdHasBeenSet() const
Lag & WithTags(const Aws::Vector< Tag > &value)
bool NumberOfConnectionsHasBeenSet() const
Lag & WithAwsDeviceV2(const Aws::String &value)
Lag & WithMacSecKeys(Aws::Vector< MacSecKey > &&value)
Lag & WithConnectionsBandwidth(Aws::String &&value)
const Aws::String & GetEncryptionMode() const
int GetNumberOfConnections() const
Lag & WithLagState(const LagState &value)
Lag & WithConnections(const Aws::Vector< Connection > &value)
Lag & AddConnections(const Connection &value)
Lag & WithOwnerAccount(const char *value)
void SetRequestId(const Aws::String &value)
const Aws::String & GetProviderName() const
Lag & WithEncryptionMode(const char *value)
void SetAwsDeviceV2(Aws::String &&value)
void SetAwsDeviceV2(const Aws::String &value)
Lag & WithAllowsHostedConnections(bool value)
Lag & WithLagName(Aws::String &&value)
Lag & WithLagName(const Aws::String &value)
void SetLagState(LagState &&value)
void SetAwsDeviceV2(const char *value)
Lag & WithLocation(const Aws::String &value)
void SetLocation(const Aws::String &value)
Lag & WithOwnerAccount(Aws::String &&value)
bool MinimumLinksHasBeenSet() const
bool AwsDeviceV2HasBeenSet() const
AWS_DIRECTCONNECT_API Lag()
AWS_DIRECTCONNECT_API Lag(Aws::Utils::Json::JsonView jsonValue)
void SetConnections(Aws::Vector< Connection > &&value)
Lag & AddTags(Tag &&value)
Lag & WithAwsDeviceV2(Aws::String &&value)
Lag & WithProviderName(const Aws::String &value)
bool OwnerAccountHasBeenSet() const
int GetMinimumLinks() const
void SetEncryptionMode(Aws::String &&value)
Lag & WithHasLogicalRedundancy(HasLogicalRedundancy &&value)
bool GetAllowsHostedConnections() const
Lag & WithAwsLogicalDeviceId(Aws::String &&value)
bool ConnectionsBandwidthHasBeenSet() const
bool HasLogicalRedundancyHasBeenSet() const
void SetTags(const Aws::Vector< Tag > &value)
Lag & WithLagId(const char *value)
void SetAwsDevice(const char *value)
const LagState & GetLagState() const
void SetMacSecKeys(const Aws::Vector< MacSecKey > &value)
Lag & WithAwsDevice(const char *value)
Lag & WithLocation(Aws::String &&value)
bool JumboFrameCapableHasBeenSet() const
void SetLagId(const Aws::String &value)
bool ProviderNameHasBeenSet() const
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
std::vector< T, Aws::Allocator< T > > Vector
Aws::Utils::Json::JsonValue JsonValue