AWS SDK for C++  1.9.153
AWS SDK for C++
Aggregates.h
Go to the documentation of this file.
1 
6 #pragma once
8 
9 namespace Aws
10 {
11 namespace Utils
12 {
13 namespace Json
14 {
15  class JsonValue;
16  class JsonView;
17 } // namespace Json
18 } // namespace Utils
19 namespace IoTSiteWise
20 {
21 namespace Model
22 {
23 
31  {
32  public:
37 
38 
42  inline double GetAverage() const{ return m_average; }
43 
47  inline bool AverageHasBeenSet() const { return m_averageHasBeenSet; }
48 
52  inline void SetAverage(double value) { m_averageHasBeenSet = true; m_average = value; }
53 
57  inline Aggregates& WithAverage(double value) { SetAverage(value); return *this;}
58 
59 
63  inline double GetCount() const{ return m_count; }
64 
68  inline bool CountHasBeenSet() const { return m_countHasBeenSet; }
69 
73  inline void SetCount(double value) { m_countHasBeenSet = true; m_count = value; }
74 
78  inline Aggregates& WithCount(double value) { SetCount(value); return *this;}
79 
80 
84  inline double GetMaximum() const{ return m_maximum; }
85 
89  inline bool MaximumHasBeenSet() const { return m_maximumHasBeenSet; }
90 
94  inline void SetMaximum(double value) { m_maximumHasBeenSet = true; m_maximum = value; }
95 
99  inline Aggregates& WithMaximum(double value) { SetMaximum(value); return *this;}
100 
101 
105  inline double GetMinimum() const{ return m_minimum; }
106 
110  inline bool MinimumHasBeenSet() const { return m_minimumHasBeenSet; }
111 
115  inline void SetMinimum(double value) { m_minimumHasBeenSet = true; m_minimum = value; }
116 
120  inline Aggregates& WithMinimum(double value) { SetMinimum(value); return *this;}
121 
122 
126  inline double GetSum() const{ return m_sum; }
127 
131  inline bool SumHasBeenSet() const { return m_sumHasBeenSet; }
132 
136  inline void SetSum(double value) { m_sumHasBeenSet = true; m_sum = value; }
137 
141  inline Aggregates& WithSum(double value) { SetSum(value); return *this;}
142 
143 
147  inline double GetStandardDeviation() const{ return m_standardDeviation; }
148 
152  inline bool StandardDeviationHasBeenSet() const { return m_standardDeviationHasBeenSet; }
153 
157  inline void SetStandardDeviation(double value) { m_standardDeviationHasBeenSet = true; m_standardDeviation = value; }
158 
162  inline Aggregates& WithStandardDeviation(double value) { SetStandardDeviation(value); return *this;}
163 
164  private:
165 
166  double m_average;
167  bool m_averageHasBeenSet;
168 
169  double m_count;
170  bool m_countHasBeenSet;
171 
172  double m_maximum;
173  bool m_maximumHasBeenSet;
174 
175  double m_minimum;
176  bool m_minimumHasBeenSet;
177 
178  double m_sum;
179  bool m_sumHasBeenSet;
180 
181  double m_standardDeviation;
182  bool m_standardDeviationHasBeenSet;
183  };
184 
185 } // namespace Model
186 } // namespace IoTSiteWise
187 } // namespace Aws
Aws::IoTSiteWise::Model::Aggregates::SetAverage
void SetAverage(double value)
Definition: Aggregates.h:52
Aws::IoTSiteWise::Model::Aggregates::AverageHasBeenSet
bool AverageHasBeenSet() const
Definition: Aggregates.h:47
Aws::IoTSiteWise::Model::Aggregates
Definition: Aggregates.h:31
Aws::IoTSiteWise::Model::Aggregates::GetCount
double GetCount() const
Definition: Aggregates.h:63
Aws::IoTSiteWise::Model::Aggregates::GetStandardDeviation
double GetStandardDeviation() const
Definition: Aggregates.h:147
Aws::IoTSiteWise::Model::Aggregates::SumHasBeenSet
bool SumHasBeenSet() const
Definition: Aggregates.h:131
IoTSiteWise_EXPORTS.h
Aws::IoTSiteWise::Model::Aggregates::GetMinimum
double GetMinimum() const
Definition: Aggregates.h:105
Aws::IoTSiteWise::Model::Aggregates::SetStandardDeviation
void SetStandardDeviation(double value)
Definition: Aggregates.h:157
AWS_IOTSITEWISE_API
#define AWS_IOTSITEWISE_API
Definition: IoTSiteWise_EXPORTS.h:28
Aws::IoTSiteWise::Model::Aggregates::WithCount
Aggregates & WithCount(double value)
Definition: Aggregates.h:78
Aws::IoTSiteWise::Model::Aggregates::StandardDeviationHasBeenSet
bool StandardDeviationHasBeenSet() const
Definition: Aggregates.h:152
Aws::IoTSiteWise::Model::Aggregates::SetCount
void SetCount(double value)
Definition: Aggregates.h:73
Aws::IoTSiteWise::Model::Aggregates::GetMaximum
double GetMaximum() const
Definition: Aggregates.h:84
Aws::IoTSiteWise::Model::Aggregates::SetMaximum
void SetMaximum(double value)
Definition: Aggregates.h:94
Aws::IoTSiteWise::Model::Aggregates::WithAverage
Aggregates & WithAverage(double value)
Definition: Aggregates.h:57
Aws::IoTSiteWise::Model::Aggregates::Aggregates
Aggregates(Aws::Utils::Json::JsonView jsonValue)
Aws::IoTSiteWise::Model::Aggregates::GetSum
double GetSum() const
Definition: Aggregates.h:126
Aws::Utils::Json::JsonView
Definition: JsonSerializer.h:235
Aws::Utils::Json::JsonValue
Definition: JsonSerializer.h:33
Aws::IoTSiteWise::Model::Aggregates::WithMaximum
Aggregates & WithMaximum(double value)
Definition: Aggregates.h:99
Aws::IoTSiteWise::Model::Aggregates::WithSum
Aggregates & WithSum(double value)
Definition: Aggregates.h:141
Aws::IoTSiteWise::Model::Aggregates::MaximumHasBeenSet
bool MaximumHasBeenSet() const
Definition: Aggregates.h:89
Aws::IoTSiteWise::Model::Aggregates::WithMinimum
Aggregates & WithMinimum(double value)
Definition: Aggregates.h:120
Aws::IoTSiteWise::Model::Aggregates::operator=
Aggregates & operator=(Aws::Utils::Json::JsonView jsonValue)
Aws::MigrationHubStrategyRecommendations::Model::OutputFormat::NOT_SET
@ NOT_SET
Aws
Definition: AccessManagementClient.h:15
Aws::IoTSiteWise::Model::Aggregates::WithStandardDeviation
Aggregates & WithStandardDeviation(double value)
Definition: Aggregates.h:162
Aws::IoTSiteWise::Model::Aggregates::Aggregates
Aggregates()
Aws::IoTSiteWise::Model::Aggregates::MinimumHasBeenSet
bool MinimumHasBeenSet() const
Definition: Aggregates.h:110
Aws::IoTSiteWise::Model::Aggregates::CountHasBeenSet
bool CountHasBeenSet() const
Definition: Aggregates.h:68
Aws::IoTSiteWise::Model::Aggregates::Jsonize
Aws::Utils::Json::JsonValue Jsonize() const
Aws::IoTSiteWise::Model::Aggregates::SetSum
void SetSum(double value)
Definition: Aggregates.h:136
Aws::IoTSiteWise::Model::Aggregates::GetAverage
double GetAverage() const
Definition: Aggregates.h:42
Aws::IoTSiteWise::Model::Aggregates::SetMinimum
void SetMinimum(double value)
Definition: Aggregates.h:115