AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
AssociateHostedConnectionResult.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 AssociateHostedConnectionResult();
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); }
54 inline AssociateHostedConnectionResult& WithOwnerAccount(const Aws::String& value) { SetOwnerAccount(value); return *this;}
55 inline AssociateHostedConnectionResult& WithOwnerAccount(Aws::String&& value) { SetOwnerAccount(std::move(value)); return *this;}
56 inline AssociateHostedConnectionResult& 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); }
67 inline AssociateHostedConnectionResult& WithConnectionId(const Aws::String& value) { SetConnectionId(value); return *this;}
68 inline AssociateHostedConnectionResult& WithConnectionId(Aws::String&& value) { SetConnectionId(std::move(value)); return *this;}
69 inline AssociateHostedConnectionResult& 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 AssociateHostedConnectionResult& WithConnectionName(Aws::String&& value) { SetConnectionName(std::move(value)); return *this;}
82 inline AssociateHostedConnectionResult& 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 AssociateHostedConnectionResult& WithRegion(const Aws::String& value) { SetRegion(value); return *this;}
120 inline AssociateHostedConnectionResult& WithRegion(Aws::String&& value) { SetRegion(std::move(value)); return *this;}
121 inline AssociateHostedConnectionResult& 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 AssociateHostedConnectionResult& WithLocation(const Aws::String& value) { SetLocation(value); return *this;}
133 inline AssociateHostedConnectionResult& WithLocation(Aws::String&& value) { SetLocation(std::move(value)); return *this;}
134 inline AssociateHostedConnectionResult& 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 AssociateHostedConnectionResult& WithBandwidth(const Aws::String& value) { SetBandwidth(value); return *this;}
146 inline AssociateHostedConnectionResult& WithBandwidth(Aws::String&& value) { SetBandwidth(std::move(value)); return *this;}
147 inline AssociateHostedConnectionResult& 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 AssociateHostedConnectionResult& 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); }
168 inline AssociateHostedConnectionResult& WithPartnerName(const Aws::String& value) { SetPartnerName(value); return *this;}
169 inline AssociateHostedConnectionResult& WithPartnerName(Aws::String&& value) { SetPartnerName(std::move(value)); return *this;}
170 inline AssociateHostedConnectionResult& 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 AssociateHostedConnectionResult& WithLagId(const Aws::String& value) { SetLagId(value); return *this;}
194 inline AssociateHostedConnectionResult& WithLagId(Aws::String&& value) { SetLagId(std::move(value)); return *this;}
195 inline AssociateHostedConnectionResult& 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 AssociateHostedConnectionResult& WithAwsDevice(const Aws::String& value) { SetAwsDevice(value); return *this;}
207 inline AssociateHostedConnectionResult& WithAwsDevice(Aws::String&& value) { SetAwsDevice(std::move(value)); return *this;}
208 inline AssociateHostedConnectionResult& 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); }
228 inline AssociateHostedConnectionResult& WithAwsDeviceV2(const Aws::String& value) { SetAwsDeviceV2(value); return *this;}
229 inline AssociateHostedConnectionResult& WithAwsDeviceV2(Aws::String&& value) { SetAwsDeviceV2(std::move(value)); return *this;}
230 inline AssociateHostedConnectionResult& 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 AssociateHostedConnectionResult& 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 AssociateHostedConnectionResult& WithTags(const Aws::Vector<Tag>& value) { SetTags(value); return *this;}
268 inline AssociateHostedConnectionResult& WithTags(Aws::Vector<Tag>&& value) { SetTags(std::move(value)); return *this;}
269 inline AssociateHostedConnectionResult& AddTags(const Tag& value) { m_tags.push_back(value); return *this; }
270 inline AssociateHostedConnectionResult& 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 AssociateHostedConnectionResult& WithProviderName(Aws::String&& value) { SetProviderName(std::move(value)); return *this;}
283 inline AssociateHostedConnectionResult& 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 AssociateHostedConnectionResult& 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); }
307 inline AssociateHostedConnectionResult& WithPortEncryptionStatus(const char* value) { SetPortEncryptionStatus(value); return *this;}
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 AssociateHostedConnectionResult& WithEncryptionMode(Aws::String&& value) { SetEncryptionMode(std::move(value)); return *this;}
322 inline AssociateHostedConnectionResult& 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); }
333 inline AssociateHostedConnectionResult& WithMacSecKeys(Aws::Vector<MacSecKey>&& value) { SetMacSecKeys(std::move(value)); return *this;}
334 inline AssociateHostedConnectionResult& AddMacSecKeys(const MacSecKey& value) { m_macSecKeys.push_back(value); return *this; }
335 inline AssociateHostedConnectionResult& 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 AssociateHostedConnectionResult& WithRequestId(const Aws::String& value) { SetRequestId(value); return *this;}
345 inline AssociateHostedConnectionResult& WithRequestId(Aws::String&& value) { SetRequestId(std::move(value)); return *this;}
346 inline AssociateHostedConnectionResult& 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
AssociateHostedConnectionResult & WithLocation(const char *value)
AssociateHostedConnectionResult & WithPartnerName(const Aws::String &value)
AssociateHostedConnectionResult & WithMacSecKeys(const Aws::Vector< MacSecKey > &value)
AssociateHostedConnectionResult & WithPortEncryptionStatus(const Aws::String &value)
AssociateHostedConnectionResult & WithAwsLogicalDeviceId(const char *value)
AssociateHostedConnectionResult & WithAwsDeviceV2(const char *value)
AssociateHostedConnectionResult & AddMacSecKeys(const MacSecKey &value)
AssociateHostedConnectionResult & WithAwsDevice(Aws::String &&value)
AssociateHostedConnectionResult & WithAwsDeviceV2(Aws::String &&value)
AssociateHostedConnectionResult & WithLocation(const Aws::String &value)
AssociateHostedConnectionResult & WithLagId(const char *value)
AssociateHostedConnectionResult & WithTags(Aws::Vector< Tag > &&value)
AssociateHostedConnectionResult & WithAwsDeviceV2(const Aws::String &value)
AssociateHostedConnectionResult & WithAwsLogicalDeviceId(const Aws::String &value)
AssociateHostedConnectionResult & WithLoaIssueTime(Aws::Utils::DateTime &&value)
AssociateHostedConnectionResult & WithRegion(const char *value)
AssociateHostedConnectionResult & WithRegion(Aws::String &&value)
AssociateHostedConnectionResult & WithLocation(Aws::String &&value)
AssociateHostedConnectionResult & WithConnectionId(Aws::String &&value)
AssociateHostedConnectionResult & WithOwnerAccount(const char *value)
AssociateHostedConnectionResult & WithEncryptionMode(Aws::String &&value)
AssociateHostedConnectionResult & WithPartnerName(Aws::String &&value)
AssociateHostedConnectionResult & WithProviderName(const Aws::String &value)
AssociateHostedConnectionResult & WithPartnerName(const char *value)
AssociateHostedConnectionResult & AddMacSecKeys(MacSecKey &&value)
AssociateHostedConnectionResult & WithAwsDevice(const Aws::String &value)
AssociateHostedConnectionResult & WithRegion(const Aws::String &value)
AssociateHostedConnectionResult & WithAwsLogicalDeviceId(Aws::String &&value)
AssociateHostedConnectionResult & WithEncryptionMode(const Aws::String &value)
AWS_DIRECTCONNECT_API AssociateHostedConnectionResult(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
AssociateHostedConnectionResult & WithProviderName(Aws::String &&value)
AssociateHostedConnectionResult & AddTags(const Tag &value)
AssociateHostedConnectionResult & WithBandwidth(Aws::String &&value)
AssociateHostedConnectionResult & WithPortEncryptionStatus(const char *value)
AssociateHostedConnectionResult & WithLoaIssueTime(const Aws::Utils::DateTime &value)
AssociateHostedConnectionResult & WithLagId(Aws::String &&value)
AssociateHostedConnectionResult & WithAwsDevice(const char *value)
AssociateHostedConnectionResult & WithConnectionName(const Aws::String &value)
AssociateHostedConnectionResult & WithRequestId(const Aws::String &value)
AssociateHostedConnectionResult & WithLagId(const Aws::String &value)
AssociateHostedConnectionResult & WithRequestId(const char *value)
AssociateHostedConnectionResult & WithHasLogicalRedundancy(const HasLogicalRedundancy &value)
AssociateHostedConnectionResult & WithMacSecKeys(Aws::Vector< MacSecKey > &&value)
AssociateHostedConnectionResult & WithConnectionName(Aws::String &&value)
AssociateHostedConnectionResult & WithOwnerAccount(Aws::String &&value)
AssociateHostedConnectionResult & WithBandwidth(const Aws::String &value)
AssociateHostedConnectionResult & WithTags(const Aws::Vector< Tag > &value)
AssociateHostedConnectionResult & WithConnectionId(const char *value)
AssociateHostedConnectionResult & WithHasLogicalRedundancy(HasLogicalRedundancy &&value)
AssociateHostedConnectionResult & WithConnectionId(const Aws::String &value)
AssociateHostedConnectionResult & WithBandwidth(const char *value)
AssociateHostedConnectionResult & WithPortEncryptionStatus(Aws::String &&value)
AssociateHostedConnectionResult & WithProviderName(const char *value)
AssociateHostedConnectionResult & WithEncryptionMode(const char *value)
AssociateHostedConnectionResult & WithConnectionName(const char *value)
AWS_DIRECTCONNECT_API AssociateHostedConnectionResult & operator=(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
AssociateHostedConnectionResult & WithConnectionState(ConnectionState &&value)
AssociateHostedConnectionResult & WithConnectionState(const ConnectionState &value)
AssociateHostedConnectionResult & WithOwnerAccount(const Aws::String &value)
AssociateHostedConnectionResult & WithRequestId(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