AWS SDK for C++

AWS SDK for C++ Version 1.11.613

Loading...
Searching...
No Matches
CreateInterconnectResult.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/InterconnectState.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 CreateInterconnectResult() = default;
44
45
47
50 inline const Aws::String& GetInterconnectId() const { return m_interconnectId; }
51 template<typename InterconnectIdT = Aws::String>
52 void SetInterconnectId(InterconnectIdT&& value) { m_interconnectIdHasBeenSet = true; m_interconnectId = std::forward<InterconnectIdT>(value); }
53 template<typename InterconnectIdT = Aws::String>
54 CreateInterconnectResult& WithInterconnectId(InterconnectIdT&& value) { SetInterconnectId(std::forward<InterconnectIdT>(value)); return *this;}
56
58
61 inline const Aws::String& GetInterconnectName() const { return m_interconnectName; }
62 template<typename InterconnectNameT = Aws::String>
63 void SetInterconnectName(InterconnectNameT&& value) { m_interconnectNameHasBeenSet = true; m_interconnectName = std::forward<InterconnectNameT>(value); }
64 template<typename InterconnectNameT = Aws::String>
65 CreateInterconnectResult& WithInterconnectName(InterconnectNameT&& value) { SetInterconnectName(std::forward<InterconnectNameT>(value)); return *this;}
67
69
82 inline InterconnectState GetInterconnectState() const { return m_interconnectState; }
83 inline void SetInterconnectState(InterconnectState value) { m_interconnectStateHasBeenSet = true; m_interconnectState = value; }
86
88
91 inline const Aws::String& GetRegion() const { return m_region; }
92 template<typename RegionT = Aws::String>
93 void SetRegion(RegionT&& value) { m_regionHasBeenSet = true; m_region = std::forward<RegionT>(value); }
94 template<typename RegionT = Aws::String>
95 CreateInterconnectResult& WithRegion(RegionT&& value) { SetRegion(std::forward<RegionT>(value)); return *this;}
97
99
102 inline const Aws::String& GetLocation() const { return m_location; }
103 template<typename LocationT = Aws::String>
104 void SetLocation(LocationT&& value) { m_locationHasBeenSet = true; m_location = std::forward<LocationT>(value); }
105 template<typename LocationT = Aws::String>
106 CreateInterconnectResult& WithLocation(LocationT&& value) { SetLocation(std::forward<LocationT>(value)); return *this;}
108
110
113 inline const Aws::String& GetBandwidth() const { return m_bandwidth; }
114 template<typename BandwidthT = Aws::String>
115 void SetBandwidth(BandwidthT&& value) { m_bandwidthHasBeenSet = true; m_bandwidth = std::forward<BandwidthT>(value); }
116 template<typename BandwidthT = Aws::String>
117 CreateInterconnectResult& WithBandwidth(BandwidthT&& value) { SetBandwidth(std::forward<BandwidthT>(value)); return *this;}
119
121
125 inline const Aws::Utils::DateTime& GetLoaIssueTime() const { return m_loaIssueTime; }
126 template<typename LoaIssueTimeT = Aws::Utils::DateTime>
127 void SetLoaIssueTime(LoaIssueTimeT&& value) { m_loaIssueTimeHasBeenSet = true; m_loaIssueTime = std::forward<LoaIssueTimeT>(value); }
128 template<typename LoaIssueTimeT = Aws::Utils::DateTime>
129 CreateInterconnectResult& WithLoaIssueTime(LoaIssueTimeT&& value) { SetLoaIssueTime(std::forward<LoaIssueTimeT>(value)); return *this;}
131
133
136 inline const Aws::String& GetLagId() const { return m_lagId; }
137 template<typename LagIdT = Aws::String>
138 void SetLagId(LagIdT&& value) { m_lagIdHasBeenSet = true; m_lagId = std::forward<LagIdT>(value); }
139 template<typename LagIdT = Aws::String>
140 CreateInterconnectResult& WithLagId(LagIdT&& value) { SetLagId(std::forward<LagIdT>(value)); return *this;}
142
144
147 inline const Aws::String& GetAwsDevice() const { return m_awsDevice; }
148 template<typename AwsDeviceT = Aws::String>
149 void SetAwsDevice(AwsDeviceT&& value) { m_awsDeviceHasBeenSet = true; m_awsDevice = std::forward<AwsDeviceT>(value); }
150 template<typename AwsDeviceT = Aws::String>
151 CreateInterconnectResult& WithAwsDevice(AwsDeviceT&& value) { SetAwsDevice(std::forward<AwsDeviceT>(value)); return *this;}
153
155
158 inline bool GetJumboFrameCapable() const { return m_jumboFrameCapable; }
159 inline void SetJumboFrameCapable(bool value) { m_jumboFrameCapableHasBeenSet = true; m_jumboFrameCapable = value; }
160 inline CreateInterconnectResult& WithJumboFrameCapable(bool value) { SetJumboFrameCapable(value); return *this;}
162
164
167 inline const Aws::String& GetAwsDeviceV2() const { return m_awsDeviceV2; }
168 template<typename AwsDeviceV2T = Aws::String>
169 void SetAwsDeviceV2(AwsDeviceV2T&& value) { m_awsDeviceV2HasBeenSet = true; m_awsDeviceV2 = std::forward<AwsDeviceV2T>(value); }
170 template<typename AwsDeviceV2T = Aws::String>
171 CreateInterconnectResult& WithAwsDeviceV2(AwsDeviceV2T&& value) { SetAwsDeviceV2(std::forward<AwsDeviceV2T>(value)); return *this;}
173
175
180 inline const Aws::String& GetAwsLogicalDeviceId() const { return m_awsLogicalDeviceId; }
181 template<typename AwsLogicalDeviceIdT = Aws::String>
182 void SetAwsLogicalDeviceId(AwsLogicalDeviceIdT&& value) { m_awsLogicalDeviceIdHasBeenSet = true; m_awsLogicalDeviceId = std::forward<AwsLogicalDeviceIdT>(value); }
183 template<typename AwsLogicalDeviceIdT = Aws::String>
184 CreateInterconnectResult& WithAwsLogicalDeviceId(AwsLogicalDeviceIdT&& value) { SetAwsLogicalDeviceId(std::forward<AwsLogicalDeviceIdT>(value)); return *this;}
186
188
192 inline HasLogicalRedundancy GetHasLogicalRedundancy() const { return m_hasLogicalRedundancy; }
193 inline void SetHasLogicalRedundancy(HasLogicalRedundancy value) { m_hasLogicalRedundancyHasBeenSet = true; m_hasLogicalRedundancy = value; }
196
198
201 inline const Aws::Vector<Tag>& GetTags() const { return m_tags; }
202 template<typename TagsT = Aws::Vector<Tag>>
203 void SetTags(TagsT&& value) { m_tagsHasBeenSet = true; m_tags = std::forward<TagsT>(value); }
204 template<typename TagsT = Aws::Vector<Tag>>
205 CreateInterconnectResult& WithTags(TagsT&& value) { SetTags(std::forward<TagsT>(value)); return *this;}
206 template<typename TagsT = Tag>
207 CreateInterconnectResult& AddTags(TagsT&& value) { m_tagsHasBeenSet = true; m_tags.emplace_back(std::forward<TagsT>(value)); return *this; }
209
211
214 inline const Aws::String& GetProviderName() const { return m_providerName; }
215 template<typename ProviderNameT = Aws::String>
216 void SetProviderName(ProviderNameT&& value) { m_providerNameHasBeenSet = true; m_providerName = std::forward<ProviderNameT>(value); }
217 template<typename ProviderNameT = Aws::String>
218 CreateInterconnectResult& WithProviderName(ProviderNameT&& value) { SetProviderName(std::forward<ProviderNameT>(value)); return *this;}
220
222
225 inline bool GetMacSecCapable() const { return m_macSecCapable; }
226 inline void SetMacSecCapable(bool value) { m_macSecCapableHasBeenSet = true; m_macSecCapable = value; }
227 inline CreateInterconnectResult& WithMacSecCapable(bool value) { SetMacSecCapable(value); return *this;}
229
231
236 inline const Aws::String& GetPortEncryptionStatus() const { return m_portEncryptionStatus; }
237 template<typename PortEncryptionStatusT = Aws::String>
238 void SetPortEncryptionStatus(PortEncryptionStatusT&& value) { m_portEncryptionStatusHasBeenSet = true; m_portEncryptionStatus = std::forward<PortEncryptionStatusT>(value); }
239 template<typename PortEncryptionStatusT = Aws::String>
240 CreateInterconnectResult& WithPortEncryptionStatus(PortEncryptionStatusT&& value) { SetPortEncryptionStatus(std::forward<PortEncryptionStatusT>(value)); return *this;}
242
244
249 inline const Aws::String& GetEncryptionMode() const { return m_encryptionMode; }
250 template<typename EncryptionModeT = Aws::String>
251 void SetEncryptionMode(EncryptionModeT&& value) { m_encryptionModeHasBeenSet = true; m_encryptionMode = std::forward<EncryptionModeT>(value); }
252 template<typename EncryptionModeT = Aws::String>
253 CreateInterconnectResult& WithEncryptionMode(EncryptionModeT&& value) { SetEncryptionMode(std::forward<EncryptionModeT>(value)); return *this;}
255
257
260 inline const Aws::Vector<MacSecKey>& GetMacSecKeys() const { return m_macSecKeys; }
261 template<typename MacSecKeysT = Aws::Vector<MacSecKey>>
262 void SetMacSecKeys(MacSecKeysT&& value) { m_macSecKeysHasBeenSet = true; m_macSecKeys = std::forward<MacSecKeysT>(value); }
263 template<typename MacSecKeysT = Aws::Vector<MacSecKey>>
264 CreateInterconnectResult& WithMacSecKeys(MacSecKeysT&& value) { SetMacSecKeys(std::forward<MacSecKeysT>(value)); return *this;}
265 template<typename MacSecKeysT = MacSecKey>
266 CreateInterconnectResult& AddMacSecKeys(MacSecKeysT&& value) { m_macSecKeysHasBeenSet = true; m_macSecKeys.emplace_back(std::forward<MacSecKeysT>(value)); return *this; }
268
270
271 inline const Aws::String& GetRequestId() const { return m_requestId; }
272 template<typename RequestIdT = Aws::String>
273 void SetRequestId(RequestIdT&& value) { m_requestIdHasBeenSet = true; m_requestId = std::forward<RequestIdT>(value); }
274 template<typename RequestIdT = Aws::String>
275 CreateInterconnectResult& WithRequestId(RequestIdT&& value) { SetRequestId(std::forward<RequestIdT>(value)); return *this;}
277 private:
278
279 Aws::String m_interconnectId;
280 bool m_interconnectIdHasBeenSet = false;
281
282 Aws::String m_interconnectName;
283 bool m_interconnectNameHasBeenSet = false;
284
286 bool m_interconnectStateHasBeenSet = false;
287
288 Aws::String m_region;
289 bool m_regionHasBeenSet = false;
290
291 Aws::String m_location;
292 bool m_locationHasBeenSet = false;
293
294 Aws::String m_bandwidth;
295 bool m_bandwidthHasBeenSet = false;
296
297 Aws::Utils::DateTime m_loaIssueTime{};
298 bool m_loaIssueTimeHasBeenSet = false;
299
300 Aws::String m_lagId;
301 bool m_lagIdHasBeenSet = false;
302
303 Aws::String m_awsDevice;
304 bool m_awsDeviceHasBeenSet = false;
305
306 bool m_jumboFrameCapable{false};
307 bool m_jumboFrameCapableHasBeenSet = false;
308
309 Aws::String m_awsDeviceV2;
310 bool m_awsDeviceV2HasBeenSet = false;
311
312 Aws::String m_awsLogicalDeviceId;
313 bool m_awsLogicalDeviceIdHasBeenSet = false;
314
316 bool m_hasLogicalRedundancyHasBeenSet = false;
317
318 Aws::Vector<Tag> m_tags;
319 bool m_tagsHasBeenSet = false;
320
321 Aws::String m_providerName;
322 bool m_providerNameHasBeenSet = false;
323
324 bool m_macSecCapable{false};
325 bool m_macSecCapableHasBeenSet = false;
326
327 Aws::String m_portEncryptionStatus;
328 bool m_portEncryptionStatusHasBeenSet = false;
329
330 Aws::String m_encryptionMode;
331 bool m_encryptionModeHasBeenSet = false;
332
333 Aws::Vector<MacSecKey> m_macSecKeys;
334 bool m_macSecKeysHasBeenSet = false;
335
336 Aws::String m_requestId;
337 bool m_requestIdHasBeenSet = false;
338 };
339
340} // namespace Model
341} // namespace DirectConnect
342} // namespace Aws
CreateInterconnectResult & WithAwsDevice(AwsDeviceT &&value)
CreateInterconnectResult & WithEncryptionMode(EncryptionModeT &&value)
CreateInterconnectResult & WithRequestId(RequestIdT &&value)
CreateInterconnectResult & WithInterconnectState(InterconnectState value)
CreateInterconnectResult & WithLagId(LagIdT &&value)
CreateInterconnectResult & WithProviderName(ProviderNameT &&value)
CreateInterconnectResult & AddMacSecKeys(MacSecKeysT &&value)
AWS_DIRECTCONNECT_API CreateInterconnectResult()=default
CreateInterconnectResult & WithBandwidth(BandwidthT &&value)
const Aws::Vector< MacSecKey > & GetMacSecKeys() const
CreateInterconnectResult & WithTags(TagsT &&value)
CreateInterconnectResult & WithMacSecKeys(MacSecKeysT &&value)
AWS_DIRECTCONNECT_API CreateInterconnectResult(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
CreateInterconnectResult & WithHasLogicalRedundancy(HasLogicalRedundancy value)
AWS_DIRECTCONNECT_API CreateInterconnectResult & operator=(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
CreateInterconnectResult & WithAwsDeviceV2(AwsDeviceV2T &&value)
CreateInterconnectResult & WithAwsLogicalDeviceId(AwsLogicalDeviceIdT &&value)
CreateInterconnectResult & WithInterconnectId(InterconnectIdT &&value)
CreateInterconnectResult & WithRegion(RegionT &&value)
CreateInterconnectResult & WithJumboFrameCapable(bool value)
CreateInterconnectResult & AddTags(TagsT &&value)
CreateInterconnectResult & WithMacSecCapable(bool value)
CreateInterconnectResult & WithPortEncryptionStatus(PortEncryptionStatusT &&value)
CreateInterconnectResult & WithInterconnectName(InterconnectNameT &&value)
CreateInterconnectResult & WithLoaIssueTime(LoaIssueTimeT &&value)
CreateInterconnectResult & WithLocation(LocationT &&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