AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
Aggregates.h
1
6#pragma once
7#include <aws/iotsitewise/IoTSiteWise_EXPORTS.h>
8
9namespace Aws
10{
11namespace Utils
12{
13namespace Json
14{
15 class JsonValue;
16 class JsonView;
17} // namespace Json
18} // namespace Utils
19namespace IoTSiteWise
20{
21namespace Model
22{
23
31 {
32 public:
33 AWS_IOTSITEWISE_API Aggregates();
34 AWS_IOTSITEWISE_API Aggregates(Aws::Utils::Json::JsonView jsonValue);
35 AWS_IOTSITEWISE_API Aggregates& operator=(Aws::Utils::Json::JsonView jsonValue);
36 AWS_IOTSITEWISE_API Aws::Utils::Json::JsonValue Jsonize() const;
37
38
40
43 inline double GetAverage() const{ return m_average; }
44 inline bool AverageHasBeenSet() const { return m_averageHasBeenSet; }
45 inline void SetAverage(double value) { m_averageHasBeenSet = true; m_average = value; }
46 inline Aggregates& WithAverage(double value) { SetAverage(value); return *this;}
48
50
53 inline double GetCount() const{ return m_count; }
54 inline bool CountHasBeenSet() const { return m_countHasBeenSet; }
55 inline void SetCount(double value) { m_countHasBeenSet = true; m_count = value; }
56 inline Aggregates& WithCount(double value) { SetCount(value); return *this;}
58
60
63 inline double GetMaximum() const{ return m_maximum; }
64 inline bool MaximumHasBeenSet() const { return m_maximumHasBeenSet; }
65 inline void SetMaximum(double value) { m_maximumHasBeenSet = true; m_maximum = value; }
66 inline Aggregates& WithMaximum(double value) { SetMaximum(value); return *this;}
68
70
73 inline double GetMinimum() const{ return m_minimum; }
74 inline bool MinimumHasBeenSet() const { return m_minimumHasBeenSet; }
75 inline void SetMinimum(double value) { m_minimumHasBeenSet = true; m_minimum = value; }
76 inline Aggregates& WithMinimum(double value) { SetMinimum(value); return *this;}
78
80
83 inline double GetSum() const{ return m_sum; }
84 inline bool SumHasBeenSet() const { return m_sumHasBeenSet; }
85 inline void SetSum(double value) { m_sumHasBeenSet = true; m_sum = value; }
86 inline Aggregates& WithSum(double value) { SetSum(value); return *this;}
88
90
93 inline double GetStandardDeviation() const{ return m_standardDeviation; }
94 inline bool StandardDeviationHasBeenSet() const { return m_standardDeviationHasBeenSet; }
95 inline void SetStandardDeviation(double value) { m_standardDeviationHasBeenSet = true; m_standardDeviation = value; }
96 inline Aggregates& WithStandardDeviation(double value) { SetStandardDeviation(value); return *this;}
98 private:
99
100 double m_average;
101 bool m_averageHasBeenSet = false;
102
103 double m_count;
104 bool m_countHasBeenSet = false;
105
106 double m_maximum;
107 bool m_maximumHasBeenSet = false;
108
109 double m_minimum;
110 bool m_minimumHasBeenSet = false;
111
112 double m_sum;
113 bool m_sumHasBeenSet = false;
114
115 double m_standardDeviation;
116 bool m_standardDeviationHasBeenSet = false;
117 };
118
119} // namespace Model
120} // namespace IoTSiteWise
121} // namespace Aws
Aggregates & WithMinimum(double value)
Definition Aggregates.h:76
void SetStandardDeviation(double value)
Definition Aggregates.h:95
Aggregates & WithSum(double value)
Definition Aggregates.h:86
AWS_IOTSITEWISE_API Aws::Utils::Json::JsonValue Jsonize() const
AWS_IOTSITEWISE_API Aggregates(Aws::Utils::Json::JsonView jsonValue)
AWS_IOTSITEWISE_API Aggregates & operator=(Aws::Utils::Json::JsonView jsonValue)
Aggregates & WithAverage(double value)
Definition Aggregates.h:46
Aggregates & WithStandardDeviation(double value)
Definition Aggregates.h:96
AWS_IOTSITEWISE_API Aggregates()
Aggregates & WithMaximum(double value)
Definition Aggregates.h:66
Aggregates & WithCount(double value)
Definition Aggregates.h:56
Aws::Utils::Json::JsonValue JsonValue