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>
18template<
typename RESULT_TYPE>
19class AmazonWebServiceResult;
28namespace DirectConnect
50 template<
typename InterconnectIdT = Aws::String>
51 void SetInterconnectId(InterconnectIdT&& value) { m_interconnectIdHasBeenSet =
true; m_interconnectId = std::forward<InterconnectIdT>(value); }
52 template<
typename InterconnectIdT = Aws::String>
61 template<
typename InterconnectNameT = Aws::String>
62 void SetInterconnectName(InterconnectNameT&& value) { m_interconnectNameHasBeenSet =
true; m_interconnectName = std::forward<InterconnectNameT>(value); }
63 template<
typename InterconnectNameT = Aws::String>
91 template<
typename RegionT = Aws::String>
92 void SetRegion(RegionT&& value) { m_regionHasBeenSet =
true; m_region = std::forward<RegionT>(value); }
93 template<
typename RegionT = Aws::String>
102 template<
typename LocationT = Aws::String>
103 void SetLocation(LocationT&& value) { m_locationHasBeenSet =
true; m_location = std::forward<LocationT>(value); }
104 template<
typename LocationT = Aws::String>
113 template<
typename Bandw
idthT = Aws::String>
114 void SetBandwidth(BandwidthT&& value) { m_bandwidthHasBeenSet =
true; m_bandwidth = std::forward<BandwidthT>(value); }
115 template<
typename Bandw
idthT = Aws::String>
125 template<
typename LoaIssueTimeT = Aws::Utils::DateTime>
126 void SetLoaIssueTime(LoaIssueTimeT&& value) { m_loaIssueTimeHasBeenSet =
true; m_loaIssueTime = std::forward<LoaIssueTimeT>(value); }
127 template<
typename LoaIssueTimeT = Aws::Utils::DateTime>
136 template<
typename LagIdT = Aws::String>
137 void SetLagId(LagIdT&& value) { m_lagIdHasBeenSet =
true; m_lagId = std::forward<LagIdT>(value); }
138 template<
typename LagIdT = Aws::String>
147 template<
typename AwsDeviceT = Aws::String>
148 void SetAwsDevice(AwsDeviceT&& value) { m_awsDeviceHasBeenSet =
true; m_awsDevice = std::forward<AwsDeviceT>(value); }
149 template<
typename AwsDeviceT = Aws::String>
158 inline void SetJumboFrameCapable(
bool value) { m_jumboFrameCapableHasBeenSet =
true; m_jumboFrameCapable = value; }
167 template<
typename AwsDeviceV2T = Aws::String>
168 void SetAwsDeviceV2(AwsDeviceV2T&& value) { m_awsDeviceV2HasBeenSet =
true; m_awsDeviceV2 = std::forward<AwsDeviceV2T>(value); }
169 template<
typename AwsDeviceV2T = Aws::String>
180 template<
typename AwsLogicalDeviceIdT = Aws::String>
181 void SetAwsLogicalDeviceId(AwsLogicalDeviceIdT&& value) { m_awsLogicalDeviceIdHasBeenSet =
true; m_awsLogicalDeviceId = std::forward<AwsLogicalDeviceIdT>(value); }
182 template<
typename AwsLogicalDeviceIdT = Aws::String>
201 template<
typename TagsT = Aws::Vector<Tag>>
202 void SetTags(TagsT&& value) { m_tagsHasBeenSet =
true; m_tags = std::forward<TagsT>(value); }
203 template<
typename TagsT = Aws::Vector<Tag>>
205 template<
typename TagsT = Tag>
214 template<
typename Prov
iderNameT = Aws::String>
215 void SetProviderName(ProviderNameT&& value) { m_providerNameHasBeenSet =
true; m_providerName = std::forward<ProviderNameT>(value); }
216 template<
typename Prov
iderNameT = Aws::String>
223 template<
typename RequestIdT = Aws::String>
224 void SetRequestId(RequestIdT&& value) { m_requestIdHasBeenSet =
true; m_requestId = std::forward<RequestIdT>(value); }
225 template<
typename RequestIdT = Aws::String>
231 bool m_interconnectIdHasBeenSet =
false;
234 bool m_interconnectNameHasBeenSet =
false;
237 bool m_interconnectStateHasBeenSet =
false;
240 bool m_regionHasBeenSet =
false;
243 bool m_locationHasBeenSet =
false;
246 bool m_bandwidthHasBeenSet =
false;
249 bool m_loaIssueTimeHasBeenSet =
false;
252 bool m_lagIdHasBeenSet =
false;
255 bool m_awsDeviceHasBeenSet =
false;
257 bool m_jumboFrameCapable{
false};
258 bool m_jumboFrameCapableHasBeenSet =
false;
261 bool m_awsDeviceV2HasBeenSet =
false;
264 bool m_awsLogicalDeviceIdHasBeenSet =
false;
267 bool m_hasLogicalRedundancyHasBeenSet =
false;
270 bool m_tagsHasBeenSet =
false;
273 bool m_providerNameHasBeenSet =
false;
276 bool m_requestIdHasBeenSet =
false;
CreateInterconnectResult & WithAwsDevice(AwsDeviceT &&value)
const Aws::String & GetAwsDevice() const
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)
void SetAwsDeviceV2(AwsDeviceV2T &&value)
const Aws::String & GetProviderName() const
HasLogicalRedundancy GetHasLogicalRedundancy() const
AWS_DIRECTCONNECT_API CreateInterconnectResult()=default
CreateInterconnectResult & WithBandwidth(BandwidthT &&value)
void SetRequestId(RequestIdT &&value)
const Aws::String & GetRequestId() const
void SetInterconnectName(InterconnectNameT &&value)
CreateInterconnectResult & WithTags(TagsT &&value)
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)
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
CreateInterconnectResult & WithJumboFrameCapable(bool value)
void SetInterconnectId(InterconnectIdT &&value)
CreateInterconnectResult & AddTags(TagsT &&value)
bool GetJumboFrameCapable() const
CreateInterconnectResult & WithInterconnectName(InterconnectNameT &&value)
void SetLagId(LagIdT &&value)
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