AWS SDK for C++

AWS SDK for C++ Version 1.11.606

Loading...
Searching...
No Matches
ForecastComputation.h
1
6#pragma once
7#include <aws/quicksight/QuickSight_EXPORTS.h>
8#include <aws/core/utils/memory/stl/AWSString.h>
9#include <aws/quicksight/model/DimensionField.h>
10#include <aws/quicksight/model/MeasureField.h>
11#include <aws/quicksight/model/ForecastComputationSeasonality.h>
12#include <utility>
13
14namespace Aws
15{
16namespace Utils
17{
18namespace Json
19{
20 class JsonValue;
21 class JsonView;
22} // namespace Json
23} // namespace Utils
24namespace QuickSight
25{
26namespace Model
27{
28
35 {
36 public:
37 AWS_QUICKSIGHT_API ForecastComputation() = default;
38 AWS_QUICKSIGHT_API ForecastComputation(Aws::Utils::Json::JsonView jsonValue);
40 AWS_QUICKSIGHT_API Aws::Utils::Json::JsonValue Jsonize() const;
41
42
44
47 inline const Aws::String& GetComputationId() const { return m_computationId; }
48 inline bool ComputationIdHasBeenSet() const { return m_computationIdHasBeenSet; }
49 template<typename ComputationIdT = Aws::String>
50 void SetComputationId(ComputationIdT&& value) { m_computationIdHasBeenSet = true; m_computationId = std::forward<ComputationIdT>(value); }
51 template<typename ComputationIdT = Aws::String>
52 ForecastComputation& WithComputationId(ComputationIdT&& value) { SetComputationId(std::forward<ComputationIdT>(value)); return *this;}
54
56
59 inline const Aws::String& GetName() const { return m_name; }
60 inline bool NameHasBeenSet() const { return m_nameHasBeenSet; }
61 template<typename NameT = Aws::String>
62 void SetName(NameT&& value) { m_nameHasBeenSet = true; m_name = std::forward<NameT>(value); }
63 template<typename NameT = Aws::String>
64 ForecastComputation& WithName(NameT&& value) { SetName(std::forward<NameT>(value)); return *this;}
66
68
71 inline const DimensionField& GetTime() const { return m_time; }
72 inline bool TimeHasBeenSet() const { return m_timeHasBeenSet; }
73 template<typename TimeT = DimensionField>
74 void SetTime(TimeT&& value) { m_timeHasBeenSet = true; m_time = std::forward<TimeT>(value); }
75 template<typename TimeT = DimensionField>
76 ForecastComputation& WithTime(TimeT&& value) { SetTime(std::forward<TimeT>(value)); return *this;}
78
80
83 inline const MeasureField& GetValue() const { return m_value; }
84 inline bool ValueHasBeenSet() const { return m_valueHasBeenSet; }
85 template<typename ValueT = MeasureField>
86 void SetValue(ValueT&& value) { m_valueHasBeenSet = true; m_value = std::forward<ValueT>(value); }
87 template<typename ValueT = MeasureField>
88 ForecastComputation& WithValue(ValueT&& value) { SetValue(std::forward<ValueT>(value)); return *this;}
90
92
95 inline int GetPeriodsForward() const { return m_periodsForward; }
96 inline bool PeriodsForwardHasBeenSet() const { return m_periodsForwardHasBeenSet; }
97 inline void SetPeriodsForward(int value) { m_periodsForwardHasBeenSet = true; m_periodsForward = value; }
98 inline ForecastComputation& WithPeriodsForward(int value) { SetPeriodsForward(value); return *this;}
100
102
105 inline int GetPeriodsBackward() const { return m_periodsBackward; }
106 inline bool PeriodsBackwardHasBeenSet() const { return m_periodsBackwardHasBeenSet; }
107 inline void SetPeriodsBackward(int value) { m_periodsBackwardHasBeenSet = true; m_periodsBackward = value; }
108 inline ForecastComputation& WithPeriodsBackward(int value) { SetPeriodsBackward(value); return *this;}
110
112
115 inline double GetUpperBoundary() const { return m_upperBoundary; }
116 inline bool UpperBoundaryHasBeenSet() const { return m_upperBoundaryHasBeenSet; }
117 inline void SetUpperBoundary(double value) { m_upperBoundaryHasBeenSet = true; m_upperBoundary = value; }
118 inline ForecastComputation& WithUpperBoundary(double value) { SetUpperBoundary(value); return *this;}
120
122
125 inline double GetLowerBoundary() const { return m_lowerBoundary; }
126 inline bool LowerBoundaryHasBeenSet() const { return m_lowerBoundaryHasBeenSet; }
127 inline void SetLowerBoundary(double value) { m_lowerBoundaryHasBeenSet = true; m_lowerBoundary = value; }
128 inline ForecastComputation& WithLowerBoundary(double value) { SetLowerBoundary(value); return *this;}
130
132
135 inline int GetPredictionInterval() const { return m_predictionInterval; }
136 inline bool PredictionIntervalHasBeenSet() const { return m_predictionIntervalHasBeenSet; }
137 inline void SetPredictionInterval(int value) { m_predictionIntervalHasBeenSet = true; m_predictionInterval = value; }
138 inline ForecastComputation& WithPredictionInterval(int value) { SetPredictionInterval(value); return *this;}
140
142
147 inline ForecastComputationSeasonality GetSeasonality() const { return m_seasonality; }
148 inline bool SeasonalityHasBeenSet() const { return m_seasonalityHasBeenSet; }
149 inline void SetSeasonality(ForecastComputationSeasonality value) { m_seasonalityHasBeenSet = true; m_seasonality = value; }
152
154
157 inline int GetCustomSeasonalityValue() const { return m_customSeasonalityValue; }
158 inline bool CustomSeasonalityValueHasBeenSet() const { return m_customSeasonalityValueHasBeenSet; }
159 inline void SetCustomSeasonalityValue(int value) { m_customSeasonalityValueHasBeenSet = true; m_customSeasonalityValue = value; }
162 private:
163
164 Aws::String m_computationId;
165 bool m_computationIdHasBeenSet = false;
166
167 Aws::String m_name;
168 bool m_nameHasBeenSet = false;
169
170 DimensionField m_time;
171 bool m_timeHasBeenSet = false;
172
173 MeasureField m_value;
174 bool m_valueHasBeenSet = false;
175
176 int m_periodsForward{0};
177 bool m_periodsForwardHasBeenSet = false;
178
179 int m_periodsBackward{0};
180 bool m_periodsBackwardHasBeenSet = false;
181
182 double m_upperBoundary{0.0};
183 bool m_upperBoundaryHasBeenSet = false;
184
185 double m_lowerBoundary{0.0};
186 bool m_lowerBoundaryHasBeenSet = false;
187
188 int m_predictionInterval{0};
189 bool m_predictionIntervalHasBeenSet = false;
190
192 bool m_seasonalityHasBeenSet = false;
193
194 int m_customSeasonalityValue{0};
195 bool m_customSeasonalityValueHasBeenSet = false;
196 };
197
198} // namespace Model
199} // namespace QuickSight
200} // namespace Aws
ForecastComputation & WithLowerBoundary(double value)
ForecastComputation & WithCustomSeasonalityValue(int value)
ForecastComputation & WithValue(ValueT &&value)
ForecastComputation & WithPeriodsForward(int value)
AWS_QUICKSIGHT_API ForecastComputation & operator=(Aws::Utils::Json::JsonView jsonValue)
AWS_QUICKSIGHT_API Aws::Utils::Json::JsonValue Jsonize() const
AWS_QUICKSIGHT_API ForecastComputation()=default
ForecastComputation & WithSeasonality(ForecastComputationSeasonality value)
ForecastComputationSeasonality GetSeasonality() const
ForecastComputation & WithPredictionInterval(int value)
ForecastComputation & WithComputationId(ComputationIdT &&value)
ForecastComputation & WithTime(TimeT &&value)
ForecastComputation & WithPeriodsBackward(int value)
ForecastComputation & WithUpperBoundary(double value)
AWS_QUICKSIGHT_API ForecastComputation(Aws::Utils::Json::JsonView jsonValue)
ForecastComputation & WithName(NameT &&value)
void SetSeasonality(ForecastComputationSeasonality value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue