AWS SDK for C++

AWS SDK for C++ Version 1.11.935

Loading...
Searching...
No Matches
DescribePredictorResult.h
1
6#pragma once
7#include <aws/core/http/HttpResponse.h>
8#include <aws/core/utils/DateTime.h>
9#include <aws/core/utils/memory/stl/AWSMap.h>
10#include <aws/core/utils/memory/stl/AWSString.h>
11#include <aws/core/utils/memory/stl/AWSVector.h>
12#include <aws/forecast/ForecastService_EXPORTS.h>
13#include <aws/forecast/model/AutoMLOverrideStrategy.h>
14#include <aws/forecast/model/EncryptionConfig.h>
15#include <aws/forecast/model/EvaluationParameters.h>
16#include <aws/forecast/model/FeaturizationConfig.h>
17#include <aws/forecast/model/HyperParameterTuningJobConfig.h>
18#include <aws/forecast/model/InputDataConfig.h>
19#include <aws/forecast/model/OptimizationMetric.h>
20#include <aws/forecast/model/PredictorExecutionDetails.h>
21
22#include <utility>
23
24namespace Aws {
25template <typename RESULT_TYPE>
26class AmazonWebServiceResult;
27
28namespace Utils {
29namespace Json {
30class JsonValue;
31} // namespace Json
32} // namespace Utils
33namespace ForecastService {
34namespace Model {
36 public:
37 AWS_FORECASTSERVICE_API DescribePredictorResult() = default;
40
42
45 inline const Aws::String& GetPredictorArn() const { return m_predictorArn; }
46 template <typename PredictorArnT = Aws::String>
47 void SetPredictorArn(PredictorArnT&& value) {
48 m_predictorArnHasBeenSet = true;
49 m_predictorArn = std::forward<PredictorArnT>(value);
50 }
51 template <typename PredictorArnT = Aws::String>
52 DescribePredictorResult& WithPredictorArn(PredictorArnT&& value) {
53 SetPredictorArn(std::forward<PredictorArnT>(value));
54 return *this;
55 }
57
59
62 inline const Aws::String& GetPredictorName() const { return m_predictorName; }
63 template <typename PredictorNameT = Aws::String>
64 void SetPredictorName(PredictorNameT&& value) {
65 m_predictorNameHasBeenSet = true;
66 m_predictorName = std::forward<PredictorNameT>(value);
67 }
68 template <typename PredictorNameT = Aws::String>
69 DescribePredictorResult& WithPredictorName(PredictorNameT&& value) {
70 SetPredictorName(std::forward<PredictorNameT>(value));
71 return *this;
72 }
74
76
79 inline const Aws::String& GetAlgorithmArn() const { return m_algorithmArn; }
80 template <typename AlgorithmArnT = Aws::String>
81 void SetAlgorithmArn(AlgorithmArnT&& value) {
82 m_algorithmArnHasBeenSet = true;
83 m_algorithmArn = std::forward<AlgorithmArnT>(value);
84 }
85 template <typename AlgorithmArnT = Aws::String>
86 DescribePredictorResult& WithAlgorithmArn(AlgorithmArnT&& value) {
87 SetAlgorithmArn(std::forward<AlgorithmArnT>(value));
88 return *this;
89 }
91
93
97 inline const Aws::Vector<Aws::String>& GetAutoMLAlgorithmArns() const { return m_autoMLAlgorithmArns; }
98 template <typename AutoMLAlgorithmArnsT = Aws::Vector<Aws::String>>
99 void SetAutoMLAlgorithmArns(AutoMLAlgorithmArnsT&& value) {
100 m_autoMLAlgorithmArnsHasBeenSet = true;
101 m_autoMLAlgorithmArns = std::forward<AutoMLAlgorithmArnsT>(value);
102 }
103 template <typename AutoMLAlgorithmArnsT = Aws::Vector<Aws::String>>
104 DescribePredictorResult& WithAutoMLAlgorithmArns(AutoMLAlgorithmArnsT&& value) {
105 SetAutoMLAlgorithmArns(std::forward<AutoMLAlgorithmArnsT>(value));
106 return *this;
107 }
108 template <typename AutoMLAlgorithmArnsT = Aws::String>
109 DescribePredictorResult& AddAutoMLAlgorithmArns(AutoMLAlgorithmArnsT&& value) {
110 m_autoMLAlgorithmArnsHasBeenSet = true;
111 m_autoMLAlgorithmArns.emplace_back(std::forward<AutoMLAlgorithmArnsT>(value));
112 return *this;
113 }
115
117
121 inline int GetForecastHorizon() const { return m_forecastHorizon; }
122 inline void SetForecastHorizon(int value) {
123 m_forecastHorizonHasBeenSet = true;
124 m_forecastHorizon = value;
125 }
127 SetForecastHorizon(value);
128 return *this;
129 }
131
133
137 inline const Aws::Vector<Aws::String>& GetForecastTypes() const { return m_forecastTypes; }
138 template <typename ForecastTypesT = Aws::Vector<Aws::String>>
139 void SetForecastTypes(ForecastTypesT&& value) {
140 m_forecastTypesHasBeenSet = true;
141 m_forecastTypes = std::forward<ForecastTypesT>(value);
142 }
143 template <typename ForecastTypesT = Aws::Vector<Aws::String>>
145 SetForecastTypes(std::forward<ForecastTypesT>(value));
146 return *this;
147 }
148 template <typename ForecastTypesT = Aws::String>
149 DescribePredictorResult& AddForecastTypes(ForecastTypesT&& value) {
150 m_forecastTypesHasBeenSet = true;
151 m_forecastTypes.emplace_back(std::forward<ForecastTypesT>(value));
152 return *this;
153 }
155
157
160 inline bool GetPerformAutoML() const { return m_performAutoML; }
161 inline void SetPerformAutoML(bool value) {
162 m_performAutoMLHasBeenSet = true;
163 m_performAutoML = value;
164 }
166 SetPerformAutoML(value);
167 return *this;
168 }
170
172
180 inline AutoMLOverrideStrategy GetAutoMLOverrideStrategy() const { return m_autoMLOverrideStrategy; }
182 m_autoMLOverrideStrategyHasBeenSet = true;
183 m_autoMLOverrideStrategy = value;
184 }
190
192
196 inline bool GetPerformHPO() const { return m_performHPO; }
197 inline void SetPerformHPO(bool value) {
198 m_performHPOHasBeenSet = true;
199 m_performHPO = value;
200 }
202 SetPerformHPO(value);
203 return *this;
204 }
206
208
214 inline const Aws::Map<Aws::String, Aws::String>& GetTrainingParameters() const { return m_trainingParameters; }
215 template <typename TrainingParametersT = Aws::Map<Aws::String, Aws::String>>
216 void SetTrainingParameters(TrainingParametersT&& value) {
217 m_trainingParametersHasBeenSet = true;
218 m_trainingParameters = std::forward<TrainingParametersT>(value);
219 }
220 template <typename TrainingParametersT = Aws::Map<Aws::String, Aws::String>>
221 DescribePredictorResult& WithTrainingParameters(TrainingParametersT&& value) {
222 SetTrainingParameters(std::forward<TrainingParametersT>(value));
223 return *this;
224 }
225 template <typename TrainingParametersKeyT = Aws::String, typename TrainingParametersValueT = Aws::String>
226 DescribePredictorResult& AddTrainingParameters(TrainingParametersKeyT&& key, TrainingParametersValueT&& value) {
227 m_trainingParametersHasBeenSet = true;
228 m_trainingParameters.emplace(std::forward<TrainingParametersKeyT>(key), std::forward<TrainingParametersValueT>(value));
229 return *this;
230 }
232
234
240 inline const EvaluationParameters& GetEvaluationParameters() const { return m_evaluationParameters; }
241 template <typename EvaluationParametersT = EvaluationParameters>
242 void SetEvaluationParameters(EvaluationParametersT&& value) {
243 m_evaluationParametersHasBeenSet = true;
244 m_evaluationParameters = std::forward<EvaluationParametersT>(value);
245 }
246 template <typename EvaluationParametersT = EvaluationParameters>
247 DescribePredictorResult& WithEvaluationParameters(EvaluationParametersT&& value) {
248 SetEvaluationParameters(std::forward<EvaluationParametersT>(value));
249 return *this;
250 }
252
254
257 inline const HyperParameterTuningJobConfig& GetHPOConfig() const { return m_hPOConfig; }
258 template <typename HPOConfigT = HyperParameterTuningJobConfig>
259 void SetHPOConfig(HPOConfigT&& value) {
260 m_hPOConfigHasBeenSet = true;
261 m_hPOConfig = std::forward<HPOConfigT>(value);
262 }
263 template <typename HPOConfigT = HyperParameterTuningJobConfig>
265 SetHPOConfig(std::forward<HPOConfigT>(value));
266 return *this;
267 }
269
271
275 inline const InputDataConfig& GetInputDataConfig() const { return m_inputDataConfig; }
276 template <typename InputDataConfigT = InputDataConfig>
277 void SetInputDataConfig(InputDataConfigT&& value) {
278 m_inputDataConfigHasBeenSet = true;
279 m_inputDataConfig = std::forward<InputDataConfigT>(value);
280 }
281 template <typename InputDataConfigT = InputDataConfig>
282 DescribePredictorResult& WithInputDataConfig(InputDataConfigT&& value) {
283 SetInputDataConfig(std::forward<InputDataConfigT>(value));
284 return *this;
285 }
287
289
292 inline const FeaturizationConfig& GetFeaturizationConfig() const { return m_featurizationConfig; }
293 template <typename FeaturizationConfigT = FeaturizationConfig>
294 void SetFeaturizationConfig(FeaturizationConfigT&& value) {
295 m_featurizationConfigHasBeenSet = true;
296 m_featurizationConfig = std::forward<FeaturizationConfigT>(value);
297 }
298 template <typename FeaturizationConfigT = FeaturizationConfig>
299 DescribePredictorResult& WithFeaturizationConfig(FeaturizationConfigT&& value) {
300 SetFeaturizationConfig(std::forward<FeaturizationConfigT>(value));
301 return *this;
302 }
304
306
310 inline const EncryptionConfig& GetEncryptionConfig() const { return m_encryptionConfig; }
311 template <typename EncryptionConfigT = EncryptionConfig>
312 void SetEncryptionConfig(EncryptionConfigT&& value) {
313 m_encryptionConfigHasBeenSet = true;
314 m_encryptionConfig = std::forward<EncryptionConfigT>(value);
315 }
316 template <typename EncryptionConfigT = EncryptionConfig>
317 DescribePredictorResult& WithEncryptionConfig(EncryptionConfigT&& value) {
318 SetEncryptionConfig(std::forward<EncryptionConfigT>(value));
319 return *this;
320 }
322
324
329 inline const PredictorExecutionDetails& GetPredictorExecutionDetails() const { return m_predictorExecutionDetails; }
330 template <typename PredictorExecutionDetailsT = PredictorExecutionDetails>
331 void SetPredictorExecutionDetails(PredictorExecutionDetailsT&& value) {
332 m_predictorExecutionDetailsHasBeenSet = true;
333 m_predictorExecutionDetails = std::forward<PredictorExecutionDetailsT>(value);
334 }
335 template <typename PredictorExecutionDetailsT = PredictorExecutionDetails>
336 DescribePredictorResult& WithPredictorExecutionDetails(PredictorExecutionDetailsT&& value) {
337 SetPredictorExecutionDetails(std::forward<PredictorExecutionDetailsT>(value));
338 return *this;
339 }
341
343
347 inline long long GetEstimatedTimeRemainingInMinutes() const { return m_estimatedTimeRemainingInMinutes; }
348 inline void SetEstimatedTimeRemainingInMinutes(long long value) {
349 m_estimatedTimeRemainingInMinutesHasBeenSet = true;
350 m_estimatedTimeRemainingInMinutes = value;
351 }
354 return *this;
355 }
357
359
362 inline bool GetIsAutoPredictor() const { return m_isAutoPredictor; }
363 inline void SetIsAutoPredictor(bool value) {
364 m_isAutoPredictorHasBeenSet = true;
365 m_isAutoPredictor = value;
366 }
368 SetIsAutoPredictor(value);
369 return *this;
370 }
372
374
378 inline const Aws::Vector<Aws::String>& GetDatasetImportJobArns() const { return m_datasetImportJobArns; }
379 template <typename DatasetImportJobArnsT = Aws::Vector<Aws::String>>
380 void SetDatasetImportJobArns(DatasetImportJobArnsT&& value) {
381 m_datasetImportJobArnsHasBeenSet = true;
382 m_datasetImportJobArns = std::forward<DatasetImportJobArnsT>(value);
383 }
384 template <typename DatasetImportJobArnsT = Aws::Vector<Aws::String>>
385 DescribePredictorResult& WithDatasetImportJobArns(DatasetImportJobArnsT&& value) {
386 SetDatasetImportJobArns(std::forward<DatasetImportJobArnsT>(value));
387 return *this;
388 }
389 template <typename DatasetImportJobArnsT = Aws::String>
390 DescribePredictorResult& AddDatasetImportJobArns(DatasetImportJobArnsT&& value) {
391 m_datasetImportJobArnsHasBeenSet = true;
392 m_datasetImportJobArns.emplace_back(std::forward<DatasetImportJobArnsT>(value));
393 return *this;
394 }
396
398
408 inline const Aws::String& GetStatus() const { return m_status; }
409 template <typename StatusT = Aws::String>
410 void SetStatus(StatusT&& value) {
411 m_statusHasBeenSet = true;
412 m_status = std::forward<StatusT>(value);
413 }
414 template <typename StatusT = Aws::String>
416 SetStatus(std::forward<StatusT>(value));
417 return *this;
418 }
420
422
425 inline const Aws::String& GetMessage() const { return m_message; }
426 template <typename MessageT = Aws::String>
427 void SetMessage(MessageT&& value) {
428 m_messageHasBeenSet = true;
429 m_message = std::forward<MessageT>(value);
430 }
431 template <typename MessageT = Aws::String>
433 SetMessage(std::forward<MessageT>(value));
434 return *this;
435 }
437
439
442 inline const Aws::Utils::DateTime& GetCreationTime() const { return m_creationTime; }
443 template <typename CreationTimeT = Aws::Utils::DateTime>
444 void SetCreationTime(CreationTimeT&& value) {
445 m_creationTimeHasBeenSet = true;
446 m_creationTime = std::forward<CreationTimeT>(value);
447 }
448 template <typename CreationTimeT = Aws::Utils::DateTime>
450 SetCreationTime(std::forward<CreationTimeT>(value));
451 return *this;
452 }
454
456
465 inline const Aws::Utils::DateTime& GetLastModificationTime() const { return m_lastModificationTime; }
466 template <typename LastModificationTimeT = Aws::Utils::DateTime>
467 void SetLastModificationTime(LastModificationTimeT&& value) {
468 m_lastModificationTimeHasBeenSet = true;
469 m_lastModificationTime = std::forward<LastModificationTimeT>(value);
470 }
471 template <typename LastModificationTimeT = Aws::Utils::DateTime>
472 DescribePredictorResult& WithLastModificationTime(LastModificationTimeT&& value) {
473 SetLastModificationTime(std::forward<LastModificationTimeT>(value));
474 return *this;
475 }
477
479
482 inline OptimizationMetric GetOptimizationMetric() const { return m_optimizationMetric; }
484 m_optimizationMetricHasBeenSet = true;
485 m_optimizationMetric = value;
486 }
492
494
495 inline const Aws::String& GetRequestId() const { return m_requestId; }
496 template <typename RequestIdT = Aws::String>
497 void SetRequestId(RequestIdT&& value) {
498 m_requestIdHasBeenSet = true;
499 m_requestId = std::forward<RequestIdT>(value);
500 }
501 template <typename RequestIdT = Aws::String>
503 SetRequestId(std::forward<RequestIdT>(value));
504 return *this;
505 }
507 inline Aws::Http::HttpResponseCode GetHttpResponseCode() const { return m_HttpResponseCode; }
508
509 private:
510 Aws::String m_predictorArn;
511
512 Aws::String m_predictorName;
513
514 Aws::String m_algorithmArn;
515
516 Aws::Vector<Aws::String> m_autoMLAlgorithmArns;
517
518 int m_forecastHorizon{0};
519
520 Aws::Vector<Aws::String> m_forecastTypes;
521
522 bool m_performAutoML{false};
523
525
526 bool m_performHPO{false};
527
528 Aws::Map<Aws::String, Aws::String> m_trainingParameters;
529
530 EvaluationParameters m_evaluationParameters;
531
532 HyperParameterTuningJobConfig m_hPOConfig;
533
534 InputDataConfig m_inputDataConfig;
535
536 FeaturizationConfig m_featurizationConfig;
537
538 EncryptionConfig m_encryptionConfig;
539
540 PredictorExecutionDetails m_predictorExecutionDetails;
541
542 long long m_estimatedTimeRemainingInMinutes{0};
543
544 bool m_isAutoPredictor{false};
545
546 Aws::Vector<Aws::String> m_datasetImportJobArns;
547
548 Aws::String m_status;
549
550 Aws::String m_message;
551
552 Aws::Utils::DateTime m_creationTime{};
553
554 Aws::Utils::DateTime m_lastModificationTime{};
555
557
558 Aws::String m_requestId;
559 Aws::Http::HttpResponseCode m_HttpResponseCode;
560 bool m_predictorArnHasBeenSet = false;
561 bool m_predictorNameHasBeenSet = false;
562 bool m_algorithmArnHasBeenSet = false;
563 bool m_autoMLAlgorithmArnsHasBeenSet = false;
564 bool m_forecastHorizonHasBeenSet = false;
565 bool m_forecastTypesHasBeenSet = false;
566 bool m_performAutoMLHasBeenSet = false;
567 bool m_autoMLOverrideStrategyHasBeenSet = false;
568 bool m_performHPOHasBeenSet = false;
569 bool m_trainingParametersHasBeenSet = false;
570 bool m_evaluationParametersHasBeenSet = false;
571 bool m_hPOConfigHasBeenSet = false;
572 bool m_inputDataConfigHasBeenSet = false;
573 bool m_featurizationConfigHasBeenSet = false;
574 bool m_encryptionConfigHasBeenSet = false;
575 bool m_predictorExecutionDetailsHasBeenSet = false;
576 bool m_estimatedTimeRemainingInMinutesHasBeenSet = false;
577 bool m_isAutoPredictorHasBeenSet = false;
578 bool m_datasetImportJobArnsHasBeenSet = false;
579 bool m_statusHasBeenSet = false;
580 bool m_messageHasBeenSet = false;
581 bool m_creationTimeHasBeenSet = false;
582 bool m_lastModificationTimeHasBeenSet = false;
583 bool m_optimizationMetricHasBeenSet = false;
584 bool m_requestIdHasBeenSet = false;
585};
586
587} // namespace Model
588} // namespace ForecastService
589} // namespace Aws
DescribePredictorResult & WithCreationTime(CreationTimeT &&value)
const Aws::Vector< Aws::String > & GetAutoMLAlgorithmArns() const
DescribePredictorResult & WithStatus(StatusT &&value)
DescribePredictorResult & WithDatasetImportJobArns(DatasetImportJobArnsT &&value)
const Aws::Vector< Aws::String > & GetDatasetImportJobArns() const
DescribePredictorResult & WithLastModificationTime(LastModificationTimeT &&value)
AWS_FORECASTSERVICE_API DescribePredictorResult()=default
DescribePredictorResult & WithInputDataConfig(InputDataConfigT &&value)
DescribePredictorResult & WithAlgorithmArn(AlgorithmArnT &&value)
const HyperParameterTuningJobConfig & GetHPOConfig() const
DescribePredictorResult & WithIsAutoPredictor(bool value)
DescribePredictorResult & AddTrainingParameters(TrainingParametersKeyT &&key, TrainingParametersValueT &&value)
DescribePredictorResult & WithEvaluationParameters(EvaluationParametersT &&value)
DescribePredictorResult & WithRequestId(RequestIdT &&value)
DescribePredictorResult & WithEstimatedTimeRemainingInMinutes(long long value)
DescribePredictorResult & AddAutoMLAlgorithmArns(AutoMLAlgorithmArnsT &&value)
DescribePredictorResult & AddForecastTypes(ForecastTypesT &&value)
AWS_FORECASTSERVICE_API DescribePredictorResult & operator=(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
DescribePredictorResult & WithPredictorArn(PredictorArnT &&value)
DescribePredictorResult & WithAutoMLOverrideStrategy(AutoMLOverrideStrategy value)
void SetPredictorExecutionDetails(PredictorExecutionDetailsT &&value)
const Aws::Map< Aws::String, Aws::String > & GetTrainingParameters() const
const EvaluationParameters & GetEvaluationParameters() const
DescribePredictorResult & WithFeaturizationConfig(FeaturizationConfigT &&value)
DescribePredictorResult & WithTrainingParameters(TrainingParametersT &&value)
DescribePredictorResult & WithPredictorExecutionDetails(PredictorExecutionDetailsT &&value)
DescribePredictorResult & WithHPOConfig(HPOConfigT &&value)
DescribePredictorResult & WithAutoMLAlgorithmArns(AutoMLAlgorithmArnsT &&value)
DescribePredictorResult & WithOptimizationMetric(OptimizationMetric value)
DescribePredictorResult & WithPredictorName(PredictorNameT &&value)
DescribePredictorResult & WithForecastTypes(ForecastTypesT &&value)
DescribePredictorResult & WithMessage(MessageT &&value)
const PredictorExecutionDetails & GetPredictorExecutionDetails() const
const Aws::Vector< Aws::String > & GetForecastTypes() const
DescribePredictorResult & WithEncryptionConfig(EncryptionConfigT &&value)
DescribePredictorResult & AddDatasetImportJobArns(DatasetImportJobArnsT &&value)
AWS_FORECASTSERVICE_API DescribePredictorResult(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
const Aws::Utils::DateTime & GetLastModificationTime() const
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