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>
19template<
typename RESULT_TYPE>
20class AmazonWebServiceResult;
29namespace DirectConnect
51 template<
typename InterconnectIdT = Aws::String>
52 void SetInterconnectId(InterconnectIdT&& value) { m_interconnectIdHasBeenSet =
true; m_interconnectId = std::forward<InterconnectIdT>(value); }
53 template<
typename InterconnectIdT = Aws::String>
62 template<
typename InterconnectNameT = Aws::String>
63 void SetInterconnectName(InterconnectNameT&& value) { m_interconnectNameHasBeenSet =
true; m_interconnectName = std::forward<InterconnectNameT>(value); }
64 template<
typename InterconnectNameT = Aws::String>
92 template<
typename RegionT = Aws::String>
93 void SetRegion(RegionT&& value) { m_regionHasBeenSet =
true; m_region = std::forward<RegionT>(value); }
94 template<
typename RegionT = Aws::String>
103 template<
typename LocationT = Aws::String>
104 void SetLocation(LocationT&& value) { m_locationHasBeenSet =
true; m_location = std::forward<LocationT>(value); }
105 template<
typename LocationT = Aws::String>
114 template<
typename Bandw
idthT = Aws::String>
115 void SetBandwidth(BandwidthT&& value) { m_bandwidthHasBeenSet =
true; m_bandwidth = std::forward<BandwidthT>(value); }
116 template<
typename Bandw
idthT = Aws::String>
126 template<
typename LoaIssueTimeT = Aws::Utils::DateTime>
127 void SetLoaIssueTime(LoaIssueTimeT&& value) { m_loaIssueTimeHasBeenSet =
true; m_loaIssueTime = std::forward<LoaIssueTimeT>(value); }
128 template<
typename LoaIssueTimeT = Aws::Utils::DateTime>
137 template<
typename LagIdT = Aws::String>
138 void SetLagId(LagIdT&& value) { m_lagIdHasBeenSet =
true; m_lagId = std::forward<LagIdT>(value); }
139 template<
typename LagIdT = Aws::String>
148 template<
typename AwsDeviceT = Aws::String>
149 void SetAwsDevice(AwsDeviceT&& value) { m_awsDeviceHasBeenSet =
true; m_awsDevice = std::forward<AwsDeviceT>(value); }
150 template<
typename AwsDeviceT = Aws::String>
159 inline void SetJumboFrameCapable(
bool value) { m_jumboFrameCapableHasBeenSet =
true; m_jumboFrameCapable = value; }
168 template<
typename AwsDeviceV2T = Aws::String>
169 void SetAwsDeviceV2(AwsDeviceV2T&& value) { m_awsDeviceV2HasBeenSet =
true; m_awsDeviceV2 = std::forward<AwsDeviceV2T>(value); }
170 template<
typename AwsDeviceV2T = Aws::String>
181 template<
typename AwsLogicalDeviceIdT = Aws::String>
182 void SetAwsLogicalDeviceId(AwsLogicalDeviceIdT&& value) { m_awsLogicalDeviceIdHasBeenSet =
true; m_awsLogicalDeviceId = std::forward<AwsLogicalDeviceIdT>(value); }
183 template<
typename AwsLogicalDeviceIdT = Aws::String>
202 template<
typename TagsT = Aws::Vector<Tag>>
203 void SetTags(TagsT&& value) { m_tagsHasBeenSet =
true; m_tags = std::forward<TagsT>(value); }
204 template<
typename TagsT = Aws::Vector<Tag>>
206 template<
typename TagsT = Tag>
215 template<
typename Prov
iderNameT = Aws::String>
216 void SetProviderName(ProviderNameT&& value) { m_providerNameHasBeenSet =
true; m_providerName = std::forward<ProviderNameT>(value); }
217 template<
typename Prov
iderNameT = Aws::String>
226 inline void SetMacSecCapable(
bool value) { m_macSecCapableHasBeenSet =
true; m_macSecCapable = value; }
237 template<
typename PortEncryptionStatusT = Aws::String>
238 void SetPortEncryptionStatus(PortEncryptionStatusT&& value) { m_portEncryptionStatusHasBeenSet =
true; m_portEncryptionStatus = std::forward<PortEncryptionStatusT>(value); }
239 template<
typename PortEncryptionStatusT = Aws::String>
250 template<
typename EncryptionModeT = Aws::String>
251 void SetEncryptionMode(EncryptionModeT&& value) { m_encryptionModeHasBeenSet =
true; m_encryptionMode = std::forward<EncryptionModeT>(value); }
252 template<
typename EncryptionModeT = Aws::String>
261 template<
typename MacSecKeysT = Aws::Vector<MacSecKey>>
262 void SetMacSecKeys(MacSecKeysT&& value) { m_macSecKeysHasBeenSet =
true; m_macSecKeys = std::forward<MacSecKeysT>(value); }
263 template<
typename MacSecKeysT = Aws::Vector<MacSecKey>>
265 template<
typename MacSecKeysT = MacSecKey>
272 template<
typename RequestIdT = Aws::String>
273 void SetRequestId(RequestIdT&& value) { m_requestIdHasBeenSet =
true; m_requestId = std::forward<RequestIdT>(value); }
274 template<
typename RequestIdT = Aws::String>
280 bool m_interconnectIdHasBeenSet =
false;
283 bool m_interconnectNameHasBeenSet =
false;
286 bool m_interconnectStateHasBeenSet =
false;
289 bool m_regionHasBeenSet =
false;
292 bool m_locationHasBeenSet =
false;
295 bool m_bandwidthHasBeenSet =
false;
298 bool m_loaIssueTimeHasBeenSet =
false;
301 bool m_lagIdHasBeenSet =
false;
304 bool m_awsDeviceHasBeenSet =
false;
306 bool m_jumboFrameCapable{
false};
307 bool m_jumboFrameCapableHasBeenSet =
false;
310 bool m_awsDeviceV2HasBeenSet =
false;
313 bool m_awsLogicalDeviceIdHasBeenSet =
false;
316 bool m_hasLogicalRedundancyHasBeenSet =
false;
319 bool m_tagsHasBeenSet =
false;
322 bool m_providerNameHasBeenSet =
false;
324 bool m_macSecCapable{
false};
325 bool m_macSecCapableHasBeenSet =
false;
328 bool m_portEncryptionStatusHasBeenSet =
false;
331 bool m_encryptionModeHasBeenSet =
false;
334 bool m_macSecKeysHasBeenSet =
false;
337 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)
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