AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
GetMLModelResult.h
1
6#pragma once
7#include <aws/machinelearning/MachineLearning_EXPORTS.h>
8#include <aws/core/utils/memory/stl/AWSString.h>
9#include <aws/core/utils/DateTime.h>
10#include <aws/machinelearning/model/EntityStatus.h>
11#include <aws/machinelearning/model/RealtimeEndpointInfo.h>
12#include <aws/core/utils/memory/stl/AWSMap.h>
13#include <aws/machinelearning/model/MLModelType.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 MachineLearning
29{
30namespace Model
31{
39 {
40 public:
41 AWS_MACHINELEARNING_API GetMLModelResult();
44
45
47
51 inline const Aws::String& GetMLModelId() const{ return m_mLModelId; }
52 inline void SetMLModelId(const Aws::String& value) { m_mLModelId = value; }
53 inline void SetMLModelId(Aws::String&& value) { m_mLModelId = std::move(value); }
54 inline void SetMLModelId(const char* value) { m_mLModelId.assign(value); }
55 inline GetMLModelResult& WithMLModelId(const Aws::String& value) { SetMLModelId(value); return *this;}
56 inline GetMLModelResult& WithMLModelId(Aws::String&& value) { SetMLModelId(std::move(value)); return *this;}
57 inline GetMLModelResult& WithMLModelId(const char* value) { SetMLModelId(value); return *this;}
59
61
64 inline const Aws::String& GetTrainingDataSourceId() const{ return m_trainingDataSourceId; }
65 inline void SetTrainingDataSourceId(const Aws::String& value) { m_trainingDataSourceId = value; }
66 inline void SetTrainingDataSourceId(Aws::String&& value) { m_trainingDataSourceId = std::move(value); }
67 inline void SetTrainingDataSourceId(const char* value) { m_trainingDataSourceId.assign(value); }
69 inline GetMLModelResult& WithTrainingDataSourceId(Aws::String&& value) { SetTrainingDataSourceId(std::move(value)); return *this;}
70 inline GetMLModelResult& WithTrainingDataSourceId(const char* value) { SetTrainingDataSourceId(value); return *this;}
72
74
79 inline const Aws::String& GetCreatedByIamUser() const{ return m_createdByIamUser; }
80 inline void SetCreatedByIamUser(const Aws::String& value) { m_createdByIamUser = value; }
81 inline void SetCreatedByIamUser(Aws::String&& value) { m_createdByIamUser = std::move(value); }
82 inline void SetCreatedByIamUser(const char* value) { m_createdByIamUser.assign(value); }
83 inline GetMLModelResult& WithCreatedByIamUser(const Aws::String& value) { SetCreatedByIamUser(value); return *this;}
84 inline GetMLModelResult& WithCreatedByIamUser(Aws::String&& value) { SetCreatedByIamUser(std::move(value)); return *this;}
85 inline GetMLModelResult& WithCreatedByIamUser(const char* value) { SetCreatedByIamUser(value); return *this;}
87
89
93 inline const Aws::Utils::DateTime& GetCreatedAt() const{ return m_createdAt; }
94 inline void SetCreatedAt(const Aws::Utils::DateTime& value) { m_createdAt = value; }
95 inline void SetCreatedAt(Aws::Utils::DateTime&& value) { m_createdAt = std::move(value); }
96 inline GetMLModelResult& WithCreatedAt(const Aws::Utils::DateTime& value) { SetCreatedAt(value); return *this;}
97 inline GetMLModelResult& WithCreatedAt(Aws::Utils::DateTime&& value) { SetCreatedAt(std::move(value)); return *this;}
99
101
105 inline const Aws::Utils::DateTime& GetLastUpdatedAt() const{ return m_lastUpdatedAt; }
106 inline void SetLastUpdatedAt(const Aws::Utils::DateTime& value) { m_lastUpdatedAt = value; }
107 inline void SetLastUpdatedAt(Aws::Utils::DateTime&& value) { m_lastUpdatedAt = std::move(value); }
108 inline GetMLModelResult& WithLastUpdatedAt(const Aws::Utils::DateTime& value) { SetLastUpdatedAt(value); return *this;}
109 inline GetMLModelResult& WithLastUpdatedAt(Aws::Utils::DateTime&& value) { SetLastUpdatedAt(std::move(value)); return *this;}
111
113
116 inline const Aws::String& GetName() const{ return m_name; }
117 inline void SetName(const Aws::String& value) { m_name = value; }
118 inline void SetName(Aws::String&& value) { m_name = std::move(value); }
119 inline void SetName(const char* value) { m_name.assign(value); }
120 inline GetMLModelResult& WithName(const Aws::String& value) { SetName(value); return *this;}
121 inline GetMLModelResult& WithName(Aws::String&& value) { SetName(std::move(value)); return *this;}
122 inline GetMLModelResult& WithName(const char* value) { SetName(value); return *this;}
124
126
136 inline const EntityStatus& GetStatus() const{ return m_status; }
137 inline void SetStatus(const EntityStatus& value) { m_status = value; }
138 inline void SetStatus(EntityStatus&& value) { m_status = std::move(value); }
139 inline GetMLModelResult& WithStatus(const EntityStatus& value) { SetStatus(value); return *this;}
140 inline GetMLModelResult& WithStatus(EntityStatus&& value) { SetStatus(std::move(value)); return *this;}
142
144
145 inline long long GetSizeInBytes() const{ return m_sizeInBytes; }
146 inline void SetSizeInBytes(long long value) { m_sizeInBytes = value; }
147 inline GetMLModelResult& WithSizeInBytes(long long value) { SetSizeInBytes(value); return *this;}
149
151
154 inline const RealtimeEndpointInfo& GetEndpointInfo() const{ return m_endpointInfo; }
155 inline void SetEndpointInfo(const RealtimeEndpointInfo& value) { m_endpointInfo = value; }
156 inline void SetEndpointInfo(RealtimeEndpointInfo&& value) { m_endpointInfo = std::move(value); }
157 inline GetMLModelResult& WithEndpointInfo(const RealtimeEndpointInfo& value) { SetEndpointInfo(value); return *this;}
158 inline GetMLModelResult& WithEndpointInfo(RealtimeEndpointInfo&& value) { SetEndpointInfo(std::move(value)); return *this;}
160
162
194 inline const Aws::Map<Aws::String, Aws::String>& GetTrainingParameters() const{ return m_trainingParameters; }
195 inline void SetTrainingParameters(const Aws::Map<Aws::String, Aws::String>& value) { m_trainingParameters = value; }
196 inline void SetTrainingParameters(Aws::Map<Aws::String, Aws::String>&& value) { m_trainingParameters = std::move(value); }
199 inline GetMLModelResult& AddTrainingParameters(const Aws::String& key, const Aws::String& value) { m_trainingParameters.emplace(key, value); return *this; }
200 inline GetMLModelResult& AddTrainingParameters(Aws::String&& key, const Aws::String& value) { m_trainingParameters.emplace(std::move(key), value); return *this; }
201 inline GetMLModelResult& AddTrainingParameters(const Aws::String& key, Aws::String&& value) { m_trainingParameters.emplace(key, std::move(value)); return *this; }
202 inline GetMLModelResult& AddTrainingParameters(Aws::String&& key, Aws::String&& value) { m_trainingParameters.emplace(std::move(key), std::move(value)); return *this; }
203 inline GetMLModelResult& AddTrainingParameters(const char* key, Aws::String&& value) { m_trainingParameters.emplace(key, std::move(value)); return *this; }
204 inline GetMLModelResult& AddTrainingParameters(Aws::String&& key, const char* value) { m_trainingParameters.emplace(std::move(key), value); return *this; }
205 inline GetMLModelResult& AddTrainingParameters(const char* key, const char* value) { m_trainingParameters.emplace(key, value); return *this; }
207
209
213 inline const Aws::String& GetInputDataLocationS3() const{ return m_inputDataLocationS3; }
214 inline void SetInputDataLocationS3(const Aws::String& value) { m_inputDataLocationS3 = value; }
215 inline void SetInputDataLocationS3(Aws::String&& value) { m_inputDataLocationS3 = std::move(value); }
216 inline void SetInputDataLocationS3(const char* value) { m_inputDataLocationS3.assign(value); }
217 inline GetMLModelResult& WithInputDataLocationS3(const Aws::String& value) { SetInputDataLocationS3(value); return *this;}
218 inline GetMLModelResult& WithInputDataLocationS3(Aws::String&& value) { SetInputDataLocationS3(std::move(value)); return *this;}
219 inline GetMLModelResult& WithInputDataLocationS3(const char* value) { SetInputDataLocationS3(value); return *this;}
221
223
231 inline const MLModelType& GetMLModelType() const{ return m_mLModelType; }
232 inline void SetMLModelType(const MLModelType& value) { m_mLModelType = value; }
233 inline void SetMLModelType(MLModelType&& value) { m_mLModelType = std::move(value); }
234 inline GetMLModelResult& WithMLModelType(const MLModelType& value) { SetMLModelType(value); return *this;}
235 inline GetMLModelResult& WithMLModelType(MLModelType&& value) { SetMLModelType(std::move(value)); return *this;}
237
239
247 inline double GetScoreThreshold() const{ return m_scoreThreshold; }
248 inline void SetScoreThreshold(double value) { m_scoreThreshold = value; }
249 inline GetMLModelResult& WithScoreThreshold(double value) { SetScoreThreshold(value); return *this;}
251
253
257 inline const Aws::Utils::DateTime& GetScoreThresholdLastUpdatedAt() const{ return m_scoreThresholdLastUpdatedAt; }
258 inline void SetScoreThresholdLastUpdatedAt(const Aws::Utils::DateTime& value) { m_scoreThresholdLastUpdatedAt = value; }
259 inline void SetScoreThresholdLastUpdatedAt(Aws::Utils::DateTime&& value) { m_scoreThresholdLastUpdatedAt = std::move(value); }
263
265
269 inline const Aws::String& GetLogUri() const{ return m_logUri; }
270 inline void SetLogUri(const Aws::String& value) { m_logUri = value; }
271 inline void SetLogUri(Aws::String&& value) { m_logUri = std::move(value); }
272 inline void SetLogUri(const char* value) { m_logUri.assign(value); }
273 inline GetMLModelResult& WithLogUri(const Aws::String& value) { SetLogUri(value); return *this;}
274 inline GetMLModelResult& WithLogUri(Aws::String&& value) { SetLogUri(std::move(value)); return *this;}
275 inline GetMLModelResult& WithLogUri(const char* value) { SetLogUri(value); return *this;}
277
279
283 inline const Aws::String& GetMessage() const{ return m_message; }
284 inline void SetMessage(const Aws::String& value) { m_message = value; }
285 inline void SetMessage(Aws::String&& value) { m_message = std::move(value); }
286 inline void SetMessage(const char* value) { m_message.assign(value); }
287 inline GetMLModelResult& WithMessage(const Aws::String& value) { SetMessage(value); return *this;}
288 inline GetMLModelResult& WithMessage(Aws::String&& value) { SetMessage(std::move(value)); return *this;}
289 inline GetMLModelResult& WithMessage(const char* value) { SetMessage(value); return *this;}
291
293
299 inline long long GetComputeTime() const{ return m_computeTime; }
300 inline void SetComputeTime(long long value) { m_computeTime = value; }
301 inline GetMLModelResult& WithComputeTime(long long value) { SetComputeTime(value); return *this;}
303
305
311 inline const Aws::Utils::DateTime& GetFinishedAt() const{ return m_finishedAt; }
312 inline void SetFinishedAt(const Aws::Utils::DateTime& value) { m_finishedAt = value; }
313 inline void SetFinishedAt(Aws::Utils::DateTime&& value) { m_finishedAt = std::move(value); }
314 inline GetMLModelResult& WithFinishedAt(const Aws::Utils::DateTime& value) { SetFinishedAt(value); return *this;}
315 inline GetMLModelResult& WithFinishedAt(Aws::Utils::DateTime&& value) { SetFinishedAt(std::move(value)); return *this;}
317
319
324 inline const Aws::Utils::DateTime& GetStartedAt() const{ return m_startedAt; }
325 inline void SetStartedAt(const Aws::Utils::DateTime& value) { m_startedAt = value; }
326 inline void SetStartedAt(Aws::Utils::DateTime&& value) { m_startedAt = std::move(value); }
327 inline GetMLModelResult& WithStartedAt(const Aws::Utils::DateTime& value) { SetStartedAt(value); return *this;}
328 inline GetMLModelResult& WithStartedAt(Aws::Utils::DateTime&& value) { SetStartedAt(std::move(value)); return *this;}
330
332
339 inline const Aws::String& GetRecipe() const{ return m_recipe; }
340 inline void SetRecipe(const Aws::String& value) { m_recipe = value; }
341 inline void SetRecipe(Aws::String&& value) { m_recipe = std::move(value); }
342 inline void SetRecipe(const char* value) { m_recipe.assign(value); }
343 inline GetMLModelResult& WithRecipe(const Aws::String& value) { SetRecipe(value); return *this;}
344 inline GetMLModelResult& WithRecipe(Aws::String&& value) { SetRecipe(std::move(value)); return *this;}
345 inline GetMLModelResult& WithRecipe(const char* value) { SetRecipe(value); return *this;}
347
349
354 inline const Aws::String& GetSchema() const{ return m_schema; }
355 inline void SetSchema(const Aws::String& value) { m_schema = value; }
356 inline void SetSchema(Aws::String&& value) { m_schema = std::move(value); }
357 inline void SetSchema(const char* value) { m_schema.assign(value); }
358 inline GetMLModelResult& WithSchema(const Aws::String& value) { SetSchema(value); return *this;}
359 inline GetMLModelResult& WithSchema(Aws::String&& value) { SetSchema(std::move(value)); return *this;}
360 inline GetMLModelResult& WithSchema(const char* value) { SetSchema(value); return *this;}
362
364
365 inline const Aws::String& GetRequestId() const{ return m_requestId; }
366 inline void SetRequestId(const Aws::String& value) { m_requestId = value; }
367 inline void SetRequestId(Aws::String&& value) { m_requestId = std::move(value); }
368 inline void SetRequestId(const char* value) { m_requestId.assign(value); }
369 inline GetMLModelResult& WithRequestId(const Aws::String& value) { SetRequestId(value); return *this;}
370 inline GetMLModelResult& WithRequestId(Aws::String&& value) { SetRequestId(std::move(value)); return *this;}
371 inline GetMLModelResult& WithRequestId(const char* value) { SetRequestId(value); return *this;}
373 private:
374
375 Aws::String m_mLModelId;
376
377 Aws::String m_trainingDataSourceId;
378
379 Aws::String m_createdByIamUser;
380
381 Aws::Utils::DateTime m_createdAt;
382
383 Aws::Utils::DateTime m_lastUpdatedAt;
384
385 Aws::String m_name;
386
387 EntityStatus m_status;
388
389 long long m_sizeInBytes;
390
391 RealtimeEndpointInfo m_endpointInfo;
392
393 Aws::Map<Aws::String, Aws::String> m_trainingParameters;
394
395 Aws::String m_inputDataLocationS3;
396
397 MLModelType m_mLModelType;
398
399 double m_scoreThreshold;
400
401 Aws::Utils::DateTime m_scoreThresholdLastUpdatedAt;
402
403 Aws::String m_logUri;
404
405 Aws::String m_message;
406
407 long long m_computeTime;
408
409 Aws::Utils::DateTime m_finishedAt;
410
411 Aws::Utils::DateTime m_startedAt;
412
413 Aws::String m_recipe;
414
415 Aws::String m_schema;
416
417 Aws::String m_requestId;
418 };
419
420} // namespace Model
421} // namespace MachineLearning
422} // namespace Aws
GetMLModelResult & WithTrainingParameters(Aws::Map< Aws::String, Aws::String > &&value)
void SetTrainingParameters(const Aws::Map< Aws::String, Aws::String > &value)
GetMLModelResult & WithMessage(Aws::String &&value)
void SetEndpointInfo(RealtimeEndpointInfo &&value)
GetMLModelResult & WithRequestId(Aws::String &&value)
void SetTrainingParameters(Aws::Map< Aws::String, Aws::String > &&value)
void SetStartedAt(const Aws::Utils::DateTime &value)
GetMLModelResult & WithFinishedAt(const Aws::Utils::DateTime &value)
GetMLModelResult & WithEndpointInfo(RealtimeEndpointInfo &&value)
GetMLModelResult & WithName(Aws::String &&value)
GetMLModelResult & WithLogUri(Aws::String &&value)
GetMLModelResult & WithStatus(EntityStatus &&value)
GetMLModelResult & WithLastUpdatedAt(const Aws::Utils::DateTime &value)
GetMLModelResult & WithCreatedAt(Aws::Utils::DateTime &&value)
GetMLModelResult & WithName(const Aws::String &value)
GetMLModelResult & WithLastUpdatedAt(Aws::Utils::DateTime &&value)
const Aws::Utils::DateTime & GetCreatedAt() const
const Aws::Utils::DateTime & GetStartedAt() const
GetMLModelResult & AddTrainingParameters(Aws::String &&key, const char *value)
void SetEndpointInfo(const RealtimeEndpointInfo &value)
const Aws::Utils::DateTime & GetLastUpdatedAt() const
const Aws::String & GetInputDataLocationS3() const
GetMLModelResult & WithSchema(const Aws::String &value)
const RealtimeEndpointInfo & GetEndpointInfo() const
AWS_MACHINELEARNING_API GetMLModelResult()
void SetCreatedAt(Aws::Utils::DateTime &&value)
GetMLModelResult & WithTrainingDataSourceId(const char *value)
void SetScoreThresholdLastUpdatedAt(const Aws::Utils::DateTime &value)
void SetMLModelType(const MLModelType &value)
void SetRequestId(const Aws::String &value)
GetMLModelResult & WithMLModelType(const MLModelType &value)
GetMLModelResult & AddTrainingParameters(const Aws::String &key, Aws::String &&value)
GetMLModelResult & WithScoreThreshold(double value)
void SetLastUpdatedAt(Aws::Utils::DateTime &&value)
const Aws::Utils::DateTime & GetFinishedAt() const
void SetCreatedAt(const Aws::Utils::DateTime &value)
GetMLModelResult & WithTrainingDataSourceId(const Aws::String &value)
void SetLastUpdatedAt(const Aws::Utils::DateTime &value)
GetMLModelResult & WithInputDataLocationS3(const Aws::String &value)
GetMLModelResult & WithStartedAt(Aws::Utils::DateTime &&value)
void SetInputDataLocationS3(const Aws::String &value)
GetMLModelResult & WithName(const char *value)
GetMLModelResult & AddTrainingParameters(const char *key, Aws::String &&value)
const Aws::Map< Aws::String, Aws::String > & GetTrainingParameters() const
GetMLModelResult & WithLogUri(const Aws::String &value)
void SetCreatedByIamUser(const Aws::String &value)
GetMLModelResult & WithLogUri(const char *value)
GetMLModelResult & WithRecipe(const char *value)
GetMLModelResult & WithCreatedByIamUser(Aws::String &&value)
GetMLModelResult & WithRequestId(const char *value)
GetMLModelResult & AddTrainingParameters(Aws::String &&key, const Aws::String &value)
void SetMLModelId(const Aws::String &value)
GetMLModelResult & WithRecipe(Aws::String &&value)
void SetStartedAt(Aws::Utils::DateTime &&value)
GetMLModelResult & WithComputeTime(long long value)
GetMLModelResult & WithMessage(const char *value)
void SetFinishedAt(const Aws::Utils::DateTime &value)
GetMLModelResult & AddTrainingParameters(Aws::String &&key, Aws::String &&value)
AWS_MACHINELEARNING_API GetMLModelResult(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
GetMLModelResult & WithCreatedByIamUser(const Aws::String &value)
GetMLModelResult & WithStartedAt(const Aws::Utils::DateTime &value)
GetMLModelResult & WithMLModelType(MLModelType &&value)
GetMLModelResult & WithMLModelId(const char *value)
GetMLModelResult & WithMLModelId(Aws::String &&value)
AWS_MACHINELEARNING_API GetMLModelResult & operator=(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
GetMLModelResult & WithSizeInBytes(long long value)
GetMLModelResult & WithMessage(const Aws::String &value)
void SetStatus(const EntityStatus &value)
GetMLModelResult & WithSchema(Aws::String &&value)
GetMLModelResult & AddTrainingParameters(const Aws::String &key, const Aws::String &value)
void SetTrainingDataSourceId(const Aws::String &value)
GetMLModelResult & AddTrainingParameters(const char *key, const char *value)
GetMLModelResult & WithCreatedByIamUser(const char *value)
GetMLModelResult & WithTrainingParameters(const Aws::Map< Aws::String, Aws::String > &value)
void SetScoreThresholdLastUpdatedAt(Aws::Utils::DateTime &&value)
GetMLModelResult & WithInputDataLocationS3(Aws::String &&value)
GetMLModelResult & WithInputDataLocationS3(const char *value)
GetMLModelResult & WithMLModelId(const Aws::String &value)
GetMLModelResult & WithScoreThresholdLastUpdatedAt(Aws::Utils::DateTime &&value)
GetMLModelResult & WithScoreThresholdLastUpdatedAt(const Aws::Utils::DateTime &value)
GetMLModelResult & WithCreatedAt(const Aws::Utils::DateTime &value)
const Aws::String & GetTrainingDataSourceId() const
void SetFinishedAt(Aws::Utils::DateTime &&value)
GetMLModelResult & WithRecipe(const Aws::String &value)
const Aws::String & GetCreatedByIamUser() const
GetMLModelResult & WithTrainingDataSourceId(Aws::String &&value)
const Aws::Utils::DateTime & GetScoreThresholdLastUpdatedAt() const
GetMLModelResult & WithEndpointInfo(const RealtimeEndpointInfo &value)
GetMLModelResult & WithFinishedAt(Aws::Utils::DateTime &&value)
GetMLModelResult & WithSchema(const char *value)
GetMLModelResult & WithStatus(const EntityStatus &value)
GetMLModelResult & WithRequestId(const Aws::String &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