AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
UpdateLagResult.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 UpdateLagResult();
45
46
48
52 inline const Aws::String& GetConnectionsBandwidth() const{ return m_connectionsBandwidth; }
53 inline void SetConnectionsBandwidth(const Aws::String& value) { m_connectionsBandwidth = value; }
54 inline void SetConnectionsBandwidth(Aws::String&& value) { m_connectionsBandwidth = std::move(value); }
55 inline void SetConnectionsBandwidth(const char* value) { m_connectionsBandwidth.assign(value); }
56 inline UpdateLagResult& WithConnectionsBandwidth(const Aws::String& value) { SetConnectionsBandwidth(value); return *this;}
57 inline UpdateLagResult& WithConnectionsBandwidth(Aws::String&& value) { SetConnectionsBandwidth(std::move(value)); return *this;}
58 inline UpdateLagResult& WithConnectionsBandwidth(const char* value) { SetConnectionsBandwidth(value); return *this;}
60
62
68 inline int GetNumberOfConnections() const{ return m_numberOfConnections; }
69 inline void SetNumberOfConnections(int value) { m_numberOfConnections = value; }
70 inline UpdateLagResult& WithNumberOfConnections(int value) { SetNumberOfConnections(value); return *this;}
72
74
77 inline const Aws::String& GetLagId() const{ return m_lagId; }
78 inline void SetLagId(const Aws::String& value) { m_lagId = value; }
79 inline void SetLagId(Aws::String&& value) { m_lagId = std::move(value); }
80 inline void SetLagId(const char* value) { m_lagId.assign(value); }
81 inline UpdateLagResult& WithLagId(const Aws::String& value) { SetLagId(value); return *this;}
82 inline UpdateLagResult& WithLagId(Aws::String&& value) { SetLagId(std::move(value)); return *this;}
83 inline UpdateLagResult& WithLagId(const char* value) { SetLagId(value); return *this;}
85
87
90 inline const Aws::String& GetOwnerAccount() const{ return m_ownerAccount; }
91 inline void SetOwnerAccount(const Aws::String& value) { m_ownerAccount = value; }
92 inline void SetOwnerAccount(Aws::String&& value) { m_ownerAccount = std::move(value); }
93 inline void SetOwnerAccount(const char* value) { m_ownerAccount.assign(value); }
94 inline UpdateLagResult& WithOwnerAccount(const Aws::String& value) { SetOwnerAccount(value); return *this;}
95 inline UpdateLagResult& WithOwnerAccount(Aws::String&& value) { SetOwnerAccount(std::move(value)); return *this;}
96 inline UpdateLagResult& WithOwnerAccount(const char* value) { SetOwnerAccount(value); return *this;}
98
100
103 inline const Aws::String& GetLagName() const{ return m_lagName; }
104 inline void SetLagName(const Aws::String& value) { m_lagName = value; }
105 inline void SetLagName(Aws::String&& value) { m_lagName = std::move(value); }
106 inline void SetLagName(const char* value) { m_lagName.assign(value); }
107 inline UpdateLagResult& WithLagName(const Aws::String& value) { SetLagName(value); return *this;}
108 inline UpdateLagResult& WithLagName(Aws::String&& value) { SetLagName(std::move(value)); return *this;}
109 inline UpdateLagResult& WithLagName(const char* value) { SetLagName(value); return *this;}
111
113
125 inline const LagState& GetLagState() const{ return m_lagState; }
126 inline void SetLagState(const LagState& value) { m_lagState = value; }
127 inline void SetLagState(LagState&& value) { m_lagState = std::move(value); }
128 inline UpdateLagResult& WithLagState(const LagState& value) { SetLagState(value); return *this;}
129 inline UpdateLagResult& WithLagState(LagState&& value) { SetLagState(std::move(value)); return *this;}
131
133
136 inline const Aws::String& GetLocation() const{ return m_location; }
137 inline void SetLocation(const Aws::String& value) { m_location = value; }
138 inline void SetLocation(Aws::String&& value) { m_location = std::move(value); }
139 inline void SetLocation(const char* value) { m_location.assign(value); }
140 inline UpdateLagResult& WithLocation(const Aws::String& value) { SetLocation(value); return *this;}
141 inline UpdateLagResult& WithLocation(Aws::String&& value) { SetLocation(std::move(value)); return *this;}
142 inline UpdateLagResult& WithLocation(const char* value) { SetLocation(value); return *this;}
144
146
149 inline const Aws::String& GetRegion() const{ return m_region; }
150 inline void SetRegion(const Aws::String& value) { m_region = value; }
151 inline void SetRegion(Aws::String&& value) { m_region = std::move(value); }
152 inline void SetRegion(const char* value) { m_region.assign(value); }
153 inline UpdateLagResult& WithRegion(const Aws::String& value) { SetRegion(value); return *this;}
154 inline UpdateLagResult& WithRegion(Aws::String&& value) { SetRegion(std::move(value)); return *this;}
155 inline UpdateLagResult& WithRegion(const char* value) { SetRegion(value); return *this;}
157
159
163 inline int GetMinimumLinks() const{ return m_minimumLinks; }
164 inline void SetMinimumLinks(int value) { m_minimumLinks = value; }
165 inline UpdateLagResult& WithMinimumLinks(int value) { SetMinimumLinks(value); return *this;}
167
169
172 inline const Aws::String& GetAwsDevice() const{ return m_awsDevice; }
173 inline void SetAwsDevice(const Aws::String& value) { m_awsDevice = value; }
174 inline void SetAwsDevice(Aws::String&& value) { m_awsDevice = std::move(value); }
175 inline void SetAwsDevice(const char* value) { m_awsDevice.assign(value); }
176 inline UpdateLagResult& WithAwsDevice(const Aws::String& value) { SetAwsDevice(value); return *this;}
177 inline UpdateLagResult& WithAwsDevice(Aws::String&& value) { SetAwsDevice(std::move(value)); return *this;}
178 inline UpdateLagResult& WithAwsDevice(const char* value) { SetAwsDevice(value); return *this;}
180
182
185 inline const Aws::String& GetAwsDeviceV2() const{ return m_awsDeviceV2; }
186 inline void SetAwsDeviceV2(const Aws::String& value) { m_awsDeviceV2 = value; }
187 inline void SetAwsDeviceV2(Aws::String&& value) { m_awsDeviceV2 = std::move(value); }
188 inline void SetAwsDeviceV2(const char* value) { m_awsDeviceV2.assign(value); }
189 inline UpdateLagResult& WithAwsDeviceV2(const Aws::String& value) { SetAwsDeviceV2(value); return *this;}
190 inline UpdateLagResult& WithAwsDeviceV2(Aws::String&& value) { SetAwsDeviceV2(std::move(value)); return *this;}
191 inline UpdateLagResult& WithAwsDeviceV2(const char* value) { SetAwsDeviceV2(value); return *this;}
193
195
200 inline const Aws::String& GetAwsLogicalDeviceId() const{ return m_awsLogicalDeviceId; }
201 inline void SetAwsLogicalDeviceId(const Aws::String& value) { m_awsLogicalDeviceId = value; }
202 inline void SetAwsLogicalDeviceId(Aws::String&& value) { m_awsLogicalDeviceId = std::move(value); }
203 inline void SetAwsLogicalDeviceId(const char* value) { m_awsLogicalDeviceId.assign(value); }
204 inline UpdateLagResult& WithAwsLogicalDeviceId(const Aws::String& value) { SetAwsLogicalDeviceId(value); return *this;}
205 inline UpdateLagResult& WithAwsLogicalDeviceId(Aws::String&& value) { SetAwsLogicalDeviceId(std::move(value)); return *this;}
206 inline UpdateLagResult& WithAwsLogicalDeviceId(const char* value) { SetAwsLogicalDeviceId(value); return *this;}
208
210
213 inline const Aws::Vector<Connection>& GetConnections() const{ return m_connections; }
214 inline void SetConnections(const Aws::Vector<Connection>& value) { m_connections = value; }
215 inline void SetConnections(Aws::Vector<Connection>&& value) { m_connections = std::move(value); }
216 inline UpdateLagResult& WithConnections(const Aws::Vector<Connection>& value) { SetConnections(value); return *this;}
217 inline UpdateLagResult& WithConnections(Aws::Vector<Connection>&& value) { SetConnections(std::move(value)); return *this;}
218 inline UpdateLagResult& AddConnections(const Connection& value) { m_connections.push_back(value); return *this; }
219 inline UpdateLagResult& AddConnections(Connection&& value) { m_connections.push_back(std::move(value)); return *this; }
221
223
226 inline bool GetAllowsHostedConnections() const{ return m_allowsHostedConnections; }
227 inline void SetAllowsHostedConnections(bool value) { m_allowsHostedConnections = value; }
228 inline UpdateLagResult& WithAllowsHostedConnections(bool value) { SetAllowsHostedConnections(value); return *this;}
230
232
235 inline bool GetJumboFrameCapable() const{ return m_jumboFrameCapable; }
236 inline void SetJumboFrameCapable(bool value) { m_jumboFrameCapable = value; }
237 inline UpdateLagResult& WithJumboFrameCapable(bool value) { SetJumboFrameCapable(value); return *this;}
239
241
245 inline const HasLogicalRedundancy& GetHasLogicalRedundancy() const{ return m_hasLogicalRedundancy; }
246 inline void SetHasLogicalRedundancy(const HasLogicalRedundancy& value) { m_hasLogicalRedundancy = value; }
247 inline void SetHasLogicalRedundancy(HasLogicalRedundancy&& value) { m_hasLogicalRedundancy = std::move(value); }
251
253
256 inline const Aws::Vector<Tag>& GetTags() const{ return m_tags; }
257 inline void SetTags(const Aws::Vector<Tag>& value) { m_tags = value; }
258 inline void SetTags(Aws::Vector<Tag>&& value) { m_tags = std::move(value); }
259 inline UpdateLagResult& WithTags(const Aws::Vector<Tag>& value) { SetTags(value); return *this;}
260 inline UpdateLagResult& WithTags(Aws::Vector<Tag>&& value) { SetTags(std::move(value)); return *this;}
261 inline UpdateLagResult& AddTags(const Tag& value) { m_tags.push_back(value); return *this; }
262 inline UpdateLagResult& AddTags(Tag&& value) { m_tags.push_back(std::move(value)); return *this; }
264
266
269 inline const Aws::String& GetProviderName() const{ return m_providerName; }
270 inline void SetProviderName(const Aws::String& value) { m_providerName = value; }
271 inline void SetProviderName(Aws::String&& value) { m_providerName = std::move(value); }
272 inline void SetProviderName(const char* value) { m_providerName.assign(value); }
273 inline UpdateLagResult& WithProviderName(const Aws::String& value) { SetProviderName(value); return *this;}
274 inline UpdateLagResult& WithProviderName(Aws::String&& value) { SetProviderName(std::move(value)); return *this;}
275 inline UpdateLagResult& WithProviderName(const char* value) { SetProviderName(value); return *this;}
277
279
282 inline bool GetMacSecCapable() const{ return m_macSecCapable; }
283 inline void SetMacSecCapable(bool value) { m_macSecCapable = value; }
284 inline UpdateLagResult& WithMacSecCapable(bool value) { SetMacSecCapable(value); return *this;}
286
288
293 inline const Aws::String& GetEncryptionMode() const{ return m_encryptionMode; }
294 inline void SetEncryptionMode(const Aws::String& value) { m_encryptionMode = value; }
295 inline void SetEncryptionMode(Aws::String&& value) { m_encryptionMode = std::move(value); }
296 inline void SetEncryptionMode(const char* value) { m_encryptionMode.assign(value); }
297 inline UpdateLagResult& WithEncryptionMode(const Aws::String& value) { SetEncryptionMode(value); return *this;}
298 inline UpdateLagResult& WithEncryptionMode(Aws::String&& value) { SetEncryptionMode(std::move(value)); return *this;}
299 inline UpdateLagResult& WithEncryptionMode(const char* value) { SetEncryptionMode(value); return *this;}
301
303
306 inline const Aws::Vector<MacSecKey>& GetMacSecKeys() const{ return m_macSecKeys; }
307 inline void SetMacSecKeys(const Aws::Vector<MacSecKey>& value) { m_macSecKeys = value; }
308 inline void SetMacSecKeys(Aws::Vector<MacSecKey>&& value) { m_macSecKeys = std::move(value); }
309 inline UpdateLagResult& WithMacSecKeys(const Aws::Vector<MacSecKey>& value) { SetMacSecKeys(value); return *this;}
310 inline UpdateLagResult& WithMacSecKeys(Aws::Vector<MacSecKey>&& value) { SetMacSecKeys(std::move(value)); return *this;}
311 inline UpdateLagResult& AddMacSecKeys(const MacSecKey& value) { m_macSecKeys.push_back(value); return *this; }
312 inline UpdateLagResult& AddMacSecKeys(MacSecKey&& value) { m_macSecKeys.push_back(std::move(value)); return *this; }
314
316
317 inline const Aws::String& GetRequestId() const{ return m_requestId; }
318 inline void SetRequestId(const Aws::String& value) { m_requestId = value; }
319 inline void SetRequestId(Aws::String&& value) { m_requestId = std::move(value); }
320 inline void SetRequestId(const char* value) { m_requestId.assign(value); }
321 inline UpdateLagResult& WithRequestId(const Aws::String& value) { SetRequestId(value); return *this;}
322 inline UpdateLagResult& WithRequestId(Aws::String&& value) { SetRequestId(std::move(value)); return *this;}
323 inline UpdateLagResult& WithRequestId(const char* value) { SetRequestId(value); return *this;}
325 private:
326
327 Aws::String m_connectionsBandwidth;
328
329 int m_numberOfConnections;
330
331 Aws::String m_lagId;
332
333 Aws::String m_ownerAccount;
334
335 Aws::String m_lagName;
336
337 LagState m_lagState;
338
339 Aws::String m_location;
340
341 Aws::String m_region;
342
343 int m_minimumLinks;
344
345 Aws::String m_awsDevice;
346
347 Aws::String m_awsDeviceV2;
348
349 Aws::String m_awsLogicalDeviceId;
350
351 Aws::Vector<Connection> m_connections;
352
353 bool m_allowsHostedConnections;
354
355 bool m_jumboFrameCapable;
356
357 HasLogicalRedundancy m_hasLogicalRedundancy;
358
359 Aws::Vector<Tag> m_tags;
360
361 Aws::String m_providerName;
362
363 bool m_macSecCapable;
364
365 Aws::String m_encryptionMode;
366
367 Aws::Vector<MacSecKey> m_macSecKeys;
368
369 Aws::String m_requestId;
370 };
371
372} // namespace Model
373} // namespace DirectConnect
374} // namespace Aws
UpdateLagResult & WithRequestId(Aws::String &&value)
void SetOwnerAccount(const Aws::String &value)
UpdateLagResult & WithAwsDeviceV2(const Aws::String &value)
UpdateLagResult & WithProviderName(const Aws::String &value)
UpdateLagResult & WithConnections(const Aws::Vector< Connection > &value)
const HasLogicalRedundancy & GetHasLogicalRedundancy() const
const Aws::String & GetOwnerAccount() const
void SetHasLogicalRedundancy(const HasLogicalRedundancy &value)
UpdateLagResult & WithLagName(const char *value)
UpdateLagResult & WithLagState(const LagState &value)
UpdateLagResult & AddMacSecKeys(const MacSecKey &value)
void SetLagName(const Aws::String &value)
UpdateLagResult & WithJumboFrameCapable(bool value)
void SetConnections(Aws::Vector< Connection > &&value)
UpdateLagResult & WithLagId(Aws::String &&value)
UpdateLagResult & WithAwsDevice(const char *value)
UpdateLagResult & WithOwnerAccount(Aws::String &&value)
const Aws::Vector< Connection > & GetConnections() const
UpdateLagResult & WithLagState(LagState &&value)
AWS_DIRECTCONNECT_API UpdateLagResult & operator=(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
UpdateLagResult & AddTags(const Tag &value)
UpdateLagResult & WithRegion(Aws::String &&value)
UpdateLagResult & WithAllowsHostedConnections(bool value)
UpdateLagResult & WithLagName(Aws::String &&value)
UpdateLagResult & WithOwnerAccount(const Aws::String &value)
void SetMacSecKeys(Aws::Vector< MacSecKey > &&value)
UpdateLagResult & WithLagName(const Aws::String &value)
const Aws::String & GetEncryptionMode() const
void SetProviderName(const Aws::String &value)
UpdateLagResult & WithAwsDeviceV2(Aws::String &&value)
UpdateLagResult & WithConnections(Aws::Vector< Connection > &&value)
UpdateLagResult & WithMacSecCapable(bool value)
UpdateLagResult & AddTags(Tag &&value)
UpdateLagResult & AddConnections(Connection &&value)
UpdateLagResult & WithConnectionsBandwidth(const char *value)
UpdateLagResult & WithEncryptionMode(const char *value)
UpdateLagResult & WithProviderName(Aws::String &&value)
const Aws::String & GetConnectionsBandwidth() const
const Aws::Vector< MacSecKey > & GetMacSecKeys() const
void SetAwsDeviceV2(const Aws::String &value)
void SetConnectionsBandwidth(Aws::String &&value)
UpdateLagResult & WithEncryptionMode(const Aws::String &value)
void SetMacSecKeys(const Aws::Vector< MacSecKey > &value)
void SetConnections(const Aws::Vector< Connection > &value)
UpdateLagResult & WithMacSecKeys(Aws::Vector< MacSecKey > &&value)
const Aws::String & GetProviderName() const
UpdateLagResult & WithRequestId(const char *value)
const Aws::Vector< Tag > & GetTags() const
UpdateLagResult & WithHasLogicalRedundancy(const HasLogicalRedundancy &value)
UpdateLagResult & WithLocation(Aws::String &&value)
void SetLocation(const Aws::String &value)
UpdateLagResult & WithAwsDeviceV2(const char *value)
UpdateLagResult & WithLocation(const char *value)
UpdateLagResult & WithAwsDevice(const Aws::String &value)
UpdateLagResult & WithHasLogicalRedundancy(HasLogicalRedundancy &&value)
void SetTags(Aws::Vector< Tag > &&value)
UpdateLagResult & WithAwsDevice(Aws::String &&value)
void SetRegion(const Aws::String &value)
UpdateLagResult & WithAwsLogicalDeviceId(Aws::String &&value)
UpdateLagResult & AddConnections(const Connection &value)
void SetRequestId(const Aws::String &value)
UpdateLagResult & WithConnectionsBandwidth(const Aws::String &value)
void SetConnectionsBandwidth(const char *value)
UpdateLagResult & WithRegion(const Aws::String &value)
UpdateLagResult & WithMacSecKeys(const Aws::Vector< MacSecKey > &value)
const Aws::String & GetAwsDeviceV2() const
UpdateLagResult & WithNumberOfConnections(int value)
void SetAwsLogicalDeviceId(Aws::String &&value)
UpdateLagResult & AddMacSecKeys(MacSecKey &&value)
UpdateLagResult & WithOwnerAccount(const char *value)
UpdateLagResult & WithProviderName(const char *value)
UpdateLagResult & WithAwsLogicalDeviceId(const Aws::String &value)
AWS_DIRECTCONNECT_API UpdateLagResult(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
UpdateLagResult & WithConnectionsBandwidth(Aws::String &&value)
void SetConnectionsBandwidth(const Aws::String &value)
UpdateLagResult & WithLocation(const Aws::String &value)
UpdateLagResult & WithAwsLogicalDeviceId(const char *value)
UpdateLagResult & WithEncryptionMode(Aws::String &&value)
UpdateLagResult & WithLagId(const Aws::String &value)
void SetHasLogicalRedundancy(HasLogicalRedundancy &&value)
UpdateLagResult & WithRequestId(const Aws::String &value)
UpdateLagResult & WithTags(Aws::Vector< Tag > &&value)
void SetAwsDevice(const Aws::String &value)
void SetEncryptionMode(const Aws::String &value)
UpdateLagResult & WithRegion(const char *value)
UpdateLagResult & WithMinimumLinks(int value)
const Aws::String & GetAwsLogicalDeviceId() const
void SetLagId(const Aws::String &value)
void SetTags(const Aws::Vector< Tag > &value)
UpdateLagResult & WithLagId(const char *value)
void SetAwsLogicalDeviceId(const Aws::String &value)
UpdateLagResult & WithTags(const Aws::Vector< Tag > &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