AWS SDK for C++

AWS SDK for C++ Version 1.11.607

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() = default;
43
44
46
49 inline const Aws::String& GetInterconnectId() const { return m_interconnectId; }
50 template<typename InterconnectIdT = Aws::String>
51 void SetInterconnectId(InterconnectIdT&& value) { m_interconnectIdHasBeenSet = true; m_interconnectId = std::forward<InterconnectIdT>(value); }
52 template<typename InterconnectIdT = Aws::String>
53 CreateInterconnectResult& WithInterconnectId(InterconnectIdT&& value) { SetInterconnectId(std::forward<InterconnectIdT>(value)); return *this;}
55
57
60 inline const Aws::String& GetInterconnectName() const { return m_interconnectName; }
61 template<typename InterconnectNameT = Aws::String>
62 void SetInterconnectName(InterconnectNameT&& value) { m_interconnectNameHasBeenSet = true; m_interconnectName = std::forward<InterconnectNameT>(value); }
63 template<typename InterconnectNameT = Aws::String>
64 CreateInterconnectResult& WithInterconnectName(InterconnectNameT&& value) { SetInterconnectName(std::forward<InterconnectNameT>(value)); return *this;}
66
68
81 inline InterconnectState GetInterconnectState() const { return m_interconnectState; }
82 inline void SetInterconnectState(InterconnectState value) { m_interconnectStateHasBeenSet = true; m_interconnectState = value; }
85
87
90 inline const Aws::String& GetRegion() const { return m_region; }
91 template<typename RegionT = Aws::String>
92 void SetRegion(RegionT&& value) { m_regionHasBeenSet = true; m_region = std::forward<RegionT>(value); }
93 template<typename RegionT = Aws::String>
94 CreateInterconnectResult& WithRegion(RegionT&& value) { SetRegion(std::forward<RegionT>(value)); return *this;}
96
98
101 inline const Aws::String& GetLocation() const { return m_location; }
102 template<typename LocationT = Aws::String>
103 void SetLocation(LocationT&& value) { m_locationHasBeenSet = true; m_location = std::forward<LocationT>(value); }
104 template<typename LocationT = Aws::String>
105 CreateInterconnectResult& WithLocation(LocationT&& value) { SetLocation(std::forward<LocationT>(value)); return *this;}
107
109
112 inline const Aws::String& GetBandwidth() const { return m_bandwidth; }
113 template<typename BandwidthT = Aws::String>
114 void SetBandwidth(BandwidthT&& value) { m_bandwidthHasBeenSet = true; m_bandwidth = std::forward<BandwidthT>(value); }
115 template<typename BandwidthT = Aws::String>
116 CreateInterconnectResult& WithBandwidth(BandwidthT&& value) { SetBandwidth(std::forward<BandwidthT>(value)); return *this;}
118
120
124 inline const Aws::Utils::DateTime& GetLoaIssueTime() const { return m_loaIssueTime; }
125 template<typename LoaIssueTimeT = Aws::Utils::DateTime>
126 void SetLoaIssueTime(LoaIssueTimeT&& value) { m_loaIssueTimeHasBeenSet = true; m_loaIssueTime = std::forward<LoaIssueTimeT>(value); }
127 template<typename LoaIssueTimeT = Aws::Utils::DateTime>
128 CreateInterconnectResult& WithLoaIssueTime(LoaIssueTimeT&& value) { SetLoaIssueTime(std::forward<LoaIssueTimeT>(value)); return *this;}
130
132
135 inline const Aws::String& GetLagId() const { return m_lagId; }
136 template<typename LagIdT = Aws::String>
137 void SetLagId(LagIdT&& value) { m_lagIdHasBeenSet = true; m_lagId = std::forward<LagIdT>(value); }
138 template<typename LagIdT = Aws::String>
139 CreateInterconnectResult& WithLagId(LagIdT&& value) { SetLagId(std::forward<LagIdT>(value)); return *this;}
141
143
146 inline const Aws::String& GetAwsDevice() const { return m_awsDevice; }
147 template<typename AwsDeviceT = Aws::String>
148 void SetAwsDevice(AwsDeviceT&& value) { m_awsDeviceHasBeenSet = true; m_awsDevice = std::forward<AwsDeviceT>(value); }
149 template<typename AwsDeviceT = Aws::String>
150 CreateInterconnectResult& WithAwsDevice(AwsDeviceT&& value) { SetAwsDevice(std::forward<AwsDeviceT>(value)); return *this;}
152
154
157 inline bool GetJumboFrameCapable() const { return m_jumboFrameCapable; }
158 inline void SetJumboFrameCapable(bool value) { m_jumboFrameCapableHasBeenSet = true; m_jumboFrameCapable = value; }
159 inline CreateInterconnectResult& WithJumboFrameCapable(bool value) { SetJumboFrameCapable(value); return *this;}
161
163
166 inline const Aws::String& GetAwsDeviceV2() const { return m_awsDeviceV2; }
167 template<typename AwsDeviceV2T = Aws::String>
168 void SetAwsDeviceV2(AwsDeviceV2T&& value) { m_awsDeviceV2HasBeenSet = true; m_awsDeviceV2 = std::forward<AwsDeviceV2T>(value); }
169 template<typename AwsDeviceV2T = Aws::String>
170 CreateInterconnectResult& WithAwsDeviceV2(AwsDeviceV2T&& value) { SetAwsDeviceV2(std::forward<AwsDeviceV2T>(value)); return *this;}
172
174
179 inline const Aws::String& GetAwsLogicalDeviceId() const { return m_awsLogicalDeviceId; }
180 template<typename AwsLogicalDeviceIdT = Aws::String>
181 void SetAwsLogicalDeviceId(AwsLogicalDeviceIdT&& value) { m_awsLogicalDeviceIdHasBeenSet = true; m_awsLogicalDeviceId = std::forward<AwsLogicalDeviceIdT>(value); }
182 template<typename AwsLogicalDeviceIdT = Aws::String>
183 CreateInterconnectResult& WithAwsLogicalDeviceId(AwsLogicalDeviceIdT&& value) { SetAwsLogicalDeviceId(std::forward<AwsLogicalDeviceIdT>(value)); return *this;}
185
187
191 inline HasLogicalRedundancy GetHasLogicalRedundancy() const { return m_hasLogicalRedundancy; }
192 inline void SetHasLogicalRedundancy(HasLogicalRedundancy value) { m_hasLogicalRedundancyHasBeenSet = true; m_hasLogicalRedundancy = value; }
195
197
200 inline const Aws::Vector<Tag>& GetTags() const { return m_tags; }
201 template<typename TagsT = Aws::Vector<Tag>>
202 void SetTags(TagsT&& value) { m_tagsHasBeenSet = true; m_tags = std::forward<TagsT>(value); }
203 template<typename TagsT = Aws::Vector<Tag>>
204 CreateInterconnectResult& WithTags(TagsT&& value) { SetTags(std::forward<TagsT>(value)); return *this;}
205 template<typename TagsT = Tag>
206 CreateInterconnectResult& AddTags(TagsT&& value) { m_tagsHasBeenSet = true; m_tags.emplace_back(std::forward<TagsT>(value)); return *this; }
208
210
213 inline const Aws::String& GetProviderName() const { return m_providerName; }
214 template<typename ProviderNameT = Aws::String>
215 void SetProviderName(ProviderNameT&& value) { m_providerNameHasBeenSet = true; m_providerName = std::forward<ProviderNameT>(value); }
216 template<typename ProviderNameT = Aws::String>
217 CreateInterconnectResult& WithProviderName(ProviderNameT&& value) { SetProviderName(std::forward<ProviderNameT>(value)); return *this;}
219
221
222 inline const Aws::String& GetRequestId() const { return m_requestId; }
223 template<typename RequestIdT = Aws::String>
224 void SetRequestId(RequestIdT&& value) { m_requestIdHasBeenSet = true; m_requestId = std::forward<RequestIdT>(value); }
225 template<typename RequestIdT = Aws::String>
226 CreateInterconnectResult& WithRequestId(RequestIdT&& value) { SetRequestId(std::forward<RequestIdT>(value)); return *this;}
228 private:
229
230 Aws::String m_interconnectId;
231 bool m_interconnectIdHasBeenSet = false;
232
233 Aws::String m_interconnectName;
234 bool m_interconnectNameHasBeenSet = false;
235
237 bool m_interconnectStateHasBeenSet = false;
238
239 Aws::String m_region;
240 bool m_regionHasBeenSet = false;
241
242 Aws::String m_location;
243 bool m_locationHasBeenSet = false;
244
245 Aws::String m_bandwidth;
246 bool m_bandwidthHasBeenSet = false;
247
248 Aws::Utils::DateTime m_loaIssueTime{};
249 bool m_loaIssueTimeHasBeenSet = false;
250
251 Aws::String m_lagId;
252 bool m_lagIdHasBeenSet = false;
253
254 Aws::String m_awsDevice;
255 bool m_awsDeviceHasBeenSet = false;
256
257 bool m_jumboFrameCapable{false};
258 bool m_jumboFrameCapableHasBeenSet = false;
259
260 Aws::String m_awsDeviceV2;
261 bool m_awsDeviceV2HasBeenSet = false;
262
263 Aws::String m_awsLogicalDeviceId;
264 bool m_awsLogicalDeviceIdHasBeenSet = false;
265
267 bool m_hasLogicalRedundancyHasBeenSet = false;
268
269 Aws::Vector<Tag> m_tags;
270 bool m_tagsHasBeenSet = false;
271
272 Aws::String m_providerName;
273 bool m_providerNameHasBeenSet = false;
274
275 Aws::String m_requestId;
276 bool m_requestIdHasBeenSet = false;
277 };
278
279} // namespace Model
280} // namespace DirectConnect
281} // namespace Aws
CreateInterconnectResult & WithAwsDevice(AwsDeviceT &&value)
CreateInterconnectResult & WithRequestId(RequestIdT &&value)
CreateInterconnectResult & WithInterconnectState(InterconnectState value)
CreateInterconnectResult & WithLagId(LagIdT &&value)
CreateInterconnectResult & WithProviderName(ProviderNameT &&value)
AWS_DIRECTCONNECT_API CreateInterconnectResult()=default
CreateInterconnectResult & WithBandwidth(BandwidthT &&value)
CreateInterconnectResult & WithTags(TagsT &&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 & 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