AWS SDK for C++

AWS SDK for C++ Version 1.11.759

Loading...
Searching...
No Matches
GetEngineStatusResult.h
1
6#pragma once
7#include <aws/core/http/HttpResponse.h>
8#include <aws/core/utils/Document.h>
9#include <aws/core/utils/memory/stl/AWSMap.h>
10#include <aws/core/utils/memory/stl/AWSString.h>
11#include <aws/neptunedata/Neptunedata_EXPORTS.h>
12#include <aws/neptunedata/model/QueryLanguageVersion.h>
13
14#include <utility>
15
16namespace Aws {
17template <typename RESULT_TYPE>
18class AmazonWebServiceResult;
19
20namespace Utils {
21namespace Json {
22class JsonValue;
23} // namespace Json
24} // namespace Utils
25namespace neptunedata {
26namespace Model {
28 public:
29 AWS_NEPTUNEDATA_API GetEngineStatusResult() = default;
32
34
40 inline const Aws::String& GetStatus() const { return m_status; }
41 template <typename StatusT = Aws::String>
42 void SetStatus(StatusT&& value) {
43 m_statusHasBeenSet = true;
44 m_status = std::forward<StatusT>(value);
45 }
46 template <typename StatusT = Aws::String>
48 SetStatus(std::forward<StatusT>(value));
49 return *this;
50 }
52
54
57 inline const Aws::String& GetStartTime() const { return m_startTime; }
58 template <typename StartTimeT = Aws::String>
59 void SetStartTime(StartTimeT&& value) {
60 m_startTimeHasBeenSet = true;
61 m_startTime = std::forward<StartTimeT>(value);
62 }
63 template <typename StartTimeT = Aws::String>
64 GetEngineStatusResult& WithStartTime(StartTimeT&& value) {
65 SetStartTime(std::forward<StartTimeT>(value));
66 return *this;
67 }
69
71
76 inline const Aws::String& GetDbEngineVersion() const { return m_dbEngineVersion; }
77 template <typename DbEngineVersionT = Aws::String>
78 void SetDbEngineVersion(DbEngineVersionT&& value) {
79 m_dbEngineVersionHasBeenSet = true;
80 m_dbEngineVersion = std::forward<DbEngineVersionT>(value);
81 }
82 template <typename DbEngineVersionT = Aws::String>
83 GetEngineStatusResult& WithDbEngineVersion(DbEngineVersionT&& value) {
84 SetDbEngineVersion(std::forward<DbEngineVersionT>(value));
85 return *this;
86 }
88
90
94 inline const Aws::String& GetRole() const { return m_role; }
95 template <typename RoleT = Aws::String>
96 void SetRole(RoleT&& value) {
97 m_roleHasBeenSet = true;
98 m_role = std::forward<RoleT>(value);
99 }
100 template <typename RoleT = Aws::String>
102 SetRole(std::forward<RoleT>(value));
103 return *this;
104 }
106
108
114 inline const Aws::String& GetDfeQueryEngine() const { return m_dfeQueryEngine; }
115 template <typename DfeQueryEngineT = Aws::String>
116 void SetDfeQueryEngine(DfeQueryEngineT&& value) {
117 m_dfeQueryEngineHasBeenSet = true;
118 m_dfeQueryEngine = std::forward<DfeQueryEngineT>(value);
119 }
120 template <typename DfeQueryEngineT = Aws::String>
121 GetEngineStatusResult& WithDfeQueryEngine(DfeQueryEngineT&& value) {
122 SetDfeQueryEngine(std::forward<DfeQueryEngineT>(value));
123 return *this;
124 }
126
128
133 inline const QueryLanguageVersion& GetGremlin() const { return m_gremlin; }
134 template <typename GremlinT = QueryLanguageVersion>
135 void SetGremlin(GremlinT&& value) {
136 m_gremlinHasBeenSet = true;
137 m_gremlin = std::forward<GremlinT>(value);
138 }
139 template <typename GremlinT = QueryLanguageVersion>
141 SetGremlin(std::forward<GremlinT>(value));
142 return *this;
143 }
145
147
152 inline const QueryLanguageVersion& GetSparql() const { return m_sparql; }
153 template <typename SparqlT = QueryLanguageVersion>
154 void SetSparql(SparqlT&& value) {
155 m_sparqlHasBeenSet = true;
156 m_sparql = std::forward<SparqlT>(value);
157 }
158 template <typename SparqlT = QueryLanguageVersion>
160 SetSparql(std::forward<SparqlT>(value));
161 return *this;
162 }
164
166
171 inline const QueryLanguageVersion& GetOpencypher() const { return m_opencypher; }
172 template <typename OpencypherT = QueryLanguageVersion>
173 void SetOpencypher(OpencypherT&& value) {
174 m_opencypherHasBeenSet = true;
175 m_opencypher = std::forward<OpencypherT>(value);
176 }
177 template <typename OpencypherT = QueryLanguageVersion>
178 GetEngineStatusResult& WithOpencypher(OpencypherT&& value) {
179 SetOpencypher(std::forward<OpencypherT>(value));
180 return *this;
181 }
183
185
188 inline const Aws::Map<Aws::String, Aws::String>& GetLabMode() const { return m_labMode; }
189 template <typename LabModeT = Aws::Map<Aws::String, Aws::String>>
190 void SetLabMode(LabModeT&& value) {
191 m_labModeHasBeenSet = true;
192 m_labMode = std::forward<LabModeT>(value);
193 }
194 template <typename LabModeT = Aws::Map<Aws::String, Aws::String>>
196 SetLabMode(std::forward<LabModeT>(value));
197 return *this;
198 }
199 template <typename LabModeKeyT = Aws::String, typename LabModeValueT = Aws::String>
200 GetEngineStatusResult& AddLabMode(LabModeKeyT&& key, LabModeValueT&& value) {
201 m_labModeHasBeenSet = true;
202 m_labMode.emplace(std::forward<LabModeKeyT>(key), std::forward<LabModeValueT>(value));
203 return *this;
204 }
206
208
212 inline int GetRollingBackTrxCount() const { return m_rollingBackTrxCount; }
213 inline void SetRollingBackTrxCount(int value) {
214 m_rollingBackTrxCountHasBeenSet = true;
215 m_rollingBackTrxCount = value;
216 }
219 return *this;
220 }
222
224
228 inline const Aws::String& GetRollingBackTrxEarliestStartTime() const { return m_rollingBackTrxEarliestStartTime; }
229 template <typename RollingBackTrxEarliestStartTimeT = Aws::String>
230 void SetRollingBackTrxEarliestStartTime(RollingBackTrxEarliestStartTimeT&& value) {
231 m_rollingBackTrxEarliestStartTimeHasBeenSet = true;
232 m_rollingBackTrxEarliestStartTime = std::forward<RollingBackTrxEarliestStartTimeT>(value);
233 }
234 template <typename RollingBackTrxEarliestStartTimeT = Aws::String>
235 GetEngineStatusResult& WithRollingBackTrxEarliestStartTime(RollingBackTrxEarliestStartTimeT&& value) {
236 SetRollingBackTrxEarliestStartTime(std::forward<RollingBackTrxEarliestStartTimeT>(value));
237 return *this;
238 }
240
242
246 inline const Aws::Map<Aws::String, Aws::Utils::Document>& GetFeatures() const { return m_features; }
247 template <typename FeaturesT = Aws::Map<Aws::String, Aws::Utils::Document>>
248 void SetFeatures(FeaturesT&& value) {
249 m_featuresHasBeenSet = true;
250 m_features = std::forward<FeaturesT>(value);
251 }
252 template <typename FeaturesT = Aws::Map<Aws::String, Aws::Utils::Document>>
254 SetFeatures(std::forward<FeaturesT>(value));
255 return *this;
256 }
257 template <typename FeaturesKeyT = Aws::String, typename FeaturesValueT = Aws::Utils::Document>
258 GetEngineStatusResult& AddFeatures(FeaturesKeyT&& key, FeaturesValueT&& value) {
259 m_featuresHasBeenSet = true;
260 m_features.emplace(std::forward<FeaturesKeyT>(key), std::forward<FeaturesValueT>(value));
261 return *this;
262 }
264
266
271 inline const Aws::Map<Aws::String, Aws::String>& GetSettings() const { return m_settings; }
272 template <typename SettingsT = Aws::Map<Aws::String, Aws::String>>
273 void SetSettings(SettingsT&& value) {
274 m_settingsHasBeenSet = true;
275 m_settings = std::forward<SettingsT>(value);
276 }
277 template <typename SettingsT = Aws::Map<Aws::String, Aws::String>>
279 SetSettings(std::forward<SettingsT>(value));
280 return *this;
281 }
282 template <typename SettingsKeyT = Aws::String, typename SettingsValueT = Aws::String>
283 GetEngineStatusResult& AddSettings(SettingsKeyT&& key, SettingsValueT&& value) {
284 m_settingsHasBeenSet = true;
285 m_settings.emplace(std::forward<SettingsKeyT>(key), std::forward<SettingsValueT>(value));
286 return *this;
287 }
289
291
292 inline const Aws::String& GetRequestId() const { return m_requestId; }
293 template <typename RequestIdT = Aws::String>
294 void SetRequestId(RequestIdT&& value) {
295 m_requestIdHasBeenSet = true;
296 m_requestId = std::forward<RequestIdT>(value);
297 }
298 template <typename RequestIdT = Aws::String>
300 SetRequestId(std::forward<RequestIdT>(value));
301 return *this;
302 }
304 inline Aws::Http::HttpResponseCode GetHttpResponseCode() const { return m_HttpResponseCode; }
305
306 private:
307 Aws::String m_status;
308
309 Aws::String m_startTime;
310
311 Aws::String m_dbEngineVersion;
312
313 Aws::String m_role;
314
315 Aws::String m_dfeQueryEngine;
316
317 QueryLanguageVersion m_gremlin;
318
319 QueryLanguageVersion m_sparql;
320
321 QueryLanguageVersion m_opencypher;
322
324
325 int m_rollingBackTrxCount{0};
326
327 Aws::String m_rollingBackTrxEarliestStartTime;
328
330
332
333 Aws::String m_requestId;
334 Aws::Http::HttpResponseCode m_HttpResponseCode;
335 bool m_statusHasBeenSet = false;
336 bool m_startTimeHasBeenSet = false;
337 bool m_dbEngineVersionHasBeenSet = false;
338 bool m_roleHasBeenSet = false;
339 bool m_dfeQueryEngineHasBeenSet = false;
340 bool m_gremlinHasBeenSet = false;
341 bool m_sparqlHasBeenSet = false;
342 bool m_opencypherHasBeenSet = false;
343 bool m_labModeHasBeenSet = false;
344 bool m_rollingBackTrxCountHasBeenSet = false;
345 bool m_rollingBackTrxEarliestStartTimeHasBeenSet = false;
346 bool m_featuresHasBeenSet = false;
347 bool m_settingsHasBeenSet = false;
348 bool m_requestIdHasBeenSet = false;
349};
350
351} // namespace Model
352} // namespace neptunedata
353} // namespace Aws
Aws::Http::HttpResponseCode GetHttpResponseCode() const
const QueryLanguageVersion & GetOpencypher() const
const QueryLanguageVersion & GetGremlin() const
GetEngineStatusResult & WithDbEngineVersion(DbEngineVersionT &&value)
GetEngineStatusResult & WithStatus(StatusT &&value)
const QueryLanguageVersion & GetSparql() const
GetEngineStatusResult & WithRollingBackTrxCount(int value)
const Aws::String & GetRollingBackTrxEarliestStartTime() const
GetEngineStatusResult & WithRole(RoleT &&value)
GetEngineStatusResult & WithSparql(SparqlT &&value)
GetEngineStatusResult & WithOpencypher(OpencypherT &&value)
GetEngineStatusResult & WithRollingBackTrxEarliestStartTime(RollingBackTrxEarliestStartTimeT &&value)
GetEngineStatusResult & WithGremlin(GremlinT &&value)
GetEngineStatusResult & AddLabMode(LabModeKeyT &&key, LabModeValueT &&value)
GetEngineStatusResult & WithRequestId(RequestIdT &&value)
void SetRollingBackTrxEarliestStartTime(RollingBackTrxEarliestStartTimeT &&value)
GetEngineStatusResult & WithDfeQueryEngine(DfeQueryEngineT &&value)
const Aws::Map< Aws::String, Aws::String > & GetSettings() const
const Aws::Map< Aws::String, Aws::String > & GetLabMode() const
GetEngineStatusResult & WithLabMode(LabModeT &&value)
AWS_NEPTUNEDATA_API GetEngineStatusResult()=default
GetEngineStatusResult & WithSettings(SettingsT &&value)
AWS_NEPTUNEDATA_API GetEngineStatusResult & operator=(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
GetEngineStatusResult & AddFeatures(FeaturesKeyT &&key, FeaturesValueT &&value)
const Aws::Map< Aws::String, Aws::Utils::Document > & GetFeatures() const
GetEngineStatusResult & WithStartTime(StartTimeT &&value)
AWS_NEPTUNEDATA_API GetEngineStatusResult(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
GetEngineStatusResult & AddSettings(SettingsKeyT &&key, SettingsValueT &&value)
GetEngineStatusResult & WithFeatures(FeaturesT &&value)
std::map< K, V, std::less< K >, Aws::Allocator< std::pair< const K, V > > > Map
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue