AWS SDK for C++

AWS SDK for C++ Version 1.11.755

Loading...
Searching...
No Matches
DisassociateConnectionFromLagResult.h
1
6#pragma once
7#include <aws/core/utils/DateTime.h>
8#include <aws/core/utils/memory/stl/AWSString.h>
9#include <aws/core/utils/memory/stl/AWSVector.h>
10#include <aws/directconnect/DirectConnect_EXPORTS.h>
11#include <aws/directconnect/model/ConnectionState.h>
12#include <aws/directconnect/model/HasLogicalRedundancy.h>
13#include <aws/directconnect/model/MacSecKey.h>
14#include <aws/directconnect/model/Tag.h>
15
16#include <utility>
17
18namespace Aws {
19template <typename RESULT_TYPE>
20class AmazonWebServiceResult;
21
22namespace Utils {
23namespace Json {
24class JsonValue;
25} // namespace Json
26} // namespace Utils
27namespace DirectConnect {
28namespace Model {
35 public:
36 AWS_DIRECTCONNECT_API DisassociateConnectionFromLagResult() = default;
40
42
45 inline const Aws::String& GetOwnerAccount() const { return m_ownerAccount; }
46 template <typename OwnerAccountT = Aws::String>
47 void SetOwnerAccount(OwnerAccountT&& value) {
48 m_ownerAccountHasBeenSet = true;
49 m_ownerAccount = std::forward<OwnerAccountT>(value);
50 }
51 template <typename OwnerAccountT = Aws::String>
53 SetOwnerAccount(std::forward<OwnerAccountT>(value));
54 return *this;
55 }
57
59
62 inline const Aws::String& GetConnectionId() const { return m_connectionId; }
63 template <typename ConnectionIdT = Aws::String>
64 void SetConnectionId(ConnectionIdT&& value) {
65 m_connectionIdHasBeenSet = true;
66 m_connectionId = std::forward<ConnectionIdT>(value);
67 }
68 template <typename ConnectionIdT = Aws::String>
70 SetConnectionId(std::forward<ConnectionIdT>(value));
71 return *this;
72 }
74
76
79 inline const Aws::String& GetConnectionName() const { return m_connectionName; }
80 template <typename ConnectionNameT = Aws::String>
81 void SetConnectionName(ConnectionNameT&& value) {
82 m_connectionNameHasBeenSet = true;
83 m_connectionName = std::forward<ConnectionNameT>(value);
84 }
85 template <typename ConnectionNameT = Aws::String>
87 SetConnectionName(std::forward<ConnectionNameT>(value));
88 return *this;
89 }
91
93
111 inline ConnectionState GetConnectionState() const { return m_connectionState; }
113 m_connectionStateHasBeenSet = true;
114 m_connectionState = value;
115 }
117 SetConnectionState(value);
118 return *this;
119 }
121
123
126 inline const Aws::String& GetRegion() const { return m_region; }
127 template <typename RegionT = Aws::String>
128 void SetRegion(RegionT&& value) {
129 m_regionHasBeenSet = true;
130 m_region = std::forward<RegionT>(value);
131 }
132 template <typename RegionT = Aws::String>
134 SetRegion(std::forward<RegionT>(value));
135 return *this;
136 }
138
140
143 inline const Aws::String& GetLocation() const { return m_location; }
144 template <typename LocationT = Aws::String>
145 void SetLocation(LocationT&& value) {
146 m_locationHasBeenSet = true;
147 m_location = std::forward<LocationT>(value);
148 }
149 template <typename LocationT = Aws::String>
151 SetLocation(std::forward<LocationT>(value));
152 return *this;
153 }
155
157
160 inline const Aws::String& GetBandwidth() const { return m_bandwidth; }
161 template <typename BandwidthT = Aws::String>
162 void SetBandwidth(BandwidthT&& value) {
163 m_bandwidthHasBeenSet = true;
164 m_bandwidth = std::forward<BandwidthT>(value);
165 }
166 template <typename BandwidthT = Aws::String>
168 SetBandwidth(std::forward<BandwidthT>(value));
169 return *this;
170 }
172
174
177 inline int GetVlan() const { return m_vlan; }
178 inline void SetVlan(int value) {
179 m_vlanHasBeenSet = true;
180 m_vlan = value;
181 }
183 SetVlan(value);
184 return *this;
185 }
187
189
193 inline const Aws::String& GetPartnerName() const { return m_partnerName; }
194 template <typename PartnerNameT = Aws::String>
195 void SetPartnerName(PartnerNameT&& value) {
196 m_partnerNameHasBeenSet = true;
197 m_partnerName = std::forward<PartnerNameT>(value);
198 }
199 template <typename PartnerNameT = Aws::String>
201 SetPartnerName(std::forward<PartnerNameT>(value));
202 return *this;
203 }
205
207
211 inline const Aws::Utils::DateTime& GetLoaIssueTime() const { return m_loaIssueTime; }
212 template <typename LoaIssueTimeT = Aws::Utils::DateTime>
213 void SetLoaIssueTime(LoaIssueTimeT&& value) {
214 m_loaIssueTimeHasBeenSet = true;
215 m_loaIssueTime = std::forward<LoaIssueTimeT>(value);
216 }
217 template <typename LoaIssueTimeT = Aws::Utils::DateTime>
219 SetLoaIssueTime(std::forward<LoaIssueTimeT>(value));
220 return *this;
221 }
223
225
228 inline const Aws::String& GetLagId() const { return m_lagId; }
229 template <typename LagIdT = Aws::String>
230 void SetLagId(LagIdT&& value) {
231 m_lagIdHasBeenSet = true;
232 m_lagId = std::forward<LagIdT>(value);
233 }
234 template <typename LagIdT = Aws::String>
236 SetLagId(std::forward<LagIdT>(value));
237 return *this;
238 }
240
242
245 inline const Aws::String& GetAwsDevice() const { return m_awsDevice; }
246 template <typename AwsDeviceT = Aws::String>
247 void SetAwsDevice(AwsDeviceT&& value) {
248 m_awsDeviceHasBeenSet = true;
249 m_awsDevice = std::forward<AwsDeviceT>(value);
250 }
251 template <typename AwsDeviceT = Aws::String>
253 SetAwsDevice(std::forward<AwsDeviceT>(value));
254 return *this;
255 }
257
259
262 inline bool GetJumboFrameCapable() const { return m_jumboFrameCapable; }
263 inline void SetJumboFrameCapable(bool value) {
264 m_jumboFrameCapableHasBeenSet = true;
265 m_jumboFrameCapable = value;
266 }
269 return *this;
270 }
272
274
277 inline const Aws::String& GetAwsDeviceV2() const { return m_awsDeviceV2; }
278 template <typename AwsDeviceV2T = Aws::String>
279 void SetAwsDeviceV2(AwsDeviceV2T&& value) {
280 m_awsDeviceV2HasBeenSet = true;
281 m_awsDeviceV2 = std::forward<AwsDeviceV2T>(value);
282 }
283 template <typename AwsDeviceV2T = Aws::String>
285 SetAwsDeviceV2(std::forward<AwsDeviceV2T>(value));
286 return *this;
287 }
289
291
296 inline const Aws::String& GetAwsLogicalDeviceId() const { return m_awsLogicalDeviceId; }
297 template <typename AwsLogicalDeviceIdT = Aws::String>
298 void SetAwsLogicalDeviceId(AwsLogicalDeviceIdT&& value) {
299 m_awsLogicalDeviceIdHasBeenSet = true;
300 m_awsLogicalDeviceId = std::forward<AwsLogicalDeviceIdT>(value);
301 }
302 template <typename AwsLogicalDeviceIdT = Aws::String>
304 SetAwsLogicalDeviceId(std::forward<AwsLogicalDeviceIdT>(value));
305 return *this;
306 }
308
310
314 inline HasLogicalRedundancy GetHasLogicalRedundancy() const { return m_hasLogicalRedundancy; }
316 m_hasLogicalRedundancyHasBeenSet = true;
317 m_hasLogicalRedundancy = value;
318 }
321 return *this;
322 }
324
326
329 inline const Aws::Vector<Tag>& GetTags() const { return m_tags; }
330 template <typename TagsT = Aws::Vector<Tag>>
331 void SetTags(TagsT&& value) {
332 m_tagsHasBeenSet = true;
333 m_tags = std::forward<TagsT>(value);
334 }
335 template <typename TagsT = Aws::Vector<Tag>>
337 SetTags(std::forward<TagsT>(value));
338 return *this;
339 }
340 template <typename TagsT = Tag>
342 m_tagsHasBeenSet = true;
343 m_tags.emplace_back(std::forward<TagsT>(value));
344 return *this;
345 }
347
349
352 inline const Aws::String& GetProviderName() const { return m_providerName; }
353 template <typename ProviderNameT = Aws::String>
354 void SetProviderName(ProviderNameT&& value) {
355 m_providerNameHasBeenSet = true;
356 m_providerName = std::forward<ProviderNameT>(value);
357 }
358 template <typename ProviderNameT = Aws::String>
360 SetProviderName(std::forward<ProviderNameT>(value));
361 return *this;
362 }
364
366
369 inline bool GetMacSecCapable() const { return m_macSecCapable; }
370 inline void SetMacSecCapable(bool value) {
371 m_macSecCapableHasBeenSet = true;
372 m_macSecCapable = value;
373 }
375 SetMacSecCapable(value);
376 return *this;
377 }
379
381
386 inline const Aws::String& GetPortEncryptionStatus() const { return m_portEncryptionStatus; }
387 template <typename PortEncryptionStatusT = Aws::String>
388 void SetPortEncryptionStatus(PortEncryptionStatusT&& value) {
389 m_portEncryptionStatusHasBeenSet = true;
390 m_portEncryptionStatus = std::forward<PortEncryptionStatusT>(value);
391 }
392 template <typename PortEncryptionStatusT = Aws::String>
394 SetPortEncryptionStatus(std::forward<PortEncryptionStatusT>(value));
395 return *this;
396 }
398
400
405 inline const Aws::String& GetEncryptionMode() const { return m_encryptionMode; }
406 template <typename EncryptionModeT = Aws::String>
407 void SetEncryptionMode(EncryptionModeT&& value) {
408 m_encryptionModeHasBeenSet = true;
409 m_encryptionMode = std::forward<EncryptionModeT>(value);
410 }
411 template <typename EncryptionModeT = Aws::String>
413 SetEncryptionMode(std::forward<EncryptionModeT>(value));
414 return *this;
415 }
417
419
422 inline const Aws::Vector<MacSecKey>& GetMacSecKeys() const { return m_macSecKeys; }
423 template <typename MacSecKeysT = Aws::Vector<MacSecKey>>
424 void SetMacSecKeys(MacSecKeysT&& value) {
425 m_macSecKeysHasBeenSet = true;
426 m_macSecKeys = std::forward<MacSecKeysT>(value);
427 }
428 template <typename MacSecKeysT = Aws::Vector<MacSecKey>>
430 SetMacSecKeys(std::forward<MacSecKeysT>(value));
431 return *this;
432 }
433 template <typename MacSecKeysT = MacSecKey>
435 m_macSecKeysHasBeenSet = true;
436 m_macSecKeys.emplace_back(std::forward<MacSecKeysT>(value));
437 return *this;
438 }
440
442
446 inline bool GetPartnerInterconnectMacSecCapable() const { return m_partnerInterconnectMacSecCapable; }
447 inline void SetPartnerInterconnectMacSecCapable(bool value) {
448 m_partnerInterconnectMacSecCapableHasBeenSet = true;
449 m_partnerInterconnectMacSecCapable = value;
450 }
453 return *this;
454 }
456
458
459 inline const Aws::String& GetRequestId() const { return m_requestId; }
460 template <typename RequestIdT = Aws::String>
461 void SetRequestId(RequestIdT&& value) {
462 m_requestIdHasBeenSet = true;
463 m_requestId = std::forward<RequestIdT>(value);
464 }
465 template <typename RequestIdT = Aws::String>
467 SetRequestId(std::forward<RequestIdT>(value));
468 return *this;
469 }
471 private:
472 Aws::String m_ownerAccount;
473
474 Aws::String m_connectionId;
475
476 Aws::String m_connectionName;
477
478 ConnectionState m_connectionState{ConnectionState::NOT_SET};
479
480 Aws::String m_region;
481
482 Aws::String m_location;
483
484 Aws::String m_bandwidth;
485
486 int m_vlan{0};
487
488 Aws::String m_partnerName;
489
490 Aws::Utils::DateTime m_loaIssueTime{};
491
492 Aws::String m_lagId;
493
494 Aws::String m_awsDevice;
495
496 bool m_jumboFrameCapable{false};
497
498 Aws::String m_awsDeviceV2;
499
500 Aws::String m_awsLogicalDeviceId;
501
503
504 Aws::Vector<Tag> m_tags;
505
506 Aws::String m_providerName;
507
508 bool m_macSecCapable{false};
509
510 Aws::String m_portEncryptionStatus;
511
512 Aws::String m_encryptionMode;
513
514 Aws::Vector<MacSecKey> m_macSecKeys;
515
516 bool m_partnerInterconnectMacSecCapable{false};
517
518 Aws::String m_requestId;
519 bool m_ownerAccountHasBeenSet = false;
520 bool m_connectionIdHasBeenSet = false;
521 bool m_connectionNameHasBeenSet = false;
522 bool m_connectionStateHasBeenSet = false;
523 bool m_regionHasBeenSet = false;
524 bool m_locationHasBeenSet = false;
525 bool m_bandwidthHasBeenSet = false;
526 bool m_vlanHasBeenSet = false;
527 bool m_partnerNameHasBeenSet = false;
528 bool m_loaIssueTimeHasBeenSet = false;
529 bool m_lagIdHasBeenSet = false;
530 bool m_awsDeviceHasBeenSet = false;
531 bool m_jumboFrameCapableHasBeenSet = false;
532 bool m_awsDeviceV2HasBeenSet = false;
533 bool m_awsLogicalDeviceIdHasBeenSet = false;
534 bool m_hasLogicalRedundancyHasBeenSet = false;
535 bool m_tagsHasBeenSet = false;
536 bool m_providerNameHasBeenSet = false;
537 bool m_macSecCapableHasBeenSet = false;
538 bool m_portEncryptionStatusHasBeenSet = false;
539 bool m_encryptionModeHasBeenSet = false;
540 bool m_macSecKeysHasBeenSet = false;
541 bool m_partnerInterconnectMacSecCapableHasBeenSet = false;
542 bool m_requestIdHasBeenSet = false;
543};
544
545} // namespace Model
546} // namespace DirectConnect
547} // 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