AWS SDK for C++

AWS SDK for C++ Version 1.11.748

Loading...
Searching...
No Matches
DeleteLagResult.h
1
6#pragma once
7#include <aws/core/utils/memory/stl/AWSString.h>
8#include <aws/core/utils/memory/stl/AWSVector.h>
9#include <aws/directconnect/DirectConnect_EXPORTS.h>
10#include <aws/directconnect/model/Connection.h>
11#include <aws/directconnect/model/HasLogicalRedundancy.h>
12#include <aws/directconnect/model/LagState.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 {
36 public:
37 AWS_DIRECTCONNECT_API DeleteLagResult() = default;
40
42
46 inline const Aws::String& GetConnectionsBandwidth() const { return m_connectionsBandwidth; }
47 template <typename ConnectionsBandwidthT = Aws::String>
48 void SetConnectionsBandwidth(ConnectionsBandwidthT&& value) {
49 m_connectionsBandwidthHasBeenSet = true;
50 m_connectionsBandwidth = std::forward<ConnectionsBandwidthT>(value);
51 }
52 template <typename ConnectionsBandwidthT = Aws::String>
53 DeleteLagResult& WithConnectionsBandwidth(ConnectionsBandwidthT&& value) {
54 SetConnectionsBandwidth(std::forward<ConnectionsBandwidthT>(value));
55 return *this;
56 }
58
60
66 inline int GetNumberOfConnections() const { return m_numberOfConnections; }
67 inline void SetNumberOfConnections(int value) {
68 m_numberOfConnectionsHasBeenSet = true;
69 m_numberOfConnections = value;
70 }
73 return *this;
74 }
76
78
81 inline const Aws::String& GetLagId() const { return m_lagId; }
82 template <typename LagIdT = Aws::String>
83 void SetLagId(LagIdT&& value) {
84 m_lagIdHasBeenSet = true;
85 m_lagId = std::forward<LagIdT>(value);
86 }
87 template <typename LagIdT = Aws::String>
88 DeleteLagResult& WithLagId(LagIdT&& value) {
89 SetLagId(std::forward<LagIdT>(value));
90 return *this;
91 }
93
95
98 inline const Aws::String& GetOwnerAccount() const { return m_ownerAccount; }
99 template <typename OwnerAccountT = Aws::String>
100 void SetOwnerAccount(OwnerAccountT&& value) {
101 m_ownerAccountHasBeenSet = true;
102 m_ownerAccount = std::forward<OwnerAccountT>(value);
103 }
104 template <typename OwnerAccountT = Aws::String>
105 DeleteLagResult& WithOwnerAccount(OwnerAccountT&& value) {
106 SetOwnerAccount(std::forward<OwnerAccountT>(value));
107 return *this;
108 }
110
112
115 inline const Aws::String& GetLagName() const { return m_lagName; }
116 template <typename LagNameT = Aws::String>
117 void SetLagName(LagNameT&& value) {
118 m_lagNameHasBeenSet = true;
119 m_lagName = std::forward<LagNameT>(value);
120 }
121 template <typename LagNameT = Aws::String>
122 DeleteLagResult& WithLagName(LagNameT&& value) {
123 SetLagName(std::forward<LagNameT>(value));
124 return *this;
125 }
127
129
141 inline LagState GetLagState() const { return m_lagState; }
142 inline void SetLagState(LagState value) {
143 m_lagStateHasBeenSet = true;
144 m_lagState = value;
145 }
147 SetLagState(value);
148 return *this;
149 }
151
153
156 inline const Aws::String& GetLocation() const { return m_location; }
157 template <typename LocationT = Aws::String>
158 void SetLocation(LocationT&& value) {
159 m_locationHasBeenSet = true;
160 m_location = std::forward<LocationT>(value);
161 }
162 template <typename LocationT = Aws::String>
163 DeleteLagResult& WithLocation(LocationT&& value) {
164 SetLocation(std::forward<LocationT>(value));
165 return *this;
166 }
168
170
173 inline const Aws::String& GetRegion() const { return m_region; }
174 template <typename RegionT = Aws::String>
175 void SetRegion(RegionT&& value) {
176 m_regionHasBeenSet = true;
177 m_region = std::forward<RegionT>(value);
178 }
179 template <typename RegionT = Aws::String>
180 DeleteLagResult& WithRegion(RegionT&& value) {
181 SetRegion(std::forward<RegionT>(value));
182 return *this;
183 }
185
187
191 inline int GetMinimumLinks() const { return m_minimumLinks; }
192 inline void SetMinimumLinks(int value) {
193 m_minimumLinksHasBeenSet = true;
194 m_minimumLinks = value;
195 }
197 SetMinimumLinks(value);
198 return *this;
199 }
201
203
206 inline const Aws::String& GetAwsDevice() const { return m_awsDevice; }
207 template <typename AwsDeviceT = Aws::String>
208 void SetAwsDevice(AwsDeviceT&& value) {
209 m_awsDeviceHasBeenSet = true;
210 m_awsDevice = std::forward<AwsDeviceT>(value);
211 }
212 template <typename AwsDeviceT = Aws::String>
213 DeleteLagResult& WithAwsDevice(AwsDeviceT&& value) {
214 SetAwsDevice(std::forward<AwsDeviceT>(value));
215 return *this;
216 }
218
220
223 inline const Aws::String& GetAwsDeviceV2() const { return m_awsDeviceV2; }
224 template <typename AwsDeviceV2T = Aws::String>
225 void SetAwsDeviceV2(AwsDeviceV2T&& value) {
226 m_awsDeviceV2HasBeenSet = true;
227 m_awsDeviceV2 = std::forward<AwsDeviceV2T>(value);
228 }
229 template <typename AwsDeviceV2T = Aws::String>
230 DeleteLagResult& WithAwsDeviceV2(AwsDeviceV2T&& value) {
231 SetAwsDeviceV2(std::forward<AwsDeviceV2T>(value));
232 return *this;
233 }
235
237
242 inline const Aws::String& GetAwsLogicalDeviceId() const { return m_awsLogicalDeviceId; }
243 template <typename AwsLogicalDeviceIdT = Aws::String>
244 void SetAwsLogicalDeviceId(AwsLogicalDeviceIdT&& value) {
245 m_awsLogicalDeviceIdHasBeenSet = true;
246 m_awsLogicalDeviceId = std::forward<AwsLogicalDeviceIdT>(value);
247 }
248 template <typename AwsLogicalDeviceIdT = Aws::String>
249 DeleteLagResult& WithAwsLogicalDeviceId(AwsLogicalDeviceIdT&& value) {
250 SetAwsLogicalDeviceId(std::forward<AwsLogicalDeviceIdT>(value));
251 return *this;
252 }
254
256
259 inline const Aws::Vector<Connection>& GetConnections() const { return m_connections; }
260 template <typename ConnectionsT = Aws::Vector<Connection>>
261 void SetConnections(ConnectionsT&& value) {
262 m_connectionsHasBeenSet = true;
263 m_connections = std::forward<ConnectionsT>(value);
264 }
265 template <typename ConnectionsT = Aws::Vector<Connection>>
266 DeleteLagResult& WithConnections(ConnectionsT&& value) {
267 SetConnections(std::forward<ConnectionsT>(value));
268 return *this;
269 }
270 template <typename ConnectionsT = Connection>
271 DeleteLagResult& AddConnections(ConnectionsT&& value) {
272 m_connectionsHasBeenSet = true;
273 m_connections.emplace_back(std::forward<ConnectionsT>(value));
274 return *this;
275 }
277
279
282 inline bool GetAllowsHostedConnections() const { return m_allowsHostedConnections; }
283 inline void SetAllowsHostedConnections(bool value) {
284 m_allowsHostedConnectionsHasBeenSet = true;
285 m_allowsHostedConnections = value;
286 }
289 return *this;
290 }
292
294
297 inline bool GetJumboFrameCapable() const { return m_jumboFrameCapable; }
298 inline void SetJumboFrameCapable(bool value) {
299 m_jumboFrameCapableHasBeenSet = true;
300 m_jumboFrameCapable = value;
301 }
304 return *this;
305 }
307
309
313 inline HasLogicalRedundancy GetHasLogicalRedundancy() const { return m_hasLogicalRedundancy; }
315 m_hasLogicalRedundancyHasBeenSet = true;
316 m_hasLogicalRedundancy = value;
317 }
320 return *this;
321 }
323
325
328 inline const Aws::Vector<Tag>& GetTags() const { return m_tags; }
329 template <typename TagsT = Aws::Vector<Tag>>
330 void SetTags(TagsT&& value) {
331 m_tagsHasBeenSet = true;
332 m_tags = std::forward<TagsT>(value);
333 }
334 template <typename TagsT = Aws::Vector<Tag>>
335 DeleteLagResult& WithTags(TagsT&& value) {
336 SetTags(std::forward<TagsT>(value));
337 return *this;
338 }
339 template <typename TagsT = Tag>
340 DeleteLagResult& AddTags(TagsT&& value) {
341 m_tagsHasBeenSet = true;
342 m_tags.emplace_back(std::forward<TagsT>(value));
343 return *this;
344 }
346
348
351 inline const Aws::String& GetProviderName() const { return m_providerName; }
352 template <typename ProviderNameT = Aws::String>
353 void SetProviderName(ProviderNameT&& value) {
354 m_providerNameHasBeenSet = true;
355 m_providerName = std::forward<ProviderNameT>(value);
356 }
357 template <typename ProviderNameT = Aws::String>
358 DeleteLagResult& WithProviderName(ProviderNameT&& value) {
359 SetProviderName(std::forward<ProviderNameT>(value));
360 return *this;
361 }
363
365
368 inline bool GetMacSecCapable() const { return m_macSecCapable; }
369 inline void SetMacSecCapable(bool value) {
370 m_macSecCapableHasBeenSet = true;
371 m_macSecCapable = value;
372 }
373 inline DeleteLagResult& WithMacSecCapable(bool value) {
374 SetMacSecCapable(value);
375 return *this;
376 }
378
380
385 inline const Aws::String& GetEncryptionMode() const { return m_encryptionMode; }
386 template <typename EncryptionModeT = Aws::String>
387 void SetEncryptionMode(EncryptionModeT&& value) {
388 m_encryptionModeHasBeenSet = true;
389 m_encryptionMode = std::forward<EncryptionModeT>(value);
390 }
391 template <typename EncryptionModeT = Aws::String>
392 DeleteLagResult& WithEncryptionMode(EncryptionModeT&& value) {
393 SetEncryptionMode(std::forward<EncryptionModeT>(value));
394 return *this;
395 }
397
399
402 inline const Aws::Vector<MacSecKey>& GetMacSecKeys() const { return m_macSecKeys; }
403 template <typename MacSecKeysT = Aws::Vector<MacSecKey>>
404 void SetMacSecKeys(MacSecKeysT&& value) {
405 m_macSecKeysHasBeenSet = true;
406 m_macSecKeys = std::forward<MacSecKeysT>(value);
407 }
408 template <typename MacSecKeysT = Aws::Vector<MacSecKey>>
409 DeleteLagResult& WithMacSecKeys(MacSecKeysT&& value) {
410 SetMacSecKeys(std::forward<MacSecKeysT>(value));
411 return *this;
412 }
413 template <typename MacSecKeysT = MacSecKey>
414 DeleteLagResult& AddMacSecKeys(MacSecKeysT&& value) {
415 m_macSecKeysHasBeenSet = true;
416 m_macSecKeys.emplace_back(std::forward<MacSecKeysT>(value));
417 return *this;
418 }
420
422
423 inline const Aws::String& GetRequestId() const { return m_requestId; }
424 template <typename RequestIdT = Aws::String>
425 void SetRequestId(RequestIdT&& value) {
426 m_requestIdHasBeenSet = true;
427 m_requestId = std::forward<RequestIdT>(value);
428 }
429 template <typename RequestIdT = Aws::String>
430 DeleteLagResult& WithRequestId(RequestIdT&& value) {
431 SetRequestId(std::forward<RequestIdT>(value));
432 return *this;
433 }
435 private:
436 Aws::String m_connectionsBandwidth;
437
438 int m_numberOfConnections{0};
439
440 Aws::String m_lagId;
441
442 Aws::String m_ownerAccount;
443
444 Aws::String m_lagName;
445
446 LagState m_lagState{LagState::NOT_SET};
447
448 Aws::String m_location;
449
450 Aws::String m_region;
451
452 int m_minimumLinks{0};
453
454 Aws::String m_awsDevice;
455
456 Aws::String m_awsDeviceV2;
457
458 Aws::String m_awsLogicalDeviceId;
459
460 Aws::Vector<Connection> m_connections;
461
462 bool m_allowsHostedConnections{false};
463
464 bool m_jumboFrameCapable{false};
465
467
468 Aws::Vector<Tag> m_tags;
469
470 Aws::String m_providerName;
471
472 bool m_macSecCapable{false};
473
474 Aws::String m_encryptionMode;
475
476 Aws::Vector<MacSecKey> m_macSecKeys;
477
478 Aws::String m_requestId;
479 bool m_connectionsBandwidthHasBeenSet = false;
480 bool m_numberOfConnectionsHasBeenSet = false;
481 bool m_lagIdHasBeenSet = false;
482 bool m_ownerAccountHasBeenSet = false;
483 bool m_lagNameHasBeenSet = false;
484 bool m_lagStateHasBeenSet = false;
485 bool m_locationHasBeenSet = false;
486 bool m_regionHasBeenSet = false;
487 bool m_minimumLinksHasBeenSet = false;
488 bool m_awsDeviceHasBeenSet = false;
489 bool m_awsDeviceV2HasBeenSet = false;
490 bool m_awsLogicalDeviceIdHasBeenSet = false;
491 bool m_connectionsHasBeenSet = false;
492 bool m_allowsHostedConnectionsHasBeenSet = false;
493 bool m_jumboFrameCapableHasBeenSet = false;
494 bool m_hasLogicalRedundancyHasBeenSet = false;
495 bool m_tagsHasBeenSet = false;
496 bool m_providerNameHasBeenSet = false;
497 bool m_macSecCapableHasBeenSet = false;
498 bool m_encryptionModeHasBeenSet = false;
499 bool m_macSecKeysHasBeenSet = false;
500 bool m_requestIdHasBeenSet = false;
501};
502
503} // namespace Model
504} // namespace DirectConnect
505} // namespace Aws
void SetHasLogicalRedundancy(HasLogicalRedundancy value)
DeleteLagResult & WithLagName(LagNameT &&value)
DeleteLagResult & WithRegion(RegionT &&value)
const Aws::String & GetConnectionsBandwidth() const
DeleteLagResult & WithAwsLogicalDeviceId(AwsLogicalDeviceIdT &&value)
DeleteLagResult & WithMacSecCapable(bool value)
HasLogicalRedundancy GetHasLogicalRedundancy() const
DeleteLagResult & WithHasLogicalRedundancy(HasLogicalRedundancy value)
DeleteLagResult & WithRequestId(RequestIdT &&value)
void SetConnectionsBandwidth(ConnectionsBandwidthT &&value)
void SetOwnerAccount(OwnerAccountT &&value)
DeleteLagResult & WithAllowsHostedConnections(bool value)
const Aws::Vector< MacSecKey > & GetMacSecKeys() const
const Aws::String & GetOwnerAccount() const
DeleteLagResult & WithLagId(LagIdT &&value)
DeleteLagResult & WithOwnerAccount(OwnerAccountT &&value)
const Aws::String & GetEncryptionMode() const
DeleteLagResult & WithConnections(ConnectionsT &&value)
AWS_DIRECTCONNECT_API DeleteLagResult(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
DeleteLagResult & WithMinimumLinks(int value)
const Aws::String & GetProviderName() const
DeleteLagResult & AddConnections(ConnectionsT &&value)
void SetAwsLogicalDeviceId(AwsLogicalDeviceIdT &&value)
DeleteLagResult & AddMacSecKeys(MacSecKeysT &&value)
DeleteLagResult & WithNumberOfConnections(int value)
void SetEncryptionMode(EncryptionModeT &&value)
const Aws::Vector< Tag > & GetTags() const
DeleteLagResult & WithProviderName(ProviderNameT &&value)
DeleteLagResult & AddTags(TagsT &&value)
DeleteLagResult & WithJumboFrameCapable(bool value)
DeleteLagResult & WithEncryptionMode(EncryptionModeT &&value)
AWS_DIRECTCONNECT_API DeleteLagResult()=default
DeleteLagResult & WithAwsDeviceV2(AwsDeviceV2T &&value)
DeleteLagResult & WithLocation(LocationT &&value)
const Aws::Vector< Connection > & GetConnections() const
const Aws::String & GetAwsLogicalDeviceId() const
const Aws::String & GetAwsDeviceV2() const
void SetProviderName(ProviderNameT &&value)
DeleteLagResult & WithConnectionsBandwidth(ConnectionsBandwidthT &&value)
DeleteLagResult & WithAwsDevice(AwsDeviceT &&value)
DeleteLagResult & WithMacSecKeys(MacSecKeysT &&value)
DeleteLagResult & WithTags(TagsT &&value)
DeleteLagResult & WithLagState(LagState value)
AWS_DIRECTCONNECT_API DeleteLagResult & operator=(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
std::vector< T, Aws::Allocator< T > > Vector
Aws::Utils::Json::JsonValue JsonValue