AWS SDK for C++

AWS SDK for C++ Version 1.11.607

Loading...
Searching...
No Matches
DeleteLagResult.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/LagState.h>
10#include <aws/core/utils/memory/stl/AWSVector.h>
11#include <aws/directconnect/model/HasLogicalRedundancy.h>
12#include <aws/directconnect/model/Connection.h>
13#include <aws/directconnect/model/Tag.h>
14#include <aws/directconnect/model/MacSecKey.h>
15#include <utility>
16
17namespace Aws
18{
19template<typename RESULT_TYPE>
20class AmazonWebServiceResult;
21
22namespace Utils
23{
24namespace Json
25{
26 class JsonValue;
27} // namespace Json
28} // namespace Utils
29namespace DirectConnect
30{
31namespace Model
32{
40 {
41 public:
42 AWS_DIRECTCONNECT_API DeleteLagResult() = default;
45
46
48
52 inline const Aws::String& GetConnectionsBandwidth() const { return m_connectionsBandwidth; }
53 template<typename ConnectionsBandwidthT = Aws::String>
54 void SetConnectionsBandwidth(ConnectionsBandwidthT&& value) { m_connectionsBandwidthHasBeenSet = true; m_connectionsBandwidth = std::forward<ConnectionsBandwidthT>(value); }
55 template<typename ConnectionsBandwidthT = Aws::String>
56 DeleteLagResult& WithConnectionsBandwidth(ConnectionsBandwidthT&& value) { SetConnectionsBandwidth(std::forward<ConnectionsBandwidthT>(value)); return *this;}
58
60
66 inline int GetNumberOfConnections() const { return m_numberOfConnections; }
67 inline void SetNumberOfConnections(int value) { m_numberOfConnectionsHasBeenSet = true; m_numberOfConnections = value; }
68 inline DeleteLagResult& WithNumberOfConnections(int value) { SetNumberOfConnections(value); return *this;}
70
72
75 inline const Aws::String& GetLagId() const { return m_lagId; }
76 template<typename LagIdT = Aws::String>
77 void SetLagId(LagIdT&& value) { m_lagIdHasBeenSet = true; m_lagId = std::forward<LagIdT>(value); }
78 template<typename LagIdT = Aws::String>
79 DeleteLagResult& WithLagId(LagIdT&& value) { SetLagId(std::forward<LagIdT>(value)); return *this;}
81
83
86 inline const Aws::String& GetOwnerAccount() const { return m_ownerAccount; }
87 template<typename OwnerAccountT = Aws::String>
88 void SetOwnerAccount(OwnerAccountT&& value) { m_ownerAccountHasBeenSet = true; m_ownerAccount = std::forward<OwnerAccountT>(value); }
89 template<typename OwnerAccountT = Aws::String>
90 DeleteLagResult& WithOwnerAccount(OwnerAccountT&& value) { SetOwnerAccount(std::forward<OwnerAccountT>(value)); return *this;}
92
94
97 inline const Aws::String& GetLagName() const { return m_lagName; }
98 template<typename LagNameT = Aws::String>
99 void SetLagName(LagNameT&& value) { m_lagNameHasBeenSet = true; m_lagName = std::forward<LagNameT>(value); }
100 template<typename LagNameT = Aws::String>
101 DeleteLagResult& WithLagName(LagNameT&& value) { SetLagName(std::forward<LagNameT>(value)); return *this;}
103
105
117 inline LagState GetLagState() const { return m_lagState; }
118 inline void SetLagState(LagState value) { m_lagStateHasBeenSet = true; m_lagState = value; }
119 inline DeleteLagResult& WithLagState(LagState value) { SetLagState(value); return *this;}
121
123
126 inline const Aws::String& GetLocation() const { return m_location; }
127 template<typename LocationT = Aws::String>
128 void SetLocation(LocationT&& value) { m_locationHasBeenSet = true; m_location = std::forward<LocationT>(value); }
129 template<typename LocationT = Aws::String>
130 DeleteLagResult& WithLocation(LocationT&& value) { SetLocation(std::forward<LocationT>(value)); return *this;}
132
134
137 inline const Aws::String& GetRegion() const { return m_region; }
138 template<typename RegionT = Aws::String>
139 void SetRegion(RegionT&& value) { m_regionHasBeenSet = true; m_region = std::forward<RegionT>(value); }
140 template<typename RegionT = Aws::String>
141 DeleteLagResult& WithRegion(RegionT&& value) { SetRegion(std::forward<RegionT>(value)); return *this;}
143
145
149 inline int GetMinimumLinks() const { return m_minimumLinks; }
150 inline void SetMinimumLinks(int value) { m_minimumLinksHasBeenSet = true; m_minimumLinks = value; }
151 inline DeleteLagResult& WithMinimumLinks(int value) { SetMinimumLinks(value); return *this;}
153
155
158 inline const Aws::String& GetAwsDevice() const { return m_awsDevice; }
159 template<typename AwsDeviceT = Aws::String>
160 void SetAwsDevice(AwsDeviceT&& value) { m_awsDeviceHasBeenSet = true; m_awsDevice = std::forward<AwsDeviceT>(value); }
161 template<typename AwsDeviceT = Aws::String>
162 DeleteLagResult& WithAwsDevice(AwsDeviceT&& value) { SetAwsDevice(std::forward<AwsDeviceT>(value)); return *this;}
164
166
169 inline const Aws::String& GetAwsDeviceV2() const { return m_awsDeviceV2; }
170 template<typename AwsDeviceV2T = Aws::String>
171 void SetAwsDeviceV2(AwsDeviceV2T&& value) { m_awsDeviceV2HasBeenSet = true; m_awsDeviceV2 = std::forward<AwsDeviceV2T>(value); }
172 template<typename AwsDeviceV2T = Aws::String>
173 DeleteLagResult& WithAwsDeviceV2(AwsDeviceV2T&& value) { SetAwsDeviceV2(std::forward<AwsDeviceV2T>(value)); return *this;}
175
177
182 inline const Aws::String& GetAwsLogicalDeviceId() const { return m_awsLogicalDeviceId; }
183 template<typename AwsLogicalDeviceIdT = Aws::String>
184 void SetAwsLogicalDeviceId(AwsLogicalDeviceIdT&& value) { m_awsLogicalDeviceIdHasBeenSet = true; m_awsLogicalDeviceId = std::forward<AwsLogicalDeviceIdT>(value); }
185 template<typename AwsLogicalDeviceIdT = Aws::String>
186 DeleteLagResult& WithAwsLogicalDeviceId(AwsLogicalDeviceIdT&& value) { SetAwsLogicalDeviceId(std::forward<AwsLogicalDeviceIdT>(value)); return *this;}
188
190
193 inline const Aws::Vector<Connection>& GetConnections() const { return m_connections; }
194 template<typename ConnectionsT = Aws::Vector<Connection>>
195 void SetConnections(ConnectionsT&& value) { m_connectionsHasBeenSet = true; m_connections = std::forward<ConnectionsT>(value); }
196 template<typename ConnectionsT = Aws::Vector<Connection>>
197 DeleteLagResult& WithConnections(ConnectionsT&& value) { SetConnections(std::forward<ConnectionsT>(value)); return *this;}
198 template<typename ConnectionsT = Connection>
199 DeleteLagResult& AddConnections(ConnectionsT&& value) { m_connectionsHasBeenSet = true; m_connections.emplace_back(std::forward<ConnectionsT>(value)); return *this; }
201
203
206 inline bool GetAllowsHostedConnections() const { return m_allowsHostedConnections; }
207 inline void SetAllowsHostedConnections(bool value) { m_allowsHostedConnectionsHasBeenSet = true; m_allowsHostedConnections = value; }
208 inline DeleteLagResult& WithAllowsHostedConnections(bool value) { SetAllowsHostedConnections(value); return *this;}
210
212
215 inline bool GetJumboFrameCapable() const { return m_jumboFrameCapable; }
216 inline void SetJumboFrameCapable(bool value) { m_jumboFrameCapableHasBeenSet = true; m_jumboFrameCapable = value; }
217 inline DeleteLagResult& WithJumboFrameCapable(bool value) { SetJumboFrameCapable(value); return *this;}
219
221
225 inline HasLogicalRedundancy GetHasLogicalRedundancy() const { return m_hasLogicalRedundancy; }
226 inline void SetHasLogicalRedundancy(HasLogicalRedundancy value) { m_hasLogicalRedundancyHasBeenSet = true; m_hasLogicalRedundancy = value; }
229
231
234 inline const Aws::Vector<Tag>& GetTags() const { return m_tags; }
235 template<typename TagsT = Aws::Vector<Tag>>
236 void SetTags(TagsT&& value) { m_tagsHasBeenSet = true; m_tags = std::forward<TagsT>(value); }
237 template<typename TagsT = Aws::Vector<Tag>>
238 DeleteLagResult& WithTags(TagsT&& value) { SetTags(std::forward<TagsT>(value)); return *this;}
239 template<typename TagsT = Tag>
240 DeleteLagResult& AddTags(TagsT&& value) { m_tagsHasBeenSet = true; m_tags.emplace_back(std::forward<TagsT>(value)); return *this; }
242
244
247 inline const Aws::String& GetProviderName() const { return m_providerName; }
248 template<typename ProviderNameT = Aws::String>
249 void SetProviderName(ProviderNameT&& value) { m_providerNameHasBeenSet = true; m_providerName = std::forward<ProviderNameT>(value); }
250 template<typename ProviderNameT = Aws::String>
251 DeleteLagResult& WithProviderName(ProviderNameT&& value) { SetProviderName(std::forward<ProviderNameT>(value)); return *this;}
253
255
258 inline bool GetMacSecCapable() const { return m_macSecCapable; }
259 inline void SetMacSecCapable(bool value) { m_macSecCapableHasBeenSet = true; m_macSecCapable = value; }
260 inline DeleteLagResult& WithMacSecCapable(bool value) { SetMacSecCapable(value); return *this;}
262
264
269 inline const Aws::String& GetEncryptionMode() const { return m_encryptionMode; }
270 template<typename EncryptionModeT = Aws::String>
271 void SetEncryptionMode(EncryptionModeT&& value) { m_encryptionModeHasBeenSet = true; m_encryptionMode = std::forward<EncryptionModeT>(value); }
272 template<typename EncryptionModeT = Aws::String>
273 DeleteLagResult& WithEncryptionMode(EncryptionModeT&& value) { SetEncryptionMode(std::forward<EncryptionModeT>(value)); return *this;}
275
277
280 inline const Aws::Vector<MacSecKey>& GetMacSecKeys() const { return m_macSecKeys; }
281 template<typename MacSecKeysT = Aws::Vector<MacSecKey>>
282 void SetMacSecKeys(MacSecKeysT&& value) { m_macSecKeysHasBeenSet = true; m_macSecKeys = std::forward<MacSecKeysT>(value); }
283 template<typename MacSecKeysT = Aws::Vector<MacSecKey>>
284 DeleteLagResult& WithMacSecKeys(MacSecKeysT&& value) { SetMacSecKeys(std::forward<MacSecKeysT>(value)); return *this;}
285 template<typename MacSecKeysT = MacSecKey>
286 DeleteLagResult& AddMacSecKeys(MacSecKeysT&& value) { m_macSecKeysHasBeenSet = true; m_macSecKeys.emplace_back(std::forward<MacSecKeysT>(value)); return *this; }
288
290
291 inline const Aws::String& GetRequestId() const { return m_requestId; }
292 template<typename RequestIdT = Aws::String>
293 void SetRequestId(RequestIdT&& value) { m_requestIdHasBeenSet = true; m_requestId = std::forward<RequestIdT>(value); }
294 template<typename RequestIdT = Aws::String>
295 DeleteLagResult& WithRequestId(RequestIdT&& value) { SetRequestId(std::forward<RequestIdT>(value)); return *this;}
297 private:
298
299 Aws::String m_connectionsBandwidth;
300 bool m_connectionsBandwidthHasBeenSet = false;
301
302 int m_numberOfConnections{0};
303 bool m_numberOfConnectionsHasBeenSet = false;
304
305 Aws::String m_lagId;
306 bool m_lagIdHasBeenSet = false;
307
308 Aws::String m_ownerAccount;
309 bool m_ownerAccountHasBeenSet = false;
310
311 Aws::String m_lagName;
312 bool m_lagNameHasBeenSet = false;
313
314 LagState m_lagState{LagState::NOT_SET};
315 bool m_lagStateHasBeenSet = false;
316
317 Aws::String m_location;
318 bool m_locationHasBeenSet = false;
319
320 Aws::String m_region;
321 bool m_regionHasBeenSet = false;
322
323 int m_minimumLinks{0};
324 bool m_minimumLinksHasBeenSet = false;
325
326 Aws::String m_awsDevice;
327 bool m_awsDeviceHasBeenSet = false;
328
329 Aws::String m_awsDeviceV2;
330 bool m_awsDeviceV2HasBeenSet = false;
331
332 Aws::String m_awsLogicalDeviceId;
333 bool m_awsLogicalDeviceIdHasBeenSet = false;
334
335 Aws::Vector<Connection> m_connections;
336 bool m_connectionsHasBeenSet = false;
337
338 bool m_allowsHostedConnections{false};
339 bool m_allowsHostedConnectionsHasBeenSet = false;
340
341 bool m_jumboFrameCapable{false};
342 bool m_jumboFrameCapableHasBeenSet = false;
343
345 bool m_hasLogicalRedundancyHasBeenSet = false;
346
347 Aws::Vector<Tag> m_tags;
348 bool m_tagsHasBeenSet = false;
349
350 Aws::String m_providerName;
351 bool m_providerNameHasBeenSet = false;
352
353 bool m_macSecCapable{false};
354 bool m_macSecCapableHasBeenSet = false;
355
356 Aws::String m_encryptionMode;
357 bool m_encryptionModeHasBeenSet = false;
358
359 Aws::Vector<MacSecKey> m_macSecKeys;
360 bool m_macSecKeysHasBeenSet = false;
361
362 Aws::String m_requestId;
363 bool m_requestIdHasBeenSet = false;
364 };
365
366} // namespace Model
367} // namespace DirectConnect
368} // 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