AWS SDK for C++

AWS SDK for C++ Version 1.11.862

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/RateLimiterStatus.h>
16#include <aws/directconnect/model/Tag.h>
17
18#include <utility>
19
20namespace Aws {
21template <typename RESULT_TYPE>
22class AmazonWebServiceResult;
23
24namespace Utils {
25namespace Json {
26class JsonValue;
27} // namespace Json
28} // namespace Utils
29namespace DirectConnect {
30namespace Model {
37 public:
38 AWS_DIRECTCONNECT_API DisassociateConnectionFromLagResult() = default;
42
44
47 inline const Aws::String& GetOwnerAccount() const { return m_ownerAccount; }
48 template <typename OwnerAccountT = Aws::String>
49 void SetOwnerAccount(OwnerAccountT&& value) {
50 m_ownerAccountHasBeenSet = true;
51 m_ownerAccount = std::forward<OwnerAccountT>(value);
52 }
53 template <typename OwnerAccountT = Aws::String>
55 SetOwnerAccount(std::forward<OwnerAccountT>(value));
56 return *this;
57 }
59
61
64 inline const Aws::String& GetConnectionId() const { return m_connectionId; }
65 template <typename ConnectionIdT = Aws::String>
66 void SetConnectionId(ConnectionIdT&& value) {
67 m_connectionIdHasBeenSet = true;
68 m_connectionId = std::forward<ConnectionIdT>(value);
69 }
70 template <typename ConnectionIdT = Aws::String>
72 SetConnectionId(std::forward<ConnectionIdT>(value));
73 return *this;
74 }
76
78
81 inline const Aws::String& GetConnectionName() const { return m_connectionName; }
82 template <typename ConnectionNameT = Aws::String>
83 void SetConnectionName(ConnectionNameT&& value) {
84 m_connectionNameHasBeenSet = true;
85 m_connectionName = std::forward<ConnectionNameT>(value);
86 }
87 template <typename ConnectionNameT = Aws::String>
89 SetConnectionName(std::forward<ConnectionNameT>(value));
90 return *this;
91 }
93
95
113 inline ConnectionState GetConnectionState() const { return m_connectionState; }
115 m_connectionStateHasBeenSet = true;
116 m_connectionState = value;
117 }
119 SetConnectionState(value);
120 return *this;
121 }
123
125
128 inline const Aws::String& GetRegion() const { return m_region; }
129 template <typename RegionT = Aws::String>
130 void SetRegion(RegionT&& value) {
131 m_regionHasBeenSet = true;
132 m_region = std::forward<RegionT>(value);
133 }
134 template <typename RegionT = Aws::String>
136 SetRegion(std::forward<RegionT>(value));
137 return *this;
138 }
140
142
145 inline const Aws::String& GetLocation() const { return m_location; }
146 template <typename LocationT = Aws::String>
147 void SetLocation(LocationT&& value) {
148 m_locationHasBeenSet = true;
149 m_location = std::forward<LocationT>(value);
150 }
151 template <typename LocationT = Aws::String>
153 SetLocation(std::forward<LocationT>(value));
154 return *this;
155 }
157
159
162 inline const Aws::String& GetBandwidth() const { return m_bandwidth; }
163 template <typename BandwidthT = Aws::String>
164 void SetBandwidth(BandwidthT&& value) {
165 m_bandwidthHasBeenSet = true;
166 m_bandwidth = std::forward<BandwidthT>(value);
167 }
168 template <typename BandwidthT = Aws::String>
170 SetBandwidth(std::forward<BandwidthT>(value));
171 return *this;
172 }
174
176
179 inline int GetVlan() const { return m_vlan; }
180 inline void SetVlan(int value) {
181 m_vlanHasBeenSet = true;
182 m_vlan = value;
183 }
185 SetVlan(value);
186 return *this;
187 }
189
191
195 inline const Aws::String& GetPartnerName() const { return m_partnerName; }
196 template <typename PartnerNameT = Aws::String>
197 void SetPartnerName(PartnerNameT&& value) {
198 m_partnerNameHasBeenSet = true;
199 m_partnerName = std::forward<PartnerNameT>(value);
200 }
201 template <typename PartnerNameT = Aws::String>
203 SetPartnerName(std::forward<PartnerNameT>(value));
204 return *this;
205 }
207
209
213 inline const Aws::Utils::DateTime& GetLoaIssueTime() const { return m_loaIssueTime; }
214 template <typename LoaIssueTimeT = Aws::Utils::DateTime>
215 void SetLoaIssueTime(LoaIssueTimeT&& value) {
216 m_loaIssueTimeHasBeenSet = true;
217 m_loaIssueTime = std::forward<LoaIssueTimeT>(value);
218 }
219 template <typename LoaIssueTimeT = Aws::Utils::DateTime>
221 SetLoaIssueTime(std::forward<LoaIssueTimeT>(value));
222 return *this;
223 }
225
227
230 inline const Aws::String& GetLagId() const { return m_lagId; }
231 template <typename LagIdT = Aws::String>
232 void SetLagId(LagIdT&& value) {
233 m_lagIdHasBeenSet = true;
234 m_lagId = std::forward<LagIdT>(value);
235 }
236 template <typename LagIdT = Aws::String>
238 SetLagId(std::forward<LagIdT>(value));
239 return *this;
240 }
242
244
247 inline const Aws::String& GetAwsDevice() const { return m_awsDevice; }
248 template <typename AwsDeviceT = Aws::String>
249 void SetAwsDevice(AwsDeviceT&& value) {
250 m_awsDeviceHasBeenSet = true;
251 m_awsDevice = std::forward<AwsDeviceT>(value);
252 }
253 template <typename AwsDeviceT = Aws::String>
255 SetAwsDevice(std::forward<AwsDeviceT>(value));
256 return *this;
257 }
259
261
264 inline bool GetJumboFrameCapable() const { return m_jumboFrameCapable; }
265 inline void SetJumboFrameCapable(bool value) {
266 m_jumboFrameCapableHasBeenSet = true;
267 m_jumboFrameCapable = value;
268 }
271 return *this;
272 }
274
276
279 inline const Aws::String& GetAwsDeviceV2() const { return m_awsDeviceV2; }
280 template <typename AwsDeviceV2T = Aws::String>
281 void SetAwsDeviceV2(AwsDeviceV2T&& value) {
282 m_awsDeviceV2HasBeenSet = true;
283 m_awsDeviceV2 = std::forward<AwsDeviceV2T>(value);
284 }
285 template <typename AwsDeviceV2T = Aws::String>
287 SetAwsDeviceV2(std::forward<AwsDeviceV2T>(value));
288 return *this;
289 }
291
293
298 inline const Aws::String& GetAwsLogicalDeviceId() const { return m_awsLogicalDeviceId; }
299 template <typename AwsLogicalDeviceIdT = Aws::String>
300 void SetAwsLogicalDeviceId(AwsLogicalDeviceIdT&& value) {
301 m_awsLogicalDeviceIdHasBeenSet = true;
302 m_awsLogicalDeviceId = std::forward<AwsLogicalDeviceIdT>(value);
303 }
304 template <typename AwsLogicalDeviceIdT = Aws::String>
306 SetAwsLogicalDeviceId(std::forward<AwsLogicalDeviceIdT>(value));
307 return *this;
308 }
310
312
316 inline HasLogicalRedundancy GetHasLogicalRedundancy() const { return m_hasLogicalRedundancy; }
318 m_hasLogicalRedundancyHasBeenSet = true;
319 m_hasLogicalRedundancy = value;
320 }
323 return *this;
324 }
326
328
331 inline const Aws::Vector<Tag>& GetTags() const { return m_tags; }
332 template <typename TagsT = Aws::Vector<Tag>>
333 void SetTags(TagsT&& value) {
334 m_tagsHasBeenSet = true;
335 m_tags = std::forward<TagsT>(value);
336 }
337 template <typename TagsT = Aws::Vector<Tag>>
339 SetTags(std::forward<TagsT>(value));
340 return *this;
341 }
342 template <typename TagsT = Tag>
344 m_tagsHasBeenSet = true;
345 m_tags.emplace_back(std::forward<TagsT>(value));
346 return *this;
347 }
349
351
354 inline const Aws::String& GetProviderName() const { return m_providerName; }
355 template <typename ProviderNameT = Aws::String>
356 void SetProviderName(ProviderNameT&& value) {
357 m_providerNameHasBeenSet = true;
358 m_providerName = std::forward<ProviderNameT>(value);
359 }
360 template <typename ProviderNameT = Aws::String>
362 SetProviderName(std::forward<ProviderNameT>(value));
363 return *this;
364 }
366
368
371 inline bool GetMacSecCapable() const { return m_macSecCapable; }
372 inline void SetMacSecCapable(bool value) {
373 m_macSecCapableHasBeenSet = true;
374 m_macSecCapable = value;
375 }
377 SetMacSecCapable(value);
378 return *this;
379 }
381
383
388 inline const Aws::String& GetPortEncryptionStatus() const { return m_portEncryptionStatus; }
389 template <typename PortEncryptionStatusT = Aws::String>
390 void SetPortEncryptionStatus(PortEncryptionStatusT&& value) {
391 m_portEncryptionStatusHasBeenSet = true;
392 m_portEncryptionStatus = std::forward<PortEncryptionStatusT>(value);
393 }
394 template <typename PortEncryptionStatusT = Aws::String>
396 SetPortEncryptionStatus(std::forward<PortEncryptionStatusT>(value));
397 return *this;
398 }
400
402
407 inline const Aws::String& GetEncryptionMode() const { return m_encryptionMode; }
408 template <typename EncryptionModeT = Aws::String>
409 void SetEncryptionMode(EncryptionModeT&& value) {
410 m_encryptionModeHasBeenSet = true;
411 m_encryptionMode = std::forward<EncryptionModeT>(value);
412 }
413 template <typename EncryptionModeT = Aws::String>
415 SetEncryptionMode(std::forward<EncryptionModeT>(value));
416 return *this;
417 }
419
421
424 inline const Aws::Vector<MacSecKey>& GetMacSecKeys() const { return m_macSecKeys; }
425 template <typename MacSecKeysT = Aws::Vector<MacSecKey>>
426 void SetMacSecKeys(MacSecKeysT&& value) {
427 m_macSecKeysHasBeenSet = true;
428 m_macSecKeys = std::forward<MacSecKeysT>(value);
429 }
430 template <typename MacSecKeysT = Aws::Vector<MacSecKey>>
432 SetMacSecKeys(std::forward<MacSecKeysT>(value));
433 return *this;
434 }
435 template <typename MacSecKeysT = MacSecKey>
437 m_macSecKeysHasBeenSet = true;
438 m_macSecKeys.emplace_back(std::forward<MacSecKeysT>(value));
439 return *this;
440 }
442
444
448 inline const RateLimiterStatus& GetRateLimiterStatus() const { return m_rateLimiterStatus; }
449 template <typename RateLimiterStatusT = RateLimiterStatus>
450 void SetRateLimiterStatus(RateLimiterStatusT&& value) {
451 m_rateLimiterStatusHasBeenSet = true;
452 m_rateLimiterStatus = std::forward<RateLimiterStatusT>(value);
453 }
454 template <typename RateLimiterStatusT = RateLimiterStatus>
456 SetRateLimiterStatus(std::forward<RateLimiterStatusT>(value));
457 return *this;
458 }
460
462
466 inline bool GetPartnerInterconnectMacSecCapable() const { return m_partnerInterconnectMacSecCapable; }
467 inline void SetPartnerInterconnectMacSecCapable(bool value) {
468 m_partnerInterconnectMacSecCapableHasBeenSet = true;
469 m_partnerInterconnectMacSecCapable = value;
470 }
473 return *this;
474 }
476
478
479 inline const Aws::String& GetRequestId() const { return m_requestId; }
480 template <typename RequestIdT = Aws::String>
481 void SetRequestId(RequestIdT&& value) {
482 m_requestIdHasBeenSet = true;
483 m_requestId = std::forward<RequestIdT>(value);
484 }
485 template <typename RequestIdT = Aws::String>
487 SetRequestId(std::forward<RequestIdT>(value));
488 return *this;
489 }
491 inline Aws::Http::HttpResponseCode GetHttpResponseCode() const { return m_HttpResponseCode; }
492
493 private:
494 Aws::String m_ownerAccount;
495
496 Aws::String m_connectionId;
497
498 Aws::String m_connectionName;
499
500 ConnectionState m_connectionState{ConnectionState::NOT_SET};
501
502 Aws::String m_region;
503
504 Aws::String m_location;
505
506 Aws::String m_bandwidth;
507
508 int m_vlan{0};
509
510 Aws::String m_partnerName;
511
512 Aws::Utils::DateTime m_loaIssueTime{};
513
514 Aws::String m_lagId;
515
516 Aws::String m_awsDevice;
517
518 bool m_jumboFrameCapable{false};
519
520 Aws::String m_awsDeviceV2;
521
522 Aws::String m_awsLogicalDeviceId;
523
525
526 Aws::Vector<Tag> m_tags;
527
528 Aws::String m_providerName;
529
530 bool m_macSecCapable{false};
531
532 Aws::String m_portEncryptionStatus;
533
534 Aws::String m_encryptionMode;
535
536 Aws::Vector<MacSecKey> m_macSecKeys;
537
538 RateLimiterStatus m_rateLimiterStatus;
539
540 bool m_partnerInterconnectMacSecCapable{false};
541
542 Aws::String m_requestId;
543 Aws::Http::HttpResponseCode m_HttpResponseCode;
544 bool m_ownerAccountHasBeenSet = false;
545 bool m_connectionIdHasBeenSet = false;
546 bool m_connectionNameHasBeenSet = false;
547 bool m_connectionStateHasBeenSet = false;
548 bool m_regionHasBeenSet = false;
549 bool m_locationHasBeenSet = false;
550 bool m_bandwidthHasBeenSet = false;
551 bool m_vlanHasBeenSet = false;
552 bool m_partnerNameHasBeenSet = false;
553 bool m_loaIssueTimeHasBeenSet = false;
554 bool m_lagIdHasBeenSet = false;
555 bool m_awsDeviceHasBeenSet = false;
556 bool m_jumboFrameCapableHasBeenSet = false;
557 bool m_awsDeviceV2HasBeenSet = false;
558 bool m_awsLogicalDeviceIdHasBeenSet = false;
559 bool m_hasLogicalRedundancyHasBeenSet = false;
560 bool m_tagsHasBeenSet = false;
561 bool m_providerNameHasBeenSet = false;
562 bool m_macSecCapableHasBeenSet = false;
563 bool m_portEncryptionStatusHasBeenSet = false;
564 bool m_encryptionModeHasBeenSet = false;
565 bool m_macSecKeysHasBeenSet = false;
566 bool m_rateLimiterStatusHasBeenSet = false;
567 bool m_partnerInterconnectMacSecCapableHasBeenSet = false;
568 bool m_requestIdHasBeenSet = false;
569};
570
571} // namespace Model
572} // namespace DirectConnect
573} // 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 & WithRateLimiterStatus(RateLimiterStatusT &&value)
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