7#include <aws/iot/IoT_EXPORTS.h>
48 inline void SetCount(
int value) { m_countHasBeenSet =
true; m_count = value; }
58 inline void SetAverage(
double value) { m_averageHasBeenSet =
true; m_average = value; }
66 inline double GetSum()
const{
return m_sum; }
68 inline void SetSum(
double value) { m_sumHasBeenSet =
true; m_sum = value; }
78 inline void SetMinimum(
double value) { m_minimumHasBeenSet =
true; m_minimum = value; }
88 inline void SetMaximum(
double value) { m_maximumHasBeenSet =
true; m_maximum = value; }
98 inline void SetSumOfSquares(
double value) { m_sumOfSquaresHasBeenSet =
true; m_sumOfSquares = value; }
108 inline void SetVariance(
double value) { m_varianceHasBeenSet =
true; m_variance = value; }
118 inline void SetStdDeviation(
double value) { m_stdDeviationHasBeenSet =
true; m_stdDeviation = value; }
124 bool m_countHasBeenSet =
false;
127 bool m_averageHasBeenSet =
false;
130 bool m_sumHasBeenSet =
false;
133 bool m_minimumHasBeenSet =
false;
136 bool m_maximumHasBeenSet =
false;
138 double m_sumOfSquares;
139 bool m_sumOfSquaresHasBeenSet =
false;
142 bool m_varianceHasBeenSet =
false;
144 double m_stdDeviation;
145 bool m_stdDeviationHasBeenSet =
false;
void SetMinimum(double value)
void SetSum(double value)
void SetVariance(double value)
void SetAverage(double value)
bool AverageHasBeenSet() const
Statistics & WithCount(int value)
double GetMaximum() const
double GetVariance() const
double GetStdDeviation() const
void SetMaximum(double value)
bool StdDeviationHasBeenSet() const
AWS_IOT_API Aws::Utils::Json::JsonValue Jsonize() const
Statistics & WithAverage(double value)
bool CountHasBeenSet() const
bool SumOfSquaresHasBeenSet() const
bool SumHasBeenSet() const
Statistics & WithSumOfSquares(double value)
Statistics & WithStdDeviation(double value)
AWS_IOT_API Statistics & operator=(Aws::Utils::Json::JsonView jsonValue)
double GetSumOfSquares() const
void SetSumOfSquares(double value)
double GetAverage() const
bool MinimumHasBeenSet() const
void SetStdDeviation(double value)
double GetMinimum() const
Statistics & WithSum(double value)
Statistics & WithMinimum(double value)
AWS_IOT_API Statistics(Aws::Utils::Json::JsonView jsonValue)
Statistics & WithVariance(double value)
bool MaximumHasBeenSet() const
Statistics & WithMaximum(double value)
bool VarianceHasBeenSet() const
Aws::Utils::Json::JsonValue JsonValue