AWS SDK for C++

AWS SDK for C++ Version 1.11.606

Loading...
Searching...
No Matches
StatisticModelResult.h
1
6#pragma once
7#include <aws/glue/Glue_EXPORTS.h>
8#include <aws/core/utils/DateTime.h>
9#include <aws/glue/model/InclusionAnnotationValue.h>
10#include <utility>
11
12namespace Aws
13{
14namespace Utils
15{
16namespace Json
17{
18 class JsonValue;
19 class JsonView;
20} // namespace Json
21} // namespace Utils
22namespace Glue
23{
24namespace Model
25{
26
33 {
34 public:
35 AWS_GLUE_API StatisticModelResult() = default;
39
40
42
45 inline double GetLowerBound() const { return m_lowerBound; }
46 inline bool LowerBoundHasBeenSet() const { return m_lowerBoundHasBeenSet; }
47 inline void SetLowerBound(double value) { m_lowerBoundHasBeenSet = true; m_lowerBound = value; }
48 inline StatisticModelResult& WithLowerBound(double value) { SetLowerBound(value); return *this;}
50
52
55 inline double GetUpperBound() const { return m_upperBound; }
56 inline bool UpperBoundHasBeenSet() const { return m_upperBoundHasBeenSet; }
57 inline void SetUpperBound(double value) { m_upperBoundHasBeenSet = true; m_upperBound = value; }
58 inline StatisticModelResult& WithUpperBound(double value) { SetUpperBound(value); return *this;}
60
62
65 inline double GetPredictedValue() const { return m_predictedValue; }
66 inline bool PredictedValueHasBeenSet() const { return m_predictedValueHasBeenSet; }
67 inline void SetPredictedValue(double value) { m_predictedValueHasBeenSet = true; m_predictedValue = value; }
68 inline StatisticModelResult& WithPredictedValue(double value) { SetPredictedValue(value); return *this;}
70
72
75 inline double GetActualValue() const { return m_actualValue; }
76 inline bool ActualValueHasBeenSet() const { return m_actualValueHasBeenSet; }
77 inline void SetActualValue(double value) { m_actualValueHasBeenSet = true; m_actualValue = value; }
78 inline StatisticModelResult& WithActualValue(double value) { SetActualValue(value); return *this;}
80
82
85 inline const Aws::Utils::DateTime& GetDate() const { return m_date; }
86 inline bool DateHasBeenSet() const { return m_dateHasBeenSet; }
87 template<typename DateT = Aws::Utils::DateTime>
88 void SetDate(DateT&& value) { m_dateHasBeenSet = true; m_date = std::forward<DateT>(value); }
89 template<typename DateT = Aws::Utils::DateTime>
90 StatisticModelResult& WithDate(DateT&& value) { SetDate(std::forward<DateT>(value)); return *this;}
92
94
97 inline InclusionAnnotationValue GetInclusionAnnotation() const { return m_inclusionAnnotation; }
98 inline bool InclusionAnnotationHasBeenSet() const { return m_inclusionAnnotationHasBeenSet; }
99 inline void SetInclusionAnnotation(InclusionAnnotationValue value) { m_inclusionAnnotationHasBeenSet = true; m_inclusionAnnotation = value; }
102 private:
103
104 double m_lowerBound{0.0};
105 bool m_lowerBoundHasBeenSet = false;
106
107 double m_upperBound{0.0};
108 bool m_upperBoundHasBeenSet = false;
109
110 double m_predictedValue{0.0};
111 bool m_predictedValueHasBeenSet = false;
112
113 double m_actualValue{0.0};
114 bool m_actualValueHasBeenSet = false;
115
116 Aws::Utils::DateTime m_date{};
117 bool m_dateHasBeenSet = false;
118
120 bool m_inclusionAnnotationHasBeenSet = false;
121 };
122
123} // namespace Model
124} // namespace Glue
125} // 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