AWS SDK for C++

AWS SDK for C++ Version 1.11.748

Loading...
Searching...
No Matches
TimeBasedForecastProperties.h
1
6#pragma once
7#include <aws/quicksight/QuickSight_EXPORTS.h>
8
9namespace Aws {
10namespace Utils {
11namespace Json {
12class JsonValue;
13class JsonView;
14} // namespace Json
15} // namespace Utils
16namespace QuickSight {
17namespace Model {
18
26 public:
27 AWS_QUICKSIGHT_API TimeBasedForecastProperties() = default;
30 AWS_QUICKSIGHT_API Aws::Utils::Json::JsonValue Jsonize() const;
31
33
36 inline int GetPeriodsForward() const { return m_periodsForward; }
37 inline bool PeriodsForwardHasBeenSet() const { return m_periodsForwardHasBeenSet; }
38 inline void SetPeriodsForward(int value) {
39 m_periodsForwardHasBeenSet = true;
40 m_periodsForward = value;
41 }
43 SetPeriodsForward(value);
44 return *this;
45 }
47
49
52 inline int GetPeriodsBackward() const { return m_periodsBackward; }
53 inline bool PeriodsBackwardHasBeenSet() const { return m_periodsBackwardHasBeenSet; }
54 inline void SetPeriodsBackward(int value) {
55 m_periodsBackwardHasBeenSet = true;
56 m_periodsBackward = value;
57 }
59 SetPeriodsBackward(value);
60 return *this;
61 }
63
65
68 inline double GetUpperBoundary() const { return m_upperBoundary; }
69 inline bool UpperBoundaryHasBeenSet() const { return m_upperBoundaryHasBeenSet; }
70 inline void SetUpperBoundary(double value) {
71 m_upperBoundaryHasBeenSet = true;
72 m_upperBoundary = value;
73 }
75 SetUpperBoundary(value);
76 return *this;
77 }
79
81
84 inline double GetLowerBoundary() const { return m_lowerBoundary; }
85 inline bool LowerBoundaryHasBeenSet() const { return m_lowerBoundaryHasBeenSet; }
86 inline void SetLowerBoundary(double value) {
87 m_lowerBoundaryHasBeenSet = true;
88 m_lowerBoundary = value;
89 }
91 SetLowerBoundary(value);
92 return *this;
93 }
95
97
100 inline int GetPredictionInterval() const { return m_predictionInterval; }
101 inline bool PredictionIntervalHasBeenSet() const { return m_predictionIntervalHasBeenSet; }
102 inline void SetPredictionInterval(int value) {
103 m_predictionIntervalHasBeenSet = true;
104 m_predictionInterval = value;
105 }
108 return *this;
109 }
111
113
119 inline int GetSeasonality() const { return m_seasonality; }
120 inline bool SeasonalityHasBeenSet() const { return m_seasonalityHasBeenSet; }
121 inline void SetSeasonality(int value) {
122 m_seasonalityHasBeenSet = true;
123 m_seasonality = value;
124 }
126 SetSeasonality(value);
127 return *this;
128 }
130 private:
131 int m_periodsForward{0};
132
133 int m_periodsBackward{0};
134
135 double m_upperBoundary{0.0};
136
137 double m_lowerBoundary{0.0};
138
139 int m_predictionInterval{0};
140
141 int m_seasonality{0};
142 bool m_periodsForwardHasBeenSet = false;
143 bool m_periodsBackwardHasBeenSet = false;
144 bool m_upperBoundaryHasBeenSet = false;
145 bool m_lowerBoundaryHasBeenSet = false;
146 bool m_predictionIntervalHasBeenSet = false;
147 bool m_seasonalityHasBeenSet = false;
148};
149
150} // namespace Model
151} // namespace QuickSight
152} // namespace Aws
TimeBasedForecastProperties & WithPredictionInterval(int value)
TimeBasedForecastProperties & WithUpperBoundary(double value)
AWS_QUICKSIGHT_API TimeBasedForecastProperties()=default
AWS_QUICKSIGHT_API TimeBasedForecastProperties(Aws::Utils::Json::JsonView jsonValue)
AWS_QUICKSIGHT_API Aws::Utils::Json::JsonValue Jsonize() const
TimeBasedForecastProperties & WithPeriodsBackward(int value)
TimeBasedForecastProperties & WithPeriodsForward(int value)
AWS_QUICKSIGHT_API TimeBasedForecastProperties & operator=(Aws::Utils::Json::JsonView jsonValue)
TimeBasedForecastProperties & WithLowerBoundary(double value)
Aws::Utils::Json::JsonValue JsonValue