7#include <aws/core/utils/DateTime.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/ConnectionState.h>
12#include <aws/directconnect/model/HasLogicalRedundancy.h>
13#include <aws/directconnect/model/MacSecKey.h>
14#include <aws/directconnect/model/Tag.h>
25namespace DirectConnect {
46 template <
typename OwnerAccountT = Aws::String>
48 m_ownerAccountHasBeenSet =
true;
49 m_ownerAccount = std::forward<OwnerAccountT>(value);
51 template <
typename OwnerAccountT = Aws::String>
64 template <
typename ConnectionIdT = Aws::String>
66 m_connectionIdHasBeenSet =
true;
67 m_connectionId = std::forward<ConnectionIdT>(value);
69 template <
typename ConnectionIdT = Aws::String>
82 template <
typename ConnectionNameT = Aws::String>
84 m_connectionNameHasBeenSet =
true;
85 m_connectionName = std::forward<ConnectionNameT>(value);
87 template <
typename ConnectionNameT = Aws::String>
116 m_connectionStateHasBeenSet =
true;
117 m_connectionState = value;
131 template <
typename RegionT = Aws::String>
133 m_regionHasBeenSet =
true;
134 m_region = std::forward<RegionT>(value);
136 template <
typename RegionT = Aws::String>
149 template <
typename LocationT = Aws::String>
151 m_locationHasBeenSet =
true;
152 m_location = std::forward<LocationT>(value);
154 template <
typename LocationT = Aws::String>
167 template <
typename Bandw
idthT = Aws::String>
169 m_bandwidthHasBeenSet =
true;
170 m_bandwidth = std::forward<BandwidthT>(value);
172 template <
typename Bandw
idthT = Aws::String>
186 m_vlanHasBeenSet =
true;
202 template <
typename PartnerNameT = Aws::String>
204 m_partnerNameHasBeenSet =
true;
205 m_partnerName = std::forward<PartnerNameT>(value);
207 template <
typename PartnerNameT = Aws::String>
221 template <
typename LoaIssueTimeT = Aws::Utils::DateTime>
223 m_loaIssueTimeHasBeenSet =
true;
224 m_loaIssueTime = std::forward<LoaIssueTimeT>(value);
226 template <
typename LoaIssueTimeT = Aws::Utils::DateTime>
239 template <
typename LagIdT = Aws::String>
241 m_lagIdHasBeenSet =
true;
242 m_lagId = std::forward<LagIdT>(value);
244 template <
typename LagIdT = Aws::String>
246 SetLagId(std::forward<LagIdT>(value));
257 template <
typename AwsDeviceT = Aws::String>
259 m_awsDeviceHasBeenSet =
true;
260 m_awsDevice = std::forward<AwsDeviceT>(value);
262 template <
typename AwsDeviceT = Aws::String>
276 m_jumboFrameCapableHasBeenSet =
true;
277 m_jumboFrameCapable = value;
291 template <
typename AwsDeviceV2T = Aws::String>
293 m_awsDeviceV2HasBeenSet =
true;
294 m_awsDeviceV2 = std::forward<AwsDeviceV2T>(value);
296 template <
typename AwsDeviceV2T = Aws::String>
311 template <
typename AwsLogicalDeviceIdT = Aws::String>
313 m_awsLogicalDeviceIdHasBeenSet =
true;
314 m_awsLogicalDeviceId = std::forward<AwsLogicalDeviceIdT>(value);
316 template <
typename AwsLogicalDeviceIdT = Aws::String>
331 m_hasLogicalRedundancyHasBeenSet =
true;
332 m_hasLogicalRedundancy = value;
346 template <
typename TagsT = Aws::Vector<Tag>>
348 m_tagsHasBeenSet =
true;
349 m_tags = std::forward<TagsT>(value);
351 template <
typename TagsT = Aws::Vector<Tag>>
353 SetTags(std::forward<TagsT>(value));
356 template <
typename TagsT = Tag>
358 m_tagsHasBeenSet =
true;
359 m_tags.emplace_back(std::forward<TagsT>(value));
370 template <
typename Prov
iderNameT = Aws::String>
372 m_providerNameHasBeenSet =
true;
373 m_providerName = std::forward<ProviderNameT>(value);
375 template <
typename Prov
iderNameT = Aws::String>
389 m_macSecCapableHasBeenSet =
true;
390 m_macSecCapable = value;
406 template <
typename PortEncryptionStatusT = Aws::String>
408 m_portEncryptionStatusHasBeenSet =
true;
409 m_portEncryptionStatus = std::forward<PortEncryptionStatusT>(value);
411 template <
typename PortEncryptionStatusT = Aws::String>
426 template <
typename EncryptionModeT = Aws::String>
428 m_encryptionModeHasBeenSet =
true;
429 m_encryptionMode = std::forward<EncryptionModeT>(value);
431 template <
typename EncryptionModeT = Aws::String>
444 template <
typename MacSecKeysT = Aws::Vector<MacSecKey>>
446 m_macSecKeysHasBeenSet =
true;
447 m_macSecKeys = std::forward<MacSecKeysT>(value);
449 template <
typename MacSecKeysT = Aws::Vector<MacSecKey>>
454 template <
typename MacSecKeysT = MacSecKey>
456 m_macSecKeysHasBeenSet =
true;
457 m_macSecKeys.emplace_back(std::forward<MacSecKeysT>(value));
470 m_partnerInterconnectMacSecCapableHasBeenSet =
true;
471 m_partnerInterconnectMacSecCapable = value;
483 template <
typename RequestIdT = Aws::String>
485 m_requestIdHasBeenSet =
true;
486 m_requestId = std::forward<RequestIdT>(value);
488 template <
typename RequestIdT = Aws::String>
519 bool m_jumboFrameCapable{
false};
531 bool m_macSecCapable{
false};
539 bool m_partnerInterconnectMacSecCapable{
false};
542 bool m_ownerAccountHasBeenSet =
false;
543 bool m_connectionIdHasBeenSet =
false;
544 bool m_connectionNameHasBeenSet =
false;
545 bool m_connectionStateHasBeenSet =
false;
546 bool m_regionHasBeenSet =
false;
547 bool m_locationHasBeenSet =
false;
548 bool m_bandwidthHasBeenSet =
false;
549 bool m_vlanHasBeenSet =
false;
550 bool m_partnerNameHasBeenSet =
false;
551 bool m_loaIssueTimeHasBeenSet =
false;
552 bool m_lagIdHasBeenSet =
false;
553 bool m_awsDeviceHasBeenSet =
false;
554 bool m_jumboFrameCapableHasBeenSet =
false;
555 bool m_awsDeviceV2HasBeenSet =
false;
556 bool m_awsLogicalDeviceIdHasBeenSet =
false;
557 bool m_hasLogicalRedundancyHasBeenSet =
false;
558 bool m_tagsHasBeenSet =
false;
559 bool m_providerNameHasBeenSet =
false;
560 bool m_macSecCapableHasBeenSet =
false;
561 bool m_portEncryptionStatusHasBeenSet =
false;
562 bool m_encryptionModeHasBeenSet =
false;
563 bool m_macSecKeysHasBeenSet =
false;
564 bool m_partnerInterconnectMacSecCapableHasBeenSet =
false;
565 bool m_requestIdHasBeenSet =
false;
void SetMacSecCapable(bool value)
void SetLocation(LocationT &&value)
bool LocationHasBeenSet() const
const Aws::Vector< Tag > & GetTags() const
bool RegionHasBeenSet() const
Connection & WithPortEncryptionStatus(PortEncryptionStatusT &&value)
void SetHasLogicalRedundancy(HasLogicalRedundancy value)
bool MacSecCapableHasBeenSet() const
const Aws::String & GetAwsDevice() const
Connection & WithProviderName(ProviderNameT &&value)
bool PartnerNameHasBeenSet() const
void SetProviderName(ProviderNameT &&value)
bool MacSecKeysHasBeenSet() const
bool VlanHasBeenSet() const
const Aws::String & GetEncryptionMode() const
bool HasLogicalRedundancyHasBeenSet() const
Connection & WithPartnerInterconnectMacSecCapable(bool value)
Connection & WithVlan(int value)
const Aws::String & GetLagId() const
void SetConnectionName(ConnectionNameT &&value)
bool AwsLogicalDeviceIdHasBeenSet() const
bool AwsDeviceHasBeenSet() const
void SetPartnerInterconnectMacSecCapable(bool value)
bool BandwidthHasBeenSet() const
void SetAwsDevice(AwsDeviceT &&value)
void SetTags(TagsT &&value)
Connection & WithAwsDevice(AwsDeviceT &&value)
bool RequestIdHasBeenSet() const
void SetAwsLogicalDeviceId(AwsLogicalDeviceIdT &&value)
bool LoaIssueTimeHasBeenSet() const
const Aws::String & GetPartnerName() const
void SetConnectionState(ConnectionState value)
Connection & WithRequestId(RequestIdT &&value)
const Aws::Utils::DateTime & GetLoaIssueTime() const
Connection & WithLocation(LocationT &&value)
Connection & WithConnectionState(ConnectionState value)
AWS_DIRECTCONNECT_API Connection()=default
bool TagsHasBeenSet() const
void SetPartnerName(PartnerNameT &&value)
bool AwsDeviceV2HasBeenSet() const
void SetConnectionId(ConnectionIdT &&value)
void SetEncryptionMode(EncryptionModeT &&value)
const Aws::String & GetBandwidth() const
void SetPortEncryptionStatus(PortEncryptionStatusT &&value)
const Aws::String & GetLocation() const
void SetRequestId(RequestIdT &&value)
bool GetMacSecCapable() const
const Aws::String & GetPortEncryptionStatus() const
bool PortEncryptionStatusHasBeenSet() const
Connection & WithHasLogicalRedundancy(HasLogicalRedundancy value)
AWS_DIRECTCONNECT_API Aws::Utils::Json::JsonValue Jsonize() const
void SetAwsDeviceV2(AwsDeviceV2T &&value)
Connection & WithBandwidth(BandwidthT &&value)
void SetMacSecKeys(MacSecKeysT &&value)
Connection & WithPartnerName(PartnerNameT &&value)
Connection & WithAwsDeviceV2(AwsDeviceV2T &&value)
void SetOwnerAccount(OwnerAccountT &&value)
HasLogicalRedundancy GetHasLogicalRedundancy() const
Connection & WithConnectionName(ConnectionNameT &&value)
const Aws::String & GetConnectionName() const
bool JumboFrameCapableHasBeenSet() const
void SetLoaIssueTime(LoaIssueTimeT &&value)
AWS_DIRECTCONNECT_API Connection(Aws::Utils::Json::JsonView jsonValue)
bool GetPartnerInterconnectMacSecCapable() const
Connection & AddMacSecKeys(MacSecKeysT &&value)
const Aws::String & GetRequestId() const
AWS_DIRECTCONNECT_API Connection & operator=(Aws::Utils::Json::JsonView jsonValue)
Connection & WithOwnerAccount(OwnerAccountT &&value)
bool LagIdHasBeenSet() const
Connection & WithLoaIssueTime(LoaIssueTimeT &&value)
bool PartnerInterconnectMacSecCapableHasBeenSet() const
Connection & WithTags(TagsT &&value)
Connection & WithLagId(LagIdT &&value)
bool EncryptionModeHasBeenSet() const
const Aws::String & GetConnectionId() const
Connection & WithRegion(RegionT &&value)
bool ConnectionNameHasBeenSet() const
bool GetJumboFrameCapable() const
Connection & WithEncryptionMode(EncryptionModeT &&value)
Connection & WithAwsLogicalDeviceId(AwsLogicalDeviceIdT &&value)
Connection & WithMacSecCapable(bool value)
const Aws::Vector< MacSecKey > & GetMacSecKeys() const
const Aws::String & GetAwsDeviceV2() const
bool ConnectionIdHasBeenSet() const
Connection & WithJumboFrameCapable(bool value)
bool ProviderNameHasBeenSet() const
void SetBandwidth(BandwidthT &&value)
void SetLagId(LagIdT &&value)
const Aws::String & GetAwsLogicalDeviceId() const
const Aws::String & GetRegion() const
Connection & WithMacSecKeys(MacSecKeysT &&value)
void SetJumboFrameCapable(bool value)
const Aws::String & GetProviderName() const
bool OwnerAccountHasBeenSet() const
void SetRegion(RegionT &&value)
Connection & AddTags(TagsT &&value)
bool ConnectionStateHasBeenSet() const
const Aws::String & GetOwnerAccount() const
ConnectionState GetConnectionState() const
Connection & WithConnectionId(ConnectionIdT &&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