AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
FieldStats.h
1
6#pragma once
7#include <aws/cloudsearchdomain/CloudSearchDomain_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 CloudSearchDomain
22{
23namespace Model
24{
25
33 {
34 public:
35 AWS_CLOUDSEARCHDOMAIN_API FieldStats();
36 AWS_CLOUDSEARCHDOMAIN_API FieldStats(Aws::Utils::Json::JsonView jsonValue);
37 AWS_CLOUDSEARCHDOMAIN_API FieldStats& operator=(Aws::Utils::Json::JsonView jsonValue);
38 AWS_CLOUDSEARCHDOMAIN_API Aws::Utils::Json::JsonValue Jsonize() const;
39
40
42
52 inline const Aws::String& GetMin() const{ return m_min; }
53 inline bool MinHasBeenSet() const { return m_minHasBeenSet; }
54 inline void SetMin(const Aws::String& value) { m_minHasBeenSet = true; m_min = value; }
55 inline void SetMin(Aws::String&& value) { m_minHasBeenSet = true; m_min = std::move(value); }
56 inline void SetMin(const char* value) { m_minHasBeenSet = true; m_min.assign(value); }
57 inline FieldStats& WithMin(const Aws::String& value) { SetMin(value); return *this;}
58 inline FieldStats& WithMin(Aws::String&& value) { SetMin(std::move(value)); return *this;}
59 inline FieldStats& WithMin(const char* value) { SetMin(value); return *this;}
61
63
73 inline const Aws::String& GetMax() const{ return m_max; }
74 inline bool MaxHasBeenSet() const { return m_maxHasBeenSet; }
75 inline void SetMax(const Aws::String& value) { m_maxHasBeenSet = true; m_max = value; }
76 inline void SetMax(Aws::String&& value) { m_maxHasBeenSet = true; m_max = std::move(value); }
77 inline void SetMax(const char* value) { m_maxHasBeenSet = true; m_max.assign(value); }
78 inline FieldStats& WithMax(const Aws::String& value) { SetMax(value); return *this;}
79 inline FieldStats& WithMax(Aws::String&& value) { SetMax(std::move(value)); return *this;}
80 inline FieldStats& WithMax(const char* value) { SetMax(value); return *this;}
82
84
88 inline long long GetCount() const{ return m_count; }
89 inline bool CountHasBeenSet() const { return m_countHasBeenSet; }
90 inline void SetCount(long long value) { m_countHasBeenSet = true; m_count = value; }
91 inline FieldStats& WithCount(long long value) { SetCount(value); return *this;}
93
95
99 inline long long GetMissing() const{ return m_missing; }
100 inline bool MissingHasBeenSet() const { return m_missingHasBeenSet; }
101 inline void SetMissing(long long value) { m_missingHasBeenSet = true; m_missing = value; }
102 inline FieldStats& WithMissing(long long value) { SetMissing(value); return *this;}
104
106
110 inline double GetSum() const{ return m_sum; }
111 inline bool SumHasBeenSet() const { return m_sumHasBeenSet; }
112 inline void SetSum(double value) { m_sumHasBeenSet = true; m_sum = value; }
113 inline FieldStats& WithSum(double value) { SetSum(value); return *this;}
115
117
120 inline double GetSumOfSquares() const{ return m_sumOfSquares; }
121 inline bool SumOfSquaresHasBeenSet() const { return m_sumOfSquaresHasBeenSet; }
122 inline void SetSumOfSquares(double value) { m_sumOfSquaresHasBeenSet = true; m_sumOfSquares = value; }
123 inline FieldStats& WithSumOfSquares(double value) { SetSumOfSquares(value); return *this;}
125
127
137 inline const Aws::String& GetMean() const{ return m_mean; }
138 inline bool MeanHasBeenSet() const { return m_meanHasBeenSet; }
139 inline void SetMean(const Aws::String& value) { m_meanHasBeenSet = true; m_mean = value; }
140 inline void SetMean(Aws::String&& value) { m_meanHasBeenSet = true; m_mean = std::move(value); }
141 inline void SetMean(const char* value) { m_meanHasBeenSet = true; m_mean.assign(value); }
142 inline FieldStats& WithMean(const Aws::String& value) { SetMean(value); return *this;}
143 inline FieldStats& WithMean(Aws::String&& value) { SetMean(std::move(value)); return *this;}
144 inline FieldStats& WithMean(const char* value) { SetMean(value); return *this;}
146
148
152 inline double GetStddev() const{ return m_stddev; }
153 inline bool StddevHasBeenSet() const { return m_stddevHasBeenSet; }
154 inline void SetStddev(double value) { m_stddevHasBeenSet = true; m_stddev = value; }
155 inline FieldStats& WithStddev(double value) { SetStddev(value); return *this;}
157 private:
158
159 Aws::String m_min;
160 bool m_minHasBeenSet = false;
161
162 Aws::String m_max;
163 bool m_maxHasBeenSet = false;
164
165 long long m_count;
166 bool m_countHasBeenSet = false;
167
168 long long m_missing;
169 bool m_missingHasBeenSet = false;
170
171 double m_sum;
172 bool m_sumHasBeenSet = false;
173
174 double m_sumOfSquares;
175 bool m_sumOfSquaresHasBeenSet = false;
176
177 Aws::String m_mean;
178 bool m_meanHasBeenSet = false;
179
180 double m_stddev;
181 bool m_stddevHasBeenSet = false;
182 };
183
184} // namespace Model
185} // namespace CloudSearchDomain
186} // namespace Aws
FieldStats & WithSum(double value)
Definition FieldStats.h:113
FieldStats & WithMissing(long long value)
Definition FieldStats.h:102
FieldStats & WithMean(Aws::String &&value)
Definition FieldStats.h:143
const Aws::String & GetMin() const
Definition FieldStats.h:52
AWS_CLOUDSEARCHDOMAIN_API FieldStats()
FieldStats & WithMin(Aws::String &&value)
Definition FieldStats.h:58
const Aws::String & GetMean() const
Definition FieldStats.h:137
void SetMax(Aws::String &&value)
Definition FieldStats.h:76
FieldStats & WithSumOfSquares(double value)
Definition FieldStats.h:123
void SetMin(const Aws::String &value)
Definition FieldStats.h:54
FieldStats & WithMin(const char *value)
Definition FieldStats.h:59
FieldStats & WithStddev(double value)
Definition FieldStats.h:155
AWS_CLOUDSEARCHDOMAIN_API FieldStats & operator=(Aws::Utils::Json::JsonView jsonValue)
AWS_CLOUDSEARCHDOMAIN_API Aws::Utils::Json::JsonValue Jsonize() const
FieldStats & WithMin(const Aws::String &value)
Definition FieldStats.h:57
FieldStats & WithMean(const Aws::String &value)
Definition FieldStats.h:142
void SetMin(Aws::String &&value)
Definition FieldStats.h:55
AWS_CLOUDSEARCHDOMAIN_API FieldStats(Aws::Utils::Json::JsonView jsonValue)
FieldStats & WithCount(long long value)
Definition FieldStats.h:91
FieldStats & WithMax(const char *value)
Definition FieldStats.h:80
FieldStats & WithMax(Aws::String &&value)
Definition FieldStats.h:79
FieldStats & WithMax(const Aws::String &value)
Definition FieldStats.h:78
void SetMax(const Aws::String &value)
Definition FieldStats.h:75
void SetMean(Aws::String &&value)
Definition FieldStats.h:140
const Aws::String & GetMax() const
Definition FieldStats.h:73
FieldStats & WithMean(const char *value)
Definition FieldStats.h:144
void SetMean(const Aws::String &value)
Definition FieldStats.h:139
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue