AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
Lag.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/LagState.h>
10#include <aws/core/utils/memory/stl/AWSVector.h>
11#include <aws/directconnect/model/HasLogicalRedundancy.h>
12#include <aws/directconnect/model/Connection.h>
13#include <aws/directconnect/model/Tag.h>
14#include <aws/directconnect/model/MacSecKey.h>
15#include <utility>
16
17namespace Aws
18{
19namespace Utils
20{
21namespace Json
22{
23 class JsonValue;
24 class JsonView;
25} // namespace Json
26} // namespace Utils
27namespace DirectConnect
28{
29namespace Model
30{
31
38 class Lag
39 {
40 public:
41 AWS_DIRECTCONNECT_API Lag();
42 AWS_DIRECTCONNECT_API Lag(Aws::Utils::Json::JsonView jsonValue);
43 AWS_DIRECTCONNECT_API Lag& operator=(Aws::Utils::Json::JsonView jsonValue);
44 AWS_DIRECTCONNECT_API Aws::Utils::Json::JsonValue Jsonize() const;
45
46
48
52 inline const Aws::String& GetConnectionsBandwidth() const{ return m_connectionsBandwidth; }
53 inline bool ConnectionsBandwidthHasBeenSet() const { return m_connectionsBandwidthHasBeenSet; }
54 inline void SetConnectionsBandwidth(const Aws::String& value) { m_connectionsBandwidthHasBeenSet = true; m_connectionsBandwidth = value; }
55 inline void SetConnectionsBandwidth(Aws::String&& value) { m_connectionsBandwidthHasBeenSet = true; m_connectionsBandwidth = std::move(value); }
56 inline void SetConnectionsBandwidth(const char* value) { m_connectionsBandwidthHasBeenSet = true; m_connectionsBandwidth.assign(value); }
57 inline Lag& WithConnectionsBandwidth(const Aws::String& value) { SetConnectionsBandwidth(value); return *this;}
58 inline Lag& WithConnectionsBandwidth(Aws::String&& value) { SetConnectionsBandwidth(std::move(value)); return *this;}
59 inline Lag& WithConnectionsBandwidth(const char* value) { SetConnectionsBandwidth(value); return *this;}
61
63
69 inline int GetNumberOfConnections() const{ return m_numberOfConnections; }
70 inline bool NumberOfConnectionsHasBeenSet() const { return m_numberOfConnectionsHasBeenSet; }
71 inline void SetNumberOfConnections(int value) { m_numberOfConnectionsHasBeenSet = true; m_numberOfConnections = value; }
72 inline Lag& WithNumberOfConnections(int value) { SetNumberOfConnections(value); return *this;}
74
76
79 inline const Aws::String& GetLagId() const{ return m_lagId; }
80 inline bool LagIdHasBeenSet() const { return m_lagIdHasBeenSet; }
81 inline void SetLagId(const Aws::String& value) { m_lagIdHasBeenSet = true; m_lagId = value; }
82 inline void SetLagId(Aws::String&& value) { m_lagIdHasBeenSet = true; m_lagId = std::move(value); }
83 inline void SetLagId(const char* value) { m_lagIdHasBeenSet = true; m_lagId.assign(value); }
84 inline Lag& WithLagId(const Aws::String& value) { SetLagId(value); return *this;}
85 inline Lag& WithLagId(Aws::String&& value) { SetLagId(std::move(value)); return *this;}
86 inline Lag& WithLagId(const char* value) { SetLagId(value); return *this;}
88
90
93 inline const Aws::String& GetOwnerAccount() const{ return m_ownerAccount; }
94 inline bool OwnerAccountHasBeenSet() const { return m_ownerAccountHasBeenSet; }
95 inline void SetOwnerAccount(const Aws::String& value) { m_ownerAccountHasBeenSet = true; m_ownerAccount = value; }
96 inline void SetOwnerAccount(Aws::String&& value) { m_ownerAccountHasBeenSet = true; m_ownerAccount = std::move(value); }
97 inline void SetOwnerAccount(const char* value) { m_ownerAccountHasBeenSet = true; m_ownerAccount.assign(value); }
98 inline Lag& WithOwnerAccount(const Aws::String& value) { SetOwnerAccount(value); return *this;}
99 inline Lag& WithOwnerAccount(Aws::String&& value) { SetOwnerAccount(std::move(value)); return *this;}
100 inline Lag& WithOwnerAccount(const char* value) { SetOwnerAccount(value); return *this;}
102
104
107 inline const Aws::String& GetLagName() const{ return m_lagName; }
108 inline bool LagNameHasBeenSet() const { return m_lagNameHasBeenSet; }
109 inline void SetLagName(const Aws::String& value) { m_lagNameHasBeenSet = true; m_lagName = value; }
110 inline void SetLagName(Aws::String&& value) { m_lagNameHasBeenSet = true; m_lagName = std::move(value); }
111 inline void SetLagName(const char* value) { m_lagNameHasBeenSet = true; m_lagName.assign(value); }
112 inline Lag& WithLagName(const Aws::String& value) { SetLagName(value); return *this;}
113 inline Lag& WithLagName(Aws::String&& value) { SetLagName(std::move(value)); return *this;}
114 inline Lag& WithLagName(const char* value) { SetLagName(value); return *this;}
116
118
130 inline const LagState& GetLagState() const{ return m_lagState; }
131 inline bool LagStateHasBeenSet() const { return m_lagStateHasBeenSet; }
132 inline void SetLagState(const LagState& value) { m_lagStateHasBeenSet = true; m_lagState = value; }
133 inline void SetLagState(LagState&& value) { m_lagStateHasBeenSet = true; m_lagState = std::move(value); }
134 inline Lag& WithLagState(const LagState& value) { SetLagState(value); return *this;}
135 inline Lag& WithLagState(LagState&& value) { SetLagState(std::move(value)); return *this;}
137
139
142 inline const Aws::String& GetLocation() const{ return m_location; }
143 inline bool LocationHasBeenSet() const { return m_locationHasBeenSet; }
144 inline void SetLocation(const Aws::String& value) { m_locationHasBeenSet = true; m_location = value; }
145 inline void SetLocation(Aws::String&& value) { m_locationHasBeenSet = true; m_location = std::move(value); }
146 inline void SetLocation(const char* value) { m_locationHasBeenSet = true; m_location.assign(value); }
147 inline Lag& WithLocation(const Aws::String& value) { SetLocation(value); return *this;}
148 inline Lag& WithLocation(Aws::String&& value) { SetLocation(std::move(value)); return *this;}
149 inline Lag& WithLocation(const char* value) { SetLocation(value); return *this;}
151
153
156 inline const Aws::String& GetRegion() const{ return m_region; }
157 inline bool RegionHasBeenSet() const { return m_regionHasBeenSet; }
158 inline void SetRegion(const Aws::String& value) { m_regionHasBeenSet = true; m_region = value; }
159 inline void SetRegion(Aws::String&& value) { m_regionHasBeenSet = true; m_region = std::move(value); }
160 inline void SetRegion(const char* value) { m_regionHasBeenSet = true; m_region.assign(value); }
161 inline Lag& WithRegion(const Aws::String& value) { SetRegion(value); return *this;}
162 inline Lag& WithRegion(Aws::String&& value) { SetRegion(std::move(value)); return *this;}
163 inline Lag& WithRegion(const char* value) { SetRegion(value); return *this;}
165
167
171 inline int GetMinimumLinks() const{ return m_minimumLinks; }
172 inline bool MinimumLinksHasBeenSet() const { return m_minimumLinksHasBeenSet; }
173 inline void SetMinimumLinks(int value) { m_minimumLinksHasBeenSet = true; m_minimumLinks = value; }
174 inline Lag& WithMinimumLinks(int value) { SetMinimumLinks(value); return *this;}
176
178
181 inline const Aws::String& GetAwsDevice() const{ return m_awsDevice; }
182 inline bool AwsDeviceHasBeenSet() const { return m_awsDeviceHasBeenSet; }
183 inline void SetAwsDevice(const Aws::String& value) { m_awsDeviceHasBeenSet = true; m_awsDevice = value; }
184 inline void SetAwsDevice(Aws::String&& value) { m_awsDeviceHasBeenSet = true; m_awsDevice = std::move(value); }
185 inline void SetAwsDevice(const char* value) { m_awsDeviceHasBeenSet = true; m_awsDevice.assign(value); }
186 inline Lag& WithAwsDevice(const Aws::String& value) { SetAwsDevice(value); return *this;}
187 inline Lag& WithAwsDevice(Aws::String&& value) { SetAwsDevice(std::move(value)); return *this;}
188 inline Lag& WithAwsDevice(const char* value) { SetAwsDevice(value); return *this;}
190
192
195 inline const Aws::String& GetAwsDeviceV2() const{ return m_awsDeviceV2; }
196 inline bool AwsDeviceV2HasBeenSet() const { return m_awsDeviceV2HasBeenSet; }
197 inline void SetAwsDeviceV2(const Aws::String& value) { m_awsDeviceV2HasBeenSet = true; m_awsDeviceV2 = value; }
198 inline void SetAwsDeviceV2(Aws::String&& value) { m_awsDeviceV2HasBeenSet = true; m_awsDeviceV2 = std::move(value); }
199 inline void SetAwsDeviceV2(const char* value) { m_awsDeviceV2HasBeenSet = true; m_awsDeviceV2.assign(value); }
200 inline Lag& WithAwsDeviceV2(const Aws::String& value) { SetAwsDeviceV2(value); return *this;}
201 inline Lag& WithAwsDeviceV2(Aws::String&& value) { SetAwsDeviceV2(std::move(value)); return *this;}
202 inline Lag& WithAwsDeviceV2(const char* value) { SetAwsDeviceV2(value); return *this;}
204
206
211 inline const Aws::String& GetAwsLogicalDeviceId() const{ return m_awsLogicalDeviceId; }
212 inline bool AwsLogicalDeviceIdHasBeenSet() const { return m_awsLogicalDeviceIdHasBeenSet; }
213 inline void SetAwsLogicalDeviceId(const Aws::String& value) { m_awsLogicalDeviceIdHasBeenSet = true; m_awsLogicalDeviceId = value; }
214 inline void SetAwsLogicalDeviceId(Aws::String&& value) { m_awsLogicalDeviceIdHasBeenSet = true; m_awsLogicalDeviceId = std::move(value); }
215 inline void SetAwsLogicalDeviceId(const char* value) { m_awsLogicalDeviceIdHasBeenSet = true; m_awsLogicalDeviceId.assign(value); }
216 inline Lag& WithAwsLogicalDeviceId(const Aws::String& value) { SetAwsLogicalDeviceId(value); return *this;}
217 inline Lag& WithAwsLogicalDeviceId(Aws::String&& value) { SetAwsLogicalDeviceId(std::move(value)); return *this;}
218 inline Lag& WithAwsLogicalDeviceId(const char* value) { SetAwsLogicalDeviceId(value); return *this;}
220
222
225 inline const Aws::Vector<Connection>& GetConnections() const{ return m_connections; }
226 inline bool ConnectionsHasBeenSet() const { return m_connectionsHasBeenSet; }
227 inline void SetConnections(const Aws::Vector<Connection>& value) { m_connectionsHasBeenSet = true; m_connections = value; }
228 inline void SetConnections(Aws::Vector<Connection>&& value) { m_connectionsHasBeenSet = true; m_connections = std::move(value); }
229 inline Lag& WithConnections(const Aws::Vector<Connection>& value) { SetConnections(value); return *this;}
230 inline Lag& WithConnections(Aws::Vector<Connection>&& value) { SetConnections(std::move(value)); return *this;}
231 inline Lag& AddConnections(const Connection& value) { m_connectionsHasBeenSet = true; m_connections.push_back(value); return *this; }
232 inline Lag& AddConnections(Connection&& value) { m_connectionsHasBeenSet = true; m_connections.push_back(std::move(value)); return *this; }
234
236
239 inline bool GetAllowsHostedConnections() const{ return m_allowsHostedConnections; }
240 inline bool AllowsHostedConnectionsHasBeenSet() const { return m_allowsHostedConnectionsHasBeenSet; }
241 inline void SetAllowsHostedConnections(bool value) { m_allowsHostedConnectionsHasBeenSet = true; m_allowsHostedConnections = value; }
242 inline Lag& WithAllowsHostedConnections(bool value) { SetAllowsHostedConnections(value); return *this;}
244
246
249 inline bool GetJumboFrameCapable() const{ return m_jumboFrameCapable; }
250 inline bool JumboFrameCapableHasBeenSet() const { return m_jumboFrameCapableHasBeenSet; }
251 inline void SetJumboFrameCapable(bool value) { m_jumboFrameCapableHasBeenSet = true; m_jumboFrameCapable = value; }
252 inline Lag& WithJumboFrameCapable(bool value) { SetJumboFrameCapable(value); return *this;}
254
256
260 inline const HasLogicalRedundancy& GetHasLogicalRedundancy() const{ return m_hasLogicalRedundancy; }
261 inline bool HasLogicalRedundancyHasBeenSet() const { return m_hasLogicalRedundancyHasBeenSet; }
262 inline void SetHasLogicalRedundancy(const HasLogicalRedundancy& value) { m_hasLogicalRedundancyHasBeenSet = true; m_hasLogicalRedundancy = value; }
263 inline void SetHasLogicalRedundancy(HasLogicalRedundancy&& value) { m_hasLogicalRedundancyHasBeenSet = true; m_hasLogicalRedundancy = std::move(value); }
264 inline Lag& WithHasLogicalRedundancy(const HasLogicalRedundancy& value) { SetHasLogicalRedundancy(value); return *this;}
265 inline Lag& WithHasLogicalRedundancy(HasLogicalRedundancy&& value) { SetHasLogicalRedundancy(std::move(value)); return *this;}
267
269
272 inline const Aws::Vector<Tag>& GetTags() const{ return m_tags; }
273 inline bool TagsHasBeenSet() const { return m_tagsHasBeenSet; }
274 inline void SetTags(const Aws::Vector<Tag>& value) { m_tagsHasBeenSet = true; m_tags = value; }
275 inline void SetTags(Aws::Vector<Tag>&& value) { m_tagsHasBeenSet = true; m_tags = std::move(value); }
276 inline Lag& WithTags(const Aws::Vector<Tag>& value) { SetTags(value); return *this;}
277 inline Lag& WithTags(Aws::Vector<Tag>&& value) { SetTags(std::move(value)); return *this;}
278 inline Lag& AddTags(const Tag& value) { m_tagsHasBeenSet = true; m_tags.push_back(value); return *this; }
279 inline Lag& AddTags(Tag&& value) { m_tagsHasBeenSet = true; m_tags.push_back(std::move(value)); return *this; }
281
283
286 inline const Aws::String& GetProviderName() const{ return m_providerName; }
287 inline bool ProviderNameHasBeenSet() const { return m_providerNameHasBeenSet; }
288 inline void SetProviderName(const Aws::String& value) { m_providerNameHasBeenSet = true; m_providerName = value; }
289 inline void SetProviderName(Aws::String&& value) { m_providerNameHasBeenSet = true; m_providerName = std::move(value); }
290 inline void SetProviderName(const char* value) { m_providerNameHasBeenSet = true; m_providerName.assign(value); }
291 inline Lag& WithProviderName(const Aws::String& value) { SetProviderName(value); return *this;}
292 inline Lag& WithProviderName(Aws::String&& value) { SetProviderName(std::move(value)); return *this;}
293 inline Lag& WithProviderName(const char* value) { SetProviderName(value); return *this;}
295
297
300 inline bool GetMacSecCapable() const{ return m_macSecCapable; }
301 inline bool MacSecCapableHasBeenSet() const { return m_macSecCapableHasBeenSet; }
302 inline void SetMacSecCapable(bool value) { m_macSecCapableHasBeenSet = true; m_macSecCapable = value; }
303 inline Lag& WithMacSecCapable(bool value) { SetMacSecCapable(value); return *this;}
305
307
312 inline const Aws::String& GetEncryptionMode() const{ return m_encryptionMode; }
313 inline bool EncryptionModeHasBeenSet() const { return m_encryptionModeHasBeenSet; }
314 inline void SetEncryptionMode(const Aws::String& value) { m_encryptionModeHasBeenSet = true; m_encryptionMode = value; }
315 inline void SetEncryptionMode(Aws::String&& value) { m_encryptionModeHasBeenSet = true; m_encryptionMode = std::move(value); }
316 inline void SetEncryptionMode(const char* value) { m_encryptionModeHasBeenSet = true; m_encryptionMode.assign(value); }
317 inline Lag& WithEncryptionMode(const Aws::String& value) { SetEncryptionMode(value); return *this;}
318 inline Lag& WithEncryptionMode(Aws::String&& value) { SetEncryptionMode(std::move(value)); return *this;}
319 inline Lag& WithEncryptionMode(const char* value) { SetEncryptionMode(value); return *this;}
321
323
326 inline const Aws::Vector<MacSecKey>& GetMacSecKeys() const{ return m_macSecKeys; }
327 inline bool MacSecKeysHasBeenSet() const { return m_macSecKeysHasBeenSet; }
328 inline void SetMacSecKeys(const Aws::Vector<MacSecKey>& value) { m_macSecKeysHasBeenSet = true; m_macSecKeys = value; }
329 inline void SetMacSecKeys(Aws::Vector<MacSecKey>&& value) { m_macSecKeysHasBeenSet = true; m_macSecKeys = std::move(value); }
330 inline Lag& WithMacSecKeys(const Aws::Vector<MacSecKey>& value) { SetMacSecKeys(value); return *this;}
331 inline Lag& WithMacSecKeys(Aws::Vector<MacSecKey>&& value) { SetMacSecKeys(std::move(value)); return *this;}
332 inline Lag& AddMacSecKeys(const MacSecKey& value) { m_macSecKeysHasBeenSet = true; m_macSecKeys.push_back(value); return *this; }
333 inline Lag& AddMacSecKeys(MacSecKey&& value) { m_macSecKeysHasBeenSet = true; m_macSecKeys.push_back(std::move(value)); return *this; }
335
337
338 inline const Aws::String& GetRequestId() const{ return m_requestId; }
339 inline bool RequestIdHasBeenSet() const { return m_requestIdHasBeenSet; }
340 inline void SetRequestId(const Aws::String& value) { m_requestIdHasBeenSet = true; m_requestId = value; }
341 inline void SetRequestId(Aws::String&& value) { m_requestIdHasBeenSet = true; m_requestId = std::move(value); }
342 inline void SetRequestId(const char* value) { m_requestIdHasBeenSet = true; m_requestId.assign(value); }
343 inline Lag& WithRequestId(const Aws::String& value) { SetRequestId(value); return *this;}
344 inline Lag& WithRequestId(Aws::String&& value) { SetRequestId(std::move(value)); return *this;}
345 inline Lag& WithRequestId(const char* value) { SetRequestId(value); return *this;}
347 private:
348
349 Aws::String m_connectionsBandwidth;
350 bool m_connectionsBandwidthHasBeenSet = false;
351
352 int m_numberOfConnections;
353 bool m_numberOfConnectionsHasBeenSet = false;
354
355 Aws::String m_lagId;
356 bool m_lagIdHasBeenSet = false;
357
358 Aws::String m_ownerAccount;
359 bool m_ownerAccountHasBeenSet = false;
360
361 Aws::String m_lagName;
362 bool m_lagNameHasBeenSet = false;
363
364 LagState m_lagState;
365 bool m_lagStateHasBeenSet = false;
366
367 Aws::String m_location;
368 bool m_locationHasBeenSet = false;
369
370 Aws::String m_region;
371 bool m_regionHasBeenSet = false;
372
373 int m_minimumLinks;
374 bool m_minimumLinksHasBeenSet = false;
375
376 Aws::String m_awsDevice;
377 bool m_awsDeviceHasBeenSet = false;
378
379 Aws::String m_awsDeviceV2;
380 bool m_awsDeviceV2HasBeenSet = false;
381
382 Aws::String m_awsLogicalDeviceId;
383 bool m_awsLogicalDeviceIdHasBeenSet = false;
384
385 Aws::Vector<Connection> m_connections;
386 bool m_connectionsHasBeenSet = false;
387
388 bool m_allowsHostedConnections;
389 bool m_allowsHostedConnectionsHasBeenSet = false;
390
391 bool m_jumboFrameCapable;
392 bool m_jumboFrameCapableHasBeenSet = false;
393
394 HasLogicalRedundancy m_hasLogicalRedundancy;
395 bool m_hasLogicalRedundancyHasBeenSet = false;
396
397 Aws::Vector<Tag> m_tags;
398 bool m_tagsHasBeenSet = false;
399
400 Aws::String m_providerName;
401 bool m_providerNameHasBeenSet = false;
402
403 bool m_macSecCapable;
404 bool m_macSecCapableHasBeenSet = false;
405
406 Aws::String m_encryptionMode;
407 bool m_encryptionModeHasBeenSet = false;
408
409 Aws::Vector<MacSecKey> m_macSecKeys;
410 bool m_macSecKeysHasBeenSet = false;
411
412 Aws::String m_requestId;
413 bool m_requestIdHasBeenSet = false;
414 };
415
416} // namespace Model
417} // namespace DirectConnect
418} // namespace Aws
const Aws::String & GetLagName() const
Definition Lag.h:107
bool GetJumboFrameCapable() const
Definition Lag.h:249
void SetAwsLogicalDeviceId(const char *value)
Definition Lag.h:215
Lag & WithJumboFrameCapable(bool value)
Definition Lag.h:252
void SetLocation(const char *value)
Definition Lag.h:146
void SetLocation(Aws::String &&value)
Definition Lag.h:145
void SetHasLogicalRedundancy(const HasLogicalRedundancy &value)
Definition Lag.h:262
void SetRegion(Aws::String &&value)
Definition Lag.h:159
bool ConnectionsHasBeenSet() const
Definition Lag.h:226
void SetRequestId(Aws::String &&value)
Definition Lag.h:341
Lag & WithLagId(Aws::String &&value)
Definition Lag.h:85
void SetConnections(const Aws::Vector< Connection > &value)
Definition Lag.h:227
Lag & WithMacSecKeys(const Aws::Vector< MacSecKey > &value)
Definition Lag.h:330
Lag & WithProviderName(Aws::String &&value)
Definition Lag.h:292
void SetLagName(const char *value)
Definition Lag.h:111
Lag & WithConnectionsBandwidth(const char *value)
Definition Lag.h:59
void SetMacSecKeys(Aws::Vector< MacSecKey > &&value)
Definition Lag.h:329
Lag & WithAwsLogicalDeviceId(const Aws::String &value)
Definition Lag.h:216
const Aws::Vector< Tag > & GetTags() const
Definition Lag.h:272
bool MacSecCapableHasBeenSet() const
Definition Lag.h:301
const Aws::String & GetLagId() const
Definition Lag.h:79
Lag & WithRegion(const char *value)
Definition Lag.h:163
void SetEncryptionMode(const Aws::String &value)
Definition Lag.h:314
const HasLogicalRedundancy & GetHasLogicalRedundancy() const
Definition Lag.h:260
Lag & WithRegion(const Aws::String &value)
Definition Lag.h:161
void SetTags(Aws::Vector< Tag > &&value)
Definition Lag.h:275
void SetAwsDevice(const Aws::String &value)
Definition Lag.h:183
Lag & WithLagState(LagState &&value)
Definition Lag.h:135
Lag & WithAwsDevice(const Aws::String &value)
Definition Lag.h:186
void SetJumboFrameCapable(bool value)
Definition Lag.h:251
Lag & WithTags(Aws::Vector< Tag > &&value)
Definition Lag.h:277
void SetLagName(Aws::String &&value)
Definition Lag.h:110
void SetConnectionsBandwidth(const char *value)
Definition Lag.h:56
void SetProviderName(const char *value)
Definition Lag.h:290
void SetConnectionsBandwidth(const Aws::String &value)
Definition Lag.h:54
bool LagNameHasBeenSet() const
Definition Lag.h:108
Lag & WithNumberOfConnections(int value)
Definition Lag.h:72
void SetRegion(const char *value)
Definition Lag.h:160
Lag & WithLagName(const char *value)
Definition Lag.h:114
void SetRegion(const Aws::String &value)
Definition Lag.h:158
void SetLagId(const char *value)
Definition Lag.h:83
bool AwsDeviceHasBeenSet() const
Definition Lag.h:182
Lag & AddMacSecKeys(MacSecKey &&value)
Definition Lag.h:333
const Aws::String & GetConnectionsBandwidth() const
Definition Lag.h:52
void SetLagName(const Aws::String &value)
Definition Lag.h:109
Lag & WithHasLogicalRedundancy(const HasLogicalRedundancy &value)
Definition Lag.h:264
void SetMinimumLinks(int value)
Definition Lag.h:173
void SetProviderName(Aws::String &&value)
Definition Lag.h:289
const Aws::Vector< Connection > & GetConnections() const
Definition Lag.h:225
void SetAwsLogicalDeviceId(const Aws::String &value)
Definition Lag.h:213
Lag & WithOwnerAccount(const Aws::String &value)
Definition Lag.h:98
const Aws::String & GetRegion() const
Definition Lag.h:156
void SetAwsDevice(Aws::String &&value)
Definition Lag.h:184
const Aws::String & GetAwsLogicalDeviceId() const
Definition Lag.h:211
void SetOwnerAccount(const char *value)
Definition Lag.h:97
Lag & WithConnectionsBandwidth(const Aws::String &value)
Definition Lag.h:57
void SetLagState(const LagState &value)
Definition Lag.h:132
bool MacSecKeysHasBeenSet() const
Definition Lag.h:327
const Aws::String & GetLocation() const
Definition Lag.h:142
void SetMacSecCapable(bool value)
Definition Lag.h:302
Lag & WithRequestId(const Aws::String &value)
Definition Lag.h:343
bool EncryptionModeHasBeenSet() const
Definition Lag.h:313
void SetOwnerAccount(const Aws::String &value)
Definition Lag.h:95
Lag & AddConnections(Connection &&value)
Definition Lag.h:232
bool TagsHasBeenSet() const
Definition Lag.h:273
void SetEncryptionMode(const char *value)
Definition Lag.h:316
void SetAwsLogicalDeviceId(Aws::String &&value)
Definition Lag.h:214
AWS_DIRECTCONNECT_API Lag & operator=(Aws::Utils::Json::JsonView jsonValue)
Lag & WithRequestId(Aws::String &&value)
Definition Lag.h:344
Lag & WithMacSecCapable(bool value)
Definition Lag.h:303
Lag & WithConnections(Aws::Vector< Connection > &&value)
Definition Lag.h:230
Lag & WithRequestId(const char *value)
Definition Lag.h:345
AWS_DIRECTCONNECT_API Aws::Utils::Json::JsonValue Jsonize() const
Lag & WithAwsLogicalDeviceId(const char *value)
Definition Lag.h:218
Lag & WithMinimumLinks(int value)
Definition Lag.h:174
bool RequestIdHasBeenSet() const
Definition Lag.h:339
Lag & WithProviderName(const char *value)
Definition Lag.h:293
void SetLagId(Aws::String &&value)
Definition Lag.h:82
bool LagStateHasBeenSet() const
Definition Lag.h:131
Lag & WithEncryptionMode(Aws::String &&value)
Definition Lag.h:318
void SetOwnerAccount(Aws::String &&value)
Definition Lag.h:96
Lag & WithAwsDeviceV2(const char *value)
Definition Lag.h:202
void SetConnectionsBandwidth(Aws::String &&value)
Definition Lag.h:55
void SetRequestId(const char *value)
Definition Lag.h:342
const Aws::Vector< MacSecKey > & GetMacSecKeys() const
Definition Lag.h:326
void SetAllowsHostedConnections(bool value)
Definition Lag.h:241
void SetHasLogicalRedundancy(HasLogicalRedundancy &&value)
Definition Lag.h:263
Lag & WithAwsDevice(Aws::String &&value)
Definition Lag.h:187
Lag & WithEncryptionMode(const Aws::String &value)
Definition Lag.h:317
const Aws::String & GetRequestId() const
Definition Lag.h:338
bool LocationHasBeenSet() const
Definition Lag.h:143
bool GetMacSecCapable() const
Definition Lag.h:300
bool AwsLogicalDeviceIdHasBeenSet() const
Definition Lag.h:212
const Aws::String & GetOwnerAccount() const
Definition Lag.h:93
const Aws::String & GetAwsDeviceV2() const
Definition Lag.h:195
Lag & WithLocation(const char *value)
Definition Lag.h:149
bool RegionHasBeenSet() const
Definition Lag.h:157
bool AllowsHostedConnectionsHasBeenSet() const
Definition Lag.h:240
const Aws::String & GetAwsDevice() const
Definition Lag.h:181
void SetNumberOfConnections(int value)
Definition Lag.h:71
void SetProviderName(const Aws::String &value)
Definition Lag.h:288
Lag & WithRegion(Aws::String &&value)
Definition Lag.h:162
Lag & WithLagId(const Aws::String &value)
Definition Lag.h:84
Lag & AddMacSecKeys(const MacSecKey &value)
Definition Lag.h:332
Lag & AddTags(const Tag &value)
Definition Lag.h:278
bool LagIdHasBeenSet() const
Definition Lag.h:80
Lag & WithTags(const Aws::Vector< Tag > &value)
Definition Lag.h:276
bool NumberOfConnectionsHasBeenSet() const
Definition Lag.h:70
Lag & WithAwsDeviceV2(const Aws::String &value)
Definition Lag.h:200
Lag & WithMacSecKeys(Aws::Vector< MacSecKey > &&value)
Definition Lag.h:331
Lag & WithConnectionsBandwidth(Aws::String &&value)
Definition Lag.h:58
const Aws::String & GetEncryptionMode() const
Definition Lag.h:312
int GetNumberOfConnections() const
Definition Lag.h:69
Lag & WithLagState(const LagState &value)
Definition Lag.h:134
Lag & WithConnections(const Aws::Vector< Connection > &value)
Definition Lag.h:229
Lag & AddConnections(const Connection &value)
Definition Lag.h:231
Lag & WithOwnerAccount(const char *value)
Definition Lag.h:100
void SetRequestId(const Aws::String &value)
Definition Lag.h:340
const Aws::String & GetProviderName() const
Definition Lag.h:286
Lag & WithEncryptionMode(const char *value)
Definition Lag.h:319
void SetAwsDeviceV2(Aws::String &&value)
Definition Lag.h:198
void SetAwsDeviceV2(const Aws::String &value)
Definition Lag.h:197
Lag & WithAllowsHostedConnections(bool value)
Definition Lag.h:242
Lag & WithLagName(Aws::String &&value)
Definition Lag.h:113
Lag & WithLagName(const Aws::String &value)
Definition Lag.h:112
void SetLagState(LagState &&value)
Definition Lag.h:133
void SetAwsDeviceV2(const char *value)
Definition Lag.h:199
Lag & WithLocation(const Aws::String &value)
Definition Lag.h:147
void SetLocation(const Aws::String &value)
Definition Lag.h:144
Lag & WithOwnerAccount(Aws::String &&value)
Definition Lag.h:99
bool MinimumLinksHasBeenSet() const
Definition Lag.h:172
bool AwsDeviceV2HasBeenSet() const
Definition Lag.h:196
AWS_DIRECTCONNECT_API Lag()
AWS_DIRECTCONNECT_API Lag(Aws::Utils::Json::JsonView jsonValue)
void SetConnections(Aws::Vector< Connection > &&value)
Definition Lag.h:228
Lag & AddTags(Tag &&value)
Definition Lag.h:279
Lag & WithAwsDeviceV2(Aws::String &&value)
Definition Lag.h:201
Lag & WithProviderName(const Aws::String &value)
Definition Lag.h:291
bool OwnerAccountHasBeenSet() const
Definition Lag.h:94
int GetMinimumLinks() const
Definition Lag.h:171
void SetEncryptionMode(Aws::String &&value)
Definition Lag.h:315
Lag & WithHasLogicalRedundancy(HasLogicalRedundancy &&value)
Definition Lag.h:265
bool GetAllowsHostedConnections() const
Definition Lag.h:239
Lag & WithAwsLogicalDeviceId(Aws::String &&value)
Definition Lag.h:217
bool ConnectionsBandwidthHasBeenSet() const
Definition Lag.h:53
bool HasLogicalRedundancyHasBeenSet() const
Definition Lag.h:261
void SetTags(const Aws::Vector< Tag > &value)
Definition Lag.h:274
Lag & WithLagId(const char *value)
Definition Lag.h:86
void SetAwsDevice(const char *value)
Definition Lag.h:185
const LagState & GetLagState() const
Definition Lag.h:130
void SetMacSecKeys(const Aws::Vector< MacSecKey > &value)
Definition Lag.h:328
Lag & WithAwsDevice(const char *value)
Definition Lag.h:188
Lag & WithLocation(Aws::String &&value)
Definition Lag.h:148
bool JumboFrameCapableHasBeenSet() const
Definition Lag.h:250
void SetLagId(const Aws::String &value)
Definition Lag.h:81
bool ProviderNameHasBeenSet() const
Definition Lag.h:287
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
std::vector< T, Aws::Allocator< T > > Vector
Aws::Utils::Json::JsonValue JsonValue