AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
Statistics.h
1
6#pragma once
7#include <aws/forecast/ForecastService_EXPORTS.h>
8#include <aws/core/utils/memory/stl/AWSString.h>
9#include <utility>
10
11namespace Aws
12{
13namespace Utils
14{
15namespace Json
16{
17 class JsonValue;
18 class JsonView;
19} // namespace Json
20} // namespace Utils
21namespace ForecastService
22{
23namespace Model
24{
25
35 {
36 public:
37 AWS_FORECASTSERVICE_API Statistics();
38 AWS_FORECASTSERVICE_API Statistics(Aws::Utils::Json::JsonView jsonValue);
39 AWS_FORECASTSERVICE_API Statistics& operator=(Aws::Utils::Json::JsonView jsonValue);
40 AWS_FORECASTSERVICE_API Aws::Utils::Json::JsonValue Jsonize() const;
41
42
44
48 inline int GetCount() const{ return m_count; }
49 inline bool CountHasBeenSet() const { return m_countHasBeenSet; }
50 inline void SetCount(int value) { m_countHasBeenSet = true; m_count = value; }
51 inline Statistics& WithCount(int value) { SetCount(value); return *this;}
53
55
59 inline int GetCountDistinct() const{ return m_countDistinct; }
60 inline bool CountDistinctHasBeenSet() const { return m_countDistinctHasBeenSet; }
61 inline void SetCountDistinct(int value) { m_countDistinctHasBeenSet = true; m_countDistinct = value; }
62 inline Statistics& WithCountDistinct(int value) { SetCountDistinct(value); return *this;}
64
66
70 inline int GetCountNull() const{ return m_countNull; }
71 inline bool CountNullHasBeenSet() const { return m_countNullHasBeenSet; }
72 inline void SetCountNull(int value) { m_countNullHasBeenSet = true; m_countNull = value; }
73 inline Statistics& WithCountNull(int value) { SetCountNull(value); return *this;}
75
77
81 inline int GetCountNan() const{ return m_countNan; }
82 inline bool CountNanHasBeenSet() const { return m_countNanHasBeenSet; }
83 inline void SetCountNan(int value) { m_countNanHasBeenSet = true; m_countNan = value; }
84 inline Statistics& WithCountNan(int value) { SetCountNan(value); return *this;}
86
88
91 inline const Aws::String& GetMin() const{ return m_min; }
92 inline bool MinHasBeenSet() const { return m_minHasBeenSet; }
93 inline void SetMin(const Aws::String& value) { m_minHasBeenSet = true; m_min = value; }
94 inline void SetMin(Aws::String&& value) { m_minHasBeenSet = true; m_min = std::move(value); }
95 inline void SetMin(const char* value) { m_minHasBeenSet = true; m_min.assign(value); }
96 inline Statistics& WithMin(const Aws::String& value) { SetMin(value); return *this;}
97 inline Statistics& WithMin(Aws::String&& value) { SetMin(std::move(value)); return *this;}
98 inline Statistics& WithMin(const char* value) { SetMin(value); return *this;}
100
102
105 inline const Aws::String& GetMax() const{ return m_max; }
106 inline bool MaxHasBeenSet() const { return m_maxHasBeenSet; }
107 inline void SetMax(const Aws::String& value) { m_maxHasBeenSet = true; m_max = value; }
108 inline void SetMax(Aws::String&& value) { m_maxHasBeenSet = true; m_max = std::move(value); }
109 inline void SetMax(const char* value) { m_maxHasBeenSet = true; m_max.assign(value); }
110 inline Statistics& WithMax(const Aws::String& value) { SetMax(value); return *this;}
111 inline Statistics& WithMax(Aws::String&& value) { SetMax(std::move(value)); return *this;}
112 inline Statistics& WithMax(const char* value) { SetMax(value); return *this;}
114
116
119 inline double GetAvg() const{ return m_avg; }
120 inline bool AvgHasBeenSet() const { return m_avgHasBeenSet; }
121 inline void SetAvg(double value) { m_avgHasBeenSet = true; m_avg = value; }
122 inline Statistics& WithAvg(double value) { SetAvg(value); return *this;}
124
126
129 inline double GetStddev() const{ return m_stddev; }
130 inline bool StddevHasBeenSet() const { return m_stddevHasBeenSet; }
131 inline void SetStddev(double value) { m_stddevHasBeenSet = true; m_stddev = value; }
132 inline Statistics& WithStddev(double value) { SetStddev(value); return *this;}
134
136
140 inline long long GetCountLong() const{ return m_countLong; }
141 inline bool CountLongHasBeenSet() const { return m_countLongHasBeenSet; }
142 inline void SetCountLong(long long value) { m_countLongHasBeenSet = true; m_countLong = value; }
143 inline Statistics& WithCountLong(long long value) { SetCountLong(value); return *this;}
145
147
152 inline long long GetCountDistinctLong() const{ return m_countDistinctLong; }
153 inline bool CountDistinctLongHasBeenSet() const { return m_countDistinctLongHasBeenSet; }
154 inline void SetCountDistinctLong(long long value) { m_countDistinctLongHasBeenSet = true; m_countDistinctLong = value; }
155 inline Statistics& WithCountDistinctLong(long long value) { SetCountDistinctLong(value); return *this;}
157
159
164 inline long long GetCountNullLong() const{ return m_countNullLong; }
165 inline bool CountNullLongHasBeenSet() const { return m_countNullLongHasBeenSet; }
166 inline void SetCountNullLong(long long value) { m_countNullLongHasBeenSet = true; m_countNullLong = value; }
167 inline Statistics& WithCountNullLong(long long value) { SetCountNullLong(value); return *this;}
169
171
176 inline long long GetCountNanLong() const{ return m_countNanLong; }
177 inline bool CountNanLongHasBeenSet() const { return m_countNanLongHasBeenSet; }
178 inline void SetCountNanLong(long long value) { m_countNanLongHasBeenSet = true; m_countNanLong = value; }
179 inline Statistics& WithCountNanLong(long long value) { SetCountNanLong(value); return *this;}
181 private:
182
183 int m_count;
184 bool m_countHasBeenSet = false;
185
186 int m_countDistinct;
187 bool m_countDistinctHasBeenSet = false;
188
189 int m_countNull;
190 bool m_countNullHasBeenSet = false;
191
192 int m_countNan;
193 bool m_countNanHasBeenSet = false;
194
195 Aws::String m_min;
196 bool m_minHasBeenSet = false;
197
198 Aws::String m_max;
199 bool m_maxHasBeenSet = false;
200
201 double m_avg;
202 bool m_avgHasBeenSet = false;
203
204 double m_stddev;
205 bool m_stddevHasBeenSet = false;
206
207 long long m_countLong;
208 bool m_countLongHasBeenSet = false;
209
210 long long m_countDistinctLong;
211 bool m_countDistinctLongHasBeenSet = false;
212
213 long long m_countNullLong;
214 bool m_countNullLongHasBeenSet = false;
215
216 long long m_countNanLong;
217 bool m_countNanLongHasBeenSet = false;
218 };
219
220} // namespace Model
221} // namespace ForecastService
222} // namespace Aws
Statistics & WithStddev(double value)
Definition Statistics.h:132
void SetMax(const Aws::String &value)
Definition Statistics.h:107
Statistics & WithCount(int value)
Definition Statistics.h:51
AWS_FORECASTSERVICE_API Statistics(Aws::Utils::Json::JsonView jsonValue)
Statistics & WithAvg(double value)
Definition Statistics.h:122
Statistics & WithCountDistinct(int value)
Definition Statistics.h:62
void SetCountDistinctLong(long long value)
Definition Statistics.h:154
const Aws::String & GetMin() const
Definition Statistics.h:91
Statistics & WithCountNull(int value)
Definition Statistics.h:73
Statistics & WithCountLong(long long value)
Definition Statistics.h:143
void SetMax(Aws::String &&value)
Definition Statistics.h:108
Statistics & WithMax(const char *value)
Definition Statistics.h:112
Statistics & WithMax(const Aws::String &value)
Definition Statistics.h:110
Statistics & WithMin(Aws::String &&value)
Definition Statistics.h:97
Statistics & WithMax(Aws::String &&value)
Definition Statistics.h:111
Statistics & WithCountNan(int value)
Definition Statistics.h:84
void SetMin(const Aws::String &value)
Definition Statistics.h:93
AWS_FORECASTSERVICE_API Statistics & operator=(Aws::Utils::Json::JsonView jsonValue)
Statistics & WithCountNullLong(long long value)
Definition Statistics.h:167
void SetMin(Aws::String &&value)
Definition Statistics.h:94
Statistics & WithCountDistinctLong(long long value)
Definition Statistics.h:155
Statistics & WithCountNanLong(long long value)
Definition Statistics.h:179
Statistics & WithMin(const Aws::String &value)
Definition Statistics.h:96
const Aws::String & GetMax() const
Definition Statistics.h:105
void SetCountNullLong(long long value)
Definition Statistics.h:166
void SetCountNanLong(long long value)
Definition Statistics.h:178
AWS_FORECASTSERVICE_API Aws::Utils::Json::JsonValue Jsonize() const
Statistics & WithMin(const char *value)
Definition Statistics.h:98
AWS_FORECASTSERVICE_API Statistics()
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue