AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
TimeSeriesForecastingJobConfig.h
1
6#pragma once
7#include <aws/sagemaker/SageMaker_EXPORTS.h>
8#include <aws/core/utils/memory/stl/AWSString.h>
9#include <aws/sagemaker/model/AutoMLJobCompletionCriteria.h>
10#include <aws/core/utils/memory/stl/AWSVector.h>
11#include <aws/sagemaker/model/TimeSeriesTransformations.h>
12#include <aws/sagemaker/model/TimeSeriesConfig.h>
13#include <aws/sagemaker/model/CandidateGenerationConfig.h>
14#include <aws/sagemaker/model/HolidayConfigAttributes.h>
15#include <utility>
16
17namespace Aws
18{
19namespace Utils
20{
21namespace Json
22{
23 class JsonValue;
24 class JsonView;
25} // namespace Json
26} // namespace Utils
27namespace SageMaker
28{
29namespace Model
30{
31
39 {
40 public:
41 AWS_SAGEMAKER_API TimeSeriesForecastingJobConfig();
44 AWS_SAGEMAKER_API Aws::Utils::Json::JsonValue Jsonize() const;
45
46
48
65 inline const Aws::String& GetFeatureSpecificationS3Uri() const{ return m_featureSpecificationS3Uri; }
66 inline bool FeatureSpecificationS3UriHasBeenSet() const { return m_featureSpecificationS3UriHasBeenSet; }
67 inline void SetFeatureSpecificationS3Uri(const Aws::String& value) { m_featureSpecificationS3UriHasBeenSet = true; m_featureSpecificationS3Uri = value; }
68 inline void SetFeatureSpecificationS3Uri(Aws::String&& value) { m_featureSpecificationS3UriHasBeenSet = true; m_featureSpecificationS3Uri = std::move(value); }
69 inline void SetFeatureSpecificationS3Uri(const char* value) { m_featureSpecificationS3UriHasBeenSet = true; m_featureSpecificationS3Uri.assign(value); }
74
76
77 inline const AutoMLJobCompletionCriteria& GetCompletionCriteria() const{ return m_completionCriteria; }
78 inline bool CompletionCriteriaHasBeenSet() const { return m_completionCriteriaHasBeenSet; }
79 inline void SetCompletionCriteria(const AutoMLJobCompletionCriteria& value) { m_completionCriteriaHasBeenSet = true; m_completionCriteria = value; }
80 inline void SetCompletionCriteria(AutoMLJobCompletionCriteria&& value) { m_completionCriteriaHasBeenSet = true; m_completionCriteria = std::move(value); }
84
86
97 inline const Aws::String& GetForecastFrequency() const{ return m_forecastFrequency; }
98 inline bool ForecastFrequencyHasBeenSet() const { return m_forecastFrequencyHasBeenSet; }
99 inline void SetForecastFrequency(const Aws::String& value) { m_forecastFrequencyHasBeenSet = true; m_forecastFrequency = value; }
100 inline void SetForecastFrequency(Aws::String&& value) { m_forecastFrequencyHasBeenSet = true; m_forecastFrequency = std::move(value); }
101 inline void SetForecastFrequency(const char* value) { m_forecastFrequencyHasBeenSet = true; m_forecastFrequency.assign(value); }
104 inline TimeSeriesForecastingJobConfig& WithForecastFrequency(const char* value) { SetForecastFrequency(value); return *this;}
106
108
113 inline int GetForecastHorizon() const{ return m_forecastHorizon; }
114 inline bool ForecastHorizonHasBeenSet() const { return m_forecastHorizonHasBeenSet; }
115 inline void SetForecastHorizon(int value) { m_forecastHorizonHasBeenSet = true; m_forecastHorizon = value; }
118
120
127 inline const Aws::Vector<Aws::String>& GetForecastQuantiles() const{ return m_forecastQuantiles; }
128 inline bool ForecastQuantilesHasBeenSet() const { return m_forecastQuantilesHasBeenSet; }
129 inline void SetForecastQuantiles(const Aws::Vector<Aws::String>& value) { m_forecastQuantilesHasBeenSet = true; m_forecastQuantiles = value; }
130 inline void SetForecastQuantiles(Aws::Vector<Aws::String>&& value) { m_forecastQuantilesHasBeenSet = true; m_forecastQuantiles = std::move(value); }
133 inline TimeSeriesForecastingJobConfig& AddForecastQuantiles(const Aws::String& value) { m_forecastQuantilesHasBeenSet = true; m_forecastQuantiles.push_back(value); return *this; }
134 inline TimeSeriesForecastingJobConfig& AddForecastQuantiles(Aws::String&& value) { m_forecastQuantilesHasBeenSet = true; m_forecastQuantiles.push_back(std::move(value)); return *this; }
135 inline TimeSeriesForecastingJobConfig& AddForecastQuantiles(const char* value) { m_forecastQuantilesHasBeenSet = true; m_forecastQuantiles.push_back(value); return *this; }
137
139
143 inline const TimeSeriesTransformations& GetTransformations() const{ return m_transformations; }
144 inline bool TransformationsHasBeenSet() const { return m_transformationsHasBeenSet; }
145 inline void SetTransformations(const TimeSeriesTransformations& value) { m_transformationsHasBeenSet = true; m_transformations = value; }
146 inline void SetTransformations(TimeSeriesTransformations&& value) { m_transformationsHasBeenSet = true; m_transformations = std::move(value); }
150
152
155 inline const TimeSeriesConfig& GetTimeSeriesConfig() const{ return m_timeSeriesConfig; }
156 inline bool TimeSeriesConfigHasBeenSet() const { return m_timeSeriesConfigHasBeenSet; }
157 inline void SetTimeSeriesConfig(const TimeSeriesConfig& value) { m_timeSeriesConfigHasBeenSet = true; m_timeSeriesConfig = value; }
158 inline void SetTimeSeriesConfig(TimeSeriesConfig&& value) { m_timeSeriesConfigHasBeenSet = true; m_timeSeriesConfig = std::move(value); }
162
164
168 inline const Aws::Vector<HolidayConfigAttributes>& GetHolidayConfig() const{ return m_holidayConfig; }
169 inline bool HolidayConfigHasBeenSet() const { return m_holidayConfigHasBeenSet; }
170 inline void SetHolidayConfig(const Aws::Vector<HolidayConfigAttributes>& value) { m_holidayConfigHasBeenSet = true; m_holidayConfig = value; }
171 inline void SetHolidayConfig(Aws::Vector<HolidayConfigAttributes>&& value) { m_holidayConfigHasBeenSet = true; m_holidayConfig = std::move(value); }
174 inline TimeSeriesForecastingJobConfig& AddHolidayConfig(const HolidayConfigAttributes& value) { m_holidayConfigHasBeenSet = true; m_holidayConfig.push_back(value); return *this; }
175 inline TimeSeriesForecastingJobConfig& AddHolidayConfig(HolidayConfigAttributes&& value) { m_holidayConfigHasBeenSet = true; m_holidayConfig.push_back(std::move(value)); return *this; }
177
179
180 inline const CandidateGenerationConfig& GetCandidateGenerationConfig() const{ return m_candidateGenerationConfig; }
181 inline bool CandidateGenerationConfigHasBeenSet() const { return m_candidateGenerationConfigHasBeenSet; }
182 inline void SetCandidateGenerationConfig(const CandidateGenerationConfig& value) { m_candidateGenerationConfigHasBeenSet = true; m_candidateGenerationConfig = value; }
183 inline void SetCandidateGenerationConfig(CandidateGenerationConfig&& value) { m_candidateGenerationConfigHasBeenSet = true; m_candidateGenerationConfig = std::move(value); }
187 private:
188
189 Aws::String m_featureSpecificationS3Uri;
190 bool m_featureSpecificationS3UriHasBeenSet = false;
191
192 AutoMLJobCompletionCriteria m_completionCriteria;
193 bool m_completionCriteriaHasBeenSet = false;
194
195 Aws::String m_forecastFrequency;
196 bool m_forecastFrequencyHasBeenSet = false;
197
198 int m_forecastHorizon;
199 bool m_forecastHorizonHasBeenSet = false;
200
201 Aws::Vector<Aws::String> m_forecastQuantiles;
202 bool m_forecastQuantilesHasBeenSet = false;
203
204 TimeSeriesTransformations m_transformations;
205 bool m_transformationsHasBeenSet = false;
206
207 TimeSeriesConfig m_timeSeriesConfig;
208 bool m_timeSeriesConfigHasBeenSet = false;
209
211 bool m_holidayConfigHasBeenSet = false;
212
213 CandidateGenerationConfig m_candidateGenerationConfig;
214 bool m_candidateGenerationConfigHasBeenSet = false;
215 };
216
217} // namespace Model
218} // namespace SageMaker
219} // namespace Aws
TimeSeriesForecastingJobConfig & WithForecastFrequency(const Aws::String &value)
TimeSeriesForecastingJobConfig & AddHolidayConfig(const HolidayConfigAttributes &value)
void SetForecastQuantiles(const Aws::Vector< Aws::String > &value)
TimeSeriesForecastingJobConfig & WithForecastQuantiles(const Aws::Vector< Aws::String > &value)
TimeSeriesForecastingJobConfig & AddHolidayConfig(HolidayConfigAttributes &&value)
TimeSeriesForecastingJobConfig & WithTimeSeriesConfig(const TimeSeriesConfig &value)
void SetTransformations(const TimeSeriesTransformations &value)
TimeSeriesForecastingJobConfig & WithTransformations(const TimeSeriesTransformations &value)
TimeSeriesForecastingJobConfig & WithForecastFrequency(const char *value)
AWS_SAGEMAKER_API TimeSeriesForecastingJobConfig & operator=(Aws::Utils::Json::JsonView jsonValue)
TimeSeriesForecastingJobConfig & WithHolidayConfig(Aws::Vector< HolidayConfigAttributes > &&value)
void SetCandidateGenerationConfig(const CandidateGenerationConfig &value)
const Aws::Vector< HolidayConfigAttributes > & GetHolidayConfig() const
TimeSeriesForecastingJobConfig & WithTransformations(TimeSeriesTransformations &&value)
TimeSeriesForecastingJobConfig & WithCompletionCriteria(const AutoMLJobCompletionCriteria &value)
AWS_SAGEMAKER_API Aws::Utils::Json::JsonValue Jsonize() const
TimeSeriesForecastingJobConfig & WithForecastFrequency(Aws::String &&value)
const CandidateGenerationConfig & GetCandidateGenerationConfig() const
void SetCompletionCriteria(const AutoMLJobCompletionCriteria &value)
const Aws::Vector< Aws::String > & GetForecastQuantiles() const
TimeSeriesForecastingJobConfig & AddForecastQuantiles(const Aws::String &value)
TimeSeriesForecastingJobConfig & WithFeatureSpecificationS3Uri(Aws::String &&value)
TimeSeriesForecastingJobConfig & WithFeatureSpecificationS3Uri(const Aws::String &value)
TimeSeriesForecastingJobConfig & WithTimeSeriesConfig(TimeSeriesConfig &&value)
TimeSeriesForecastingJobConfig & AddForecastQuantiles(const char *value)
void SetHolidayConfig(const Aws::Vector< HolidayConfigAttributes > &value)
TimeSeriesForecastingJobConfig & WithCompletionCriteria(AutoMLJobCompletionCriteria &&value)
TimeSeriesForecastingJobConfig & WithForecastQuantiles(Aws::Vector< Aws::String > &&value)
TimeSeriesForecastingJobConfig & WithHolidayConfig(const Aws::Vector< HolidayConfigAttributes > &value)
void SetCompletionCriteria(AutoMLJobCompletionCriteria &&value)
TimeSeriesForecastingJobConfig & AddForecastQuantiles(Aws::String &&value)
AWS_SAGEMAKER_API TimeSeriesForecastingJobConfig(Aws::Utils::Json::JsonView jsonValue)
TimeSeriesForecastingJobConfig & WithCandidateGenerationConfig(const CandidateGenerationConfig &value)
TimeSeriesForecastingJobConfig & WithFeatureSpecificationS3Uri(const char *value)
TimeSeriesForecastingJobConfig & WithCandidateGenerationConfig(CandidateGenerationConfig &&value)
TimeSeriesForecastingJobConfig & WithForecastHorizon(int value)
void SetHolidayConfig(Aws::Vector< HolidayConfigAttributes > &&value)
const AutoMLJobCompletionCriteria & GetCompletionCriteria() const
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
std::vector< T, Aws::Allocator< T > > Vector
Aws::Utils::Json::JsonValue JsonValue