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>
26namespace 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>
63 template<
typename InterconnectNameT = Aws::String>
64 void SetInterconnectName(InterconnectNameT&& value) { m_interconnectNameHasBeenSet =
true; m_interconnectName = std::forward<InterconnectNameT>(value); }
65 template<
typename InterconnectNameT = Aws::String>
95 template<
typename RegionT = Aws::String>
96 void SetRegion(RegionT&& value) { m_regionHasBeenSet =
true; m_region = std::forward<RegionT>(value); }
97 template<
typename RegionT = Aws::String>
107 template<
typename LocationT = Aws::String>
108 void SetLocation(LocationT&& value) { m_locationHasBeenSet =
true; m_location = std::forward<LocationT>(value); }
109 template<
typename LocationT = Aws::String>
119 template<
typename Bandw
idthT = Aws::String>
120 void SetBandwidth(BandwidthT&& value) { m_bandwidthHasBeenSet =
true; m_bandwidth = std::forward<BandwidthT>(value); }
121 template<
typename Bandw
idthT = Aws::String>
132 template<
typename LoaIssueTimeT = Aws::Utils::DateTime>
133 void SetLoaIssueTime(LoaIssueTimeT&& value) { m_loaIssueTimeHasBeenSet =
true; m_loaIssueTime = std::forward<LoaIssueTimeT>(value); }
134 template<
typename LoaIssueTimeT = Aws::Utils::DateTime>
144 template<
typename LagIdT = Aws::String>
145 void SetLagId(LagIdT&& value) { m_lagIdHasBeenSet =
true; m_lagId = std::forward<LagIdT>(value); }
146 template<
typename LagIdT = Aws::String>
156 template<
typename AwsDeviceT = Aws::String>
157 void SetAwsDevice(AwsDeviceT&& value) { m_awsDeviceHasBeenSet =
true; m_awsDevice = std::forward<AwsDeviceT>(value); }
158 template<
typename AwsDeviceT = Aws::String>
168 inline void SetJumboFrameCapable(
bool value) { m_jumboFrameCapableHasBeenSet =
true; m_jumboFrameCapable = value; }
178 template<
typename AwsDeviceV2T = Aws::String>
179 void SetAwsDeviceV2(AwsDeviceV2T&& value) { m_awsDeviceV2HasBeenSet =
true; m_awsDeviceV2 = std::forward<AwsDeviceV2T>(value); }
180 template<
typename AwsDeviceV2T = Aws::String>
192 template<
typename AwsLogicalDeviceIdT = Aws::String>
193 void SetAwsLogicalDeviceId(AwsLogicalDeviceIdT&& value) { m_awsLogicalDeviceIdHasBeenSet =
true; m_awsLogicalDeviceId = std::forward<AwsLogicalDeviceIdT>(value); }
194 template<
typename AwsLogicalDeviceIdT = Aws::String>
215 template<
typename TagsT = Aws::Vector<Tag>>
216 void SetTags(TagsT&& value) { m_tagsHasBeenSet =
true; m_tags = std::forward<TagsT>(value); }
217 template<
typename TagsT = Aws::Vector<Tag>>
219 template<
typename TagsT = Tag>
220 Interconnect&
AddTags(TagsT&& value) { m_tagsHasBeenSet =
true; m_tags.emplace_back(std::forward<TagsT>(value));
return *
this; }
229 template<
typename Prov
iderNameT = Aws::String>
230 void SetProviderName(ProviderNameT&& value) { m_providerNameHasBeenSet =
true; m_providerName = std::forward<ProviderNameT>(value); }
231 template<
typename Prov
iderNameT = Aws::String>
239 template<
typename RequestIdT = Aws::String>
240 void SetRequestId(RequestIdT&& value) { m_requestIdHasBeenSet =
true; m_requestId = std::forward<RequestIdT>(value); }
241 template<
typename RequestIdT = Aws::String>
247 bool m_interconnectIdHasBeenSet =
false;
250 bool m_interconnectNameHasBeenSet =
false;
253 bool m_interconnectStateHasBeenSet =
false;
256 bool m_regionHasBeenSet =
false;
259 bool m_locationHasBeenSet =
false;
262 bool m_bandwidthHasBeenSet =
false;
265 bool m_loaIssueTimeHasBeenSet =
false;
268 bool m_lagIdHasBeenSet =
false;
271 bool m_awsDeviceHasBeenSet =
false;
273 bool m_jumboFrameCapable{
false};
274 bool m_jumboFrameCapableHasBeenSet =
false;
277 bool m_awsDeviceV2HasBeenSet =
false;
280 bool m_awsLogicalDeviceIdHasBeenSet =
false;
283 bool m_hasLogicalRedundancyHasBeenSet =
false;
286 bool m_tagsHasBeenSet =
false;
289 bool m_providerNameHasBeenSet =
false;
292 bool m_requestIdHasBeenSet =
false;
const Aws::String & GetInterconnectName() const
const Aws::String & GetAwsDevice() const
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)
bool ProviderNameHasBeenSet() const
bool JumboFrameCapableHasBeenSet() const
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 & WithLoaIssueTime(LoaIssueTimeT &&value)
const Aws::Vector< Tag > & GetTags() const
Interconnect & WithInterconnectId(InterconnectIdT &&value)
Interconnect & WithLagId(LagIdT &&value)
Interconnect & WithInterconnectState(InterconnectState value)
bool AwsLogicalDeviceIdHasBeenSet() const
Interconnect & WithInterconnectName(InterconnectNameT &&value)
void SetBandwidth(BandwidthT &&value)
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)
InterconnectState GetInterconnectState() const
Interconnect & AddTags(TagsT &&value)
void SetTags(TagsT &&value)
Interconnect & WithBandwidth(BandwidthT &&value)
Interconnect & WithTags(TagsT &&value)
Interconnect & WithAwsDevice(AwsDeviceT &&value)
const Aws::String & GetAwsDeviceV2() const
const Aws::String & GetRegion() const
void SetAwsDevice(AwsDeviceT &&value)
HasLogicalRedundancy GetHasLogicalRedundancy() const
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)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
std::vector< T, Aws::Allocator< T > > Vector
Aws::Utils::Json::JsonValue JsonValue