7#include <aws/directconnect/DirectConnect_EXPORTS.h>
8#include <aws/core/utils/memory/stl/AWSString.h>
9#include <aws/directconnect/model/ConnectionState.h>
10#include <aws/core/utils/DateTime.h>
11#include <aws/directconnect/model/HasLogicalRedundancy.h>
12#include <aws/core/utils/memory/stl/AWSVector.h>
13#include <aws/directconnect/model/Tag.h>
14#include <aws/directconnect/model/MacSecKey.h>
27namespace DirectConnect
54 inline void SetOwnerAccount(
const char* value) { m_ownerAccountHasBeenSet =
true; m_ownerAccount.assign(value); }
68 inline void SetConnectionId(
const char* value) { m_connectionIdHasBeenSet =
true; m_connectionId.assign(value); }
82 inline void SetConnectionName(
const char* value) { m_connectionNameHasBeenSet =
true; m_connectionName.assign(value); }
123 inline void SetRegion(
const char* value) { m_regionHasBeenSet =
true; m_region.assign(value); }
137 inline void SetLocation(
const char* value) { m_locationHasBeenSet =
true; m_location.assign(value); }
151 inline void SetBandwidth(
const char* value) { m_bandwidthHasBeenSet =
true; m_bandwidth.assign(value); }
163 inline void SetVlan(
int value) { m_vlanHasBeenSet =
true; m_vlan = value; }
176 inline void SetPartnerName(
const char* value) { m_partnerNameHasBeenSet =
true; m_partnerName.assign(value); }
203 inline void SetLagId(
const char* value) { m_lagIdHasBeenSet =
true; m_lagId.assign(value); }
217 inline void SetAwsDevice(
const char* value) { m_awsDeviceHasBeenSet =
true; m_awsDevice.assign(value); }
229 inline void SetJumboFrameCapable(
bool value) { m_jumboFrameCapableHasBeenSet =
true; m_jumboFrameCapable = value; }
241 inline void SetAwsDeviceV2(
const char* value) { m_awsDeviceV2HasBeenSet =
true; m_awsDeviceV2.assign(value); }
257 inline void SetAwsLogicalDeviceId(
const char* value) { m_awsLogicalDeviceIdHasBeenSet =
true; m_awsLogicalDeviceId.assign(value); }
286 inline Connection&
AddTags(
const Tag& value) { m_tagsHasBeenSet =
true; m_tags.push_back(value);
return *
this; }
287 inline Connection&
AddTags(
Tag&& value) { m_tagsHasBeenSet =
true; m_tags.push_back(std::move(value));
return *
this; }
298 inline void SetProviderName(
const char* value) { m_providerNameHasBeenSet =
true; m_providerName.assign(value); }
310 inline void SetMacSecCapable(
bool value) { m_macSecCapableHasBeenSet =
true; m_macSecCapable = value; }
324 inline void SetPortEncryptionStatus(
const char* value) { m_portEncryptionStatusHasBeenSet =
true; m_portEncryptionStatus.assign(value); }
340 inline void SetEncryptionMode(
const char* value) { m_encryptionModeHasBeenSet =
true; m_encryptionMode.assign(value); }
366 inline void SetRequestId(
const char* value) { m_requestIdHasBeenSet =
true; m_requestId.assign(value); }
374 bool m_ownerAccountHasBeenSet =
false;
377 bool m_connectionIdHasBeenSet =
false;
380 bool m_connectionNameHasBeenSet =
false;
383 bool m_connectionStateHasBeenSet =
false;
386 bool m_regionHasBeenSet =
false;
389 bool m_locationHasBeenSet =
false;
392 bool m_bandwidthHasBeenSet =
false;
395 bool m_vlanHasBeenSet =
false;
398 bool m_partnerNameHasBeenSet =
false;
401 bool m_loaIssueTimeHasBeenSet =
false;
404 bool m_lagIdHasBeenSet =
false;
407 bool m_awsDeviceHasBeenSet =
false;
409 bool m_jumboFrameCapable;
410 bool m_jumboFrameCapableHasBeenSet =
false;
413 bool m_awsDeviceV2HasBeenSet =
false;
416 bool m_awsLogicalDeviceIdHasBeenSet =
false;
419 bool m_hasLogicalRedundancyHasBeenSet =
false;
422 bool m_tagsHasBeenSet =
false;
425 bool m_providerNameHasBeenSet =
false;
427 bool m_macSecCapable;
428 bool m_macSecCapableHasBeenSet =
false;
431 bool m_portEncryptionStatusHasBeenSet =
false;
434 bool m_encryptionModeHasBeenSet =
false;
437 bool m_macSecKeysHasBeenSet =
false;
440 bool m_requestIdHasBeenSet =
false;
void SetMacSecCapable(bool value)
Connection & WithHasLogicalRedundancy(const HasLogicalRedundancy &value)
bool LocationHasBeenSet() const
const Aws::Vector< Tag > & GetTags() const
void SetOwnerAccount(const char *value)
void SetConnectionId(Aws::String &&value)
void SetConnectionId(const char *value)
Connection & WithProviderName(const char *value)
void SetAwsDevice(Aws::String &&value)
bool RegionHasBeenSet() const
Connection & WithPortEncryptionStatus(Aws::String &&value)
Connection & WithHasLogicalRedundancy(HasLogicalRedundancy &&value)
bool MacSecCapableHasBeenSet() const
const Aws::String & GetAwsDevice() const
void SetEncryptionMode(const char *value)
Connection & AddMacSecKeys(const MacSecKey &value)
void SetRegion(const Aws::String &value)
bool PartnerNameHasBeenSet() const
Connection & WithAwsLogicalDeviceId(Aws::String &&value)
void SetHasLogicalRedundancy(HasLogicalRedundancy &&value)
Connection & WithConnectionState(ConnectionState &&value)
Connection & WithOwnerAccount(const char *value)
bool MacSecKeysHasBeenSet() const
Connection & WithBandwidth(const char *value)
Connection & AddTags(Tag &&value)
bool VlanHasBeenSet() const
Connection & WithLagId(const char *value)
const Aws::String & GetEncryptionMode() const
bool HasLogicalRedundancyHasBeenSet() const
void SetLoaIssueTime(const Aws::Utils::DateTime &value)
Connection & WithVlan(int value)
Connection & WithOwnerAccount(Aws::String &&value)
void SetRequestId(const char *value)
Connection & WithEncryptionMode(Aws::String &&value)
Connection & WithAwsLogicalDeviceId(const Aws::String &value)
void SetProviderName(const char *value)
const Aws::String & GetLagId() const
bool AwsLogicalDeviceIdHasBeenSet() const
bool AwsDeviceHasBeenSet() const
void SetPortEncryptionStatus(const Aws::String &value)
bool BandwidthHasBeenSet() const
void SetPartnerName(Aws::String &&value)
void SetAwsDeviceV2(const Aws::String &value)
void SetMacSecKeys(const Aws::Vector< MacSecKey > &value)
Connection & WithPartnerName(Aws::String &&value)
Connection & WithLocation(const Aws::String &value)
bool RequestIdHasBeenSet() const
Connection & WithRequestId(const char *value)
bool LoaIssueTimeHasBeenSet() const
const Aws::String & GetPartnerName() const
void SetRequestId(const Aws::String &value)
void SetOwnerAccount(Aws::String &&value)
void SetBandwidth(Aws::String &&value)
const Aws::Utils::DateTime & GetLoaIssueTime() const
Connection & WithConnectionId(const Aws::String &value)
void SetBandwidth(const char *value)
void SetEncryptionMode(const Aws::String &value)
Connection & WithAwsDeviceV2(const char *value)
void SetLocation(const Aws::String &value)
Connection & WithConnectionId(const char *value)
bool TagsHasBeenSet() const
void SetAwsLogicalDeviceId(const Aws::String &value)
Connection & WithProviderName(Aws::String &&value)
Connection & WithProviderName(const Aws::String &value)
bool AwsDeviceV2HasBeenSet() const
Connection & WithOwnerAccount(const Aws::String &value)
Connection & WithMacSecKeys(Aws::Vector< MacSecKey > &&value)
Connection & WithAwsDeviceV2(Aws::String &&value)
Connection & WithLagId(Aws::String &&value)
void SetRegion(const char *value)
void SetAwsDevice(const char *value)
const Aws::String & GetBandwidth() const
void SetLagId(const char *value)
const Aws::String & GetLocation() const
void SetPartnerName(const char *value)
Connection & WithRegion(const Aws::String &value)
bool GetMacSecCapable() const
void SetEncryptionMode(Aws::String &&value)
Connection & WithLocation(const char *value)
const Aws::String & GetPortEncryptionStatus() const
Connection & WithAwsDevice(Aws::String &&value)
bool PortEncryptionStatusHasBeenSet() const
void SetPortEncryptionStatus(Aws::String &&value)
AWS_DIRECTCONNECT_API Aws::Utils::Json::JsonValue Jsonize() const
Connection & WithLoaIssueTime(Aws::Utils::DateTime &&value)
void SetAwsDeviceV2(Aws::String &&value)
Connection & WithRegion(const char *value)
Connection & WithEncryptionMode(const Aws::String &value)
Connection & WithConnectionName(Aws::String &&value)
Connection & WithConnectionName(const Aws::String &value)
void SetLagId(const Aws::String &value)
Connection & WithAwsDevice(const char *value)
Connection & WithEncryptionMode(const char *value)
Connection & WithRequestId(const Aws::String &value)
void SetBandwidth(const Aws::String &value)
void SetAwsDeviceV2(const char *value)
void SetProviderName(Aws::String &&value)
Connection & WithPortEncryptionStatus(const Aws::String &value)
Connection & WithLocation(Aws::String &&value)
const Aws::String & GetConnectionName() const
bool JumboFrameCapableHasBeenSet() const
Connection & WithBandwidth(Aws::String &&value)
void SetAwsDevice(const Aws::String &value)
Connection & WithConnectionId(Aws::String &&value)
AWS_DIRECTCONNECT_API Connection(Aws::Utils::Json::JsonView jsonValue)
Connection & AddTags(const Tag &value)
void SetMacSecKeys(Aws::Vector< MacSecKey > &&value)
void SetHasLogicalRedundancy(const HasLogicalRedundancy &value)
void SetTags(const Aws::Vector< Tag > &value)
Connection & WithTags(Aws::Vector< Tag > &&value)
const Aws::String & GetRequestId() const
AWS_DIRECTCONNECT_API Connection & operator=(Aws::Utils::Json::JsonView jsonValue)
bool LagIdHasBeenSet() const
void SetLoaIssueTime(Aws::Utils::DateTime &&value)
void SetTags(Aws::Vector< Tag > &&value)
Connection & WithRegion(Aws::String &&value)
Connection & WithConnectionState(const ConnectionState &value)
void SetProviderName(const Aws::String &value)
void SetConnectionId(const Aws::String &value)
void SetConnectionState(const ConnectionState &value)
bool EncryptionModeHasBeenSet() const
const Aws::String & GetConnectionId() const
void SetPortEncryptionStatus(const char *value)
void SetConnectionName(const char *value)
Connection & WithBandwidth(const Aws::String &value)
bool ConnectionNameHasBeenSet() const
Connection & WithLagId(const Aws::String &value)
Connection & WithAwsDeviceV2(const Aws::String &value)
bool GetJumboFrameCapable() const
void SetRequestId(Aws::String &&value)
void SetOwnerAccount(const Aws::String &value)
Connection & WithMacSecCapable(bool value)
Connection & WithLoaIssueTime(const Aws::Utils::DateTime &value)
const Aws::Vector< MacSecKey > & GetMacSecKeys() const
void SetLagId(Aws::String &&value)
const Aws::String & GetAwsDeviceV2() const
void SetPartnerName(const Aws::String &value)
bool ConnectionIdHasBeenSet() const
void SetLocation(Aws::String &&value)
Connection & WithJumboFrameCapable(bool value)
void SetAwsLogicalDeviceId(Aws::String &&value)
bool ProviderNameHasBeenSet() const
Connection & WithRequestId(Aws::String &&value)
Connection & WithPortEncryptionStatus(const char *value)
Connection & WithTags(const Aws::Vector< Tag > &value)
const Aws::String & GetAwsLogicalDeviceId() const
const Aws::String & GetRegion() const
void SetConnectionName(const Aws::String &value)
Connection & WithConnectionName(const char *value)
const HasLogicalRedundancy & GetHasLogicalRedundancy() const
void SetConnectionState(ConnectionState &&value)
void SetLocation(const char *value)
void SetJumboFrameCapable(bool value)
const Aws::String & GetProviderName() const
bool OwnerAccountHasBeenSet() const
Connection & AddMacSecKeys(MacSecKey &&value)
void SetConnectionName(Aws::String &&value)
Connection & WithMacSecKeys(const Aws::Vector< MacSecKey > &value)
Connection & WithPartnerName(const char *value)
const ConnectionState & GetConnectionState() const
Connection & WithAwsLogicalDeviceId(const char *value)
void SetRegion(Aws::String &&value)
bool ConnectionStateHasBeenSet() const
Connection & WithAwsDevice(const Aws::String &value)
Connection & WithPartnerName(const Aws::String &value)
const Aws::String & GetOwnerAccount() const
void SetAwsLogicalDeviceId(const char *value)
AWS_DIRECTCONNECT_API Connection()
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
std::vector< T, Aws::Allocator< T > > Vector
Aws::Utils::Json::JsonValue JsonValue