7#include <aws/forecast/ForecastService_EXPORTS.h>
8#include <aws/forecast/ForecastServiceRequest.h>
9#include <aws/core/utils/memory/stl/AWSString.h>
10#include <aws/core/utils/memory/stl/AWSVector.h>
11#include <aws/forecast/model/DataConfig.h>
12#include <aws/forecast/model/EncryptionConfig.h>
13#include <aws/forecast/model/OptimizationMetric.h>
14#include <aws/forecast/model/MonitorConfig.h>
15#include <aws/forecast/model/TimeAlignmentBoundary.h>
16#include <aws/forecast/model/Tag.h>
21namespace ForecastService
50 template<
typename PredictorNameT = Aws::String>
51 void SetPredictorName(PredictorNameT&& value) { m_predictorNameHasBeenSet =
true; m_predictorName = std::forward<PredictorNameT>(value); }
52 template<
typename PredictorNameT = Aws::String>
69 inline void SetForecastHorizon(
int value) { m_forecastHorizonHasBeenSet =
true; m_forecastHorizon = value; }
82 template<
typename ForecastTypesT = Aws::Vector<Aws::String>>
83 void SetForecastTypes(ForecastTypesT&& value) { m_forecastTypesHasBeenSet =
true; m_forecastTypes = std::forward<ForecastTypesT>(value); }
84 template<
typename ForecastTypesT = Aws::Vector<Aws::String>>
86 template<
typename ForecastTypesT = Aws::String>
100 template<
typename ForecastDimensionsT = Aws::Vector<Aws::String>>
101 void SetForecastDimensions(ForecastDimensionsT&& value) { m_forecastDimensionsHasBeenSet =
true; m_forecastDimensions = std::forward<ForecastDimensionsT>(value); }
102 template<
typename ForecastDimensionsT = Aws::Vector<Aws::String>>
104 template<
typename ForecastDimensionsT = Aws::String>
127 template<
typename ForecastFrequencyT = Aws::String>
128 void SetForecastFrequency(ForecastFrequencyT&& value) { m_forecastFrequencyHasBeenSet =
true; m_forecastFrequency = std::forward<ForecastFrequencyT>(value); }
129 template<
typename ForecastFrequencyT = Aws::String>
140 template<
typename DataConfigT = DataConfig>
141 void SetDataConfig(DataConfigT&& value) { m_dataConfigHasBeenSet =
true; m_dataConfig = std::forward<DataConfigT>(value); }
142 template<
typename DataConfigT = DataConfig>
150 template<
typename EncryptionConfigT = EncryptionConfig>
151 void SetEncryptionConfig(EncryptionConfigT&& value) { m_encryptionConfigHasBeenSet =
true; m_encryptionConfig = std::forward<EncryptionConfigT>(value); }
152 template<
typename EncryptionConfigT = EncryptionConfig>
167 template<
typename ReferencePredictorArnT = Aws::String>
168 void SetReferencePredictorArn(ReferencePredictorArnT&& value) { m_referencePredictorArnHasBeenSet =
true; m_referencePredictorArn = std::forward<ReferencePredictorArnT>(value); }
169 template<
typename ReferencePredictorArnT = Aws::String>
189 inline void SetExplainPredictor(
bool value) { m_explainPredictorHasBeenSet =
true; m_explainPredictor = value; }
215 template<
typename TagsT = Aws::Vector<Tag>>
216 void SetTags(TagsT&& value) { m_tagsHasBeenSet =
true; m_tags = std::forward<TagsT>(value); }
217 template<
typename TagsT = Aws::Vector<Tag>>
219 template<
typename TagsT = Tag>
234 template<
typename MonitorConfigT = MonitorConfig>
235 void SetMonitorConfig(MonitorConfigT&& value) { m_monitorConfigHasBeenSet =
true; m_monitorConfig = std::forward<MonitorConfigT>(value); }
236 template<
typename MonitorConfigT = MonitorConfig>
254 template<
typename TimeAlignmentBoundaryT = TimeAlignmentBoundary>
255 void SetTimeAlignmentBoundary(TimeAlignmentBoundaryT&& value) { m_timeAlignmentBoundaryHasBeenSet =
true; m_timeAlignmentBoundary = std::forward<TimeAlignmentBoundaryT>(value); }
256 template<
typename TimeAlignmentBoundaryT = TimeAlignmentBoundary>
262 bool m_predictorNameHasBeenSet =
false;
264 int m_forecastHorizon{0};
265 bool m_forecastHorizonHasBeenSet =
false;
268 bool m_forecastTypesHasBeenSet =
false;
271 bool m_forecastDimensionsHasBeenSet =
false;
274 bool m_forecastFrequencyHasBeenSet =
false;
276 DataConfig m_dataConfig;
277 bool m_dataConfigHasBeenSet =
false;
279 EncryptionConfig m_encryptionConfig;
280 bool m_encryptionConfigHasBeenSet =
false;
283 bool m_referencePredictorArnHasBeenSet =
false;
286 bool m_optimizationMetricHasBeenSet =
false;
288 bool m_explainPredictor{
false};
289 bool m_explainPredictorHasBeenSet =
false;
292 bool m_tagsHasBeenSet =
false;
294 MonitorConfig m_monitorConfig;
295 bool m_monitorConfigHasBeenSet =
false;
297 TimeAlignmentBoundary m_timeAlignmentBoundary;
298 bool m_timeAlignmentBoundaryHasBeenSet =
false;
bool TagsHasBeenSet() const
CreateAutoPredictorRequest & WithTimeAlignmentBoundary(TimeAlignmentBoundaryT &&value)
const Aws::Vector< Tag > & GetTags() const
bool OptimizationMetricHasBeenSet() const
CreateAutoPredictorRequest & AddForecastTypes(ForecastTypesT &&value)
const Aws::String & GetReferencePredictorArn() const
bool ForecastFrequencyHasBeenSet() const
CreateAutoPredictorRequest & WithExplainPredictor(bool value)
AWS_FORECASTSERVICE_API Aws::String SerializePayload() const override
void SetForecastDimensions(ForecastDimensionsT &&value)
bool ReferencePredictorArnHasBeenSet() const
bool EncryptionConfigHasBeenSet() const
OptimizationMetric GetOptimizationMetric() const
CreateAutoPredictorRequest & WithTags(TagsT &&value)
const TimeAlignmentBoundary & GetTimeAlignmentBoundary() const
bool ForecastDimensionsHasBeenSet() const
CreateAutoPredictorRequest & WithForecastDimensions(ForecastDimensionsT &&value)
void SetOptimizationMetric(OptimizationMetric value)
CreateAutoPredictorRequest & WithReferencePredictorArn(ReferencePredictorArnT &&value)
CreateAutoPredictorRequest & WithForecastTypes(ForecastTypesT &&value)
void SetTimeAlignmentBoundary(TimeAlignmentBoundaryT &&value)
void SetEncryptionConfig(EncryptionConfigT &&value)
void SetForecastFrequency(ForecastFrequencyT &&value)
void SetReferencePredictorArn(ReferencePredictorArnT &&value)
bool MonitorConfigHasBeenSet() const
const MonitorConfig & GetMonitorConfig() const
const EncryptionConfig & GetEncryptionConfig() const
bool ForecastTypesHasBeenSet() const
CreateAutoPredictorRequest & WithForecastHorizon(int value)
CreateAutoPredictorRequest & WithPredictorName(PredictorNameT &&value)
virtual const char * GetServiceRequestName() const override
void SetMonitorConfig(MonitorConfigT &&value)
void SetExplainPredictor(bool value)
void SetDataConfig(DataConfigT &&value)
CreateAutoPredictorRequest & WithMonitorConfig(MonitorConfigT &&value)
void SetTags(TagsT &&value)
bool ForecastHorizonHasBeenSet() const
bool ExplainPredictorHasBeenSet() const
bool GetExplainPredictor() const
AWS_FORECASTSERVICE_API Aws::Http::HeaderValueCollection GetRequestSpecificHeaders() const override
const Aws::Vector< Aws::String > & GetForecastDimensions() const
const Aws::String & GetForecastFrequency() const
CreateAutoPredictorRequest & AddTags(TagsT &&value)
bool DataConfigHasBeenSet() const
void SetForecastTypes(ForecastTypesT &&value)
const DataConfig & GetDataConfig() const
CreateAutoPredictorRequest & WithOptimizationMetric(OptimizationMetric value)
void SetPredictorName(PredictorNameT &&value)
CreateAutoPredictorRequest & WithForecastFrequency(ForecastFrequencyT &&value)
int GetForecastHorizon() const
bool PredictorNameHasBeenSet() const
CreateAutoPredictorRequest & WithEncryptionConfig(EncryptionConfigT &&value)
CreateAutoPredictorRequest & AddForecastDimensions(ForecastDimensionsT &&value)
AWS_FORECASTSERVICE_API CreateAutoPredictorRequest()=default
const Aws::String & GetPredictorName() const
bool TimeAlignmentBoundaryHasBeenSet() const
void SetForecastHorizon(int value)
const Aws::Vector< Aws::String > & GetForecastTypes() const
CreateAutoPredictorRequest & WithDataConfig(DataConfigT &&value)
Aws::Map< Aws::String, Aws::String > HeaderValueCollection
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
std::vector< T, Aws::Allocator< T > > Vector