7#include <aws/directconnect/DirectConnect_EXPORTS.h>
8#include <aws/core/utils/memory/stl/AWSString.h>
9#include <aws/directconnect/model/InterconnectState.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
52 template<
typename InterconnectIdT = Aws::String>
53 void SetInterconnectId(InterconnectIdT&& value) { m_interconnectIdHasBeenSet =
true; m_interconnectId = std::forward<InterconnectIdT>(value); }
54 template<
typename InterconnectIdT = Aws::String>
64 template<
typename InterconnectNameT = Aws::String>
65 void SetInterconnectName(InterconnectNameT&& value) { m_interconnectNameHasBeenSet =
true; m_interconnectName = std::forward<InterconnectNameT>(value); }
66 template<
typename InterconnectNameT = Aws::String>
96 template<
typename RegionT = Aws::String>
97 void SetRegion(RegionT&& value) { m_regionHasBeenSet =
true; m_region = std::forward<RegionT>(value); }
98 template<
typename RegionT = Aws::String>
108 template<
typename LocationT = Aws::String>
109 void SetLocation(LocationT&& value) { m_locationHasBeenSet =
true; m_location = std::forward<LocationT>(value); }
110 template<
typename LocationT = Aws::String>
120 template<
typename Bandw
idthT = Aws::String>
121 void SetBandwidth(BandwidthT&& value) { m_bandwidthHasBeenSet =
true; m_bandwidth = std::forward<BandwidthT>(value); }
122 template<
typename Bandw
idthT = Aws::String>
133 template<
typename LoaIssueTimeT = Aws::Utils::DateTime>
134 void SetLoaIssueTime(LoaIssueTimeT&& value) { m_loaIssueTimeHasBeenSet =
true; m_loaIssueTime = std::forward<LoaIssueTimeT>(value); }
135 template<
typename LoaIssueTimeT = Aws::Utils::DateTime>
145 template<
typename LagIdT = Aws::String>
146 void SetLagId(LagIdT&& value) { m_lagIdHasBeenSet =
true; m_lagId = std::forward<LagIdT>(value); }
147 template<
typename LagIdT = Aws::String>
157 template<
typename AwsDeviceT = Aws::String>
158 void SetAwsDevice(AwsDeviceT&& value) { m_awsDeviceHasBeenSet =
true; m_awsDevice = std::forward<AwsDeviceT>(value); }
159 template<
typename AwsDeviceT = Aws::String>
169 inline void SetJumboFrameCapable(
bool value) { m_jumboFrameCapableHasBeenSet =
true; m_jumboFrameCapable = value; }
179 template<
typename AwsDeviceV2T = Aws::String>
180 void SetAwsDeviceV2(AwsDeviceV2T&& value) { m_awsDeviceV2HasBeenSet =
true; m_awsDeviceV2 = std::forward<AwsDeviceV2T>(value); }
181 template<
typename AwsDeviceV2T = Aws::String>
193 template<
typename AwsLogicalDeviceIdT = Aws::String>
194 void SetAwsLogicalDeviceId(AwsLogicalDeviceIdT&& value) { m_awsLogicalDeviceIdHasBeenSet =
true; m_awsLogicalDeviceId = std::forward<AwsLogicalDeviceIdT>(value); }
195 template<
typename AwsLogicalDeviceIdT = Aws::String>
216 template<
typename TagsT = Aws::Vector<Tag>>
217 void SetTags(TagsT&& value) { m_tagsHasBeenSet =
true; m_tags = std::forward<TagsT>(value); }
218 template<
typename TagsT = Aws::Vector<Tag>>
220 template<
typename TagsT = Tag>
221 Interconnect&
AddTags(TagsT&& value) { m_tagsHasBeenSet =
true; m_tags.emplace_back(std::forward<TagsT>(value));
return *
this; }
230 template<
typename Prov
iderNameT = Aws::String>
231 void SetProviderName(ProviderNameT&& value) { m_providerNameHasBeenSet =
true; m_providerName = std::forward<ProviderNameT>(value); }
232 template<
typename Prov
iderNameT = Aws::String>
242 inline void SetMacSecCapable(
bool value) { m_macSecCapableHasBeenSet =
true; m_macSecCapable = value; }
254 template<
typename PortEncryptionStatusT = Aws::String>
255 void SetPortEncryptionStatus(PortEncryptionStatusT&& value) { m_portEncryptionStatusHasBeenSet =
true; m_portEncryptionStatus = std::forward<PortEncryptionStatusT>(value); }
256 template<
typename PortEncryptionStatusT = Aws::String>
268 template<
typename EncryptionModeT = Aws::String>
269 void SetEncryptionMode(EncryptionModeT&& value) { m_encryptionModeHasBeenSet =
true; m_encryptionMode = std::forward<EncryptionModeT>(value); }
270 template<
typename EncryptionModeT = Aws::String>
280 template<
typename MacSecKeysT = Aws::Vector<MacSecKey>>
281 void SetMacSecKeys(MacSecKeysT&& value) { m_macSecKeysHasBeenSet =
true; m_macSecKeys = std::forward<MacSecKeysT>(value); }
282 template<
typename MacSecKeysT = Aws::Vector<MacSecKey>>
284 template<
typename MacSecKeysT = MacSecKey>
285 Interconnect&
AddMacSecKeys(MacSecKeysT&& value) { m_macSecKeysHasBeenSet =
true; m_macSecKeys.emplace_back(std::forward<MacSecKeysT>(value));
return *
this; }
292 template<
typename RequestIdT = Aws::String>
293 void SetRequestId(RequestIdT&& value) { m_requestIdHasBeenSet =
true; m_requestId = std::forward<RequestIdT>(value); }
294 template<
typename RequestIdT = Aws::String>
300 bool m_interconnectIdHasBeenSet =
false;
303 bool m_interconnectNameHasBeenSet =
false;
306 bool m_interconnectStateHasBeenSet =
false;
309 bool m_regionHasBeenSet =
false;
312 bool m_locationHasBeenSet =
false;
315 bool m_bandwidthHasBeenSet =
false;
318 bool m_loaIssueTimeHasBeenSet =
false;
321 bool m_lagIdHasBeenSet =
false;
324 bool m_awsDeviceHasBeenSet =
false;
326 bool m_jumboFrameCapable{
false};
327 bool m_jumboFrameCapableHasBeenSet =
false;
330 bool m_awsDeviceV2HasBeenSet =
false;
333 bool m_awsLogicalDeviceIdHasBeenSet =
false;
336 bool m_hasLogicalRedundancyHasBeenSet =
false;
339 bool m_tagsHasBeenSet =
false;
342 bool m_providerNameHasBeenSet =
false;
344 bool m_macSecCapable{
false};
345 bool m_macSecCapableHasBeenSet =
false;
348 bool m_portEncryptionStatusHasBeenSet =
false;
351 bool m_encryptionModeHasBeenSet =
false;
354 bool m_macSecKeysHasBeenSet =
false;
357 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