7#include <aws/core/utils/memory/stl/AWSMap.h>
8#include <aws/core/utils/memory/stl/AWSString.h>
9#include <aws/core/utils/memory/stl/AWSVector.h>
10#include <aws/forecast/ForecastServiceRequest.h>
11#include <aws/forecast/ForecastService_EXPORTS.h>
12#include <aws/forecast/model/AutoMLOverrideStrategy.h>
13#include <aws/forecast/model/EncryptionConfig.h>
14#include <aws/forecast/model/EvaluationParameters.h>
15#include <aws/forecast/model/FeaturizationConfig.h>
16#include <aws/forecast/model/HyperParameterTuningJobConfig.h>
17#include <aws/forecast/model/InputDataConfig.h>
18#include <aws/forecast/model/OptimizationMetric.h>
19#include <aws/forecast/model/Tag.h>
24namespace ForecastService {
49 template <
typename PredictorNameT = Aws::String>
51 m_predictorNameHasBeenSet =
true;
52 m_predictorName = std::forward<PredictorNameT>(value);
54 template <
typename PredictorNameT = Aws::String>
75 template <
typename AlgorithmArnT = Aws::String>
77 m_algorithmArnHasBeenSet =
true;
78 m_algorithmArn = std::forward<AlgorithmArnT>(value);
80 template <
typename AlgorithmArnT = Aws::String>
100 m_forecastHorizonHasBeenSet =
true;
101 m_forecastHorizon = value;
119 template <
typename ForecastTypesT = Aws::Vector<Aws::String>>
121 m_forecastTypesHasBeenSet =
true;
122 m_forecastTypes = std::forward<ForecastTypesT>(value);
124 template <
typename ForecastTypesT = Aws::Vector<Aws::String>>
129 template <
typename ForecastTypesT = Aws::String>
131 m_forecastTypesHasBeenSet =
true;
132 m_forecastTypes.emplace_back(std::forward<ForecastTypesT>(value));
150 m_performAutoMLHasBeenSet =
true;
151 m_performAutoML = value;
172 m_autoMLOverrideStrategyHasBeenSet =
true;
173 m_autoMLOverrideStrategy = value;
199 m_performHPOHasBeenSet =
true;
200 m_performHPO = value;
216 template <
typename TrainingParametersT = Aws::Map<Aws::String, Aws::String>>
218 m_trainingParametersHasBeenSet =
true;
219 m_trainingParameters = std::forward<TrainingParametersT>(value);
221 template <
typename TrainingParametersT = Aws::Map<Aws::String, Aws::String>>
226 template <
typename TrainingParametersKeyT = Aws::String,
typename TrainingParametersValueT = Aws::String>
228 m_trainingParametersHasBeenSet =
true;
229 m_trainingParameters.emplace(std::forward<TrainingParametersKeyT>(key), std::forward<TrainingParametersValueT>(value));
243 template <
typename EvaluationParametersT = EvaluationParameters>
245 m_evaluationParametersHasBeenSet =
true;
246 m_evaluationParameters = std::forward<EvaluationParametersT>(value);
248 template <
typename EvaluationParametersT = EvaluationParameters>
266 template <
typename HPOConfigT = HyperParameterTuningJobConfig>
268 m_hPOConfigHasBeenSet =
true;
269 m_hPOConfig = std::forward<HPOConfigT>(value);
271 template <
typename HPOConfigT = HyperParameterTuningJobConfig>
285 template <
typename InputDataConfigT = InputDataConfig>
287 m_inputDataConfigHasBeenSet =
true;
288 m_inputDataConfig = std::forward<InputDataConfigT>(value);
290 template <
typename InputDataConfigT = InputDataConfig>
303 template <
typename FeaturizationConfigT = FeaturizationConfig>
305 m_featurizationConfigHasBeenSet =
true;
306 m_featurizationConfig = std::forward<FeaturizationConfigT>(value);
308 template <
typename FeaturizationConfigT = FeaturizationConfig>
322 template <
typename EncryptionConfigT = EncryptionConfig>
324 m_encryptionConfigHasBeenSet =
true;
325 m_encryptionConfig = std::forward<EncryptionConfigT>(value);
327 template <
typename EncryptionConfigT = EncryptionConfig>
358 template <
typename TagsT = Aws::Vector<Tag>>
360 m_tagsHasBeenSet =
true;
361 m_tags = std::forward<TagsT>(value);
363 template <
typename TagsT = Aws::Vector<Tag>>
365 SetTags(std::forward<TagsT>(value));
368 template <
typename TagsT = Tag>
370 m_tagsHasBeenSet =
true;
371 m_tags.emplace_back(std::forward<TagsT>(value));
383 m_optimizationMetricHasBeenSet =
true;
384 m_optimizationMetric = value;
396 int m_forecastHorizon{0};
400 bool m_performAutoML{
false};
404 bool m_performHPO{
false};
408 EvaluationParameters m_evaluationParameters;
410 HyperParameterTuningJobConfig m_hPOConfig;
412 InputDataConfig m_inputDataConfig;
414 FeaturizationConfig m_featurizationConfig;
416 EncryptionConfig m_encryptionConfig;
421 bool m_predictorNameHasBeenSet =
false;
422 bool m_algorithmArnHasBeenSet =
false;
423 bool m_forecastHorizonHasBeenSet =
false;
424 bool m_forecastTypesHasBeenSet =
false;
425 bool m_performAutoMLHasBeenSet =
false;
426 bool m_autoMLOverrideStrategyHasBeenSet =
false;
427 bool m_performHPOHasBeenSet =
false;
428 bool m_trainingParametersHasBeenSet =
false;
429 bool m_evaluationParametersHasBeenSet =
false;
430 bool m_hPOConfigHasBeenSet =
false;
431 bool m_inputDataConfigHasBeenSet =
false;
432 bool m_featurizationConfigHasBeenSet =
false;
433 bool m_encryptionConfigHasBeenSet =
false;
434 bool m_tagsHasBeenSet =
false;
435 bool m_optimizationMetricHasBeenSet =
false;
CreatePredictorRequest & WithHPOConfig(HPOConfigT &&value)
bool OptimizationMetricHasBeenSet() const
CreatePredictorRequest & WithTags(TagsT &&value)
bool AlgorithmArnHasBeenSet() const
virtual const char * GetServiceRequestName() const override
void SetPerformHPO(bool value)
const Aws::Map< Aws::String, Aws::String > & GetTrainingParameters() const
CreatePredictorRequest & WithAlgorithmArn(AlgorithmArnT &&value)
const FeaturizationConfig & GetFeaturizationConfig() const
void SetForecastHorizon(int value)
bool ForecastHorizonHasBeenSet() const
CreatePredictorRequest & WithAutoMLOverrideStrategy(AutoMLOverrideStrategy value)
CreatePredictorRequest & WithForecastTypes(ForecastTypesT &&value)
void SetForecastTypes(ForecastTypesT &&value)
bool TagsHasBeenSet() const
void SetAlgorithmArn(AlgorithmArnT &&value)
CreatePredictorRequest & WithInputDataConfig(InputDataConfigT &&value)
bool EvaluationParametersHasBeenSet() const
bool TrainingParametersHasBeenSet() const
bool EncryptionConfigHasBeenSet() const
CreatePredictorRequest & WithForecastHorizon(int value)
CreatePredictorRequest & WithTrainingParameters(TrainingParametersT &&value)
bool ForecastTypesHasBeenSet() const
void SetEncryptionConfig(EncryptionConfigT &&value)
void SetFeaturizationConfig(FeaturizationConfigT &&value)
void SetInputDataConfig(InputDataConfigT &&value)
void SetPerformAutoML(bool value)
int GetForecastHorizon() const
AWS_FORECASTSERVICE_API Aws::String SerializePayload() const override
void SetAutoMLOverrideStrategy(AutoMLOverrideStrategy value)
CreatePredictorRequest & WithFeaturizationConfig(FeaturizationConfigT &&value)
const HyperParameterTuningJobConfig & GetHPOConfig() const
bool PredictorNameHasBeenSet() const
AutoMLOverrideStrategy GetAutoMLOverrideStrategy() const
void SetHPOConfig(HPOConfigT &&value)
bool PerformHPOHasBeenSet() const
const EncryptionConfig & GetEncryptionConfig() const
void SetPredictorName(PredictorNameT &&value)
void SetTrainingParameters(TrainingParametersT &&value)
CreatePredictorRequest & AddForecastTypes(ForecastTypesT &&value)
AWS_FORECASTSERVICE_API Aws::Http::HeaderValueCollection GetRequestSpecificHeaders() const override
const InputDataConfig & GetInputDataConfig() const
CreatePredictorRequest & AddTags(TagsT &&value)
CreatePredictorRequest & WithPerformHPO(bool value)
bool GetPerformHPO() const
const Aws::Vector< Aws::String > & GetForecastTypes() const
bool InputDataConfigHasBeenSet() const
const EvaluationParameters & GetEvaluationParameters() const
AWS_FORECASTSERVICE_API CreatePredictorRequest()=default
const Aws::String & GetPredictorName() const
void SetTags(TagsT &&value)
void SetEvaluationParameters(EvaluationParametersT &&value)
const Aws::Vector< Tag > & GetTags() const
CreatePredictorRequest & WithPredictorName(PredictorNameT &&value)
bool PerformAutoMLHasBeenSet() const
void SetOptimizationMetric(OptimizationMetric value)
CreatePredictorRequest & WithEncryptionConfig(EncryptionConfigT &&value)
CreatePredictorRequest & WithOptimizationMetric(OptimizationMetric value)
bool GetPerformAutoML() const
const Aws::String & GetAlgorithmArn() const
bool FeaturizationConfigHasBeenSet() const
CreatePredictorRequest & AddTrainingParameters(TrainingParametersKeyT &&key, TrainingParametersValueT &&value)
CreatePredictorRequest & WithPerformAutoML(bool value)
bool HPOConfigHasBeenSet() const
OptimizationMetric GetOptimizationMetric() const
CreatePredictorRequest & WithEvaluationParameters(EvaluationParametersT &&value)
bool AutoMLOverrideStrategyHasBeenSet() const
Aws::Map< Aws::String, Aws::String > HeaderValueCollection
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