7#include <aws/core/http/HttpResponse.h>
8#include <aws/core/utils/DateTime.h>
9#include <aws/core/utils/memory/stl/AWSString.h>
10#include <aws/core/utils/memory/stl/AWSVector.h>
11#include <aws/directconnect/DirectConnect_EXPORTS.h>
12#include <aws/directconnect/model/HasLogicalRedundancy.h>
13#include <aws/directconnect/model/InterconnectState.h>
14#include <aws/directconnect/model/MacSecKey.h>
15#include <aws/directconnect/model/Tag.h>
20template <
typename RESULT_TYPE>
21class AmazonWebServiceResult;
28namespace DirectConnect {
46 template <
typename InterconnectIdT = Aws::String>
48 m_interconnectIdHasBeenSet =
true;
49 m_interconnectId = std::forward<InterconnectIdT>(value);
51 template <
typename InterconnectIdT = Aws::String>
63 template <
typename InterconnectNameT = Aws::String>
65 m_interconnectNameHasBeenSet =
true;
66 m_interconnectName = std::forward<InterconnectNameT>(value);
68 template <
typename InterconnectNameT = Aws::String>
91 m_interconnectStateHasBeenSet =
true;
92 m_interconnectState = value;
105 template <
typename RegionT = Aws::String>
107 m_regionHasBeenSet =
true;
108 m_region = std::forward<RegionT>(value);
110 template <
typename RegionT = Aws::String>
122 template <
typename LocationT = Aws::String>
124 m_locationHasBeenSet =
true;
125 m_location = std::forward<LocationT>(value);
127 template <
typename LocationT = Aws::String>
139 template <
typename Bandw
idthT = Aws::String>
141 m_bandwidthHasBeenSet =
true;
142 m_bandwidth = std::forward<BandwidthT>(value);
144 template <
typename Bandw
idthT = Aws::String>
157 template <
typename LoaIssueTimeT = Aws::Utils::DateTime>
159 m_loaIssueTimeHasBeenSet =
true;
160 m_loaIssueTime = std::forward<LoaIssueTimeT>(value);
162 template <
typename LoaIssueTimeT = Aws::Utils::DateTime>
174 template <
typename LagIdT = Aws::String>
176 m_lagIdHasBeenSet =
true;
177 m_lagId = std::forward<LagIdT>(value);
179 template <
typename LagIdT = Aws::String>
181 SetLagId(std::forward<LagIdT>(value));
191 template <
typename AwsDeviceT = Aws::String>
193 m_awsDeviceHasBeenSet =
true;
194 m_awsDevice = std::forward<AwsDeviceT>(value);
196 template <
typename AwsDeviceT = Aws::String>
209 m_jumboFrameCapableHasBeenSet =
true;
210 m_jumboFrameCapable = value;
223 template <
typename AwsDeviceV2T = Aws::String>
225 m_awsDeviceV2HasBeenSet =
true;
226 m_awsDeviceV2 = std::forward<AwsDeviceV2T>(value);
228 template <
typename AwsDeviceV2T = Aws::String>
242 template <
typename AwsLogicalDeviceIdT = Aws::String>
244 m_awsLogicalDeviceIdHasBeenSet =
true;
245 m_awsLogicalDeviceId = std::forward<AwsLogicalDeviceIdT>(value);
247 template <
typename AwsLogicalDeviceIdT = Aws::String>
261 m_hasLogicalRedundancyHasBeenSet =
true;
262 m_hasLogicalRedundancy = value;
275 template <
typename TagsT = Aws::Vector<Tag>>
277 m_tagsHasBeenSet =
true;
278 m_tags = std::forward<TagsT>(value);
280 template <
typename TagsT = Aws::Vector<Tag>>
282 SetTags(std::forward<TagsT>(value));
285 template <
typename TagsT = Tag>
287 m_tagsHasBeenSet =
true;
288 m_tags.emplace_back(std::forward<TagsT>(value));
298 template <
typename Prov
iderNameT = Aws::String>
300 m_providerNameHasBeenSet =
true;
301 m_providerName = std::forward<ProviderNameT>(value);
303 template <
typename Prov
iderNameT = Aws::String>
316 m_macSecCapableHasBeenSet =
true;
317 m_macSecCapable = value;
332 template <
typename PortEncryptionStatusT = Aws::String>
334 m_portEncryptionStatusHasBeenSet =
true;
335 m_portEncryptionStatus = std::forward<PortEncryptionStatusT>(value);
337 template <
typename PortEncryptionStatusT = Aws::String>
351 template <
typename EncryptionModeT = Aws::String>
353 m_encryptionModeHasBeenSet =
true;
354 m_encryptionMode = std::forward<EncryptionModeT>(value);
356 template <
typename EncryptionModeT = Aws::String>
368 template <
typename MacSecKeysT = Aws::Vector<MacSecKey>>
370 m_macSecKeysHasBeenSet =
true;
371 m_macSecKeys = std::forward<MacSecKeysT>(value);
373 template <
typename MacSecKeysT = Aws::Vector<MacSecKey>>
378 template <
typename MacSecKeysT = MacSecKey>
380 m_macSecKeysHasBeenSet =
true;
381 m_macSecKeys.emplace_back(std::forward<MacSecKeysT>(value));
389 template <
typename RequestIdT = Aws::String>
391 m_requestIdHasBeenSet =
true;
392 m_requestId = std::forward<RequestIdT>(value);
394 template <
typename RequestIdT = Aws::String>
421 bool m_jumboFrameCapable{
false};
433 bool m_macSecCapable{
false};
443 bool m_interconnectIdHasBeenSet =
false;
444 bool m_interconnectNameHasBeenSet =
false;
445 bool m_interconnectStateHasBeenSet =
false;
446 bool m_regionHasBeenSet =
false;
447 bool m_locationHasBeenSet =
false;
448 bool m_bandwidthHasBeenSet =
false;
449 bool m_loaIssueTimeHasBeenSet =
false;
450 bool m_lagIdHasBeenSet =
false;
451 bool m_awsDeviceHasBeenSet =
false;
452 bool m_jumboFrameCapableHasBeenSet =
false;
453 bool m_awsDeviceV2HasBeenSet =
false;
454 bool m_awsLogicalDeviceIdHasBeenSet =
false;
455 bool m_hasLogicalRedundancyHasBeenSet =
false;
456 bool m_tagsHasBeenSet =
false;
457 bool m_providerNameHasBeenSet =
false;
458 bool m_macSecCapableHasBeenSet =
false;
459 bool m_portEncryptionStatusHasBeenSet =
false;
460 bool m_encryptionModeHasBeenSet =
false;
461 bool m_macSecKeysHasBeenSet =
false;
462 bool m_requestIdHasBeenSet =
false;
CreateInterconnectResult & WithAwsDevice(AwsDeviceT &&value)
const Aws::String & GetAwsDevice() const
CreateInterconnectResult & WithEncryptionMode(EncryptionModeT &&value)
CreateInterconnectResult & WithRequestId(RequestIdT &&value)
void SetAwsDevice(AwsDeviceT &&value)
InterconnectState GetInterconnectState() const
CreateInterconnectResult & WithInterconnectState(InterconnectState value)
CreateInterconnectResult & WithLagId(LagIdT &&value)
CreateInterconnectResult & WithProviderName(ProviderNameT &&value)
const Aws::String & GetLocation() const
void SetAwsLogicalDeviceId(AwsLogicalDeviceIdT &&value)
const Aws::String & GetEncryptionMode() const
void SetAwsDeviceV2(AwsDeviceV2T &&value)
CreateInterconnectResult & AddMacSecKeys(MacSecKeysT &&value)
const Aws::String & GetProviderName() const
void SetEncryptionMode(EncryptionModeT &&value)
HasLogicalRedundancy GetHasLogicalRedundancy() const
AWS_DIRECTCONNECT_API CreateInterconnectResult()=default
CreateInterconnectResult & WithBandwidth(BandwidthT &&value)
void SetRequestId(RequestIdT &&value)
const Aws::String & GetRequestId() const
const Aws::Vector< MacSecKey > & GetMacSecKeys() const
void SetInterconnectName(InterconnectNameT &&value)
CreateInterconnectResult & WithTags(TagsT &&value)
CreateInterconnectResult & WithMacSecKeys(MacSecKeysT &&value)
bool GetMacSecCapable() const
void SetJumboFrameCapable(bool value)
const Aws::String & GetInterconnectName() const
void SetProviderName(ProviderNameT &&value)
AWS_DIRECTCONNECT_API CreateInterconnectResult(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
const Aws::String & GetRegion() const
void SetLoaIssueTime(LoaIssueTimeT &&value)
void SetPortEncryptionStatus(PortEncryptionStatusT &&value)
const Aws::Vector< Tag > & GetTags() const
CreateInterconnectResult & WithHasLogicalRedundancy(HasLogicalRedundancy value)
AWS_DIRECTCONNECT_API CreateInterconnectResult & operator=(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
const Aws::String & GetAwsLogicalDeviceId() const
CreateInterconnectResult & WithAwsDeviceV2(AwsDeviceV2T &&value)
void SetBandwidth(BandwidthT &&value)
Aws::Http::HttpResponseCode GetHttpResponseCode() const
void SetTags(TagsT &&value)
const Aws::String & GetBandwidth() const
CreateInterconnectResult & WithAwsLogicalDeviceId(AwsLogicalDeviceIdT &&value)
const Aws::String & GetLagId() const
void SetInterconnectState(InterconnectState value)
void SetHasLogicalRedundancy(HasLogicalRedundancy value)
CreateInterconnectResult & WithInterconnectId(InterconnectIdT &&value)
void SetLocation(LocationT &&value)
void SetRegion(RegionT &&value)
CreateInterconnectResult & WithRegion(RegionT &&value)
const Aws::Utils::DateTime & GetLoaIssueTime() const
void SetMacSecCapable(bool value)
CreateInterconnectResult & WithJumboFrameCapable(bool value)
void SetInterconnectId(InterconnectIdT &&value)
CreateInterconnectResult & AddTags(TagsT &&value)
CreateInterconnectResult & WithMacSecCapable(bool value)
CreateInterconnectResult & WithPortEncryptionStatus(PortEncryptionStatusT &&value)
bool GetJumboFrameCapable() const
CreateInterconnectResult & WithInterconnectName(InterconnectNameT &&value)
void SetMacSecKeys(MacSecKeysT &&value)
void SetLagId(LagIdT &&value)
const Aws::String & GetPortEncryptionStatus() const
CreateInterconnectResult & WithLoaIssueTime(LoaIssueTimeT &&value)
const Aws::String & GetInterconnectId() const
CreateInterconnectResult & WithLocation(LocationT &&value)
const Aws::String & GetAwsDeviceV2() 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