AWS SDK for C++  1.9.124
AWS SDK for C++
StatisticSet.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 MWAA
20 {
21 namespace Model
22 {
23 
30  {
31  public:
36 
37 
41  inline double GetMaximum() const{ return m_maximum; }
42 
46  inline bool MaximumHasBeenSet() const { return m_maximumHasBeenSet; }
47 
51  inline void SetMaximum(double value) { m_maximumHasBeenSet = true; m_maximum = value; }
52 
56  inline StatisticSet& WithMaximum(double value) { SetMaximum(value); return *this;}
57 
58 
62  inline double GetMinimum() const{ return m_minimum; }
63 
67  inline bool MinimumHasBeenSet() const { return m_minimumHasBeenSet; }
68 
72  inline void SetMinimum(double value) { m_minimumHasBeenSet = true; m_minimum = value; }
73 
77  inline StatisticSet& WithMinimum(double value) { SetMinimum(value); return *this;}
78 
79 
83  inline int GetSampleCount() const{ return m_sampleCount; }
84 
88  inline bool SampleCountHasBeenSet() const { return m_sampleCountHasBeenSet; }
89 
93  inline void SetSampleCount(int value) { m_sampleCountHasBeenSet = true; m_sampleCount = value; }
94 
98  inline StatisticSet& WithSampleCount(int value) { SetSampleCount(value); return *this;}
99 
100 
104  inline double GetSum() const{ return m_sum; }
105 
109  inline bool SumHasBeenSet() const { return m_sumHasBeenSet; }
110 
114  inline void SetSum(double value) { m_sumHasBeenSet = true; m_sum = value; }
115 
119  inline StatisticSet& WithSum(double value) { SetSum(value); return *this;}
120 
121  private:
122 
123  double m_maximum;
124  bool m_maximumHasBeenSet;
125 
126  double m_minimum;
127  bool m_minimumHasBeenSet;
128 
129  int m_sampleCount;
130  bool m_sampleCountHasBeenSet;
131 
132  double m_sum;
133  bool m_sumHasBeenSet;
134  };
135 
136 } // namespace Model
137 } // namespace MWAA
138 } // namespace Aws
Aws::MWAA::Model::StatisticSet::GetMinimum
double GetMinimum() const
Definition: StatisticSet.h:62
Aws::MWAA::Model::StatisticSet::operator=
StatisticSet & operator=(Aws::Utils::Json::JsonView jsonValue)
Aws::MWAA::Model::StatisticSet::StatisticSet
StatisticSet()
Aws::MWAA::Model::StatisticSet::Jsonize
Aws::Utils::Json::JsonValue Jsonize() const
Aws::MWAA::Model::StatisticSet::WithMinimum
StatisticSet & WithMinimum(double value)
Definition: StatisticSet.h:77
Aws::MWAA::Model::StatisticSet::WithMaximum
StatisticSet & WithMaximum(double value)
Definition: StatisticSet.h:56
Aws::MWAA::Model::StatisticSet::SetSum
void SetSum(double value)
Definition: StatisticSet.h:114
Aws::MWAA::Model::StatisticSet::SetMinimum
void SetMinimum(double value)
Definition: StatisticSet.h:72
Aws::MWAA::Model::StatisticSet::GetSum
double GetSum() const
Definition: StatisticSet.h:104
Aws::MWAA::Model::StatisticSet::StatisticSet
StatisticSet(Aws::Utils::Json::JsonView jsonValue)
Aws::MWAA::Model::StatisticSet::SumHasBeenSet
bool SumHasBeenSet() const
Definition: StatisticSet.h:109
Aws::MWAA::Model::StatisticSet::SetMaximum
void SetMaximum(double value)
Definition: StatisticSet.h:51
Aws::MWAA::Model::StatisticSet::WithSampleCount
StatisticSet & WithSampleCount(int value)
Definition: StatisticSet.h:98
Aws::MWAA::Model::StatisticSet
Definition: StatisticSet.h:30
Aws::Utils::Json::JsonView
Definition: JsonSerializer.h:235
Aws::Utils::Json::JsonValue
Definition: JsonSerializer.h:33
Aws::MWAA::Model::StatisticSet::MinimumHasBeenSet
bool MinimumHasBeenSet() const
Definition: StatisticSet.h:67
Aws::MWAA::Model::StatisticSet::WithSum
StatisticSet & WithSum(double value)
Definition: StatisticSet.h:119
Aws::MWAA::Model::StatisticSet::MaximumHasBeenSet
bool MaximumHasBeenSet() const
Definition: StatisticSet.h:46
AWS_MWAA_API
#define AWS_MWAA_API
Definition: MWAA_EXPORTS.h:28
Aws
Definition: AccessManagementClient.h:15
Aws::MWAA::Model::StatisticSet::SampleCountHasBeenSet
bool SampleCountHasBeenSet() const
Definition: StatisticSet.h:88
Aws::MWAA::Model::StatisticSet::GetMaximum
double GetMaximum() const
Definition: StatisticSet.h:41
Aws::MWAA::Model::StatisticSet::SetSampleCount
void SetSampleCount(int value)
Definition: StatisticSet.h:93
Aws::MWAA::Model::StatisticSet::GetSampleCount
int GetSampleCount() const
Definition: StatisticSet.h:83
MWAA_EXPORTS.h