AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
MetricQueryValue.h
1
6#pragma once
7#include <aws/iotwireless/IoTWireless_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 IoTWireless
20{
21namespace Model
22{
23
30 {
31 public:
32 AWS_IOTWIRELESS_API MetricQueryValue();
33 AWS_IOTWIRELESS_API MetricQueryValue(Aws::Utils::Json::JsonView jsonValue);
34 AWS_IOTWIRELESS_API MetricQueryValue& operator=(Aws::Utils::Json::JsonView jsonValue);
35 AWS_IOTWIRELESS_API Aws::Utils::Json::JsonValue Jsonize() const;
36
37
39
43 inline double GetMin() const{ return m_min; }
44 inline bool MinHasBeenSet() const { return m_minHasBeenSet; }
45 inline void SetMin(double value) { m_minHasBeenSet = true; m_min = value; }
46 inline MetricQueryValue& WithMin(double value) { SetMin(value); return *this;}
48
50
54 inline double GetMax() const{ return m_max; }
55 inline bool MaxHasBeenSet() const { return m_maxHasBeenSet; }
56 inline void SetMax(double value) { m_maxHasBeenSet = true; m_max = value; }
57 inline MetricQueryValue& WithMax(double value) { SetMax(value); return *this;}
59
61
65 inline double GetSum() const{ return m_sum; }
66 inline bool SumHasBeenSet() const { return m_sumHasBeenSet; }
67 inline void SetSum(double value) { m_sumHasBeenSet = true; m_sum = value; }
68 inline MetricQueryValue& WithSum(double value) { SetSum(value); return *this;}
70
72
76 inline double GetAvg() const{ return m_avg; }
77 inline bool AvgHasBeenSet() const { return m_avgHasBeenSet; }
78 inline void SetAvg(double value) { m_avgHasBeenSet = true; m_avg = value; }
79 inline MetricQueryValue& WithAvg(double value) { SetAvg(value); return *this;}
81
83
87 inline double GetStd() const{ return m_std; }
88 inline bool StdHasBeenSet() const { return m_stdHasBeenSet; }
89 inline void SetStd(double value) { m_stdHasBeenSet = true; m_std = value; }
90 inline MetricQueryValue& WithStd(double value) { SetStd(value); return *this;}
92
94
98 inline double GetP90() const{ return m_p90; }
99 inline bool P90HasBeenSet() const { return m_p90HasBeenSet; }
100 inline void SetP90(double value) { m_p90HasBeenSet = true; m_p90 = value; }
101 inline MetricQueryValue& WithP90(double value) { SetP90(value); return *this;}
103 private:
104
105 double m_min;
106 bool m_minHasBeenSet = false;
107
108 double m_max;
109 bool m_maxHasBeenSet = false;
110
111 double m_sum;
112 bool m_sumHasBeenSet = false;
113
114 double m_avg;
115 bool m_avgHasBeenSet = false;
116
117 double m_std;
118 bool m_stdHasBeenSet = false;
119
120 double m_p90;
121 bool m_p90HasBeenSet = false;
122 };
123
124} // namespace Model
125} // namespace IoTWireless
126} // namespace Aws
MetricQueryValue & WithP90(double value)
MetricQueryValue & WithSum(double value)
AWS_IOTWIRELESS_API Aws::Utils::Json::JsonValue Jsonize() const
AWS_IOTWIRELESS_API MetricQueryValue(Aws::Utils::Json::JsonView jsonValue)
MetricQueryValue & WithMin(double value)
MetricQueryValue & WithAvg(double value)
MetricQueryValue & WithStd(double value)
AWS_IOTWIRELESS_API MetricQueryValue & operator=(Aws::Utils::Json::JsonView jsonValue)
MetricQueryValue & WithMax(double value)
Aws::Utils::Json::JsonValue JsonValue