AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
Connection.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/ConnectionState.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 <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 {
39 public:
40 AWS_DIRECTCONNECT_API Connection();
41 AWS_DIRECTCONNECT_API Connection(Aws::Utils::Json::JsonView jsonValue);
42 AWS_DIRECTCONNECT_API Connection& operator=(Aws::Utils::Json::JsonView jsonValue);
43 AWS_DIRECTCONNECT_API Aws::Utils::Json::JsonValue Jsonize() const;
44
45
47
50 inline const Aws::String& GetOwnerAccount() const{ return m_ownerAccount; }
51 inline bool OwnerAccountHasBeenSet() const { return m_ownerAccountHasBeenSet; }
52 inline void SetOwnerAccount(const Aws::String& value) { m_ownerAccountHasBeenSet = true; m_ownerAccount = value; }
53 inline void SetOwnerAccount(Aws::String&& value) { m_ownerAccountHasBeenSet = true; m_ownerAccount = std::move(value); }
54 inline void SetOwnerAccount(const char* value) { m_ownerAccountHasBeenSet = true; m_ownerAccount.assign(value); }
55 inline Connection& WithOwnerAccount(const Aws::String& value) { SetOwnerAccount(value); return *this;}
56 inline Connection& WithOwnerAccount(Aws::String&& value) { SetOwnerAccount(std::move(value)); return *this;}
57 inline Connection& WithOwnerAccount(const char* value) { SetOwnerAccount(value); return *this;}
59
61
64 inline const Aws::String& GetConnectionId() const{ return m_connectionId; }
65 inline bool ConnectionIdHasBeenSet() const { return m_connectionIdHasBeenSet; }
66 inline void SetConnectionId(const Aws::String& value) { m_connectionIdHasBeenSet = true; m_connectionId = value; }
67 inline void SetConnectionId(Aws::String&& value) { m_connectionIdHasBeenSet = true; m_connectionId = std::move(value); }
68 inline void SetConnectionId(const char* value) { m_connectionIdHasBeenSet = true; m_connectionId.assign(value); }
69 inline Connection& WithConnectionId(const Aws::String& value) { SetConnectionId(value); return *this;}
70 inline Connection& WithConnectionId(Aws::String&& value) { SetConnectionId(std::move(value)); return *this;}
71 inline Connection& WithConnectionId(const char* value) { SetConnectionId(value); return *this;}
73
75
78 inline const Aws::String& GetConnectionName() const{ return m_connectionName; }
79 inline bool ConnectionNameHasBeenSet() const { return m_connectionNameHasBeenSet; }
80 inline void SetConnectionName(const Aws::String& value) { m_connectionNameHasBeenSet = true; m_connectionName = value; }
81 inline void SetConnectionName(Aws::String&& value) { m_connectionNameHasBeenSet = true; m_connectionName = std::move(value); }
82 inline void SetConnectionName(const char* value) { m_connectionNameHasBeenSet = true; m_connectionName.assign(value); }
83 inline Connection& WithConnectionName(const Aws::String& value) { SetConnectionName(value); return *this;}
84 inline Connection& WithConnectionName(Aws::String&& value) { SetConnectionName(std::move(value)); return *this;}
85 inline Connection& WithConnectionName(const char* value) { SetConnectionName(value); return *this;}
87
89
107 inline const ConnectionState& GetConnectionState() const{ return m_connectionState; }
108 inline bool ConnectionStateHasBeenSet() const { return m_connectionStateHasBeenSet; }
109 inline void SetConnectionState(const ConnectionState& value) { m_connectionStateHasBeenSet = true; m_connectionState = value; }
110 inline void SetConnectionState(ConnectionState&& value) { m_connectionStateHasBeenSet = true; m_connectionState = std::move(value); }
111 inline Connection& WithConnectionState(const ConnectionState& value) { SetConnectionState(value); return *this;}
112 inline Connection& WithConnectionState(ConnectionState&& value) { SetConnectionState(std::move(value)); return *this;}
114
116
119 inline const Aws::String& GetRegion() const{ return m_region; }
120 inline bool RegionHasBeenSet() const { return m_regionHasBeenSet; }
121 inline void SetRegion(const Aws::String& value) { m_regionHasBeenSet = true; m_region = value; }
122 inline void SetRegion(Aws::String&& value) { m_regionHasBeenSet = true; m_region = std::move(value); }
123 inline void SetRegion(const char* value) { m_regionHasBeenSet = true; m_region.assign(value); }
124 inline Connection& WithRegion(const Aws::String& value) { SetRegion(value); return *this;}
125 inline Connection& WithRegion(Aws::String&& value) { SetRegion(std::move(value)); return *this;}
126 inline Connection& WithRegion(const char* value) { SetRegion(value); return *this;}
128
130
133 inline const Aws::String& GetLocation() const{ return m_location; }
134 inline bool LocationHasBeenSet() const { return m_locationHasBeenSet; }
135 inline void SetLocation(const Aws::String& value) { m_locationHasBeenSet = true; m_location = value; }
136 inline void SetLocation(Aws::String&& value) { m_locationHasBeenSet = true; m_location = std::move(value); }
137 inline void SetLocation(const char* value) { m_locationHasBeenSet = true; m_location.assign(value); }
138 inline Connection& WithLocation(const Aws::String& value) { SetLocation(value); return *this;}
139 inline Connection& WithLocation(Aws::String&& value) { SetLocation(std::move(value)); return *this;}
140 inline Connection& WithLocation(const char* value) { SetLocation(value); return *this;}
142
144
147 inline const Aws::String& GetBandwidth() const{ return m_bandwidth; }
148 inline bool BandwidthHasBeenSet() const { return m_bandwidthHasBeenSet; }
149 inline void SetBandwidth(const Aws::String& value) { m_bandwidthHasBeenSet = true; m_bandwidth = value; }
150 inline void SetBandwidth(Aws::String&& value) { m_bandwidthHasBeenSet = true; m_bandwidth = std::move(value); }
151 inline void SetBandwidth(const char* value) { m_bandwidthHasBeenSet = true; m_bandwidth.assign(value); }
152 inline Connection& WithBandwidth(const Aws::String& value) { SetBandwidth(value); return *this;}
153 inline Connection& WithBandwidth(Aws::String&& value) { SetBandwidth(std::move(value)); return *this;}
154 inline Connection& WithBandwidth(const char* value) { SetBandwidth(value); return *this;}
156
158
161 inline int GetVlan() const{ return m_vlan; }
162 inline bool VlanHasBeenSet() const { return m_vlanHasBeenSet; }
163 inline void SetVlan(int value) { m_vlanHasBeenSet = true; m_vlan = value; }
164 inline Connection& WithVlan(int value) { SetVlan(value); return *this;}
166
168
172 inline const Aws::String& GetPartnerName() const{ return m_partnerName; }
173 inline bool PartnerNameHasBeenSet() const { return m_partnerNameHasBeenSet; }
174 inline void SetPartnerName(const Aws::String& value) { m_partnerNameHasBeenSet = true; m_partnerName = value; }
175 inline void SetPartnerName(Aws::String&& value) { m_partnerNameHasBeenSet = true; m_partnerName = std::move(value); }
176 inline void SetPartnerName(const char* value) { m_partnerNameHasBeenSet = true; m_partnerName.assign(value); }
177 inline Connection& WithPartnerName(const Aws::String& value) { SetPartnerName(value); return *this;}
178 inline Connection& WithPartnerName(Aws::String&& value) { SetPartnerName(std::move(value)); return *this;}
179 inline Connection& WithPartnerName(const char* value) { SetPartnerName(value); return *this;}
181
183
187 inline const Aws::Utils::DateTime& GetLoaIssueTime() const{ return m_loaIssueTime; }
188 inline bool LoaIssueTimeHasBeenSet() const { return m_loaIssueTimeHasBeenSet; }
189 inline void SetLoaIssueTime(const Aws::Utils::DateTime& value) { m_loaIssueTimeHasBeenSet = true; m_loaIssueTime = value; }
190 inline void SetLoaIssueTime(Aws::Utils::DateTime&& value) { m_loaIssueTimeHasBeenSet = true; m_loaIssueTime = std::move(value); }
191 inline Connection& WithLoaIssueTime(const Aws::Utils::DateTime& value) { SetLoaIssueTime(value); return *this;}
192 inline Connection& WithLoaIssueTime(Aws::Utils::DateTime&& value) { SetLoaIssueTime(std::move(value)); return *this;}
194
196
199 inline const Aws::String& GetLagId() const{ return m_lagId; }
200 inline bool LagIdHasBeenSet() const { return m_lagIdHasBeenSet; }
201 inline void SetLagId(const Aws::String& value) { m_lagIdHasBeenSet = true; m_lagId = value; }
202 inline void SetLagId(Aws::String&& value) { m_lagIdHasBeenSet = true; m_lagId = std::move(value); }
203 inline void SetLagId(const char* value) { m_lagIdHasBeenSet = true; m_lagId.assign(value); }
204 inline Connection& WithLagId(const Aws::String& value) { SetLagId(value); return *this;}
205 inline Connection& WithLagId(Aws::String&& value) { SetLagId(std::move(value)); return *this;}
206 inline Connection& WithLagId(const char* value) { SetLagId(value); return *this;}
208
210
213 inline const Aws::String& GetAwsDevice() const{ return m_awsDevice; }
214 inline bool AwsDeviceHasBeenSet() const { return m_awsDeviceHasBeenSet; }
215 inline void SetAwsDevice(const Aws::String& value) { m_awsDeviceHasBeenSet = true; m_awsDevice = value; }
216 inline void SetAwsDevice(Aws::String&& value) { m_awsDeviceHasBeenSet = true; m_awsDevice = std::move(value); }
217 inline void SetAwsDevice(const char* value) { m_awsDeviceHasBeenSet = true; m_awsDevice.assign(value); }
218 inline Connection& WithAwsDevice(const Aws::String& value) { SetAwsDevice(value); return *this;}
219 inline Connection& WithAwsDevice(Aws::String&& value) { SetAwsDevice(std::move(value)); return *this;}
220 inline Connection& WithAwsDevice(const char* value) { SetAwsDevice(value); return *this;}
222
224
227 inline bool GetJumboFrameCapable() const{ return m_jumboFrameCapable; }
228 inline bool JumboFrameCapableHasBeenSet() const { return m_jumboFrameCapableHasBeenSet; }
229 inline void SetJumboFrameCapable(bool value) { m_jumboFrameCapableHasBeenSet = true; m_jumboFrameCapable = value; }
230 inline Connection& WithJumboFrameCapable(bool value) { SetJumboFrameCapable(value); return *this;}
232
234
237 inline const Aws::String& GetAwsDeviceV2() const{ return m_awsDeviceV2; }
238 inline bool AwsDeviceV2HasBeenSet() const { return m_awsDeviceV2HasBeenSet; }
239 inline void SetAwsDeviceV2(const Aws::String& value) { m_awsDeviceV2HasBeenSet = true; m_awsDeviceV2 = value; }
240 inline void SetAwsDeviceV2(Aws::String&& value) { m_awsDeviceV2HasBeenSet = true; m_awsDeviceV2 = std::move(value); }
241 inline void SetAwsDeviceV2(const char* value) { m_awsDeviceV2HasBeenSet = true; m_awsDeviceV2.assign(value); }
242 inline Connection& WithAwsDeviceV2(const Aws::String& value) { SetAwsDeviceV2(value); return *this;}
243 inline Connection& WithAwsDeviceV2(Aws::String&& value) { SetAwsDeviceV2(std::move(value)); return *this;}
244 inline Connection& WithAwsDeviceV2(const char* value) { SetAwsDeviceV2(value); return *this;}
246
248
253 inline const Aws::String& GetAwsLogicalDeviceId() const{ return m_awsLogicalDeviceId; }
254 inline bool AwsLogicalDeviceIdHasBeenSet() const { return m_awsLogicalDeviceIdHasBeenSet; }
255 inline void SetAwsLogicalDeviceId(const Aws::String& value) { m_awsLogicalDeviceIdHasBeenSet = true; m_awsLogicalDeviceId = value; }
256 inline void SetAwsLogicalDeviceId(Aws::String&& value) { m_awsLogicalDeviceIdHasBeenSet = true; m_awsLogicalDeviceId = std::move(value); }
257 inline void SetAwsLogicalDeviceId(const char* value) { m_awsLogicalDeviceIdHasBeenSet = true; m_awsLogicalDeviceId.assign(value); }
258 inline Connection& WithAwsLogicalDeviceId(const Aws::String& value) { SetAwsLogicalDeviceId(value); return *this;}
259 inline Connection& WithAwsLogicalDeviceId(Aws::String&& value) { SetAwsLogicalDeviceId(std::move(value)); return *this;}
260 inline Connection& WithAwsLogicalDeviceId(const char* value) { SetAwsLogicalDeviceId(value); return *this;}
262
264
268 inline const HasLogicalRedundancy& GetHasLogicalRedundancy() const{ return m_hasLogicalRedundancy; }
269 inline bool HasLogicalRedundancyHasBeenSet() const { return m_hasLogicalRedundancyHasBeenSet; }
270 inline void SetHasLogicalRedundancy(const HasLogicalRedundancy& value) { m_hasLogicalRedundancyHasBeenSet = true; m_hasLogicalRedundancy = value; }
271 inline void SetHasLogicalRedundancy(HasLogicalRedundancy&& value) { m_hasLogicalRedundancyHasBeenSet = true; m_hasLogicalRedundancy = std::move(value); }
273 inline Connection& WithHasLogicalRedundancy(HasLogicalRedundancy&& value) { SetHasLogicalRedundancy(std::move(value)); return *this;}
275
277
280 inline const Aws::Vector<Tag>& GetTags() const{ return m_tags; }
281 inline bool TagsHasBeenSet() const { return m_tagsHasBeenSet; }
282 inline void SetTags(const Aws::Vector<Tag>& value) { m_tagsHasBeenSet = true; m_tags = value; }
283 inline void SetTags(Aws::Vector<Tag>&& value) { m_tagsHasBeenSet = true; m_tags = std::move(value); }
284 inline Connection& WithTags(const Aws::Vector<Tag>& value) { SetTags(value); return *this;}
285 inline Connection& WithTags(Aws::Vector<Tag>&& value) { SetTags(std::move(value)); return *this;}
286 inline Connection& AddTags(const Tag& value) { m_tagsHasBeenSet = true; m_tags.push_back(value); return *this; }
287 inline Connection& AddTags(Tag&& value) { m_tagsHasBeenSet = true; m_tags.push_back(std::move(value)); return *this; }
289
291
294 inline const Aws::String& GetProviderName() const{ return m_providerName; }
295 inline bool ProviderNameHasBeenSet() const { return m_providerNameHasBeenSet; }
296 inline void SetProviderName(const Aws::String& value) { m_providerNameHasBeenSet = true; m_providerName = value; }
297 inline void SetProviderName(Aws::String&& value) { m_providerNameHasBeenSet = true; m_providerName = std::move(value); }
298 inline void SetProviderName(const char* value) { m_providerNameHasBeenSet = true; m_providerName.assign(value); }
299 inline Connection& WithProviderName(const Aws::String& value) { SetProviderName(value); return *this;}
300 inline Connection& WithProviderName(Aws::String&& value) { SetProviderName(std::move(value)); return *this;}
301 inline Connection& WithProviderName(const char* value) { SetProviderName(value); return *this;}
303
305
308 inline bool GetMacSecCapable() const{ return m_macSecCapable; }
309 inline bool MacSecCapableHasBeenSet() const { return m_macSecCapableHasBeenSet; }
310 inline void SetMacSecCapable(bool value) { m_macSecCapableHasBeenSet = true; m_macSecCapable = value; }
311 inline Connection& WithMacSecCapable(bool value) { SetMacSecCapable(value); return *this;}
313
315
320 inline const Aws::String& GetPortEncryptionStatus() const{ return m_portEncryptionStatus; }
321 inline bool PortEncryptionStatusHasBeenSet() const { return m_portEncryptionStatusHasBeenSet; }
322 inline void SetPortEncryptionStatus(const Aws::String& value) { m_portEncryptionStatusHasBeenSet = true; m_portEncryptionStatus = value; }
323 inline void SetPortEncryptionStatus(Aws::String&& value) { m_portEncryptionStatusHasBeenSet = true; m_portEncryptionStatus = std::move(value); }
324 inline void SetPortEncryptionStatus(const char* value) { m_portEncryptionStatusHasBeenSet = true; m_portEncryptionStatus.assign(value); }
325 inline Connection& WithPortEncryptionStatus(const Aws::String& value) { SetPortEncryptionStatus(value); return *this;}
326 inline Connection& WithPortEncryptionStatus(Aws::String&& value) { SetPortEncryptionStatus(std::move(value)); return *this;}
327 inline Connection& WithPortEncryptionStatus(const char* value) { SetPortEncryptionStatus(value); return *this;}
329
331
336 inline const Aws::String& GetEncryptionMode() const{ return m_encryptionMode; }
337 inline bool EncryptionModeHasBeenSet() const { return m_encryptionModeHasBeenSet; }
338 inline void SetEncryptionMode(const Aws::String& value) { m_encryptionModeHasBeenSet = true; m_encryptionMode = value; }
339 inline void SetEncryptionMode(Aws::String&& value) { m_encryptionModeHasBeenSet = true; m_encryptionMode = std::move(value); }
340 inline void SetEncryptionMode(const char* value) { m_encryptionModeHasBeenSet = true; m_encryptionMode.assign(value); }
341 inline Connection& WithEncryptionMode(const Aws::String& value) { SetEncryptionMode(value); return *this;}
342 inline Connection& WithEncryptionMode(Aws::String&& value) { SetEncryptionMode(std::move(value)); return *this;}
343 inline Connection& WithEncryptionMode(const char* value) { SetEncryptionMode(value); return *this;}
345
347
350 inline const Aws::Vector<MacSecKey>& GetMacSecKeys() const{ return m_macSecKeys; }
351 inline bool MacSecKeysHasBeenSet() const { return m_macSecKeysHasBeenSet; }
352 inline void SetMacSecKeys(const Aws::Vector<MacSecKey>& value) { m_macSecKeysHasBeenSet = true; m_macSecKeys = value; }
353 inline void SetMacSecKeys(Aws::Vector<MacSecKey>&& value) { m_macSecKeysHasBeenSet = true; m_macSecKeys = std::move(value); }
354 inline Connection& WithMacSecKeys(const Aws::Vector<MacSecKey>& value) { SetMacSecKeys(value); return *this;}
355 inline Connection& WithMacSecKeys(Aws::Vector<MacSecKey>&& value) { SetMacSecKeys(std::move(value)); return *this;}
356 inline Connection& AddMacSecKeys(const MacSecKey& value) { m_macSecKeysHasBeenSet = true; m_macSecKeys.push_back(value); return *this; }
357 inline Connection& AddMacSecKeys(MacSecKey&& value) { m_macSecKeysHasBeenSet = true; m_macSecKeys.push_back(std::move(value)); return *this; }
359
361
362 inline const Aws::String& GetRequestId() const{ return m_requestId; }
363 inline bool RequestIdHasBeenSet() const { return m_requestIdHasBeenSet; }
364 inline void SetRequestId(const Aws::String& value) { m_requestIdHasBeenSet = true; m_requestId = value; }
365 inline void SetRequestId(Aws::String&& value) { m_requestIdHasBeenSet = true; m_requestId = std::move(value); }
366 inline void SetRequestId(const char* value) { m_requestIdHasBeenSet = true; m_requestId.assign(value); }
367 inline Connection& WithRequestId(const Aws::String& value) { SetRequestId(value); return *this;}
368 inline Connection& WithRequestId(Aws::String&& value) { SetRequestId(std::move(value)); return *this;}
369 inline Connection& WithRequestId(const char* value) { SetRequestId(value); return *this;}
371 private:
372
373 Aws::String m_ownerAccount;
374 bool m_ownerAccountHasBeenSet = false;
375
376 Aws::String m_connectionId;
377 bool m_connectionIdHasBeenSet = false;
378
379 Aws::String m_connectionName;
380 bool m_connectionNameHasBeenSet = false;
381
382 ConnectionState m_connectionState;
383 bool m_connectionStateHasBeenSet = false;
384
385 Aws::String m_region;
386 bool m_regionHasBeenSet = false;
387
388 Aws::String m_location;
389 bool m_locationHasBeenSet = false;
390
391 Aws::String m_bandwidth;
392 bool m_bandwidthHasBeenSet = false;
393
394 int m_vlan;
395 bool m_vlanHasBeenSet = false;
396
397 Aws::String m_partnerName;
398 bool m_partnerNameHasBeenSet = false;
399
400 Aws::Utils::DateTime m_loaIssueTime;
401 bool m_loaIssueTimeHasBeenSet = false;
402
403 Aws::String m_lagId;
404 bool m_lagIdHasBeenSet = false;
405
406 Aws::String m_awsDevice;
407 bool m_awsDeviceHasBeenSet = false;
408
409 bool m_jumboFrameCapable;
410 bool m_jumboFrameCapableHasBeenSet = false;
411
412 Aws::String m_awsDeviceV2;
413 bool m_awsDeviceV2HasBeenSet = false;
414
415 Aws::String m_awsLogicalDeviceId;
416 bool m_awsLogicalDeviceIdHasBeenSet = false;
417
418 HasLogicalRedundancy m_hasLogicalRedundancy;
419 bool m_hasLogicalRedundancyHasBeenSet = false;
420
421 Aws::Vector<Tag> m_tags;
422 bool m_tagsHasBeenSet = false;
423
424 Aws::String m_providerName;
425 bool m_providerNameHasBeenSet = false;
426
427 bool m_macSecCapable;
428 bool m_macSecCapableHasBeenSet = false;
429
430 Aws::String m_portEncryptionStatus;
431 bool m_portEncryptionStatusHasBeenSet = false;
432
433 Aws::String m_encryptionMode;
434 bool m_encryptionModeHasBeenSet = false;
435
436 Aws::Vector<MacSecKey> m_macSecKeys;
437 bool m_macSecKeysHasBeenSet = false;
438
439 Aws::String m_requestId;
440 bool m_requestIdHasBeenSet = false;
441 };
442
443} // namespace Model
444} // namespace DirectConnect
445} // namespace Aws
Connection & WithHasLogicalRedundancy(const HasLogicalRedundancy &value)
Definition Connection.h:272
const Aws::Vector< Tag > & GetTags() const
Definition Connection.h:280
void SetOwnerAccount(const char *value)
Definition Connection.h:54
void SetConnectionId(Aws::String &&value)
Definition Connection.h:67
void SetConnectionId(const char *value)
Definition Connection.h:68
Connection & WithProviderName(const char *value)
Definition Connection.h:301
void SetAwsDevice(Aws::String &&value)
Definition Connection.h:216
Connection & WithPortEncryptionStatus(Aws::String &&value)
Definition Connection.h:326
Connection & WithHasLogicalRedundancy(HasLogicalRedundancy &&value)
Definition Connection.h:273
const Aws::String & GetAwsDevice() const
Definition Connection.h:213
void SetEncryptionMode(const char *value)
Definition Connection.h:340
Connection & AddMacSecKeys(const MacSecKey &value)
Definition Connection.h:356
void SetRegion(const Aws::String &value)
Definition Connection.h:121
Connection & WithAwsLogicalDeviceId(Aws::String &&value)
Definition Connection.h:259
void SetHasLogicalRedundancy(HasLogicalRedundancy &&value)
Definition Connection.h:271
Connection & WithConnectionState(ConnectionState &&value)
Definition Connection.h:112
Connection & WithOwnerAccount(const char *value)
Definition Connection.h:57
Connection & WithBandwidth(const char *value)
Definition Connection.h:154
Connection & AddTags(Tag &&value)
Definition Connection.h:287
Connection & WithLagId(const char *value)
Definition Connection.h:206
const Aws::String & GetEncryptionMode() const
Definition Connection.h:336
void SetLoaIssueTime(const Aws::Utils::DateTime &value)
Definition Connection.h:189
Connection & WithVlan(int value)
Definition Connection.h:164
Connection & WithOwnerAccount(Aws::String &&value)
Definition Connection.h:56
void SetRequestId(const char *value)
Definition Connection.h:366
Connection & WithEncryptionMode(Aws::String &&value)
Definition Connection.h:342
Connection & WithAwsLogicalDeviceId(const Aws::String &value)
Definition Connection.h:258
void SetProviderName(const char *value)
Definition Connection.h:298
const Aws::String & GetLagId() const
Definition Connection.h:199
void SetPortEncryptionStatus(const Aws::String &value)
Definition Connection.h:322
void SetPartnerName(Aws::String &&value)
Definition Connection.h:175
void SetAwsDeviceV2(const Aws::String &value)
Definition Connection.h:239
void SetMacSecKeys(const Aws::Vector< MacSecKey > &value)
Definition Connection.h:352
Connection & WithPartnerName(Aws::String &&value)
Definition Connection.h:178
Connection & WithLocation(const Aws::String &value)
Definition Connection.h:138
Connection & WithRequestId(const char *value)
Definition Connection.h:369
const Aws::String & GetPartnerName() const
Definition Connection.h:172
void SetRequestId(const Aws::String &value)
Definition Connection.h:364
void SetOwnerAccount(Aws::String &&value)
Definition Connection.h:53
void SetBandwidth(Aws::String &&value)
Definition Connection.h:150
const Aws::Utils::DateTime & GetLoaIssueTime() const
Definition Connection.h:187
Connection & WithConnectionId(const Aws::String &value)
Definition Connection.h:69
void SetBandwidth(const char *value)
Definition Connection.h:151
void SetEncryptionMode(const Aws::String &value)
Definition Connection.h:338
Connection & WithAwsDeviceV2(const char *value)
Definition Connection.h:244
void SetLocation(const Aws::String &value)
Definition Connection.h:135
Connection & WithConnectionId(const char *value)
Definition Connection.h:71
void SetAwsLogicalDeviceId(const Aws::String &value)
Definition Connection.h:255
Connection & WithProviderName(Aws::String &&value)
Definition Connection.h:300
Connection & WithProviderName(const Aws::String &value)
Definition Connection.h:299
Connection & WithOwnerAccount(const Aws::String &value)
Definition Connection.h:55
Connection & WithMacSecKeys(Aws::Vector< MacSecKey > &&value)
Definition Connection.h:355
Connection & WithAwsDeviceV2(Aws::String &&value)
Definition Connection.h:243
Connection & WithLagId(Aws::String &&value)
Definition Connection.h:205
void SetRegion(const char *value)
Definition Connection.h:123
void SetAwsDevice(const char *value)
Definition Connection.h:217
const Aws::String & GetBandwidth() const
Definition Connection.h:147
void SetLagId(const char *value)
Definition Connection.h:203
const Aws::String & GetLocation() const
Definition Connection.h:133
void SetPartnerName(const char *value)
Definition Connection.h:176
Connection & WithRegion(const Aws::String &value)
Definition Connection.h:124
void SetEncryptionMode(Aws::String &&value)
Definition Connection.h:339
Connection & WithLocation(const char *value)
Definition Connection.h:140
const Aws::String & GetPortEncryptionStatus() const
Definition Connection.h:320
Connection & WithAwsDevice(Aws::String &&value)
Definition Connection.h:219
void SetPortEncryptionStatus(Aws::String &&value)
Definition Connection.h:323
AWS_DIRECTCONNECT_API Aws::Utils::Json::JsonValue Jsonize() const
Connection & WithLoaIssueTime(Aws::Utils::DateTime &&value)
Definition Connection.h:192
void SetAwsDeviceV2(Aws::String &&value)
Definition Connection.h:240
Connection & WithRegion(const char *value)
Definition Connection.h:126
Connection & WithEncryptionMode(const Aws::String &value)
Definition Connection.h:341
Connection & WithConnectionName(Aws::String &&value)
Definition Connection.h:84
Connection & WithConnectionName(const Aws::String &value)
Definition Connection.h:83
void SetLagId(const Aws::String &value)
Definition Connection.h:201
Connection & WithAwsDevice(const char *value)
Definition Connection.h:220
Connection & WithEncryptionMode(const char *value)
Definition Connection.h:343
Connection & WithRequestId(const Aws::String &value)
Definition Connection.h:367
void SetBandwidth(const Aws::String &value)
Definition Connection.h:149
void SetAwsDeviceV2(const char *value)
Definition Connection.h:241
void SetProviderName(Aws::String &&value)
Definition Connection.h:297
Connection & WithPortEncryptionStatus(const Aws::String &value)
Definition Connection.h:325
Connection & WithLocation(Aws::String &&value)
Definition Connection.h:139
const Aws::String & GetConnectionName() const
Definition Connection.h:78
Connection & WithBandwidth(Aws::String &&value)
Definition Connection.h:153
void SetAwsDevice(const Aws::String &value)
Definition Connection.h:215
Connection & WithConnectionId(Aws::String &&value)
Definition Connection.h:70
AWS_DIRECTCONNECT_API Connection(Aws::Utils::Json::JsonView jsonValue)
Connection & AddTags(const Tag &value)
Definition Connection.h:286
void SetMacSecKeys(Aws::Vector< MacSecKey > &&value)
Definition Connection.h:353
void SetHasLogicalRedundancy(const HasLogicalRedundancy &value)
Definition Connection.h:270
void SetTags(const Aws::Vector< Tag > &value)
Definition Connection.h:282
Connection & WithTags(Aws::Vector< Tag > &&value)
Definition Connection.h:285
const Aws::String & GetRequestId() const
Definition Connection.h:362
AWS_DIRECTCONNECT_API Connection & operator=(Aws::Utils::Json::JsonView jsonValue)
void SetLoaIssueTime(Aws::Utils::DateTime &&value)
Definition Connection.h:190
void SetTags(Aws::Vector< Tag > &&value)
Definition Connection.h:283
Connection & WithRegion(Aws::String &&value)
Definition Connection.h:125
Connection & WithConnectionState(const ConnectionState &value)
Definition Connection.h:111
void SetProviderName(const Aws::String &value)
Definition Connection.h:296
void SetConnectionId(const Aws::String &value)
Definition Connection.h:66
void SetConnectionState(const ConnectionState &value)
Definition Connection.h:109
const Aws::String & GetConnectionId() const
Definition Connection.h:64
void SetPortEncryptionStatus(const char *value)
Definition Connection.h:324
void SetConnectionName(const char *value)
Definition Connection.h:82
Connection & WithBandwidth(const Aws::String &value)
Definition Connection.h:152
Connection & WithLagId(const Aws::String &value)
Definition Connection.h:204
Connection & WithAwsDeviceV2(const Aws::String &value)
Definition Connection.h:242
void SetRequestId(Aws::String &&value)
Definition Connection.h:365
void SetOwnerAccount(const Aws::String &value)
Definition Connection.h:52
Connection & WithMacSecCapable(bool value)
Definition Connection.h:311
Connection & WithLoaIssueTime(const Aws::Utils::DateTime &value)
Definition Connection.h:191
const Aws::Vector< MacSecKey > & GetMacSecKeys() const
Definition Connection.h:350
void SetLagId(Aws::String &&value)
Definition Connection.h:202
const Aws::String & GetAwsDeviceV2() const
Definition Connection.h:237
void SetPartnerName(const Aws::String &value)
Definition Connection.h:174
void SetLocation(Aws::String &&value)
Definition Connection.h:136
Connection & WithJumboFrameCapable(bool value)
Definition Connection.h:230
void SetAwsLogicalDeviceId(Aws::String &&value)
Definition Connection.h:256
Connection & WithRequestId(Aws::String &&value)
Definition Connection.h:368
Connection & WithPortEncryptionStatus(const char *value)
Definition Connection.h:327
Connection & WithTags(const Aws::Vector< Tag > &value)
Definition Connection.h:284
const Aws::String & GetAwsLogicalDeviceId() const
Definition Connection.h:253
const Aws::String & GetRegion() const
Definition Connection.h:119
void SetConnectionName(const Aws::String &value)
Definition Connection.h:80
Connection & WithConnectionName(const char *value)
Definition Connection.h:85
const HasLogicalRedundancy & GetHasLogicalRedundancy() const
Definition Connection.h:268
void SetConnectionState(ConnectionState &&value)
Definition Connection.h:110
void SetLocation(const char *value)
Definition Connection.h:137
const Aws::String & GetProviderName() const
Definition Connection.h:294
Connection & AddMacSecKeys(MacSecKey &&value)
Definition Connection.h:357
void SetConnectionName(Aws::String &&value)
Definition Connection.h:81
Connection & WithMacSecKeys(const Aws::Vector< MacSecKey > &value)
Definition Connection.h:354
Connection & WithPartnerName(const char *value)
Definition Connection.h:179
const ConnectionState & GetConnectionState() const
Definition Connection.h:107
Connection & WithAwsLogicalDeviceId(const char *value)
Definition Connection.h:260
void SetRegion(Aws::String &&value)
Definition Connection.h:122
Connection & WithAwsDevice(const Aws::String &value)
Definition Connection.h:218
Connection & WithPartnerName(const Aws::String &value)
Definition Connection.h:177
const Aws::String & GetOwnerAccount() const
Definition Connection.h:50
void SetAwsLogicalDeviceId(const char *value)
Definition Connection.h:257
AWS_DIRECTCONNECT_API Connection()
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
std::vector< T, Aws::Allocator< T > > Vector
Aws::Utils::Json::JsonValue JsonValue