AWS SDK for C++

AWS SDK for C++ Version 1.11.440

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();
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 inline void SetComputationId(const Aws::String& value) { m_computationIdHasBeenSet = true; m_computationId = value; }
50 inline void SetComputationId(Aws::String&& value) { m_computationIdHasBeenSet = true; m_computationId = std::move(value); }
51 inline void SetComputationId(const char* value) { m_computationIdHasBeenSet = true; m_computationId.assign(value); }
52 inline ForecastComputation& WithComputationId(const Aws::String& value) { SetComputationId(value); return *this;}
53 inline ForecastComputation& WithComputationId(Aws::String&& value) { SetComputationId(std::move(value)); return *this;}
54 inline ForecastComputation& WithComputationId(const char* value) { SetComputationId(value); return *this;}
56
58
61 inline const Aws::String& GetName() const{ return m_name; }
62 inline bool NameHasBeenSet() const { return m_nameHasBeenSet; }
63 inline void SetName(const Aws::String& value) { m_nameHasBeenSet = true; m_name = value; }
64 inline void SetName(Aws::String&& value) { m_nameHasBeenSet = true; m_name = std::move(value); }
65 inline void SetName(const char* value) { m_nameHasBeenSet = true; m_name.assign(value); }
66 inline ForecastComputation& WithName(const Aws::String& value) { SetName(value); return *this;}
67 inline ForecastComputation& WithName(Aws::String&& value) { SetName(std::move(value)); return *this;}
68 inline ForecastComputation& WithName(const char* value) { SetName(value); return *this;}
70
72
75 inline const DimensionField& GetTime() const{ return m_time; }
76 inline bool TimeHasBeenSet() const { return m_timeHasBeenSet; }
77 inline void SetTime(const DimensionField& value) { m_timeHasBeenSet = true; m_time = value; }
78 inline void SetTime(DimensionField&& value) { m_timeHasBeenSet = true; m_time = std::move(value); }
79 inline ForecastComputation& WithTime(const DimensionField& value) { SetTime(value); return *this;}
80 inline ForecastComputation& WithTime(DimensionField&& value) { SetTime(std::move(value)); return *this;}
82
84
87 inline const MeasureField& GetValue() const{ return m_value; }
88 inline bool ValueHasBeenSet() const { return m_valueHasBeenSet; }
89 inline void SetValue(const MeasureField& value) { m_valueHasBeenSet = true; m_value = value; }
90 inline void SetValue(MeasureField&& value) { m_valueHasBeenSet = true; m_value = std::move(value); }
91 inline ForecastComputation& WithValue(const MeasureField& value) { SetValue(value); return *this;}
92 inline ForecastComputation& WithValue(MeasureField&& value) { SetValue(std::move(value)); return *this;}
94
96
99 inline int GetPeriodsForward() const{ return m_periodsForward; }
100 inline bool PeriodsForwardHasBeenSet() const { return m_periodsForwardHasBeenSet; }
101 inline void SetPeriodsForward(int value) { m_periodsForwardHasBeenSet = true; m_periodsForward = value; }
102 inline ForecastComputation& WithPeriodsForward(int value) { SetPeriodsForward(value); return *this;}
104
106
109 inline int GetPeriodsBackward() const{ return m_periodsBackward; }
110 inline bool PeriodsBackwardHasBeenSet() const { return m_periodsBackwardHasBeenSet; }
111 inline void SetPeriodsBackward(int value) { m_periodsBackwardHasBeenSet = true; m_periodsBackward = value; }
112 inline ForecastComputation& WithPeriodsBackward(int value) { SetPeriodsBackward(value); return *this;}
114
116
119 inline double GetUpperBoundary() const{ return m_upperBoundary; }
120 inline bool UpperBoundaryHasBeenSet() const { return m_upperBoundaryHasBeenSet; }
121 inline void SetUpperBoundary(double value) { m_upperBoundaryHasBeenSet = true; m_upperBoundary = value; }
122 inline ForecastComputation& WithUpperBoundary(double value) { SetUpperBoundary(value); return *this;}
124
126
129 inline double GetLowerBoundary() const{ return m_lowerBoundary; }
130 inline bool LowerBoundaryHasBeenSet() const { return m_lowerBoundaryHasBeenSet; }
131 inline void SetLowerBoundary(double value) { m_lowerBoundaryHasBeenSet = true; m_lowerBoundary = value; }
132 inline ForecastComputation& WithLowerBoundary(double value) { SetLowerBoundary(value); return *this;}
134
136
139 inline int GetPredictionInterval() const{ return m_predictionInterval; }
140 inline bool PredictionIntervalHasBeenSet() const { return m_predictionIntervalHasBeenSet; }
141 inline void SetPredictionInterval(int value) { m_predictionIntervalHasBeenSet = true; m_predictionInterval = value; }
142 inline ForecastComputation& WithPredictionInterval(int value) { SetPredictionInterval(value); return *this;}
144
146
151 inline const ForecastComputationSeasonality& GetSeasonality() const{ return m_seasonality; }
152 inline bool SeasonalityHasBeenSet() const { return m_seasonalityHasBeenSet; }
153 inline void SetSeasonality(const ForecastComputationSeasonality& value) { m_seasonalityHasBeenSet = true; m_seasonality = value; }
154 inline void SetSeasonality(ForecastComputationSeasonality&& value) { m_seasonalityHasBeenSet = true; m_seasonality = std::move(value); }
156 inline ForecastComputation& WithSeasonality(ForecastComputationSeasonality&& value) { SetSeasonality(std::move(value)); return *this;}
158
160
163 inline int GetCustomSeasonalityValue() const{ return m_customSeasonalityValue; }
164 inline bool CustomSeasonalityValueHasBeenSet() const { return m_customSeasonalityValueHasBeenSet; }
165 inline void SetCustomSeasonalityValue(int value) { m_customSeasonalityValueHasBeenSet = true; m_customSeasonalityValue = value; }
168 private:
169
170 Aws::String m_computationId;
171 bool m_computationIdHasBeenSet = false;
172
173 Aws::String m_name;
174 bool m_nameHasBeenSet = false;
175
176 DimensionField m_time;
177 bool m_timeHasBeenSet = false;
178
179 MeasureField m_value;
180 bool m_valueHasBeenSet = false;
181
182 int m_periodsForward;
183 bool m_periodsForwardHasBeenSet = false;
184
185 int m_periodsBackward;
186 bool m_periodsBackwardHasBeenSet = false;
187
188 double m_upperBoundary;
189 bool m_upperBoundaryHasBeenSet = false;
190
191 double m_lowerBoundary;
192 bool m_lowerBoundaryHasBeenSet = false;
193
194 int m_predictionInterval;
195 bool m_predictionIntervalHasBeenSet = false;
196
197 ForecastComputationSeasonality m_seasonality;
198 bool m_seasonalityHasBeenSet = false;
199
200 int m_customSeasonalityValue;
201 bool m_customSeasonalityValueHasBeenSet = false;
202 };
203
204} // namespace Model
205} // namespace QuickSight
206} // namespace Aws
ForecastComputation & WithLowerBoundary(double value)
ForecastComputation & WithCustomSeasonalityValue(int value)
ForecastComputation & WithComputationId(Aws::String &&value)
ForecastComputation & WithName(const Aws::String &value)
ForecastComputation & WithPeriodsForward(int value)
AWS_QUICKSIGHT_API ForecastComputation & operator=(Aws::Utils::Json::JsonView jsonValue)
void SetTime(const DimensionField &value)
ForecastComputation & WithComputationId(const char *value)
ForecastComputation & WithValue(const MeasureField &value)
AWS_QUICKSIGHT_API Aws::Utils::Json::JsonValue Jsonize() const
ForecastComputation & WithComputationId(const Aws::String &value)
ForecastComputation & WithValue(MeasureField &&value)
ForecastComputation & WithPredictionInterval(int value)
ForecastComputation & WithSeasonality(ForecastComputationSeasonality &&value)
ForecastComputation & WithPeriodsBackward(int value)
ForecastComputation & WithUpperBoundary(double value)
AWS_QUICKSIGHT_API ForecastComputation(Aws::Utils::Json::JsonView jsonValue)
ForecastComputation & WithName(const char *value)
ForecastComputation & WithSeasonality(const ForecastComputationSeasonality &value)
ForecastComputation & WithTime(DimensionField &&value)
void SetSeasonality(ForecastComputationSeasonality &&value)
void SetComputationId(const Aws::String &value)
ForecastComputation & WithTime(const DimensionField &value)
void SetSeasonality(const ForecastComputationSeasonality &value)
ForecastComputation & WithName(Aws::String &&value)
const ForecastComputationSeasonality & GetSeasonality() const
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue