AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
DescribePredictorResult.h
1
6#pragma once
7#include <aws/forecast/ForecastService_EXPORTS.h>
8#include <aws/core/utils/memory/stl/AWSString.h>
9#include <aws/core/utils/memory/stl/AWSVector.h>
10#include <aws/forecast/model/AutoMLOverrideStrategy.h>
11#include <aws/core/utils/memory/stl/AWSMap.h>
12#include <aws/forecast/model/EvaluationParameters.h>
13#include <aws/forecast/model/HyperParameterTuningJobConfig.h>
14#include <aws/forecast/model/InputDataConfig.h>
15#include <aws/forecast/model/FeaturizationConfig.h>
16#include <aws/forecast/model/EncryptionConfig.h>
17#include <aws/forecast/model/PredictorExecutionDetails.h>
18#include <aws/core/utils/DateTime.h>
19#include <aws/forecast/model/OptimizationMetric.h>
20#include <utility>
21
22namespace Aws
23{
24template<typename RESULT_TYPE>
25class AmazonWebServiceResult;
26
27namespace Utils
28{
29namespace Json
30{
31 class JsonValue;
32} // namespace Json
33} // namespace Utils
34namespace ForecastService
35{
36namespace Model
37{
39 {
40 public:
41 AWS_FORECASTSERVICE_API DescribePredictorResult();
44
45
47
50 inline const Aws::String& GetPredictorArn() const{ return m_predictorArn; }
51 inline void SetPredictorArn(const Aws::String& value) { m_predictorArn = value; }
52 inline void SetPredictorArn(Aws::String&& value) { m_predictorArn = std::move(value); }
53 inline void SetPredictorArn(const char* value) { m_predictorArn.assign(value); }
54 inline DescribePredictorResult& WithPredictorArn(const Aws::String& value) { SetPredictorArn(value); return *this;}
55 inline DescribePredictorResult& WithPredictorArn(Aws::String&& value) { SetPredictorArn(std::move(value)); return *this;}
56 inline DescribePredictorResult& WithPredictorArn(const char* value) { SetPredictorArn(value); return *this;}
58
60
63 inline const Aws::String& GetPredictorName() const{ return m_predictorName; }
64 inline void SetPredictorName(const Aws::String& value) { m_predictorName = value; }
65 inline void SetPredictorName(Aws::String&& value) { m_predictorName = std::move(value); }
66 inline void SetPredictorName(const char* value) { m_predictorName.assign(value); }
67 inline DescribePredictorResult& WithPredictorName(const Aws::String& value) { SetPredictorName(value); return *this;}
68 inline DescribePredictorResult& WithPredictorName(Aws::String&& value) { SetPredictorName(std::move(value)); return *this;}
69 inline DescribePredictorResult& WithPredictorName(const char* value) { SetPredictorName(value); return *this;}
71
73
76 inline const Aws::String& GetAlgorithmArn() const{ return m_algorithmArn; }
77 inline void SetAlgorithmArn(const Aws::String& value) { m_algorithmArn = value; }
78 inline void SetAlgorithmArn(Aws::String&& value) { m_algorithmArn = std::move(value); }
79 inline void SetAlgorithmArn(const char* value) { m_algorithmArn.assign(value); }
80 inline DescribePredictorResult& WithAlgorithmArn(const Aws::String& value) { SetAlgorithmArn(value); return *this;}
81 inline DescribePredictorResult& WithAlgorithmArn(Aws::String&& value) { SetAlgorithmArn(std::move(value)); return *this;}
82 inline DescribePredictorResult& WithAlgorithmArn(const char* value) { SetAlgorithmArn(value); return *this;}
84
86
90 inline const Aws::Vector<Aws::String>& GetAutoMLAlgorithmArns() const{ return m_autoMLAlgorithmArns; }
91 inline void SetAutoMLAlgorithmArns(const Aws::Vector<Aws::String>& value) { m_autoMLAlgorithmArns = value; }
92 inline void SetAutoMLAlgorithmArns(Aws::Vector<Aws::String>&& value) { m_autoMLAlgorithmArns = std::move(value); }
95 inline DescribePredictorResult& AddAutoMLAlgorithmArns(const Aws::String& value) { m_autoMLAlgorithmArns.push_back(value); return *this; }
96 inline DescribePredictorResult& AddAutoMLAlgorithmArns(Aws::String&& value) { m_autoMLAlgorithmArns.push_back(std::move(value)); return *this; }
97 inline DescribePredictorResult& AddAutoMLAlgorithmArns(const char* value) { m_autoMLAlgorithmArns.push_back(value); return *this; }
99
101
105 inline int GetForecastHorizon() const{ return m_forecastHorizon; }
106 inline void SetForecastHorizon(int value) { m_forecastHorizon = value; }
107 inline DescribePredictorResult& WithForecastHorizon(int value) { SetForecastHorizon(value); return *this;}
109
111
115 inline const Aws::Vector<Aws::String>& GetForecastTypes() const{ return m_forecastTypes; }
116 inline void SetForecastTypes(const Aws::Vector<Aws::String>& value) { m_forecastTypes = value; }
117 inline void SetForecastTypes(Aws::Vector<Aws::String>&& value) { m_forecastTypes = std::move(value); }
119 inline DescribePredictorResult& WithForecastTypes(Aws::Vector<Aws::String>&& value) { SetForecastTypes(std::move(value)); return *this;}
120 inline DescribePredictorResult& AddForecastTypes(const Aws::String& value) { m_forecastTypes.push_back(value); return *this; }
121 inline DescribePredictorResult& AddForecastTypes(Aws::String&& value) { m_forecastTypes.push_back(std::move(value)); return *this; }
122 inline DescribePredictorResult& AddForecastTypes(const char* value) { m_forecastTypes.push_back(value); return *this; }
124
126
129 inline bool GetPerformAutoML() const{ return m_performAutoML; }
130 inline void SetPerformAutoML(bool value) { m_performAutoML = value; }
131 inline DescribePredictorResult& WithPerformAutoML(bool value) { SetPerformAutoML(value); return *this;}
133
135
143 inline const AutoMLOverrideStrategy& GetAutoMLOverrideStrategy() const{ return m_autoMLOverrideStrategy; }
144 inline void SetAutoMLOverrideStrategy(const AutoMLOverrideStrategy& value) { m_autoMLOverrideStrategy = value; }
145 inline void SetAutoMLOverrideStrategy(AutoMLOverrideStrategy&& value) { m_autoMLOverrideStrategy = std::move(value); }
149
151
155 inline bool GetPerformHPO() const{ return m_performHPO; }
156 inline void SetPerformHPO(bool value) { m_performHPO = value; }
157 inline DescribePredictorResult& WithPerformHPO(bool value) { SetPerformHPO(value); return *this;}
159
161
167 inline const Aws::Map<Aws::String, Aws::String>& GetTrainingParameters() const{ return m_trainingParameters; }
168 inline void SetTrainingParameters(const Aws::Map<Aws::String, Aws::String>& value) { m_trainingParameters = value; }
169 inline void SetTrainingParameters(Aws::Map<Aws::String, Aws::String>&& value) { m_trainingParameters = std::move(value); }
172 inline DescribePredictorResult& AddTrainingParameters(const Aws::String& key, const Aws::String& value) { m_trainingParameters.emplace(key, value); return *this; }
173 inline DescribePredictorResult& AddTrainingParameters(Aws::String&& key, const Aws::String& value) { m_trainingParameters.emplace(std::move(key), value); return *this; }
174 inline DescribePredictorResult& AddTrainingParameters(const Aws::String& key, Aws::String&& value) { m_trainingParameters.emplace(key, std::move(value)); return *this; }
175 inline DescribePredictorResult& AddTrainingParameters(Aws::String&& key, Aws::String&& value) { m_trainingParameters.emplace(std::move(key), std::move(value)); return *this; }
176 inline DescribePredictorResult& AddTrainingParameters(const char* key, Aws::String&& value) { m_trainingParameters.emplace(key, std::move(value)); return *this; }
177 inline DescribePredictorResult& AddTrainingParameters(Aws::String&& key, const char* value) { m_trainingParameters.emplace(std::move(key), value); return *this; }
178 inline DescribePredictorResult& AddTrainingParameters(const char* key, const char* value) { m_trainingParameters.emplace(key, value); return *this; }
180
182
188 inline const EvaluationParameters& GetEvaluationParameters() const{ return m_evaluationParameters; }
189 inline void SetEvaluationParameters(const EvaluationParameters& value) { m_evaluationParameters = value; }
190 inline void SetEvaluationParameters(EvaluationParameters&& value) { m_evaluationParameters = std::move(value); }
194
196
199 inline const HyperParameterTuningJobConfig& GetHPOConfig() const{ return m_hPOConfig; }
200 inline void SetHPOConfig(const HyperParameterTuningJobConfig& value) { m_hPOConfig = value; }
201 inline void SetHPOConfig(HyperParameterTuningJobConfig&& value) { m_hPOConfig = std::move(value); }
203 inline DescribePredictorResult& WithHPOConfig(HyperParameterTuningJobConfig&& value) { SetHPOConfig(std::move(value)); return *this;}
205
207
211 inline const InputDataConfig& GetInputDataConfig() const{ return m_inputDataConfig; }
212 inline void SetInputDataConfig(const InputDataConfig& value) { m_inputDataConfig = value; }
213 inline void SetInputDataConfig(InputDataConfig&& value) { m_inputDataConfig = std::move(value); }
215 inline DescribePredictorResult& WithInputDataConfig(InputDataConfig&& value) { SetInputDataConfig(std::move(value)); return *this;}
217
219
222 inline const FeaturizationConfig& GetFeaturizationConfig() const{ return m_featurizationConfig; }
223 inline void SetFeaturizationConfig(const FeaturizationConfig& value) { m_featurizationConfig = value; }
224 inline void SetFeaturizationConfig(FeaturizationConfig&& value) { m_featurizationConfig = std::move(value); }
228
230
234 inline const EncryptionConfig& GetEncryptionConfig() const{ return m_encryptionConfig; }
235 inline void SetEncryptionConfig(const EncryptionConfig& value) { m_encryptionConfig = value; }
236 inline void SetEncryptionConfig(EncryptionConfig&& value) { m_encryptionConfig = std::move(value); }
238 inline DescribePredictorResult& WithEncryptionConfig(EncryptionConfig&& value) { SetEncryptionConfig(std::move(value)); return *this;}
240
242
247 inline const PredictorExecutionDetails& GetPredictorExecutionDetails() const{ return m_predictorExecutionDetails; }
248 inline void SetPredictorExecutionDetails(const PredictorExecutionDetails& value) { m_predictorExecutionDetails = value; }
249 inline void SetPredictorExecutionDetails(PredictorExecutionDetails&& value) { m_predictorExecutionDetails = std::move(value); }
253
255
259 inline long long GetEstimatedTimeRemainingInMinutes() const{ return m_estimatedTimeRemainingInMinutes; }
260 inline void SetEstimatedTimeRemainingInMinutes(long long value) { m_estimatedTimeRemainingInMinutes = value; }
263
265
268 inline bool GetIsAutoPredictor() const{ return m_isAutoPredictor; }
269 inline void SetIsAutoPredictor(bool value) { m_isAutoPredictor = value; }
270 inline DescribePredictorResult& WithIsAutoPredictor(bool value) { SetIsAutoPredictor(value); return *this;}
272
274
278 inline const Aws::Vector<Aws::String>& GetDatasetImportJobArns() const{ return m_datasetImportJobArns; }
279 inline void SetDatasetImportJobArns(const Aws::Vector<Aws::String>& value) { m_datasetImportJobArns = value; }
280 inline void SetDatasetImportJobArns(Aws::Vector<Aws::String>&& value) { m_datasetImportJobArns = std::move(value); }
283 inline DescribePredictorResult& AddDatasetImportJobArns(const Aws::String& value) { m_datasetImportJobArns.push_back(value); return *this; }
284 inline DescribePredictorResult& AddDatasetImportJobArns(Aws::String&& value) { m_datasetImportJobArns.push_back(std::move(value)); return *this; }
285 inline DescribePredictorResult& AddDatasetImportJobArns(const char* value) { m_datasetImportJobArns.push_back(value); return *this; }
287
289
299 inline const Aws::String& GetStatus() const{ return m_status; }
300 inline void SetStatus(const Aws::String& value) { m_status = value; }
301 inline void SetStatus(Aws::String&& value) { m_status = std::move(value); }
302 inline void SetStatus(const char* value) { m_status.assign(value); }
303 inline DescribePredictorResult& WithStatus(const Aws::String& value) { SetStatus(value); return *this;}
304 inline DescribePredictorResult& WithStatus(Aws::String&& value) { SetStatus(std::move(value)); return *this;}
305 inline DescribePredictorResult& WithStatus(const char* value) { SetStatus(value); return *this;}
307
309
312 inline const Aws::String& GetMessage() const{ return m_message; }
313 inline void SetMessage(const Aws::String& value) { m_message = value; }
314 inline void SetMessage(Aws::String&& value) { m_message = std::move(value); }
315 inline void SetMessage(const char* value) { m_message.assign(value); }
316 inline DescribePredictorResult& WithMessage(const Aws::String& value) { SetMessage(value); return *this;}
317 inline DescribePredictorResult& WithMessage(Aws::String&& value) { SetMessage(std::move(value)); return *this;}
318 inline DescribePredictorResult& WithMessage(const char* value) { SetMessage(value); return *this;}
320
322
325 inline const Aws::Utils::DateTime& GetCreationTime() const{ return m_creationTime; }
326 inline void SetCreationTime(const Aws::Utils::DateTime& value) { m_creationTime = value; }
327 inline void SetCreationTime(Aws::Utils::DateTime&& value) { m_creationTime = std::move(value); }
329 inline DescribePredictorResult& WithCreationTime(Aws::Utils::DateTime&& value) { SetCreationTime(std::move(value)); return *this;}
331
333
342 inline const Aws::Utils::DateTime& GetLastModificationTime() const{ return m_lastModificationTime; }
343 inline void SetLastModificationTime(const Aws::Utils::DateTime& value) { m_lastModificationTime = value; }
344 inline void SetLastModificationTime(Aws::Utils::DateTime&& value) { m_lastModificationTime = std::move(value); }
348
350
353 inline const OptimizationMetric& GetOptimizationMetric() const{ return m_optimizationMetric; }
354 inline void SetOptimizationMetric(const OptimizationMetric& value) { m_optimizationMetric = value; }
355 inline void SetOptimizationMetric(OptimizationMetric&& value) { m_optimizationMetric = std::move(value); }
359
361
362 inline const Aws::String& GetRequestId() const{ return m_requestId; }
363 inline void SetRequestId(const Aws::String& value) { m_requestId = value; }
364 inline void SetRequestId(Aws::String&& value) { m_requestId = std::move(value); }
365 inline void SetRequestId(const char* value) { m_requestId.assign(value); }
366 inline DescribePredictorResult& WithRequestId(const Aws::String& value) { SetRequestId(value); return *this;}
367 inline DescribePredictorResult& WithRequestId(Aws::String&& value) { SetRequestId(std::move(value)); return *this;}
368 inline DescribePredictorResult& WithRequestId(const char* value) { SetRequestId(value); return *this;}
370 private:
371
372 Aws::String m_predictorArn;
373
374 Aws::String m_predictorName;
375
376 Aws::String m_algorithmArn;
377
378 Aws::Vector<Aws::String> m_autoMLAlgorithmArns;
379
380 int m_forecastHorizon;
381
382 Aws::Vector<Aws::String> m_forecastTypes;
383
384 bool m_performAutoML;
385
386 AutoMLOverrideStrategy m_autoMLOverrideStrategy;
387
388 bool m_performHPO;
389
390 Aws::Map<Aws::String, Aws::String> m_trainingParameters;
391
392 EvaluationParameters m_evaluationParameters;
393
395
396 InputDataConfig m_inputDataConfig;
397
398 FeaturizationConfig m_featurizationConfig;
399
400 EncryptionConfig m_encryptionConfig;
401
402 PredictorExecutionDetails m_predictorExecutionDetails;
403
404 long long m_estimatedTimeRemainingInMinutes;
405
406 bool m_isAutoPredictor;
407
408 Aws::Vector<Aws::String> m_datasetImportJobArns;
409
410 Aws::String m_status;
411
412 Aws::String m_message;
413
414 Aws::Utils::DateTime m_creationTime;
415
416 Aws::Utils::DateTime m_lastModificationTime;
417
418 OptimizationMetric m_optimizationMetric;
419
420 Aws::String m_requestId;
421 };
422
423} // namespace Model
424} // namespace ForecastService
425} // namespace Aws
const Aws::Vector< Aws::String > & GetAutoMLAlgorithmArns() const
DescribePredictorResult & WithForecastTypes(const Aws::Vector< Aws::String > &value)
DescribePredictorResult & WithAlgorithmArn(const char *value)
DescribePredictorResult & AddForecastTypes(Aws::String &&value)
DescribePredictorResult & AddTrainingParameters(Aws::String &&key, const Aws::String &value)
DescribePredictorResult & WithHPOConfig(HyperParameterTuningJobConfig &&value)
DescribePredictorResult & WithAlgorithmArn(const Aws::String &value)
DescribePredictorResult & WithFeaturizationConfig(const FeaturizationConfig &value)
DescribePredictorResult & WithEncryptionConfig(const EncryptionConfig &value)
const AutoMLOverrideStrategy & GetAutoMLOverrideStrategy() const
DescribePredictorResult & WithPredictorExecutionDetails(const PredictorExecutionDetails &value)
const Aws::Vector< Aws::String > & GetDatasetImportJobArns() const
DescribePredictorResult & WithCreationTime(const Aws::Utils::DateTime &value)
DescribePredictorResult & WithAlgorithmArn(Aws::String &&value)
void SetForecastTypes(const Aws::Vector< Aws::String > &value)
DescribePredictorResult & WithEvaluationParameters(EvaluationParameters &&value)
DescribePredictorResult & WithLastModificationTime(const Aws::Utils::DateTime &value)
DescribePredictorResult & AddAutoMLAlgorithmArns(const char *value)
DescribePredictorResult & AddTrainingParameters(const Aws::String &key, Aws::String &&value)
void SetAutoMLOverrideStrategy(AutoMLOverrideStrategy &&value)
DescribePredictorResult & AddDatasetImportJobArns(const Aws::String &value)
void SetFeaturizationConfig(const FeaturizationConfig &value)
DescribePredictorResult & WithInputDataConfig(InputDataConfig &&value)
const HyperParameterTuningJobConfig & GetHPOConfig() const
DescribePredictorResult & WithIsAutoPredictor(bool value)
DescribePredictorResult & WithAutoMLAlgorithmArns(Aws::Vector< Aws::String > &&value)
DescribePredictorResult & AddAutoMLAlgorithmArns(Aws::String &&value)
DescribePredictorResult & AddTrainingParameters(const Aws::String &key, const Aws::String &value)
DescribePredictorResult & WithDatasetImportJobArns(const Aws::Vector< Aws::String > &value)
DescribePredictorResult & WithOptimizationMetric(OptimizationMetric &&value)
DescribePredictorResult & AddTrainingParameters(Aws::String &&key, Aws::String &&value)
DescribePredictorResult & WithEncryptionConfig(EncryptionConfig &&value)
void SetLastModificationTime(const Aws::Utils::DateTime &value)
DescribePredictorResult & WithHPOConfig(const HyperParameterTuningJobConfig &value)
DescribePredictorResult & AddTrainingParameters(const char *key, const char *value)
DescribePredictorResult & WithStatus(const Aws::String &value)
DescribePredictorResult & WithPredictorArn(const Aws::String &value)
DescribePredictorResult & AddForecastTypes(const Aws::String &value)
DescribePredictorResult & WithPredictorArn(const char *value)
void SetHPOConfig(HyperParameterTuningJobConfig &&value)
DescribePredictorResult & WithEstimatedTimeRemainingInMinutes(long long value)
DescribePredictorResult & WithAutoMLOverrideStrategy(AutoMLOverrideStrategy &&value)
DescribePredictorResult & WithForecastTypes(Aws::Vector< Aws::String > &&value)
DescribePredictorResult & WithStatus(const char *value)
DescribePredictorResult & WithRequestId(const char *value)
DescribePredictorResult & AddTrainingParameters(const char *key, Aws::String &&value)
DescribePredictorResult & WithMessage(const Aws::String &value)
void SetPredictorExecutionDetails(PredictorExecutionDetails &&value)
DescribePredictorResult & WithTrainingParameters(Aws::Map< Aws::String, Aws::String > &&value)
DescribePredictorResult & WithPredictorName(Aws::String &&value)
void SetForecastTypes(Aws::Vector< Aws::String > &&value)
AWS_FORECASTSERVICE_API DescribePredictorResult & operator=(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
DescribePredictorResult & WithOptimizationMetric(const OptimizationMetric &value)
DescribePredictorResult & AddForecastTypes(const char *value)
DescribePredictorResult & AddDatasetImportJobArns(Aws::String &&value)
void SetTrainingParameters(const Aws::Map< Aws::String, Aws::String > &value)
DescribePredictorResult & WithRequestId(Aws::String &&value)
const Aws::Map< Aws::String, Aws::String > & GetTrainingParameters() const
void SetDatasetImportJobArns(const Aws::Vector< Aws::String > &value)
void SetOptimizationMetric(const OptimizationMetric &value)
DescribePredictorResult & AddAutoMLAlgorithmArns(const Aws::String &value)
DescribePredictorResult & WithEvaluationParameters(const EvaluationParameters &value)
const EvaluationParameters & GetEvaluationParameters() const
DescribePredictorResult & WithRequestId(const Aws::String &value)
DescribePredictorResult & WithCreationTime(Aws::Utils::DateTime &&value)
DescribePredictorResult & WithMessage(Aws::String &&value)
void SetAutoMLAlgorithmArns(const Aws::Vector< Aws::String > &value)
DescribePredictorResult & WithPredictorName(const Aws::String &value)
void SetAutoMLAlgorithmArns(Aws::Vector< Aws::String > &&value)
DescribePredictorResult & AddTrainingParameters(Aws::String &&key, const char *value)
DescribePredictorResult & WithPredictorExecutionDetails(PredictorExecutionDetails &&value)
void SetPredictorExecutionDetails(const PredictorExecutionDetails &value)
void SetCreationTime(const Aws::Utils::DateTime &value)
DescribePredictorResult & WithAutoMLAlgorithmArns(const Aws::Vector< Aws::String > &value)
const PredictorExecutionDetails & GetPredictorExecutionDetails() const
const Aws::Vector< Aws::String > & GetForecastTypes() const
DescribePredictorResult & WithFeaturizationConfig(FeaturizationConfig &&value)
DescribePredictorResult & WithLastModificationTime(Aws::Utils::DateTime &&value)
DescribePredictorResult & WithPredictorArn(Aws::String &&value)
void SetDatasetImportJobArns(Aws::Vector< Aws::String > &&value)
DescribePredictorResult & WithPredictorName(const char *value)
DescribePredictorResult & WithMessage(const char *value)
DescribePredictorResult & AddDatasetImportJobArns(const char *value)
AWS_FORECASTSERVICE_API DescribePredictorResult(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
DescribePredictorResult & WithTrainingParameters(const Aws::Map< Aws::String, Aws::String > &value)
void SetHPOConfig(const HyperParameterTuningJobConfig &value)
DescribePredictorResult & WithAutoMLOverrideStrategy(const AutoMLOverrideStrategy &value)
void SetTrainingParameters(Aws::Map< Aws::String, Aws::String > &&value)
const Aws::Utils::DateTime & GetLastModificationTime() const
void SetEvaluationParameters(const EvaluationParameters &value)
DescribePredictorResult & WithStatus(Aws::String &&value)
void SetAutoMLOverrideStrategy(const AutoMLOverrideStrategy &value)
DescribePredictorResult & WithDatasetImportJobArns(Aws::Vector< Aws::String > &&value)
DescribePredictorResult & WithInputDataConfig(const InputDataConfig &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
std::vector< T, Aws::Allocator< T > > Vector
Aws::Utils::Json::JsonValue JsonValue