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/HasLogicalRedundancy.h>
12#include <aws/directconnect/model/InterconnectState.h>
13#include <aws/directconnect/model/MacSecKey.h>
14#include <aws/directconnect/model/Tag.h>
25namespace DirectConnect {
46 template <
typename InterconnectIdT = Aws::String>
48 m_interconnectIdHasBeenSet =
true;
49 m_interconnectId = std::forward<InterconnectIdT>(value);
51 template <
typename InterconnectIdT = Aws::String>
64 template <
typename InterconnectNameT = Aws::String>
66 m_interconnectNameHasBeenSet =
true;
67 m_interconnectName = std::forward<InterconnectNameT>(value);
69 template <
typename InterconnectNameT = Aws::String>
93 m_interconnectStateHasBeenSet =
true;
94 m_interconnectState = value;
108 template <
typename RegionT = Aws::String>
110 m_regionHasBeenSet =
true;
111 m_region = std::forward<RegionT>(value);
113 template <
typename RegionT = Aws::String>
126 template <
typename LocationT = Aws::String>
128 m_locationHasBeenSet =
true;
129 m_location = std::forward<LocationT>(value);
131 template <
typename LocationT = Aws::String>
144 template <
typename Bandw
idthT = Aws::String>
146 m_bandwidthHasBeenSet =
true;
147 m_bandwidth = std::forward<BandwidthT>(value);
149 template <
typename Bandw
idthT = Aws::String>
163 template <
typename LoaIssueTimeT = Aws::Utils::DateTime>
165 m_loaIssueTimeHasBeenSet =
true;
166 m_loaIssueTime = std::forward<LoaIssueTimeT>(value);
168 template <
typename LoaIssueTimeT = Aws::Utils::DateTime>
181 template <
typename LagIdT = Aws::String>
183 m_lagIdHasBeenSet =
true;
184 m_lagId = std::forward<LagIdT>(value);
186 template <
typename LagIdT = Aws::String>
188 SetLagId(std::forward<LagIdT>(value));
199 template <
typename AwsDeviceT = Aws::String>
201 m_awsDeviceHasBeenSet =
true;
202 m_awsDevice = std::forward<AwsDeviceT>(value);
204 template <
typename AwsDeviceT = Aws::String>
218 m_jumboFrameCapableHasBeenSet =
true;
219 m_jumboFrameCapable = value;
233 template <
typename AwsDeviceV2T = Aws::String>
235 m_awsDeviceV2HasBeenSet =
true;
236 m_awsDeviceV2 = std::forward<AwsDeviceV2T>(value);
238 template <
typename AwsDeviceV2T = Aws::String>
253 template <
typename AwsLogicalDeviceIdT = Aws::String>
255 m_awsLogicalDeviceIdHasBeenSet =
true;
256 m_awsLogicalDeviceId = std::forward<AwsLogicalDeviceIdT>(value);
258 template <
typename AwsLogicalDeviceIdT = Aws::String>
273 m_hasLogicalRedundancyHasBeenSet =
true;
274 m_hasLogicalRedundancy = value;
288 template <
typename TagsT = Aws::Vector<Tag>>
290 m_tagsHasBeenSet =
true;
291 m_tags = std::forward<TagsT>(value);
293 template <
typename TagsT = Aws::Vector<Tag>>
295 SetTags(std::forward<TagsT>(value));
298 template <
typename TagsT = Tag>
300 m_tagsHasBeenSet =
true;
301 m_tags.emplace_back(std::forward<TagsT>(value));
312 template <
typename Prov
iderNameT = Aws::String>
314 m_providerNameHasBeenSet =
true;
315 m_providerName = std::forward<ProviderNameT>(value);
317 template <
typename Prov
iderNameT = Aws::String>
331 m_macSecCapableHasBeenSet =
true;
332 m_macSecCapable = value;
348 template <
typename PortEncryptionStatusT = Aws::String>
350 m_portEncryptionStatusHasBeenSet =
true;
351 m_portEncryptionStatus = std::forward<PortEncryptionStatusT>(value);
353 template <
typename PortEncryptionStatusT = Aws::String>
368 template <
typename EncryptionModeT = Aws::String>
370 m_encryptionModeHasBeenSet =
true;
371 m_encryptionMode = std::forward<EncryptionModeT>(value);
373 template <
typename EncryptionModeT = Aws::String>
386 template <
typename MacSecKeysT = Aws::Vector<MacSecKey>>
388 m_macSecKeysHasBeenSet =
true;
389 m_macSecKeys = std::forward<MacSecKeysT>(value);
391 template <
typename MacSecKeysT = Aws::Vector<MacSecKey>>
396 template <
typename MacSecKeysT = MacSecKey>
398 m_macSecKeysHasBeenSet =
true;
399 m_macSecKeys.emplace_back(std::forward<MacSecKeysT>(value));
408 template <
typename RequestIdT = Aws::String>
410 m_requestIdHasBeenSet =
true;
411 m_requestId = std::forward<RequestIdT>(value);
413 template <
typename RequestIdT = Aws::String>
438 bool m_jumboFrameCapable{
false};
450 bool m_macSecCapable{
false};
459 bool m_interconnectIdHasBeenSet =
false;
460 bool m_interconnectNameHasBeenSet =
false;
461 bool m_interconnectStateHasBeenSet =
false;
462 bool m_regionHasBeenSet =
false;
463 bool m_locationHasBeenSet =
false;
464 bool m_bandwidthHasBeenSet =
false;
465 bool m_loaIssueTimeHasBeenSet =
false;
466 bool m_lagIdHasBeenSet =
false;
467 bool m_awsDeviceHasBeenSet =
false;
468 bool m_jumboFrameCapableHasBeenSet =
false;
469 bool m_awsDeviceV2HasBeenSet =
false;
470 bool m_awsLogicalDeviceIdHasBeenSet =
false;
471 bool m_hasLogicalRedundancyHasBeenSet =
false;
472 bool m_tagsHasBeenSet =
false;
473 bool m_providerNameHasBeenSet =
false;
474 bool m_macSecCapableHasBeenSet =
false;
475 bool m_portEncryptionStatusHasBeenSet =
false;
476 bool m_encryptionModeHasBeenSet =
false;
477 bool m_macSecKeysHasBeenSet =
false;
478 bool m_requestIdHasBeenSet =
false;
const Aws::String & GetInterconnectName() const
const Aws::String & GetAwsDevice() const
Interconnect & WithPortEncryptionStatus(PortEncryptionStatusT &&value)
void SetInterconnectName(InterconnectNameT &&value)
bool InterconnectStateHasBeenSet() const
void SetInterconnectState(InterconnectState value)
void SetLoaIssueTime(LoaIssueTimeT &&value)
void SetRequestId(RequestIdT &&value)
bool InterconnectIdHasBeenSet() const
Interconnect & WithRequestId(RequestIdT &&value)
void SetLocation(LocationT &&value)
bool LocationHasBeenSet() const
const Aws::String & GetProviderName() const
Interconnect & WithHasLogicalRedundancy(HasLogicalRedundancy value)
Interconnect & WithMacSecKeys(MacSecKeysT &&value)
bool ProviderNameHasBeenSet() const
const Aws::String & GetPortEncryptionStatus() const
bool JumboFrameCapableHasBeenSet() const
Interconnect & WithMacSecCapable(bool value)
void SetAwsLogicalDeviceId(AwsLogicalDeviceIdT &&value)
const Aws::String & GetLocation() const
bool LoaIssueTimeHasBeenSet() const
Interconnect & WithAwsDeviceV2(AwsDeviceV2T &&value)
Interconnect & WithLocation(LocationT &&value)
bool RequestIdHasBeenSet() const
void SetProviderName(ProviderNameT &&value)
bool TagsHasBeenSet() const
void SetJumboFrameCapable(bool value)
const Aws::String & GetAwsLogicalDeviceId() const
bool AwsDeviceHasBeenSet() const
Interconnect & WithRegion(RegionT &&value)
void SetRegion(RegionT &&value)
AWS_DIRECTCONNECT_API Aws::Utils::Json::JsonValue Jsonize() const
Interconnect & WithEncryptionMode(EncryptionModeT &&value)
Interconnect & WithLoaIssueTime(LoaIssueTimeT &&value)
void SetPortEncryptionStatus(PortEncryptionStatusT &&value)
const Aws::Vector< Tag > & GetTags() const
Interconnect & WithInterconnectId(InterconnectIdT &&value)
Interconnect & WithLagId(LagIdT &&value)
Interconnect & WithInterconnectState(InterconnectState value)
bool AwsLogicalDeviceIdHasBeenSet() const
void SetMacSecKeys(MacSecKeysT &&value)
bool MacSecKeysHasBeenSet() const
bool EncryptionModeHasBeenSet() const
Interconnect & WithInterconnectName(InterconnectNameT &&value)
void SetBandwidth(BandwidthT &&value)
void SetEncryptionMode(EncryptionModeT &&value)
bool MacSecCapableHasBeenSet() const
Interconnect & WithJumboFrameCapable(bool value)
void SetAwsDeviceV2(AwsDeviceV2T &&value)
void SetInterconnectId(InterconnectIdT &&value)
const Aws::String & GetInterconnectId() const
bool BandwidthHasBeenSet() const
const Aws::String & GetLagId() const
const Aws::String & GetBandwidth() const
const Aws::String & GetRequestId() const
AWS_DIRECTCONNECT_API Interconnect(Aws::Utils::Json::JsonView jsonValue)
const Aws::Vector< MacSecKey > & GetMacSecKeys() const
InterconnectState GetInterconnectState() const
Interconnect & AddTags(TagsT &&value)
void SetTags(TagsT &&value)
Interconnect & WithBandwidth(BandwidthT &&value)
Interconnect & WithTags(TagsT &&value)
const Aws::String & GetEncryptionMode() const
Interconnect & WithAwsDevice(AwsDeviceT &&value)
const Aws::String & GetAwsDeviceV2() const
const Aws::String & GetRegion() const
void SetAwsDevice(AwsDeviceT &&value)
void SetMacSecCapable(bool value)
HasLogicalRedundancy GetHasLogicalRedundancy() const
bool GetMacSecCapable() const
Interconnect & AddMacSecKeys(MacSecKeysT &&value)
Interconnect & WithAwsLogicalDeviceId(AwsLogicalDeviceIdT &&value)
bool InterconnectNameHasBeenSet() const
AWS_DIRECTCONNECT_API Interconnect & operator=(Aws::Utils::Json::JsonView jsonValue)
const Aws::Utils::DateTime & GetLoaIssueTime() const
void SetHasLogicalRedundancy(HasLogicalRedundancy value)
void SetLagId(LagIdT &&value)
bool RegionHasBeenSet() const
bool LagIdHasBeenSet() const
bool GetJumboFrameCapable() const
AWS_DIRECTCONNECT_API Interconnect()=default
bool AwsDeviceV2HasBeenSet() const
bool HasLogicalRedundancyHasBeenSet() const
Interconnect & WithProviderName(ProviderNameT &&value)
bool PortEncryptionStatusHasBeenSet() 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