AWS SDK for C++

AWS SDK for C++ Version 1.11.747

Loading...
Searching...
No Matches
StatisticModelResult.h
1
6#pragma once
7#include <aws/core/utils/DateTime.h>
8#include <aws/glue/Glue_EXPORTS.h>
9#include <aws/glue/model/InclusionAnnotationValue.h>
10
11#include <utility>
12
13namespace Aws {
14namespace Utils {
15namespace Json {
16class JsonValue;
17class JsonView;
18} // namespace Json
19} // namespace Utils
20namespace Glue {
21namespace Model {
22
29 public:
30 AWS_GLUE_API StatisticModelResult() = default;
34
36
39 inline double GetLowerBound() const { return m_lowerBound; }
40 inline bool LowerBoundHasBeenSet() const { return m_lowerBoundHasBeenSet; }
41 inline void SetLowerBound(double value) {
42 m_lowerBoundHasBeenSet = true;
43 m_lowerBound = value;
44 }
45 inline StatisticModelResult& WithLowerBound(double value) {
46 SetLowerBound(value);
47 return *this;
48 }
50
52
55 inline double GetUpperBound() const { return m_upperBound; }
56 inline bool UpperBoundHasBeenSet() const { return m_upperBoundHasBeenSet; }
57 inline void SetUpperBound(double value) {
58 m_upperBoundHasBeenSet = true;
59 m_upperBound = value;
60 }
61 inline StatisticModelResult& WithUpperBound(double value) {
62 SetUpperBound(value);
63 return *this;
64 }
66
68
71 inline double GetPredictedValue() const { return m_predictedValue; }
72 inline bool PredictedValueHasBeenSet() const { return m_predictedValueHasBeenSet; }
73 inline void SetPredictedValue(double value) {
74 m_predictedValueHasBeenSet = true;
75 m_predictedValue = value;
76 }
78 SetPredictedValue(value);
79 return *this;
80 }
82
84
87 inline double GetActualValue() const { return m_actualValue; }
88 inline bool ActualValueHasBeenSet() const { return m_actualValueHasBeenSet; }
89 inline void SetActualValue(double value) {
90 m_actualValueHasBeenSet = true;
91 m_actualValue = value;
92 }
93 inline StatisticModelResult& WithActualValue(double value) {
94 SetActualValue(value);
95 return *this;
96 }
98
100
103 inline const Aws::Utils::DateTime& GetDate() const { return m_date; }
104 inline bool DateHasBeenSet() const { return m_dateHasBeenSet; }
105 template <typename DateT = Aws::Utils::DateTime>
106 void SetDate(DateT&& value) {
107 m_dateHasBeenSet = true;
108 m_date = std::forward<DateT>(value);
109 }
110 template <typename DateT = Aws::Utils::DateTime>
112 SetDate(std::forward<DateT>(value));
113 return *this;
114 }
116
118
121 inline InclusionAnnotationValue GetInclusionAnnotation() const { return m_inclusionAnnotation; }
122 inline bool InclusionAnnotationHasBeenSet() const { return m_inclusionAnnotationHasBeenSet; }
124 m_inclusionAnnotationHasBeenSet = true;
125 m_inclusionAnnotation = value;
126 }
129 return *this;
130 }
132 private:
133 double m_lowerBound{0.0};
134
135 double m_upperBound{0.0};
136
137 double m_predictedValue{0.0};
138
139 double m_actualValue{0.0};
140
141 Aws::Utils::DateTime m_date{};
142
144 bool m_lowerBoundHasBeenSet = false;
145 bool m_upperBoundHasBeenSet = false;
146 bool m_predictedValueHasBeenSet = false;
147 bool m_actualValueHasBeenSet = false;
148 bool m_dateHasBeenSet = false;
149 bool m_inclusionAnnotationHasBeenSet = false;
150};
151
152} // namespace Model
153} // namespace Glue
154} // namespace Aws
StatisticModelResult & WithUpperBound(double value)
AWS_GLUE_API StatisticModelResult & operator=(Aws::Utils::Json::JsonView jsonValue)
StatisticModelResult & WithDate(DateT &&value)
AWS_GLUE_API StatisticModelResult(Aws::Utils::Json::JsonView jsonValue)
const Aws::Utils::DateTime & GetDate() const
AWS_GLUE_API Aws::Utils::Json::JsonValue Jsonize() const
void SetInclusionAnnotation(InclusionAnnotationValue value)
StatisticModelResult & WithActualValue(double value)
AWS_GLUE_API StatisticModelResult()=default
StatisticModelResult & WithPredictedValue(double value)
StatisticModelResult & WithLowerBound(double value)
StatisticModelResult & WithInclusionAnnotation(InclusionAnnotationValue value)
InclusionAnnotationValue GetInclusionAnnotation() const
Aws::Utils::Json::JsonValue JsonValue