AWS SDK for C++

AWS SDK for C++ Version 1.11.607

Loading...
Searching...
No Matches
Interconnect.h
1
6#pragma once
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 <utility>
15
16namespace Aws
17{
18namespace Utils
19{
20namespace Json
21{
22 class JsonValue;
23 class JsonView;
24} // namespace Json
25} // namespace Utils
26namespace DirectConnect
27{
28namespace Model
29{
30
37 {
38 public:
39 AWS_DIRECTCONNECT_API Interconnect() = default;
40 AWS_DIRECTCONNECT_API Interconnect(Aws::Utils::Json::JsonView jsonValue);
41 AWS_DIRECTCONNECT_API Interconnect& operator=(Aws::Utils::Json::JsonView jsonValue);
42 AWS_DIRECTCONNECT_API Aws::Utils::Json::JsonValue Jsonize() const;
43
44
46
49 inline const Aws::String& GetInterconnectId() const { return m_interconnectId; }
50 inline bool InterconnectIdHasBeenSet() const { return m_interconnectIdHasBeenSet; }
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>
54 Interconnect& WithInterconnectId(InterconnectIdT&& value) { SetInterconnectId(std::forward<InterconnectIdT>(value)); return *this;}
56
58
61 inline const Aws::String& GetInterconnectName() const { return m_interconnectName; }
62 inline bool InterconnectNameHasBeenSet() const { return m_interconnectNameHasBeenSet; }
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>
66 Interconnect& WithInterconnectName(InterconnectNameT&& value) { SetInterconnectName(std::forward<InterconnectNameT>(value)); return *this;}
68
70
83 inline InterconnectState GetInterconnectState() const { return m_interconnectState; }
84 inline bool InterconnectStateHasBeenSet() const { return m_interconnectStateHasBeenSet; }
85 inline void SetInterconnectState(InterconnectState value) { m_interconnectStateHasBeenSet = true; m_interconnectState = value; }
88
90
93 inline const Aws::String& GetRegion() const { return m_region; }
94 inline bool RegionHasBeenSet() const { return m_regionHasBeenSet; }
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>
98 Interconnect& WithRegion(RegionT&& value) { SetRegion(std::forward<RegionT>(value)); return *this;}
100
102
105 inline const Aws::String& GetLocation() const { return m_location; }
106 inline bool LocationHasBeenSet() const { return m_locationHasBeenSet; }
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>
110 Interconnect& WithLocation(LocationT&& value) { SetLocation(std::forward<LocationT>(value)); return *this;}
112
114
117 inline const Aws::String& GetBandwidth() const { return m_bandwidth; }
118 inline bool BandwidthHasBeenSet() const { return m_bandwidthHasBeenSet; }
119 template<typename BandwidthT = Aws::String>
120 void SetBandwidth(BandwidthT&& value) { m_bandwidthHasBeenSet = true; m_bandwidth = std::forward<BandwidthT>(value); }
121 template<typename BandwidthT = Aws::String>
122 Interconnect& WithBandwidth(BandwidthT&& value) { SetBandwidth(std::forward<BandwidthT>(value)); return *this;}
124
126
130 inline const Aws::Utils::DateTime& GetLoaIssueTime() const { return m_loaIssueTime; }
131 inline bool LoaIssueTimeHasBeenSet() const { return m_loaIssueTimeHasBeenSet; }
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>
135 Interconnect& WithLoaIssueTime(LoaIssueTimeT&& value) { SetLoaIssueTime(std::forward<LoaIssueTimeT>(value)); return *this;}
137
139
142 inline const Aws::String& GetLagId() const { return m_lagId; }
143 inline bool LagIdHasBeenSet() const { return m_lagIdHasBeenSet; }
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>
147 Interconnect& WithLagId(LagIdT&& value) { SetLagId(std::forward<LagIdT>(value)); return *this;}
149
151
154 inline const Aws::String& GetAwsDevice() const { return m_awsDevice; }
155 inline bool AwsDeviceHasBeenSet() const { return m_awsDeviceHasBeenSet; }
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>
159 Interconnect& WithAwsDevice(AwsDeviceT&& value) { SetAwsDevice(std::forward<AwsDeviceT>(value)); return *this;}
161
163
166 inline bool GetJumboFrameCapable() const { return m_jumboFrameCapable; }
167 inline bool JumboFrameCapableHasBeenSet() const { return m_jumboFrameCapableHasBeenSet; }
168 inline void SetJumboFrameCapable(bool value) { m_jumboFrameCapableHasBeenSet = true; m_jumboFrameCapable = value; }
169 inline Interconnect& WithJumboFrameCapable(bool value) { SetJumboFrameCapable(value); return *this;}
171
173
176 inline const Aws::String& GetAwsDeviceV2() const { return m_awsDeviceV2; }
177 inline bool AwsDeviceV2HasBeenSet() const { return m_awsDeviceV2HasBeenSet; }
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>
181 Interconnect& WithAwsDeviceV2(AwsDeviceV2T&& value) { SetAwsDeviceV2(std::forward<AwsDeviceV2T>(value)); return *this;}
183
185
190 inline const Aws::String& GetAwsLogicalDeviceId() const { return m_awsLogicalDeviceId; }
191 inline bool AwsLogicalDeviceIdHasBeenSet() const { return m_awsLogicalDeviceIdHasBeenSet; }
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>
195 Interconnect& WithAwsLogicalDeviceId(AwsLogicalDeviceIdT&& value) { SetAwsLogicalDeviceId(std::forward<AwsLogicalDeviceIdT>(value)); return *this;}
197
199
203 inline HasLogicalRedundancy GetHasLogicalRedundancy() const { return m_hasLogicalRedundancy; }
204 inline bool HasLogicalRedundancyHasBeenSet() const { return m_hasLogicalRedundancyHasBeenSet; }
205 inline void SetHasLogicalRedundancy(HasLogicalRedundancy value) { m_hasLogicalRedundancyHasBeenSet = true; m_hasLogicalRedundancy = value; }
208
210
213 inline const Aws::Vector<Tag>& GetTags() const { return m_tags; }
214 inline bool TagsHasBeenSet() const { return m_tagsHasBeenSet; }
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>>
218 Interconnect& WithTags(TagsT&& value) { SetTags(std::forward<TagsT>(value)); return *this;}
219 template<typename TagsT = Tag>
220 Interconnect& AddTags(TagsT&& value) { m_tagsHasBeenSet = true; m_tags.emplace_back(std::forward<TagsT>(value)); return *this; }
222
224
227 inline const Aws::String& GetProviderName() const { return m_providerName; }
228 inline bool ProviderNameHasBeenSet() const { return m_providerNameHasBeenSet; }
229 template<typename ProviderNameT = Aws::String>
230 void SetProviderName(ProviderNameT&& value) { m_providerNameHasBeenSet = true; m_providerName = std::forward<ProviderNameT>(value); }
231 template<typename ProviderNameT = Aws::String>
232 Interconnect& WithProviderName(ProviderNameT&& value) { SetProviderName(std::forward<ProviderNameT>(value)); return *this;}
234
236
237 inline const Aws::String& GetRequestId() const { return m_requestId; }
238 inline bool RequestIdHasBeenSet() const { return m_requestIdHasBeenSet; }
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>
242 Interconnect& WithRequestId(RequestIdT&& value) { SetRequestId(std::forward<RequestIdT>(value)); return *this;}
244 private:
245
246 Aws::String m_interconnectId;
247 bool m_interconnectIdHasBeenSet = false;
248
249 Aws::String m_interconnectName;
250 bool m_interconnectNameHasBeenSet = false;
251
253 bool m_interconnectStateHasBeenSet = false;
254
255 Aws::String m_region;
256 bool m_regionHasBeenSet = false;
257
258 Aws::String m_location;
259 bool m_locationHasBeenSet = false;
260
261 Aws::String m_bandwidth;
262 bool m_bandwidthHasBeenSet = false;
263
264 Aws::Utils::DateTime m_loaIssueTime{};
265 bool m_loaIssueTimeHasBeenSet = false;
266
267 Aws::String m_lagId;
268 bool m_lagIdHasBeenSet = false;
269
270 Aws::String m_awsDevice;
271 bool m_awsDeviceHasBeenSet = false;
272
273 bool m_jumboFrameCapable{false};
274 bool m_jumboFrameCapableHasBeenSet = false;
275
276 Aws::String m_awsDeviceV2;
277 bool m_awsDeviceV2HasBeenSet = false;
278
279 Aws::String m_awsLogicalDeviceId;
280 bool m_awsLogicalDeviceIdHasBeenSet = false;
281
283 bool m_hasLogicalRedundancyHasBeenSet = false;
284
285 Aws::Vector<Tag> m_tags;
286 bool m_tagsHasBeenSet = false;
287
288 Aws::String m_providerName;
289 bool m_providerNameHasBeenSet = false;
290
291 Aws::String m_requestId;
292 bool m_requestIdHasBeenSet = false;
293 };
294
295} // namespace Model
296} // namespace DirectConnect
297} // namespace Aws
const Aws::String & GetInterconnectName() const
const Aws::String & GetAwsDevice() const
void SetInterconnectName(InterconnectNameT &&value)
void SetInterconnectState(InterconnectState value)
void SetLoaIssueTime(LoaIssueTimeT &&value)
void SetRequestId(RequestIdT &&value)
Interconnect & WithRequestId(RequestIdT &&value)
const Aws::String & GetProviderName() const
Interconnect & WithHasLogicalRedundancy(HasLogicalRedundancy value)
void SetAwsLogicalDeviceId(AwsLogicalDeviceIdT &&value)
const Aws::String & GetLocation() const
Interconnect & WithAwsDeviceV2(AwsDeviceV2T &&value)
Interconnect & WithLocation(LocationT &&value)
void SetProviderName(ProviderNameT &&value)
const Aws::String & GetAwsLogicalDeviceId() const
Interconnect & WithRegion(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)
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
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)
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)
AWS_DIRECTCONNECT_API Interconnect & operator=(Aws::Utils::Json::JsonView jsonValue)
const Aws::Utils::DateTime & GetLoaIssueTime() const
void SetHasLogicalRedundancy(HasLogicalRedundancy value)
AWS_DIRECTCONNECT_API Interconnect()=default
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