AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
StatisticSet.h
1
6#pragma once
7#include <aws/mwaa/MWAA_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 MWAA
20{
21namespace Model
22{
23
34 {
35 public:
36 AWS_MWAA_API StatisticSet();
40
41
43
46 inline int GetSampleCount() const{ return m_sampleCount; }
47 inline bool SampleCountHasBeenSet() const { return m_sampleCountHasBeenSet; }
48 inline void SetSampleCount(int value) { m_sampleCountHasBeenSet = true; m_sampleCount = value; }
49 inline StatisticSet& WithSampleCount(int value) { SetSampleCount(value); return *this;}
51
53
56 inline double GetSum() const{ return m_sum; }
57 inline bool SumHasBeenSet() const { return m_sumHasBeenSet; }
58 inline void SetSum(double value) { m_sumHasBeenSet = true; m_sum = value; }
59 inline StatisticSet& WithSum(double value) { SetSum(value); return *this;}
61
63
66 inline double GetMinimum() const{ return m_minimum; }
67 inline bool MinimumHasBeenSet() const { return m_minimumHasBeenSet; }
68 inline void SetMinimum(double value) { m_minimumHasBeenSet = true; m_minimum = value; }
69 inline StatisticSet& WithMinimum(double value) { SetMinimum(value); return *this;}
71
73
76 inline double GetMaximum() const{ return m_maximum; }
77 inline bool MaximumHasBeenSet() const { return m_maximumHasBeenSet; }
78 inline void SetMaximum(double value) { m_maximumHasBeenSet = true; m_maximum = value; }
79 inline StatisticSet& WithMaximum(double value) { SetMaximum(value); return *this;}
81 private:
82
83 int m_sampleCount;
84 bool m_sampleCountHasBeenSet = false;
85
86 double m_sum;
87 bool m_sumHasBeenSet = false;
88
89 double m_minimum;
90 bool m_minimumHasBeenSet = false;
91
92 double m_maximum;
93 bool m_maximumHasBeenSet = false;
94 };
95
96} // namespace Model
97} // namespace MWAA
98} // namespace Aws
StatisticSet & WithSum(double value)
AWS_MWAA_API StatisticSet & operator=(Aws::Utils::Json::JsonView jsonValue)
AWS_MWAA_API Aws::Utils::Json::JsonValue Jsonize() const
StatisticSet & WithMaximum(double value)
AWS_MWAA_API StatisticSet(Aws::Utils::Json::JsonView jsonValue)
StatisticSet & WithSampleCount(int value)
void SetMinimum(double value)
StatisticSet & WithMinimum(double value)
void SetMaximum(double value)
Aws::Utils::Json::JsonValue JsonValue