AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
DisassociateConnectionFromLagResult.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/ConnectionState.h>
10#include <aws/core/utils/DateTime.h>
11#include <aws/directconnect/model/HasLogicalRedundancy.h>
12#include <aws/core/utils/memory/stl/AWSVector.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{
39 {
40 public:
41 AWS_DIRECTCONNECT_API DisassociateConnectionFromLagResult();
44
45
47
50 inline const Aws::String& GetOwnerAccount() const{ return m_ownerAccount; }
51 inline void SetOwnerAccount(const Aws::String& value) { m_ownerAccount = value; }
52 inline void SetOwnerAccount(Aws::String&& value) { m_ownerAccount = std::move(value); }
53 inline void SetOwnerAccount(const char* value) { m_ownerAccount.assign(value); }
55 inline DisassociateConnectionFromLagResult& WithOwnerAccount(Aws::String&& value) { SetOwnerAccount(std::move(value)); return *this;}
56 inline DisassociateConnectionFromLagResult& WithOwnerAccount(const char* value) { SetOwnerAccount(value); return *this;}
58
60
63 inline const Aws::String& GetConnectionId() const{ return m_connectionId; }
64 inline void SetConnectionId(const Aws::String& value) { m_connectionId = value; }
65 inline void SetConnectionId(Aws::String&& value) { m_connectionId = std::move(value); }
66 inline void SetConnectionId(const char* value) { m_connectionId.assign(value); }
68 inline DisassociateConnectionFromLagResult& WithConnectionId(Aws::String&& value) { SetConnectionId(std::move(value)); return *this;}
69 inline DisassociateConnectionFromLagResult& WithConnectionId(const char* value) { SetConnectionId(value); return *this;}
71
73
76 inline const Aws::String& GetConnectionName() const{ return m_connectionName; }
77 inline void SetConnectionName(const Aws::String& value) { m_connectionName = value; }
78 inline void SetConnectionName(Aws::String&& value) { m_connectionName = std::move(value); }
79 inline void SetConnectionName(const char* value) { m_connectionName.assign(value); }
81 inline DisassociateConnectionFromLagResult& WithConnectionName(Aws::String&& value) { SetConnectionName(std::move(value)); return *this;}
82 inline DisassociateConnectionFromLagResult& WithConnectionName(const char* value) { SetConnectionName(value); return *this;}
84
86
104 inline const ConnectionState& GetConnectionState() const{ return m_connectionState; }
105 inline void SetConnectionState(const ConnectionState& value) { m_connectionState = value; }
106 inline void SetConnectionState(ConnectionState&& value) { m_connectionState = std::move(value); }
110
112
115 inline const Aws::String& GetRegion() const{ return m_region; }
116 inline void SetRegion(const Aws::String& value) { m_region = value; }
117 inline void SetRegion(Aws::String&& value) { m_region = std::move(value); }
118 inline void SetRegion(const char* value) { m_region.assign(value); }
119 inline DisassociateConnectionFromLagResult& WithRegion(const Aws::String& value) { SetRegion(value); return *this;}
120 inline DisassociateConnectionFromLagResult& WithRegion(Aws::String&& value) { SetRegion(std::move(value)); return *this;}
121 inline DisassociateConnectionFromLagResult& WithRegion(const char* value) { SetRegion(value); return *this;}
123
125
128 inline const Aws::String& GetLocation() const{ return m_location; }
129 inline void SetLocation(const Aws::String& value) { m_location = value; }
130 inline void SetLocation(Aws::String&& value) { m_location = std::move(value); }
131 inline void SetLocation(const char* value) { m_location.assign(value); }
132 inline DisassociateConnectionFromLagResult& WithLocation(const Aws::String& value) { SetLocation(value); return *this;}
133 inline DisassociateConnectionFromLagResult& WithLocation(Aws::String&& value) { SetLocation(std::move(value)); return *this;}
134 inline DisassociateConnectionFromLagResult& WithLocation(const char* value) { SetLocation(value); return *this;}
136
138
141 inline const Aws::String& GetBandwidth() const{ return m_bandwidth; }
142 inline void SetBandwidth(const Aws::String& value) { m_bandwidth = value; }
143 inline void SetBandwidth(Aws::String&& value) { m_bandwidth = std::move(value); }
144 inline void SetBandwidth(const char* value) { m_bandwidth.assign(value); }
145 inline DisassociateConnectionFromLagResult& WithBandwidth(const Aws::String& value) { SetBandwidth(value); return *this;}
146 inline DisassociateConnectionFromLagResult& WithBandwidth(Aws::String&& value) { SetBandwidth(std::move(value)); return *this;}
147 inline DisassociateConnectionFromLagResult& WithBandwidth(const char* value) { SetBandwidth(value); return *this;}
149
151
154 inline int GetVlan() const{ return m_vlan; }
155 inline void SetVlan(int value) { m_vlan = value; }
156 inline DisassociateConnectionFromLagResult& WithVlan(int value) { SetVlan(value); return *this;}
158
160
164 inline const Aws::String& GetPartnerName() const{ return m_partnerName; }
165 inline void SetPartnerName(const Aws::String& value) { m_partnerName = value; }
166 inline void SetPartnerName(Aws::String&& value) { m_partnerName = std::move(value); }
167 inline void SetPartnerName(const char* value) { m_partnerName.assign(value); }
169 inline DisassociateConnectionFromLagResult& WithPartnerName(Aws::String&& value) { SetPartnerName(std::move(value)); return *this;}
170 inline DisassociateConnectionFromLagResult& WithPartnerName(const char* value) { SetPartnerName(value); return *this;}
172
174
178 inline const Aws::Utils::DateTime& GetLoaIssueTime() const{ return m_loaIssueTime; }
179 inline void SetLoaIssueTime(const Aws::Utils::DateTime& value) { m_loaIssueTime = value; }
180 inline void SetLoaIssueTime(Aws::Utils::DateTime&& value) { m_loaIssueTime = std::move(value); }
184
186
189 inline const Aws::String& GetLagId() const{ return m_lagId; }
190 inline void SetLagId(const Aws::String& value) { m_lagId = value; }
191 inline void SetLagId(Aws::String&& value) { m_lagId = std::move(value); }
192 inline void SetLagId(const char* value) { m_lagId.assign(value); }
193 inline DisassociateConnectionFromLagResult& WithLagId(const Aws::String& value) { SetLagId(value); return *this;}
194 inline DisassociateConnectionFromLagResult& WithLagId(Aws::String&& value) { SetLagId(std::move(value)); return *this;}
195 inline DisassociateConnectionFromLagResult& WithLagId(const char* value) { SetLagId(value); return *this;}
197
199
202 inline const Aws::String& GetAwsDevice() const{ return m_awsDevice; }
203 inline void SetAwsDevice(const Aws::String& value) { m_awsDevice = value; }
204 inline void SetAwsDevice(Aws::String&& value) { m_awsDevice = std::move(value); }
205 inline void SetAwsDevice(const char* value) { m_awsDevice.assign(value); }
206 inline DisassociateConnectionFromLagResult& WithAwsDevice(const Aws::String& value) { SetAwsDevice(value); return *this;}
207 inline DisassociateConnectionFromLagResult& WithAwsDevice(Aws::String&& value) { SetAwsDevice(std::move(value)); return *this;}
208 inline DisassociateConnectionFromLagResult& WithAwsDevice(const char* value) { SetAwsDevice(value); return *this;}
210
212
215 inline bool GetJumboFrameCapable() const{ return m_jumboFrameCapable; }
216 inline void SetJumboFrameCapable(bool value) { m_jumboFrameCapable = value; }
219
221
224 inline const Aws::String& GetAwsDeviceV2() const{ return m_awsDeviceV2; }
225 inline void SetAwsDeviceV2(const Aws::String& value) { m_awsDeviceV2 = value; }
226 inline void SetAwsDeviceV2(Aws::String&& value) { m_awsDeviceV2 = std::move(value); }
227 inline void SetAwsDeviceV2(const char* value) { m_awsDeviceV2.assign(value); }
229 inline DisassociateConnectionFromLagResult& WithAwsDeviceV2(Aws::String&& value) { SetAwsDeviceV2(std::move(value)); return *this;}
230 inline DisassociateConnectionFromLagResult& WithAwsDeviceV2(const char* value) { SetAwsDeviceV2(value); return *this;}
232
234
239 inline const Aws::String& GetAwsLogicalDeviceId() const{ return m_awsLogicalDeviceId; }
240 inline void SetAwsLogicalDeviceId(const Aws::String& value) { m_awsLogicalDeviceId = value; }
241 inline void SetAwsLogicalDeviceId(Aws::String&& value) { m_awsLogicalDeviceId = std::move(value); }
242 inline void SetAwsLogicalDeviceId(const char* value) { m_awsLogicalDeviceId.assign(value); }
245 inline DisassociateConnectionFromLagResult& WithAwsLogicalDeviceId(const char* value) { SetAwsLogicalDeviceId(value); return *this;}
247
249
253 inline const HasLogicalRedundancy& GetHasLogicalRedundancy() const{ return m_hasLogicalRedundancy; }
254 inline void SetHasLogicalRedundancy(const HasLogicalRedundancy& value) { m_hasLogicalRedundancy = value; }
255 inline void SetHasLogicalRedundancy(HasLogicalRedundancy&& value) { m_hasLogicalRedundancy = std::move(value); }
259
261
264 inline const Aws::Vector<Tag>& GetTags() const{ return m_tags; }
265 inline void SetTags(const Aws::Vector<Tag>& value) { m_tags = value; }
266 inline void SetTags(Aws::Vector<Tag>&& value) { m_tags = std::move(value); }
267 inline DisassociateConnectionFromLagResult& WithTags(const Aws::Vector<Tag>& value) { SetTags(value); return *this;}
268 inline DisassociateConnectionFromLagResult& WithTags(Aws::Vector<Tag>&& value) { SetTags(std::move(value)); return *this;}
269 inline DisassociateConnectionFromLagResult& AddTags(const Tag& value) { m_tags.push_back(value); return *this; }
270 inline DisassociateConnectionFromLagResult& AddTags(Tag&& value) { m_tags.push_back(std::move(value)); return *this; }
272
274
277 inline const Aws::String& GetProviderName() const{ return m_providerName; }
278 inline void SetProviderName(const Aws::String& value) { m_providerName = value; }
279 inline void SetProviderName(Aws::String&& value) { m_providerName = std::move(value); }
280 inline void SetProviderName(const char* value) { m_providerName.assign(value); }
282 inline DisassociateConnectionFromLagResult& WithProviderName(Aws::String&& value) { SetProviderName(std::move(value)); return *this;}
283 inline DisassociateConnectionFromLagResult& WithProviderName(const char* value) { SetProviderName(value); return *this;}
285
287
290 inline bool GetMacSecCapable() const{ return m_macSecCapable; }
291 inline void SetMacSecCapable(bool value) { m_macSecCapable = value; }
292 inline DisassociateConnectionFromLagResult& WithMacSecCapable(bool value) { SetMacSecCapable(value); return *this;}
294
296
301 inline const Aws::String& GetPortEncryptionStatus() const{ return m_portEncryptionStatus; }
302 inline void SetPortEncryptionStatus(const Aws::String& value) { m_portEncryptionStatus = value; }
303 inline void SetPortEncryptionStatus(Aws::String&& value) { m_portEncryptionStatus = std::move(value); }
304 inline void SetPortEncryptionStatus(const char* value) { m_portEncryptionStatus.assign(value); }
309
311
316 inline const Aws::String& GetEncryptionMode() const{ return m_encryptionMode; }
317 inline void SetEncryptionMode(const Aws::String& value) { m_encryptionMode = value; }
318 inline void SetEncryptionMode(Aws::String&& value) { m_encryptionMode = std::move(value); }
319 inline void SetEncryptionMode(const char* value) { m_encryptionMode.assign(value); }
321 inline DisassociateConnectionFromLagResult& WithEncryptionMode(Aws::String&& value) { SetEncryptionMode(std::move(value)); return *this;}
322 inline DisassociateConnectionFromLagResult& WithEncryptionMode(const char* value) { SetEncryptionMode(value); return *this;}
324
326
329 inline const Aws::Vector<MacSecKey>& GetMacSecKeys() const{ return m_macSecKeys; }
330 inline void SetMacSecKeys(const Aws::Vector<MacSecKey>& value) { m_macSecKeys = value; }
331 inline void SetMacSecKeys(Aws::Vector<MacSecKey>&& value) { m_macSecKeys = std::move(value); }
334 inline DisassociateConnectionFromLagResult& AddMacSecKeys(const MacSecKey& value) { m_macSecKeys.push_back(value); return *this; }
335 inline DisassociateConnectionFromLagResult& AddMacSecKeys(MacSecKey&& value) { m_macSecKeys.push_back(std::move(value)); return *this; }
337
339
340 inline const Aws::String& GetRequestId() const{ return m_requestId; }
341 inline void SetRequestId(const Aws::String& value) { m_requestId = value; }
342 inline void SetRequestId(Aws::String&& value) { m_requestId = std::move(value); }
343 inline void SetRequestId(const char* value) { m_requestId.assign(value); }
344 inline DisassociateConnectionFromLagResult& WithRequestId(const Aws::String& value) { SetRequestId(value); return *this;}
345 inline DisassociateConnectionFromLagResult& WithRequestId(Aws::String&& value) { SetRequestId(std::move(value)); return *this;}
346 inline DisassociateConnectionFromLagResult& WithRequestId(const char* value) { SetRequestId(value); return *this;}
348 private:
349
350 Aws::String m_ownerAccount;
351
352 Aws::String m_connectionId;
353
354 Aws::String m_connectionName;
355
356 ConnectionState m_connectionState;
357
358 Aws::String m_region;
359
360 Aws::String m_location;
361
362 Aws::String m_bandwidth;
363
364 int m_vlan;
365
366 Aws::String m_partnerName;
367
368 Aws::Utils::DateTime m_loaIssueTime;
369
370 Aws::String m_lagId;
371
372 Aws::String m_awsDevice;
373
374 bool m_jumboFrameCapable;
375
376 Aws::String m_awsDeviceV2;
377
378 Aws::String m_awsLogicalDeviceId;
379
380 HasLogicalRedundancy m_hasLogicalRedundancy;
381
382 Aws::Vector<Tag> m_tags;
383
384 Aws::String m_providerName;
385
386 bool m_macSecCapable;
387
388 Aws::String m_portEncryptionStatus;
389
390 Aws::String m_encryptionMode;
391
392 Aws::Vector<MacSecKey> m_macSecKeys;
393
394 Aws::String m_requestId;
395 };
396
397} // namespace Model
398} // namespace DirectConnect
399} // namespace Aws
DisassociateConnectionFromLagResult & WithRequestId(const Aws::String &value)
DisassociateConnectionFromLagResult & WithLocation(const Aws::String &value)
DisassociateConnectionFromLagResult & WithLoaIssueTime(const Aws::Utils::DateTime &value)
DisassociateConnectionFromLagResult & WithLocation(Aws::String &&value)
DisassociateConnectionFromLagResult & WithAwsDeviceV2(Aws::String &&value)
DisassociateConnectionFromLagResult & WithLocation(const char *value)
DisassociateConnectionFromLagResult & WithMacSecKeys(Aws::Vector< MacSecKey > &&value)
DisassociateConnectionFromLagResult & WithLagId(Aws::String &&value)
DisassociateConnectionFromLagResult & WithRegion(const char *value)
DisassociateConnectionFromLagResult & WithLoaIssueTime(Aws::Utils::DateTime &&value)
DisassociateConnectionFromLagResult & WithConnectionId(const char *value)
DisassociateConnectionFromLagResult & WithRegion(Aws::String &&value)
DisassociateConnectionFromLagResult & WithPartnerName(Aws::String &&value)
DisassociateConnectionFromLagResult & WithConnectionName(const char *value)
DisassociateConnectionFromLagResult & WithEncryptionMode(const char *value)
DisassociateConnectionFromLagResult & WithProviderName(const char *value)
DisassociateConnectionFromLagResult & WithRequestId(const char *value)
DisassociateConnectionFromLagResult & WithEncryptionMode(const Aws::String &value)
DisassociateConnectionFromLagResult & WithConnectionName(Aws::String &&value)
DisassociateConnectionFromLagResult & WithConnectionId(const Aws::String &value)
DisassociateConnectionFromLagResult & WithAwsDevice(const Aws::String &value)
DisassociateConnectionFromLagResult & WithAwsLogicalDeviceId(const char *value)
DisassociateConnectionFromLagResult & WithTags(Aws::Vector< Tag > &&value)
DisassociateConnectionFromLagResult & WithBandwidth(const char *value)
DisassociateConnectionFromLagResult & WithPortEncryptionStatus(const char *value)
DisassociateConnectionFromLagResult & WithMacSecKeys(const Aws::Vector< MacSecKey > &value)
DisassociateConnectionFromLagResult & WithRegion(const Aws::String &value)
DisassociateConnectionFromLagResult & WithPartnerName(const Aws::String &value)
DisassociateConnectionFromLagResult & WithLagId(const char *value)
DisassociateConnectionFromLagResult & WithOwnerAccount(const Aws::String &value)
DisassociateConnectionFromLagResult & WithAwsDevice(const char *value)
DisassociateConnectionFromLagResult & WithPortEncryptionStatus(Aws::String &&value)
DisassociateConnectionFromLagResult & WithAwsDeviceV2(const Aws::String &value)
DisassociateConnectionFromLagResult & WithHasLogicalRedundancy(HasLogicalRedundancy &&value)
DisassociateConnectionFromLagResult & WithAwsDeviceV2(const char *value)
DisassociateConnectionFromLagResult & WithBandwidth(const Aws::String &value)
DisassociateConnectionFromLagResult & WithBandwidth(Aws::String &&value)
DisassociateConnectionFromLagResult & WithTags(const Aws::Vector< Tag > &value)
AWS_DIRECTCONNECT_API DisassociateConnectionFromLagResult(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
AWS_DIRECTCONNECT_API DisassociateConnectionFromLagResult & operator=(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
DisassociateConnectionFromLagResult & WithConnectionState(const ConnectionState &value)
DisassociateConnectionFromLagResult & WithEncryptionMode(Aws::String &&value)
DisassociateConnectionFromLagResult & WithPartnerName(const char *value)
DisassociateConnectionFromLagResult & WithConnectionState(ConnectionState &&value)
DisassociateConnectionFromLagResult & WithConnectionName(const Aws::String &value)
DisassociateConnectionFromLagResult & WithHasLogicalRedundancy(const HasLogicalRedundancy &value)
DisassociateConnectionFromLagResult & AddMacSecKeys(const MacSecKey &value)
DisassociateConnectionFromLagResult & WithAwsLogicalDeviceId(Aws::String &&value)
DisassociateConnectionFromLagResult & WithAwsDevice(Aws::String &&value)
DisassociateConnectionFromLagResult & WithLagId(const Aws::String &value)
DisassociateConnectionFromLagResult & WithProviderName(const Aws::String &value)
DisassociateConnectionFromLagResult & WithPortEncryptionStatus(const Aws::String &value)
DisassociateConnectionFromLagResult & WithOwnerAccount(const char *value)
DisassociateConnectionFromLagResult & AddMacSecKeys(MacSecKey &&value)
DisassociateConnectionFromLagResult & WithConnectionId(Aws::String &&value)
DisassociateConnectionFromLagResult & WithAwsLogicalDeviceId(const Aws::String &value)
DisassociateConnectionFromLagResult & WithRequestId(Aws::String &&value)
DisassociateConnectionFromLagResult & WithProviderName(Aws::String &&value)
DisassociateConnectionFromLagResult & WithOwnerAccount(Aws::String &&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