AWS SDK for C++

AWS SDK for C++ Version 1.11.440

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();
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 inline void SetInterconnectId(const Aws::String& value) { m_interconnectIdHasBeenSet = true; m_interconnectId = value; }
52 inline void SetInterconnectId(Aws::String&& value) { m_interconnectIdHasBeenSet = true; m_interconnectId = std::move(value); }
53 inline void SetInterconnectId(const char* value) { m_interconnectIdHasBeenSet = true; m_interconnectId.assign(value); }
54 inline Interconnect& WithInterconnectId(const Aws::String& value) { SetInterconnectId(value); return *this;}
55 inline Interconnect& WithInterconnectId(Aws::String&& value) { SetInterconnectId(std::move(value)); return *this;}
56 inline Interconnect& WithInterconnectId(const char* value) { SetInterconnectId(value); return *this;}
58
60
63 inline const Aws::String& GetInterconnectName() const{ return m_interconnectName; }
64 inline bool InterconnectNameHasBeenSet() const { return m_interconnectNameHasBeenSet; }
65 inline void SetInterconnectName(const Aws::String& value) { m_interconnectNameHasBeenSet = true; m_interconnectName = value; }
66 inline void SetInterconnectName(Aws::String&& value) { m_interconnectNameHasBeenSet = true; m_interconnectName = std::move(value); }
67 inline void SetInterconnectName(const char* value) { m_interconnectNameHasBeenSet = true; m_interconnectName.assign(value); }
68 inline Interconnect& WithInterconnectName(const Aws::String& value) { SetInterconnectName(value); return *this;}
69 inline Interconnect& WithInterconnectName(Aws::String&& value) { SetInterconnectName(std::move(value)); return *this;}
70 inline Interconnect& WithInterconnectName(const char* value) { SetInterconnectName(value); return *this;}
72
74
87 inline const InterconnectState& GetInterconnectState() const{ return m_interconnectState; }
88 inline bool InterconnectStateHasBeenSet() const { return m_interconnectStateHasBeenSet; }
89 inline void SetInterconnectState(const InterconnectState& value) { m_interconnectStateHasBeenSet = true; m_interconnectState = value; }
90 inline void SetInterconnectState(InterconnectState&& value) { m_interconnectStateHasBeenSet = true; m_interconnectState = std::move(value); }
91 inline Interconnect& WithInterconnectState(const InterconnectState& value) { SetInterconnectState(value); return *this;}
92 inline Interconnect& WithInterconnectState(InterconnectState&& value) { SetInterconnectState(std::move(value)); return *this;}
94
96
99 inline const Aws::String& GetRegion() const{ return m_region; }
100 inline bool RegionHasBeenSet() const { return m_regionHasBeenSet; }
101 inline void SetRegion(const Aws::String& value) { m_regionHasBeenSet = true; m_region = value; }
102 inline void SetRegion(Aws::String&& value) { m_regionHasBeenSet = true; m_region = std::move(value); }
103 inline void SetRegion(const char* value) { m_regionHasBeenSet = true; m_region.assign(value); }
104 inline Interconnect& WithRegion(const Aws::String& value) { SetRegion(value); return *this;}
105 inline Interconnect& WithRegion(Aws::String&& value) { SetRegion(std::move(value)); return *this;}
106 inline Interconnect& WithRegion(const char* value) { SetRegion(value); return *this;}
108
110
113 inline const Aws::String& GetLocation() const{ return m_location; }
114 inline bool LocationHasBeenSet() const { return m_locationHasBeenSet; }
115 inline void SetLocation(const Aws::String& value) { m_locationHasBeenSet = true; m_location = value; }
116 inline void SetLocation(Aws::String&& value) { m_locationHasBeenSet = true; m_location = std::move(value); }
117 inline void SetLocation(const char* value) { m_locationHasBeenSet = true; m_location.assign(value); }
118 inline Interconnect& WithLocation(const Aws::String& value) { SetLocation(value); return *this;}
119 inline Interconnect& WithLocation(Aws::String&& value) { SetLocation(std::move(value)); return *this;}
120 inline Interconnect& WithLocation(const char* value) { SetLocation(value); return *this;}
122
124
127 inline const Aws::String& GetBandwidth() const{ return m_bandwidth; }
128 inline bool BandwidthHasBeenSet() const { return m_bandwidthHasBeenSet; }
129 inline void SetBandwidth(const Aws::String& value) { m_bandwidthHasBeenSet = true; m_bandwidth = value; }
130 inline void SetBandwidth(Aws::String&& value) { m_bandwidthHasBeenSet = true; m_bandwidth = std::move(value); }
131 inline void SetBandwidth(const char* value) { m_bandwidthHasBeenSet = true; m_bandwidth.assign(value); }
132 inline Interconnect& WithBandwidth(const Aws::String& value) { SetBandwidth(value); return *this;}
133 inline Interconnect& WithBandwidth(Aws::String&& value) { SetBandwidth(std::move(value)); return *this;}
134 inline Interconnect& WithBandwidth(const char* value) { SetBandwidth(value); return *this;}
136
138
142 inline const Aws::Utils::DateTime& GetLoaIssueTime() const{ return m_loaIssueTime; }
143 inline bool LoaIssueTimeHasBeenSet() const { return m_loaIssueTimeHasBeenSet; }
144 inline void SetLoaIssueTime(const Aws::Utils::DateTime& value) { m_loaIssueTimeHasBeenSet = true; m_loaIssueTime = value; }
145 inline void SetLoaIssueTime(Aws::Utils::DateTime&& value) { m_loaIssueTimeHasBeenSet = true; m_loaIssueTime = std::move(value); }
146 inline Interconnect& WithLoaIssueTime(const Aws::Utils::DateTime& value) { SetLoaIssueTime(value); return *this;}
147 inline Interconnect& WithLoaIssueTime(Aws::Utils::DateTime&& value) { SetLoaIssueTime(std::move(value)); return *this;}
149
151
154 inline const Aws::String& GetLagId() const{ return m_lagId; }
155 inline bool LagIdHasBeenSet() const { return m_lagIdHasBeenSet; }
156 inline void SetLagId(const Aws::String& value) { m_lagIdHasBeenSet = true; m_lagId = value; }
157 inline void SetLagId(Aws::String&& value) { m_lagIdHasBeenSet = true; m_lagId = std::move(value); }
158 inline void SetLagId(const char* value) { m_lagIdHasBeenSet = true; m_lagId.assign(value); }
159 inline Interconnect& WithLagId(const Aws::String& value) { SetLagId(value); return *this;}
160 inline Interconnect& WithLagId(Aws::String&& value) { SetLagId(std::move(value)); return *this;}
161 inline Interconnect& WithLagId(const char* value) { SetLagId(value); return *this;}
163
165
168 inline const Aws::String& GetAwsDevice() const{ return m_awsDevice; }
169 inline bool AwsDeviceHasBeenSet() const { return m_awsDeviceHasBeenSet; }
170 inline void SetAwsDevice(const Aws::String& value) { m_awsDeviceHasBeenSet = true; m_awsDevice = value; }
171 inline void SetAwsDevice(Aws::String&& value) { m_awsDeviceHasBeenSet = true; m_awsDevice = std::move(value); }
172 inline void SetAwsDevice(const char* value) { m_awsDeviceHasBeenSet = true; m_awsDevice.assign(value); }
173 inline Interconnect& WithAwsDevice(const Aws::String& value) { SetAwsDevice(value); return *this;}
174 inline Interconnect& WithAwsDevice(Aws::String&& value) { SetAwsDevice(std::move(value)); return *this;}
175 inline Interconnect& WithAwsDevice(const char* value) { SetAwsDevice(value); return *this;}
177
179
182 inline bool GetJumboFrameCapable() const{ return m_jumboFrameCapable; }
183 inline bool JumboFrameCapableHasBeenSet() const { return m_jumboFrameCapableHasBeenSet; }
184 inline void SetJumboFrameCapable(bool value) { m_jumboFrameCapableHasBeenSet = true; m_jumboFrameCapable = value; }
185 inline Interconnect& WithJumboFrameCapable(bool value) { SetJumboFrameCapable(value); return *this;}
187
189
192 inline const Aws::String& GetAwsDeviceV2() const{ return m_awsDeviceV2; }
193 inline bool AwsDeviceV2HasBeenSet() const { return m_awsDeviceV2HasBeenSet; }
194 inline void SetAwsDeviceV2(const Aws::String& value) { m_awsDeviceV2HasBeenSet = true; m_awsDeviceV2 = value; }
195 inline void SetAwsDeviceV2(Aws::String&& value) { m_awsDeviceV2HasBeenSet = true; m_awsDeviceV2 = std::move(value); }
196 inline void SetAwsDeviceV2(const char* value) { m_awsDeviceV2HasBeenSet = true; m_awsDeviceV2.assign(value); }
197 inline Interconnect& WithAwsDeviceV2(const Aws::String& value) { SetAwsDeviceV2(value); return *this;}
198 inline Interconnect& WithAwsDeviceV2(Aws::String&& value) { SetAwsDeviceV2(std::move(value)); return *this;}
199 inline Interconnect& WithAwsDeviceV2(const char* value) { SetAwsDeviceV2(value); return *this;}
201
203
208 inline const Aws::String& GetAwsLogicalDeviceId() const{ return m_awsLogicalDeviceId; }
209 inline bool AwsLogicalDeviceIdHasBeenSet() const { return m_awsLogicalDeviceIdHasBeenSet; }
210 inline void SetAwsLogicalDeviceId(const Aws::String& value) { m_awsLogicalDeviceIdHasBeenSet = true; m_awsLogicalDeviceId = value; }
211 inline void SetAwsLogicalDeviceId(Aws::String&& value) { m_awsLogicalDeviceIdHasBeenSet = true; m_awsLogicalDeviceId = std::move(value); }
212 inline void SetAwsLogicalDeviceId(const char* value) { m_awsLogicalDeviceIdHasBeenSet = true; m_awsLogicalDeviceId.assign(value); }
213 inline Interconnect& WithAwsLogicalDeviceId(const Aws::String& value) { SetAwsLogicalDeviceId(value); return *this;}
214 inline Interconnect& WithAwsLogicalDeviceId(Aws::String&& value) { SetAwsLogicalDeviceId(std::move(value)); return *this;}
215 inline Interconnect& WithAwsLogicalDeviceId(const char* value) { SetAwsLogicalDeviceId(value); return *this;}
217
219
223 inline const HasLogicalRedundancy& GetHasLogicalRedundancy() const{ return m_hasLogicalRedundancy; }
224 inline bool HasLogicalRedundancyHasBeenSet() const { return m_hasLogicalRedundancyHasBeenSet; }
225 inline void SetHasLogicalRedundancy(const HasLogicalRedundancy& value) { m_hasLogicalRedundancyHasBeenSet = true; m_hasLogicalRedundancy = value; }
226 inline void SetHasLogicalRedundancy(HasLogicalRedundancy&& value) { m_hasLogicalRedundancyHasBeenSet = true; m_hasLogicalRedundancy = std::move(value); }
228 inline Interconnect& WithHasLogicalRedundancy(HasLogicalRedundancy&& value) { SetHasLogicalRedundancy(std::move(value)); return *this;}
230
232
235 inline const Aws::Vector<Tag>& GetTags() const{ return m_tags; }
236 inline bool TagsHasBeenSet() const { return m_tagsHasBeenSet; }
237 inline void SetTags(const Aws::Vector<Tag>& value) { m_tagsHasBeenSet = true; m_tags = value; }
238 inline void SetTags(Aws::Vector<Tag>&& value) { m_tagsHasBeenSet = true; m_tags = std::move(value); }
239 inline Interconnect& WithTags(const Aws::Vector<Tag>& value) { SetTags(value); return *this;}
240 inline Interconnect& WithTags(Aws::Vector<Tag>&& value) { SetTags(std::move(value)); return *this;}
241 inline Interconnect& AddTags(const Tag& value) { m_tagsHasBeenSet = true; m_tags.push_back(value); return *this; }
242 inline Interconnect& AddTags(Tag&& value) { m_tagsHasBeenSet = true; m_tags.push_back(std::move(value)); return *this; }
244
246
249 inline const Aws::String& GetProviderName() const{ return m_providerName; }
250 inline bool ProviderNameHasBeenSet() const { return m_providerNameHasBeenSet; }
251 inline void SetProviderName(const Aws::String& value) { m_providerNameHasBeenSet = true; m_providerName = value; }
252 inline void SetProviderName(Aws::String&& value) { m_providerNameHasBeenSet = true; m_providerName = std::move(value); }
253 inline void SetProviderName(const char* value) { m_providerNameHasBeenSet = true; m_providerName.assign(value); }
254 inline Interconnect& WithProviderName(const Aws::String& value) { SetProviderName(value); return *this;}
255 inline Interconnect& WithProviderName(Aws::String&& value) { SetProviderName(std::move(value)); return *this;}
256 inline Interconnect& WithProviderName(const char* value) { SetProviderName(value); return *this;}
258
260
261 inline const Aws::String& GetRequestId() const{ return m_requestId; }
262 inline bool RequestIdHasBeenSet() const { return m_requestIdHasBeenSet; }
263 inline void SetRequestId(const Aws::String& value) { m_requestIdHasBeenSet = true; m_requestId = value; }
264 inline void SetRequestId(Aws::String&& value) { m_requestIdHasBeenSet = true; m_requestId = std::move(value); }
265 inline void SetRequestId(const char* value) { m_requestIdHasBeenSet = true; m_requestId.assign(value); }
266 inline Interconnect& WithRequestId(const Aws::String& value) { SetRequestId(value); return *this;}
267 inline Interconnect& WithRequestId(Aws::String&& value) { SetRequestId(std::move(value)); return *this;}
268 inline Interconnect& WithRequestId(const char* value) { SetRequestId(value); return *this;}
270 private:
271
272 Aws::String m_interconnectId;
273 bool m_interconnectIdHasBeenSet = false;
274
275 Aws::String m_interconnectName;
276 bool m_interconnectNameHasBeenSet = false;
277
278 InterconnectState m_interconnectState;
279 bool m_interconnectStateHasBeenSet = false;
280
281 Aws::String m_region;
282 bool m_regionHasBeenSet = false;
283
284 Aws::String m_location;
285 bool m_locationHasBeenSet = false;
286
287 Aws::String m_bandwidth;
288 bool m_bandwidthHasBeenSet = false;
289
290 Aws::Utils::DateTime m_loaIssueTime;
291 bool m_loaIssueTimeHasBeenSet = false;
292
293 Aws::String m_lagId;
294 bool m_lagIdHasBeenSet = false;
295
296 Aws::String m_awsDevice;
297 bool m_awsDeviceHasBeenSet = false;
298
299 bool m_jumboFrameCapable;
300 bool m_jumboFrameCapableHasBeenSet = false;
301
302 Aws::String m_awsDeviceV2;
303 bool m_awsDeviceV2HasBeenSet = false;
304
305 Aws::String m_awsLogicalDeviceId;
306 bool m_awsLogicalDeviceIdHasBeenSet = false;
307
308 HasLogicalRedundancy m_hasLogicalRedundancy;
309 bool m_hasLogicalRedundancyHasBeenSet = false;
310
311 Aws::Vector<Tag> m_tags;
312 bool m_tagsHasBeenSet = false;
313
314 Aws::String m_providerName;
315 bool m_providerNameHasBeenSet = false;
316
317 Aws::String m_requestId;
318 bool m_requestIdHasBeenSet = false;
319 };
320
321} // namespace Model
322} // namespace DirectConnect
323} // namespace Aws
Interconnect & AddTags(const Tag &value)
const Aws::String & GetInterconnectName() const
const Aws::String & GetAwsDevice() const
Interconnect & WithAwsDevice(Aws::String &&value)
Interconnect & WithRequestId(Aws::String &&value)
void SetAwsLogicalDeviceId(const Aws::String &value)
void SetBandwidth(Aws::String &&value)
void SetHasLogicalRedundancy(const HasLogicalRedundancy &value)
Interconnect & WithRequestId(const Aws::String &value)
const Aws::String & GetProviderName() const
Interconnect & WithInterconnectId(Aws::String &&value)
Interconnect & WithBandwidth(Aws::String &&value)
void SetAwsLogicalDeviceId(const char *value)
void SetAwsDevice(const Aws::String &value)
void SetLoaIssueTime(const Aws::Utils::DateTime &value)
Interconnect & WithHasLogicalRedundancy(HasLogicalRedundancy &&value)
Interconnect & WithLocation(const char *value)
void SetAwsDeviceV2(const Aws::String &value)
Interconnect & WithProviderName(const Aws::String &value)
void SetAwsDevice(Aws::String &&value)
Interconnect & WithInterconnectId(const char *value)
const Aws::String & GetLocation() const
AWS_DIRECTCONNECT_API Interconnect()
void SetInterconnectName(Aws::String &&value)
Interconnect & WithAwsDevice(const char *value)
Interconnect & WithAwsDeviceV2(const char *value)
void SetInterconnectId(const char *value)
Interconnect & WithRequestId(const char *value)
void SetRegion(Aws::String &&value)
void SetLoaIssueTime(Aws::Utils::DateTime &&value)
void SetProviderName(const char *value)
const Aws::String & GetAwsLogicalDeviceId() const
Interconnect & WithAwsDeviceV2(Aws::String &&value)
void SetAwsLogicalDeviceId(Aws::String &&value)
Interconnect & WithBandwidth(const Aws::String &value)
Interconnect & WithInterconnectId(const Aws::String &value)
void SetInterconnectName(const Aws::String &value)
Interconnect & WithRegion(const Aws::String &value)
AWS_DIRECTCONNECT_API Aws::Utils::Json::JsonValue Jsonize() const
void SetLocation(const Aws::String &value)
const Aws::Vector< Tag > & GetTags() const
void SetRequestId(Aws::String &&value)
void SetHasLogicalRedundancy(HasLogicalRedundancy &&value)
Interconnect & WithInterconnectName(const Aws::String &value)
Interconnect & AddTags(Tag &&value)
Interconnect & WithRegion(Aws::String &&value)
Interconnect & WithAwsLogicalDeviceId(Aws::String &&value)
const HasLogicalRedundancy & GetHasLogicalRedundancy() const
void SetProviderName(const Aws::String &value)
Interconnect & WithTags(const Aws::Vector< Tag > &value)
void SetLagId(Aws::String &&value)
Interconnect & WithJumboFrameCapable(bool value)
Interconnect & WithProviderName(Aws::String &&value)
void SetInterconnectState(InterconnectState &&value)
Interconnect & WithLoaIssueTime(Aws::Utils::DateTime &&value)
Interconnect & WithBandwidth(const char *value)
const Aws::String & GetInterconnectId() const
Interconnect & WithAwsLogicalDeviceId(const Aws::String &value)
const Aws::String & GetLagId() const
void SetInterconnectId(const Aws::String &value)
void SetBandwidth(const Aws::String &value)
const InterconnectState & GetInterconnectState() const
const Aws::String & GetBandwidth() const
void SetProviderName(Aws::String &&value)
const Aws::String & GetRequestId() const
AWS_DIRECTCONNECT_API Interconnect(Aws::Utils::Json::JsonView jsonValue)
Interconnect & WithAwsDeviceV2(const Aws::String &value)
void SetTags(Aws::Vector< Tag > &&value)
void SetTags(const Aws::Vector< Tag > &value)
Interconnect & WithInterconnectState(const InterconnectState &value)
Interconnect & WithRegion(const char *value)
Interconnect & WithAwsLogicalDeviceId(const char *value)
void SetRequestId(const Aws::String &value)
Interconnect & WithLocation(Aws::String &&value)
Interconnect & WithLagId(Aws::String &&value)
Interconnect & WithLagId(const Aws::String &value)
Interconnect & WithLoaIssueTime(const Aws::Utils::DateTime &value)
Interconnect & WithProviderName(const char *value)
void SetLocation(Aws::String &&value)
void SetInterconnectId(Aws::String &&value)
void SetRegion(const Aws::String &value)
const Aws::String & GetAwsDeviceV2() const
void SetLagId(const Aws::String &value)
const Aws::String & GetRegion() const
Interconnect & WithLocation(const Aws::String &value)
void SetInterconnectName(const char *value)
void SetAwsDeviceV2(const char *value)
Interconnect & WithLagId(const char *value)
void SetInterconnectState(const InterconnectState &value)
Interconnect & WithAwsDevice(const Aws::String &value)
AWS_DIRECTCONNECT_API Interconnect & operator=(Aws::Utils::Json::JsonView jsonValue)
const Aws::Utils::DateTime & GetLoaIssueTime() const
Interconnect & WithInterconnectState(InterconnectState &&value)
Interconnect & WithHasLogicalRedundancy(const HasLogicalRedundancy &value)
Interconnect & WithInterconnectName(const char *value)
void SetAwsDeviceV2(Aws::String &&value)
Interconnect & WithInterconnectName(Aws::String &&value)
Interconnect & WithTags(Aws::Vector< Tag > &&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