AWS SDK for C++

AWS SDK for C++ Version 1.11.788

Loading...
Searching...
No Matches
DisassociateConnectionFromLagResult.h
1
6#pragma once
7#include <aws/core/http/HttpResponse.h>
8#include <aws/core/utils/DateTime.h>
9#include <aws/core/utils/memory/stl/AWSString.h>
10#include <aws/core/utils/memory/stl/AWSVector.h>
11#include <aws/directconnect/DirectConnect_EXPORTS.h>
12#include <aws/directconnect/model/ConnectionState.h>
13#include <aws/directconnect/model/HasLogicalRedundancy.h>
14#include <aws/directconnect/model/MacSecKey.h>
15#include <aws/directconnect/model/Tag.h>
16
17#include <utility>
18
19namespace Aws {
20template <typename RESULT_TYPE>
21class AmazonWebServiceResult;
22
23namespace Utils {
24namespace Json {
25class JsonValue;
26} // namespace Json
27} // namespace Utils
28namespace DirectConnect {
29namespace Model {
36 public:
37 AWS_DIRECTCONNECT_API DisassociateConnectionFromLagResult() = default;
41
43
46 inline const Aws::String& GetOwnerAccount() const { return m_ownerAccount; }
47 template <typename OwnerAccountT = Aws::String>
48 void SetOwnerAccount(OwnerAccountT&& value) {
49 m_ownerAccountHasBeenSet = true;
50 m_ownerAccount = std::forward<OwnerAccountT>(value);
51 }
52 template <typename OwnerAccountT = Aws::String>
54 SetOwnerAccount(std::forward<OwnerAccountT>(value));
55 return *this;
56 }
58
60
63 inline const Aws::String& GetConnectionId() const { return m_connectionId; }
64 template <typename ConnectionIdT = Aws::String>
65 void SetConnectionId(ConnectionIdT&& value) {
66 m_connectionIdHasBeenSet = true;
67 m_connectionId = std::forward<ConnectionIdT>(value);
68 }
69 template <typename ConnectionIdT = Aws::String>
71 SetConnectionId(std::forward<ConnectionIdT>(value));
72 return *this;
73 }
75
77
80 inline const Aws::String& GetConnectionName() const { return m_connectionName; }
81 template <typename ConnectionNameT = Aws::String>
82 void SetConnectionName(ConnectionNameT&& value) {
83 m_connectionNameHasBeenSet = true;
84 m_connectionName = std::forward<ConnectionNameT>(value);
85 }
86 template <typename ConnectionNameT = Aws::String>
88 SetConnectionName(std::forward<ConnectionNameT>(value));
89 return *this;
90 }
92
94
112 inline ConnectionState GetConnectionState() const { return m_connectionState; }
114 m_connectionStateHasBeenSet = true;
115 m_connectionState = value;
116 }
118 SetConnectionState(value);
119 return *this;
120 }
122
124
127 inline const Aws::String& GetRegion() const { return m_region; }
128 template <typename RegionT = Aws::String>
129 void SetRegion(RegionT&& value) {
130 m_regionHasBeenSet = true;
131 m_region = std::forward<RegionT>(value);
132 }
133 template <typename RegionT = Aws::String>
135 SetRegion(std::forward<RegionT>(value));
136 return *this;
137 }
139
141
144 inline const Aws::String& GetLocation() const { return m_location; }
145 template <typename LocationT = Aws::String>
146 void SetLocation(LocationT&& value) {
147 m_locationHasBeenSet = true;
148 m_location = std::forward<LocationT>(value);
149 }
150 template <typename LocationT = Aws::String>
152 SetLocation(std::forward<LocationT>(value));
153 return *this;
154 }
156
158
161 inline const Aws::String& GetBandwidth() const { return m_bandwidth; }
162 template <typename BandwidthT = Aws::String>
163 void SetBandwidth(BandwidthT&& value) {
164 m_bandwidthHasBeenSet = true;
165 m_bandwidth = std::forward<BandwidthT>(value);
166 }
167 template <typename BandwidthT = Aws::String>
169 SetBandwidth(std::forward<BandwidthT>(value));
170 return *this;
171 }
173
175
178 inline int GetVlan() const { return m_vlan; }
179 inline void SetVlan(int value) {
180 m_vlanHasBeenSet = true;
181 m_vlan = value;
182 }
184 SetVlan(value);
185 return *this;
186 }
188
190
194 inline const Aws::String& GetPartnerName() const { return m_partnerName; }
195 template <typename PartnerNameT = Aws::String>
196 void SetPartnerName(PartnerNameT&& value) {
197 m_partnerNameHasBeenSet = true;
198 m_partnerName = std::forward<PartnerNameT>(value);
199 }
200 template <typename PartnerNameT = Aws::String>
202 SetPartnerName(std::forward<PartnerNameT>(value));
203 return *this;
204 }
206
208
212 inline const Aws::Utils::DateTime& GetLoaIssueTime() const { return m_loaIssueTime; }
213 template <typename LoaIssueTimeT = Aws::Utils::DateTime>
214 void SetLoaIssueTime(LoaIssueTimeT&& value) {
215 m_loaIssueTimeHasBeenSet = true;
216 m_loaIssueTime = std::forward<LoaIssueTimeT>(value);
217 }
218 template <typename LoaIssueTimeT = Aws::Utils::DateTime>
220 SetLoaIssueTime(std::forward<LoaIssueTimeT>(value));
221 return *this;
222 }
224
226
229 inline const Aws::String& GetLagId() const { return m_lagId; }
230 template <typename LagIdT = Aws::String>
231 void SetLagId(LagIdT&& value) {
232 m_lagIdHasBeenSet = true;
233 m_lagId = std::forward<LagIdT>(value);
234 }
235 template <typename LagIdT = Aws::String>
237 SetLagId(std::forward<LagIdT>(value));
238 return *this;
239 }
241
243
246 inline const Aws::String& GetAwsDevice() const { return m_awsDevice; }
247 template <typename AwsDeviceT = Aws::String>
248 void SetAwsDevice(AwsDeviceT&& value) {
249 m_awsDeviceHasBeenSet = true;
250 m_awsDevice = std::forward<AwsDeviceT>(value);
251 }
252 template <typename AwsDeviceT = Aws::String>
254 SetAwsDevice(std::forward<AwsDeviceT>(value));
255 return *this;
256 }
258
260
263 inline bool GetJumboFrameCapable() const { return m_jumboFrameCapable; }
264 inline void SetJumboFrameCapable(bool value) {
265 m_jumboFrameCapableHasBeenSet = true;
266 m_jumboFrameCapable = value;
267 }
270 return *this;
271 }
273
275
278 inline const Aws::String& GetAwsDeviceV2() const { return m_awsDeviceV2; }
279 template <typename AwsDeviceV2T = Aws::String>
280 void SetAwsDeviceV2(AwsDeviceV2T&& value) {
281 m_awsDeviceV2HasBeenSet = true;
282 m_awsDeviceV2 = std::forward<AwsDeviceV2T>(value);
283 }
284 template <typename AwsDeviceV2T = Aws::String>
286 SetAwsDeviceV2(std::forward<AwsDeviceV2T>(value));
287 return *this;
288 }
290
292
297 inline const Aws::String& GetAwsLogicalDeviceId() const { return m_awsLogicalDeviceId; }
298 template <typename AwsLogicalDeviceIdT = Aws::String>
299 void SetAwsLogicalDeviceId(AwsLogicalDeviceIdT&& value) {
300 m_awsLogicalDeviceIdHasBeenSet = true;
301 m_awsLogicalDeviceId = std::forward<AwsLogicalDeviceIdT>(value);
302 }
303 template <typename AwsLogicalDeviceIdT = Aws::String>
305 SetAwsLogicalDeviceId(std::forward<AwsLogicalDeviceIdT>(value));
306 return *this;
307 }
309
311
315 inline HasLogicalRedundancy GetHasLogicalRedundancy() const { return m_hasLogicalRedundancy; }
317 m_hasLogicalRedundancyHasBeenSet = true;
318 m_hasLogicalRedundancy = value;
319 }
322 return *this;
323 }
325
327
330 inline const Aws::Vector<Tag>& GetTags() const { return m_tags; }
331 template <typename TagsT = Aws::Vector<Tag>>
332 void SetTags(TagsT&& value) {
333 m_tagsHasBeenSet = true;
334 m_tags = std::forward<TagsT>(value);
335 }
336 template <typename TagsT = Aws::Vector<Tag>>
338 SetTags(std::forward<TagsT>(value));
339 return *this;
340 }
341 template <typename TagsT = Tag>
343 m_tagsHasBeenSet = true;
344 m_tags.emplace_back(std::forward<TagsT>(value));
345 return *this;
346 }
348
350
353 inline const Aws::String& GetProviderName() const { return m_providerName; }
354 template <typename ProviderNameT = Aws::String>
355 void SetProviderName(ProviderNameT&& value) {
356 m_providerNameHasBeenSet = true;
357 m_providerName = std::forward<ProviderNameT>(value);
358 }
359 template <typename ProviderNameT = Aws::String>
361 SetProviderName(std::forward<ProviderNameT>(value));
362 return *this;
363 }
365
367
370 inline bool GetMacSecCapable() const { return m_macSecCapable; }
371 inline void SetMacSecCapable(bool value) {
372 m_macSecCapableHasBeenSet = true;
373 m_macSecCapable = value;
374 }
376 SetMacSecCapable(value);
377 return *this;
378 }
380
382
387 inline const Aws::String& GetPortEncryptionStatus() const { return m_portEncryptionStatus; }
388 template <typename PortEncryptionStatusT = Aws::String>
389 void SetPortEncryptionStatus(PortEncryptionStatusT&& value) {
390 m_portEncryptionStatusHasBeenSet = true;
391 m_portEncryptionStatus = std::forward<PortEncryptionStatusT>(value);
392 }
393 template <typename PortEncryptionStatusT = Aws::String>
395 SetPortEncryptionStatus(std::forward<PortEncryptionStatusT>(value));
396 return *this;
397 }
399
401
406 inline const Aws::String& GetEncryptionMode() const { return m_encryptionMode; }
407 template <typename EncryptionModeT = Aws::String>
408 void SetEncryptionMode(EncryptionModeT&& value) {
409 m_encryptionModeHasBeenSet = true;
410 m_encryptionMode = std::forward<EncryptionModeT>(value);
411 }
412 template <typename EncryptionModeT = Aws::String>
414 SetEncryptionMode(std::forward<EncryptionModeT>(value));
415 return *this;
416 }
418
420
423 inline const Aws::Vector<MacSecKey>& GetMacSecKeys() const { return m_macSecKeys; }
424 template <typename MacSecKeysT = Aws::Vector<MacSecKey>>
425 void SetMacSecKeys(MacSecKeysT&& value) {
426 m_macSecKeysHasBeenSet = true;
427 m_macSecKeys = std::forward<MacSecKeysT>(value);
428 }
429 template <typename MacSecKeysT = Aws::Vector<MacSecKey>>
431 SetMacSecKeys(std::forward<MacSecKeysT>(value));
432 return *this;
433 }
434 template <typename MacSecKeysT = MacSecKey>
436 m_macSecKeysHasBeenSet = true;
437 m_macSecKeys.emplace_back(std::forward<MacSecKeysT>(value));
438 return *this;
439 }
441
443
447 inline bool GetPartnerInterconnectMacSecCapable() const { return m_partnerInterconnectMacSecCapable; }
448 inline void SetPartnerInterconnectMacSecCapable(bool value) {
449 m_partnerInterconnectMacSecCapableHasBeenSet = true;
450 m_partnerInterconnectMacSecCapable = value;
451 }
454 return *this;
455 }
457
459
460 inline const Aws::String& GetRequestId() const { return m_requestId; }
461 template <typename RequestIdT = Aws::String>
462 void SetRequestId(RequestIdT&& value) {
463 m_requestIdHasBeenSet = true;
464 m_requestId = std::forward<RequestIdT>(value);
465 }
466 template <typename RequestIdT = Aws::String>
468 SetRequestId(std::forward<RequestIdT>(value));
469 return *this;
470 }
472 inline Aws::Http::HttpResponseCode GetHttpResponseCode() const { return m_HttpResponseCode; }
473
474 private:
475 Aws::String m_ownerAccount;
476
477 Aws::String m_connectionId;
478
479 Aws::String m_connectionName;
480
481 ConnectionState m_connectionState{ConnectionState::NOT_SET};
482
483 Aws::String m_region;
484
485 Aws::String m_location;
486
487 Aws::String m_bandwidth;
488
489 int m_vlan{0};
490
491 Aws::String m_partnerName;
492
493 Aws::Utils::DateTime m_loaIssueTime{};
494
495 Aws::String m_lagId;
496
497 Aws::String m_awsDevice;
498
499 bool m_jumboFrameCapable{false};
500
501 Aws::String m_awsDeviceV2;
502
503 Aws::String m_awsLogicalDeviceId;
504
506
507 Aws::Vector<Tag> m_tags;
508
509 Aws::String m_providerName;
510
511 bool m_macSecCapable{false};
512
513 Aws::String m_portEncryptionStatus;
514
515 Aws::String m_encryptionMode;
516
517 Aws::Vector<MacSecKey> m_macSecKeys;
518
519 bool m_partnerInterconnectMacSecCapable{false};
520
521 Aws::String m_requestId;
522 Aws::Http::HttpResponseCode m_HttpResponseCode;
523 bool m_ownerAccountHasBeenSet = false;
524 bool m_connectionIdHasBeenSet = false;
525 bool m_connectionNameHasBeenSet = false;
526 bool m_connectionStateHasBeenSet = false;
527 bool m_regionHasBeenSet = false;
528 bool m_locationHasBeenSet = false;
529 bool m_bandwidthHasBeenSet = false;
530 bool m_vlanHasBeenSet = false;
531 bool m_partnerNameHasBeenSet = false;
532 bool m_loaIssueTimeHasBeenSet = false;
533 bool m_lagIdHasBeenSet = false;
534 bool m_awsDeviceHasBeenSet = false;
535 bool m_jumboFrameCapableHasBeenSet = false;
536 bool m_awsDeviceV2HasBeenSet = false;
537 bool m_awsLogicalDeviceIdHasBeenSet = false;
538 bool m_hasLogicalRedundancyHasBeenSet = false;
539 bool m_tagsHasBeenSet = false;
540 bool m_providerNameHasBeenSet = false;
541 bool m_macSecCapableHasBeenSet = false;
542 bool m_portEncryptionStatusHasBeenSet = false;
543 bool m_encryptionModeHasBeenSet = false;
544 bool m_macSecKeysHasBeenSet = false;
545 bool m_partnerInterconnectMacSecCapableHasBeenSet = false;
546 bool m_requestIdHasBeenSet = false;
547};
548
549} // namespace Model
550} // namespace DirectConnect
551} // namespace Aws
DisassociateConnectionFromLagResult & WithHasLogicalRedundancy(HasLogicalRedundancy value)
DisassociateConnectionFromLagResult & WithMacSecKeys(MacSecKeysT &&value)
DisassociateConnectionFromLagResult & WithConnectionName(ConnectionNameT &&value)
DisassociateConnectionFromLagResult & WithProviderName(ProviderNameT &&value)
DisassociateConnectionFromLagResult & WithPartnerName(PartnerNameT &&value)
DisassociateConnectionFromLagResult & WithLoaIssueTime(LoaIssueTimeT &&value)
AWS_DIRECTCONNECT_API DisassociateConnectionFromLagResult(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
DisassociateConnectionFromLagResult & WithAwsDevice(AwsDeviceT &&value)
DisassociateConnectionFromLagResult & WithRequestId(RequestIdT &&value)
AWS_DIRECTCONNECT_API DisassociateConnectionFromLagResult & operator=(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
DisassociateConnectionFromLagResult & AddMacSecKeys(MacSecKeysT &&value)
DisassociateConnectionFromLagResult & WithBandwidth(BandwidthT &&value)
AWS_DIRECTCONNECT_API DisassociateConnectionFromLagResult()=default
DisassociateConnectionFromLagResult & WithOwnerAccount(OwnerAccountT &&value)
DisassociateConnectionFromLagResult & WithPortEncryptionStatus(PortEncryptionStatusT &&value)
DisassociateConnectionFromLagResult & WithConnectionId(ConnectionIdT &&value)
DisassociateConnectionFromLagResult & WithLocation(LocationT &&value)
DisassociateConnectionFromLagResult & WithEncryptionMode(EncryptionModeT &&value)
DisassociateConnectionFromLagResult & WithAwsLogicalDeviceId(AwsLogicalDeviceIdT &&value)
DisassociateConnectionFromLagResult & WithAwsDeviceV2(AwsDeviceV2T &&value)
DisassociateConnectionFromLagResult & WithPartnerInterconnectMacSecCapable(bool value)
DisassociateConnectionFromLagResult & WithConnectionState(ConnectionState 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