AWS SDK for C++

AWS SDK for C++ Version 1.11.440

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 <utility>
15
16namespace Aws
17{
18template<typename RESULT_TYPE>
19class AmazonWebServiceResult;
20
21namespace Utils
22{
23namespace Json
24{
25 class JsonValue;
26} // namespace Json
27} // namespace Utils
28namespace DirectConnect
29{
30namespace Model
31{
38 {
39 public:
40 AWS_DIRECTCONNECT_API CreateInterconnectResult();
43
44
46
49 inline const Aws::String& GetInterconnectId() const{ return m_interconnectId; }
50 inline void SetInterconnectId(const Aws::String& value) { m_interconnectId = value; }
51 inline void SetInterconnectId(Aws::String&& value) { m_interconnectId = std::move(value); }
52 inline void SetInterconnectId(const char* value) { m_interconnectId.assign(value); }
53 inline CreateInterconnectResult& WithInterconnectId(const Aws::String& value) { SetInterconnectId(value); return *this;}
54 inline CreateInterconnectResult& WithInterconnectId(Aws::String&& value) { SetInterconnectId(std::move(value)); return *this;}
55 inline CreateInterconnectResult& WithInterconnectId(const char* value) { SetInterconnectId(value); return *this;}
57
59
62 inline const Aws::String& GetInterconnectName() const{ return m_interconnectName; }
63 inline void SetInterconnectName(const Aws::String& value) { m_interconnectName = value; }
64 inline void SetInterconnectName(Aws::String&& value) { m_interconnectName = std::move(value); }
65 inline void SetInterconnectName(const char* value) { m_interconnectName.assign(value); }
67 inline CreateInterconnectResult& WithInterconnectName(Aws::String&& value) { SetInterconnectName(std::move(value)); return *this;}
68 inline CreateInterconnectResult& WithInterconnectName(const char* value) { SetInterconnectName(value); return *this;}
70
72
85 inline const InterconnectState& GetInterconnectState() const{ return m_interconnectState; }
86 inline void SetInterconnectState(const InterconnectState& value) { m_interconnectState = value; }
87 inline void SetInterconnectState(InterconnectState&& value) { m_interconnectState = std::move(value); }
89 inline CreateInterconnectResult& WithInterconnectState(InterconnectState&& value) { SetInterconnectState(std::move(value)); return *this;}
91
93
96 inline const Aws::String& GetRegion() const{ return m_region; }
97 inline void SetRegion(const Aws::String& value) { m_region = value; }
98 inline void SetRegion(Aws::String&& value) { m_region = std::move(value); }
99 inline void SetRegion(const char* value) { m_region.assign(value); }
100 inline CreateInterconnectResult& WithRegion(const Aws::String& value) { SetRegion(value); return *this;}
101 inline CreateInterconnectResult& WithRegion(Aws::String&& value) { SetRegion(std::move(value)); return *this;}
102 inline CreateInterconnectResult& WithRegion(const char* value) { SetRegion(value); return *this;}
104
106
109 inline const Aws::String& GetLocation() const{ return m_location; }
110 inline void SetLocation(const Aws::String& value) { m_location = value; }
111 inline void SetLocation(Aws::String&& value) { m_location = std::move(value); }
112 inline void SetLocation(const char* value) { m_location.assign(value); }
113 inline CreateInterconnectResult& WithLocation(const Aws::String& value) { SetLocation(value); return *this;}
114 inline CreateInterconnectResult& WithLocation(Aws::String&& value) { SetLocation(std::move(value)); return *this;}
115 inline CreateInterconnectResult& WithLocation(const char* value) { SetLocation(value); return *this;}
117
119
122 inline const Aws::String& GetBandwidth() const{ return m_bandwidth; }
123 inline void SetBandwidth(const Aws::String& value) { m_bandwidth = value; }
124 inline void SetBandwidth(Aws::String&& value) { m_bandwidth = std::move(value); }
125 inline void SetBandwidth(const char* value) { m_bandwidth.assign(value); }
126 inline CreateInterconnectResult& WithBandwidth(const Aws::String& value) { SetBandwidth(value); return *this;}
127 inline CreateInterconnectResult& WithBandwidth(Aws::String&& value) { SetBandwidth(std::move(value)); return *this;}
128 inline CreateInterconnectResult& WithBandwidth(const char* value) { SetBandwidth(value); return *this;}
130
132
136 inline const Aws::Utils::DateTime& GetLoaIssueTime() const{ return m_loaIssueTime; }
137 inline void SetLoaIssueTime(const Aws::Utils::DateTime& value) { m_loaIssueTime = value; }
138 inline void SetLoaIssueTime(Aws::Utils::DateTime&& value) { m_loaIssueTime = std::move(value); }
140 inline CreateInterconnectResult& WithLoaIssueTime(Aws::Utils::DateTime&& value) { SetLoaIssueTime(std::move(value)); return *this;}
142
144
147 inline const Aws::String& GetLagId() const{ return m_lagId; }
148 inline void SetLagId(const Aws::String& value) { m_lagId = value; }
149 inline void SetLagId(Aws::String&& value) { m_lagId = std::move(value); }
150 inline void SetLagId(const char* value) { m_lagId.assign(value); }
151 inline CreateInterconnectResult& WithLagId(const Aws::String& value) { SetLagId(value); return *this;}
152 inline CreateInterconnectResult& WithLagId(Aws::String&& value) { SetLagId(std::move(value)); return *this;}
153 inline CreateInterconnectResult& WithLagId(const char* value) { SetLagId(value); return *this;}
155
157
160 inline const Aws::String& GetAwsDevice() const{ return m_awsDevice; }
161 inline void SetAwsDevice(const Aws::String& value) { m_awsDevice = value; }
162 inline void SetAwsDevice(Aws::String&& value) { m_awsDevice = std::move(value); }
163 inline void SetAwsDevice(const char* value) { m_awsDevice.assign(value); }
164 inline CreateInterconnectResult& WithAwsDevice(const Aws::String& value) { SetAwsDevice(value); return *this;}
165 inline CreateInterconnectResult& WithAwsDevice(Aws::String&& value) { SetAwsDevice(std::move(value)); return *this;}
166 inline CreateInterconnectResult& WithAwsDevice(const char* value) { SetAwsDevice(value); return *this;}
168
170
173 inline bool GetJumboFrameCapable() const{ return m_jumboFrameCapable; }
174 inline void SetJumboFrameCapable(bool value) { m_jumboFrameCapable = value; }
175 inline CreateInterconnectResult& WithJumboFrameCapable(bool value) { SetJumboFrameCapable(value); return *this;}
177
179
182 inline const Aws::String& GetAwsDeviceV2() const{ return m_awsDeviceV2; }
183 inline void SetAwsDeviceV2(const Aws::String& value) { m_awsDeviceV2 = value; }
184 inline void SetAwsDeviceV2(Aws::String&& value) { m_awsDeviceV2 = std::move(value); }
185 inline void SetAwsDeviceV2(const char* value) { m_awsDeviceV2.assign(value); }
186 inline CreateInterconnectResult& WithAwsDeviceV2(const Aws::String& value) { SetAwsDeviceV2(value); return *this;}
187 inline CreateInterconnectResult& WithAwsDeviceV2(Aws::String&& value) { SetAwsDeviceV2(std::move(value)); return *this;}
188 inline CreateInterconnectResult& WithAwsDeviceV2(const char* value) { SetAwsDeviceV2(value); return *this;}
190
192
197 inline const Aws::String& GetAwsLogicalDeviceId() const{ return m_awsLogicalDeviceId; }
198 inline void SetAwsLogicalDeviceId(const Aws::String& value) { m_awsLogicalDeviceId = value; }
199 inline void SetAwsLogicalDeviceId(Aws::String&& value) { m_awsLogicalDeviceId = std::move(value); }
200 inline void SetAwsLogicalDeviceId(const char* value) { m_awsLogicalDeviceId.assign(value); }
202 inline CreateInterconnectResult& WithAwsLogicalDeviceId(Aws::String&& value) { SetAwsLogicalDeviceId(std::move(value)); return *this;}
203 inline CreateInterconnectResult& WithAwsLogicalDeviceId(const char* value) { SetAwsLogicalDeviceId(value); return *this;}
205
207
211 inline const HasLogicalRedundancy& GetHasLogicalRedundancy() const{ return m_hasLogicalRedundancy; }
212 inline void SetHasLogicalRedundancy(const HasLogicalRedundancy& value) { m_hasLogicalRedundancy = value; }
213 inline void SetHasLogicalRedundancy(HasLogicalRedundancy&& value) { m_hasLogicalRedundancy = std::move(value); }
217
219
222 inline const Aws::Vector<Tag>& GetTags() const{ return m_tags; }
223 inline void SetTags(const Aws::Vector<Tag>& value) { m_tags = value; }
224 inline void SetTags(Aws::Vector<Tag>&& value) { m_tags = std::move(value); }
225 inline CreateInterconnectResult& WithTags(const Aws::Vector<Tag>& value) { SetTags(value); return *this;}
226 inline CreateInterconnectResult& WithTags(Aws::Vector<Tag>&& value) { SetTags(std::move(value)); return *this;}
227 inline CreateInterconnectResult& AddTags(const Tag& value) { m_tags.push_back(value); return *this; }
228 inline CreateInterconnectResult& AddTags(Tag&& value) { m_tags.push_back(std::move(value)); return *this; }
230
232
235 inline const Aws::String& GetProviderName() const{ return m_providerName; }
236 inline void SetProviderName(const Aws::String& value) { m_providerName = value; }
237 inline void SetProviderName(Aws::String&& value) { m_providerName = std::move(value); }
238 inline void SetProviderName(const char* value) { m_providerName.assign(value); }
239 inline CreateInterconnectResult& WithProviderName(const Aws::String& value) { SetProviderName(value); return *this;}
240 inline CreateInterconnectResult& WithProviderName(Aws::String&& value) { SetProviderName(std::move(value)); return *this;}
241 inline CreateInterconnectResult& WithProviderName(const char* value) { SetProviderName(value); return *this;}
243
245
246 inline const Aws::String& GetRequestId() const{ return m_requestId; }
247 inline void SetRequestId(const Aws::String& value) { m_requestId = value; }
248 inline void SetRequestId(Aws::String&& value) { m_requestId = std::move(value); }
249 inline void SetRequestId(const char* value) { m_requestId.assign(value); }
250 inline CreateInterconnectResult& WithRequestId(const Aws::String& value) { SetRequestId(value); return *this;}
251 inline CreateInterconnectResult& WithRequestId(Aws::String&& value) { SetRequestId(std::move(value)); return *this;}
252 inline CreateInterconnectResult& WithRequestId(const char* value) { SetRequestId(value); return *this;}
254 private:
255
256 Aws::String m_interconnectId;
257
258 Aws::String m_interconnectName;
259
260 InterconnectState m_interconnectState;
261
262 Aws::String m_region;
263
264 Aws::String m_location;
265
266 Aws::String m_bandwidth;
267
268 Aws::Utils::DateTime m_loaIssueTime;
269
270 Aws::String m_lagId;
271
272 Aws::String m_awsDevice;
273
274 bool m_jumboFrameCapable;
275
276 Aws::String m_awsDeviceV2;
277
278 Aws::String m_awsLogicalDeviceId;
279
280 HasLogicalRedundancy m_hasLogicalRedundancy;
281
282 Aws::Vector<Tag> m_tags;
283
284 Aws::String m_providerName;
285
286 Aws::String m_requestId;
287 };
288
289} // namespace Model
290} // namespace DirectConnect
291} // namespace Aws
CreateInterconnectResult & WithInterconnectId(const Aws::String &value)
CreateInterconnectResult & WithAwsDeviceV2(const Aws::String &value)
CreateInterconnectResult & WithLagId(const Aws::String &value)
void SetHasLogicalRedundancy(const HasLogicalRedundancy &value)
CreateInterconnectResult & WithInterconnectName(const char *value)
CreateInterconnectResult & WithInterconnectName(Aws::String &&value)
CreateInterconnectResult & WithProviderName(Aws::String &&value)
CreateInterconnectResult & WithAwsDevice(const Aws::String &value)
CreateInterconnectResult & WithRegion(Aws::String &&value)
CreateInterconnectResult & WithLoaIssueTime(Aws::Utils::DateTime &&value)
CreateInterconnectResult & WithProviderName(const char *value)
CreateInterconnectResult & WithBandwidth(Aws::String &&value)
CreateInterconnectResult & WithRegion(const char *value)
CreateInterconnectResult & WithInterconnectState(const InterconnectState &value)
const HasLogicalRedundancy & GetHasLogicalRedundancy() const
CreateInterconnectResult & WithInterconnectName(const Aws::String &value)
CreateInterconnectResult & WithInterconnectId(const char *value)
CreateInterconnectResult & WithLocation(const Aws::String &value)
AWS_DIRECTCONNECT_API CreateInterconnectResult(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
CreateInterconnectResult & WithLagId(const char *value)
CreateInterconnectResult & WithAwsDeviceV2(const char *value)
CreateInterconnectResult & WithBandwidth(const char *value)
void SetInterconnectState(const InterconnectState &value)
CreateInterconnectResult & WithAwsDevice(Aws::String &&value)
CreateInterconnectResult & WithTags(const Aws::Vector< Tag > &value)
AWS_DIRECTCONNECT_API CreateInterconnectResult & operator=(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
CreateInterconnectResult & WithInterconnectState(InterconnectState &&value)
CreateInterconnectResult & WithProviderName(const Aws::String &value)
CreateInterconnectResult & WithRequestId(const Aws::String &value)
CreateInterconnectResult & WithTags(Aws::Vector< Tag > &&value)
CreateInterconnectResult & WithLagId(Aws::String &&value)
CreateInterconnectResult & WithRegion(const Aws::String &value)
CreateInterconnectResult & WithBandwidth(const Aws::String &value)
CreateInterconnectResult & WithAwsLogicalDeviceId(Aws::String &&value)
CreateInterconnectResult & WithAwsDeviceV2(Aws::String &&value)
CreateInterconnectResult & WithJumboFrameCapable(bool value)
CreateInterconnectResult & WithLocation(Aws::String &&value)
CreateInterconnectResult & AddTags(const Tag &value)
CreateInterconnectResult & WithAwsLogicalDeviceId(const char *value)
CreateInterconnectResult & WithHasLogicalRedundancy(const HasLogicalRedundancy &value)
CreateInterconnectResult & WithLocation(const char *value)
CreateInterconnectResult & WithAwsLogicalDeviceId(const Aws::String &value)
CreateInterconnectResult & WithHasLogicalRedundancy(HasLogicalRedundancy &&value)
void SetLoaIssueTime(const Aws::Utils::DateTime &value)
CreateInterconnectResult & WithInterconnectId(Aws::String &&value)
CreateInterconnectResult & WithAwsDevice(const char *value)
CreateInterconnectResult & WithRequestId(const char *value)
CreateInterconnectResult & WithLoaIssueTime(const Aws::Utils::DateTime &value)
CreateInterconnectResult & 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