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/RateLimiterStatus.h>
15#include <aws/directconnect/model/Tag.h>
26namespace DirectConnect {
47 template <
typename OwnerAccountT = Aws::String>
49 m_ownerAccountHasBeenSet =
true;
50 m_ownerAccount = std::forward<OwnerAccountT>(value);
52 template <
typename OwnerAccountT = Aws::String>
65 template <
typename ConnectionIdT = Aws::String>
67 m_connectionIdHasBeenSet =
true;
68 m_connectionId = std::forward<ConnectionIdT>(value);
70 template <
typename ConnectionIdT = Aws::String>
83 template <
typename ConnectionNameT = Aws::String>
85 m_connectionNameHasBeenSet =
true;
86 m_connectionName = std::forward<ConnectionNameT>(value);
88 template <
typename ConnectionNameT = Aws::String>
117 m_connectionStateHasBeenSet =
true;
118 m_connectionState = value;
132 template <
typename RegionT = Aws::String>
134 m_regionHasBeenSet =
true;
135 m_region = std::forward<RegionT>(value);
137 template <
typename RegionT = Aws::String>
150 template <
typename LocationT = Aws::String>
152 m_locationHasBeenSet =
true;
153 m_location = std::forward<LocationT>(value);
155 template <
typename LocationT = Aws::String>
168 template <
typename Bandw
idthT = Aws::String>
170 m_bandwidthHasBeenSet =
true;
171 m_bandwidth = std::forward<BandwidthT>(value);
173 template <
typename Bandw
idthT = Aws::String>
187 m_vlanHasBeenSet =
true;
203 template <
typename PartnerNameT = Aws::String>
205 m_partnerNameHasBeenSet =
true;
206 m_partnerName = std::forward<PartnerNameT>(value);
208 template <
typename PartnerNameT = Aws::String>
222 template <
typename LoaIssueTimeT = Aws::Utils::DateTime>
224 m_loaIssueTimeHasBeenSet =
true;
225 m_loaIssueTime = std::forward<LoaIssueTimeT>(value);
227 template <
typename LoaIssueTimeT = Aws::Utils::DateTime>
240 template <
typename LagIdT = Aws::String>
242 m_lagIdHasBeenSet =
true;
243 m_lagId = std::forward<LagIdT>(value);
245 template <
typename LagIdT = Aws::String>
247 SetLagId(std::forward<LagIdT>(value));
258 template <
typename AwsDeviceT = Aws::String>
260 m_awsDeviceHasBeenSet =
true;
261 m_awsDevice = std::forward<AwsDeviceT>(value);
263 template <
typename AwsDeviceT = Aws::String>
277 m_jumboFrameCapableHasBeenSet =
true;
278 m_jumboFrameCapable = value;
292 template <
typename AwsDeviceV2T = Aws::String>
294 m_awsDeviceV2HasBeenSet =
true;
295 m_awsDeviceV2 = std::forward<AwsDeviceV2T>(value);
297 template <
typename AwsDeviceV2T = Aws::String>
312 template <
typename AwsLogicalDeviceIdT = Aws::String>
314 m_awsLogicalDeviceIdHasBeenSet =
true;
315 m_awsLogicalDeviceId = std::forward<AwsLogicalDeviceIdT>(value);
317 template <
typename AwsLogicalDeviceIdT = Aws::String>
332 m_hasLogicalRedundancyHasBeenSet =
true;
333 m_hasLogicalRedundancy = value;
347 template <
typename TagsT = Aws::Vector<Tag>>
349 m_tagsHasBeenSet =
true;
350 m_tags = std::forward<TagsT>(value);
352 template <
typename TagsT = Aws::Vector<Tag>>
354 SetTags(std::forward<TagsT>(value));
357 template <
typename TagsT = Tag>
359 m_tagsHasBeenSet =
true;
360 m_tags.emplace_back(std::forward<TagsT>(value));
371 template <
typename Prov
iderNameT = Aws::String>
373 m_providerNameHasBeenSet =
true;
374 m_providerName = std::forward<ProviderNameT>(value);
376 template <
typename Prov
iderNameT = Aws::String>
390 m_macSecCapableHasBeenSet =
true;
391 m_macSecCapable = value;
407 template <
typename PortEncryptionStatusT = Aws::String>
409 m_portEncryptionStatusHasBeenSet =
true;
410 m_portEncryptionStatus = std::forward<PortEncryptionStatusT>(value);
412 template <
typename PortEncryptionStatusT = Aws::String>
427 template <
typename EncryptionModeT = Aws::String>
429 m_encryptionModeHasBeenSet =
true;
430 m_encryptionMode = std::forward<EncryptionModeT>(value);
432 template <
typename EncryptionModeT = Aws::String>
445 template <
typename MacSecKeysT = Aws::Vector<MacSecKey>>
447 m_macSecKeysHasBeenSet =
true;
448 m_macSecKeys = std::forward<MacSecKeysT>(value);
450 template <
typename MacSecKeysT = Aws::Vector<MacSecKey>>
455 template <
typename MacSecKeysT = MacSecKey>
457 m_macSecKeysHasBeenSet =
true;
458 m_macSecKeys.emplace_back(std::forward<MacSecKeysT>(value));
470 template <
typename RateLimiterStatusT = RateLimiterStatus>
472 m_rateLimiterStatusHasBeenSet =
true;
473 m_rateLimiterStatus = std::forward<RateLimiterStatusT>(value);
475 template <
typename RateLimiterStatusT = RateLimiterStatus>
490 m_partnerInterconnectMacSecCapableHasBeenSet =
true;
491 m_partnerInterconnectMacSecCapable = value;
503 template <
typename RequestIdT = Aws::String>
505 m_requestIdHasBeenSet =
true;
506 m_requestId = std::forward<RequestIdT>(value);
508 template <
typename RequestIdT = Aws::String>
539 bool m_jumboFrameCapable{
false};
551 bool m_macSecCapable{
false};
559 RateLimiterStatus m_rateLimiterStatus;
561 bool m_partnerInterconnectMacSecCapable{
false};
564 bool m_ownerAccountHasBeenSet =
false;
565 bool m_connectionIdHasBeenSet =
false;
566 bool m_connectionNameHasBeenSet =
false;
567 bool m_connectionStateHasBeenSet =
false;
568 bool m_regionHasBeenSet =
false;
569 bool m_locationHasBeenSet =
false;
570 bool m_bandwidthHasBeenSet =
false;
571 bool m_vlanHasBeenSet =
false;
572 bool m_partnerNameHasBeenSet =
false;
573 bool m_loaIssueTimeHasBeenSet =
false;
574 bool m_lagIdHasBeenSet =
false;
575 bool m_awsDeviceHasBeenSet =
false;
576 bool m_jumboFrameCapableHasBeenSet =
false;
577 bool m_awsDeviceV2HasBeenSet =
false;
578 bool m_awsLogicalDeviceIdHasBeenSet =
false;
579 bool m_hasLogicalRedundancyHasBeenSet =
false;
580 bool m_tagsHasBeenSet =
false;
581 bool m_providerNameHasBeenSet =
false;
582 bool m_macSecCapableHasBeenSet =
false;
583 bool m_portEncryptionStatusHasBeenSet =
false;
584 bool m_encryptionModeHasBeenSet =
false;
585 bool m_macSecKeysHasBeenSet =
false;
586 bool m_rateLimiterStatusHasBeenSet =
false;
587 bool m_partnerInterconnectMacSecCapableHasBeenSet =
false;
588 bool m_requestIdHasBeenSet =
false;
void SetMacSecCapable(bool value)
void SetLocation(LocationT &&value)
bool LocationHasBeenSet() const
const Aws::Vector< Tag > & GetTags() const
bool RateLimiterStatusHasBeenSet() 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
Connection & WithRateLimiterStatus(RateLimiterStatusT &&value)
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)
const RateLimiterStatus & GetRateLimiterStatus() const
void SetOwnerAccount(OwnerAccountT &&value)
HasLogicalRedundancy GetHasLogicalRedundancy() const
Connection & WithConnectionName(ConnectionNameT &&value)
void SetRateLimiterStatus(RateLimiterStatusT &&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