AWS SDK for C++  1.9.176
AWS SDK for C++
Latency.h
Go to the documentation of this file.
1 
6 #pragma once
9 
10 namespace Aws
11 {
12 namespace Utils
13 {
14 namespace Xml
15 {
16  class XmlNode;
17 } // namespace Xml
18 } // namespace Utils
19 namespace ElasticBeanstalk
20 {
21 namespace Model
22 {
23 
31  {
32  public:
36 
37  void OutputToStream(Aws::OStream& ostream, const char* location, unsigned index, const char* locationValue) const;
38  void OutputToStream(Aws::OStream& oStream, const char* location) const;
39 
40 
45  inline double GetP999() const{ return m_p999; }
46 
51  inline bool P999HasBeenSet() const { return m_p999HasBeenSet; }
52 
57  inline void SetP999(double value) { m_p999HasBeenSet = true; m_p999 = value; }
58 
63  inline Latency& WithP999(double value) { SetP999(value); return *this;}
64 
65 
70  inline double GetP99() const{ return m_p99; }
71 
76  inline bool P99HasBeenSet() const { return m_p99HasBeenSet; }
77 
82  inline void SetP99(double value) { m_p99HasBeenSet = true; m_p99 = value; }
83 
88  inline Latency& WithP99(double value) { SetP99(value); return *this;}
89 
90 
95  inline double GetP95() const{ return m_p95; }
96 
101  inline bool P95HasBeenSet() const { return m_p95HasBeenSet; }
102 
107  inline void SetP95(double value) { m_p95HasBeenSet = true; m_p95 = value; }
108 
113  inline Latency& WithP95(double value) { SetP95(value); return *this;}
114 
115 
120  inline double GetP90() const{ return m_p90; }
121 
126  inline bool P90HasBeenSet() const { return m_p90HasBeenSet; }
127 
132  inline void SetP90(double value) { m_p90HasBeenSet = true; m_p90 = value; }
133 
138  inline Latency& WithP90(double value) { SetP90(value); return *this;}
139 
140 
145  inline double GetP85() const{ return m_p85; }
146 
151  inline bool P85HasBeenSet() const { return m_p85HasBeenSet; }
152 
157  inline void SetP85(double value) { m_p85HasBeenSet = true; m_p85 = value; }
158 
163  inline Latency& WithP85(double value) { SetP85(value); return *this;}
164 
165 
170  inline double GetP75() const{ return m_p75; }
171 
176  inline bool P75HasBeenSet() const { return m_p75HasBeenSet; }
177 
182  inline void SetP75(double value) { m_p75HasBeenSet = true; m_p75 = value; }
183 
188  inline Latency& WithP75(double value) { SetP75(value); return *this;}
189 
190 
195  inline double GetP50() const{ return m_p50; }
196 
201  inline bool P50HasBeenSet() const { return m_p50HasBeenSet; }
202 
207  inline void SetP50(double value) { m_p50HasBeenSet = true; m_p50 = value; }
208 
213  inline Latency& WithP50(double value) { SetP50(value); return *this;}
214 
215 
220  inline double GetP10() const{ return m_p10; }
221 
226  inline bool P10HasBeenSet() const { return m_p10HasBeenSet; }
227 
232  inline void SetP10(double value) { m_p10HasBeenSet = true; m_p10 = value; }
233 
238  inline Latency& WithP10(double value) { SetP10(value); return *this;}
239 
240  private:
241 
242  double m_p999;
243  bool m_p999HasBeenSet;
244 
245  double m_p99;
246  bool m_p99HasBeenSet;
247 
248  double m_p95;
249  bool m_p95HasBeenSet;
250 
251  double m_p90;
252  bool m_p90HasBeenSet;
253 
254  double m_p85;
255  bool m_p85HasBeenSet;
256 
257  double m_p75;
258  bool m_p75HasBeenSet;
259 
260  double m_p50;
261  bool m_p50HasBeenSet;
262 
263  double m_p10;
264  bool m_p10HasBeenSet;
265  };
266 
267 } // namespace Model
268 } // namespace ElasticBeanstalk
269 } // namespace Aws
Aws::ElasticBeanstalk::Model::Latency::SetP90
void SetP90(double value)
Definition: Latency.h:132
AWS_ELASTICBEANSTALK_API
#define AWS_ELASTICBEANSTALK_API
Definition: ElasticBeanstalk_EXPORTS.h:28
Aws::ElasticBeanstalk::Model::Latency::WithP75
Latency & WithP75(double value)
Definition: Latency.h:188
Aws::ElasticBeanstalk::Model::Latency::GetP90
double GetP90() const
Definition: Latency.h:120
Aws::ElasticBeanstalk::Model::Latency::WithP10
Latency & WithP10(double value)
Definition: Latency.h:238
Aws::ElasticBeanstalk::Model::Latency::OutputToStream
void OutputToStream(Aws::OStream &ostream, const char *location, unsigned index, const char *locationValue) const
Aws::ElasticBeanstalk::Model::Latency::WithP50
Latency & WithP50(double value)
Definition: Latency.h:213
Aws::ElasticBeanstalk::Model::Latency::WithP99
Latency & WithP99(double value)
Definition: Latency.h:88
Aws::ElasticBeanstalk::Model::Latency::GetP95
double GetP95() const
Definition: Latency.h:95
AWSStreamFwd.h
Aws::ElasticBeanstalk::Model::Latency::SetP85
void SetP85(double value)
Definition: Latency.h:157
Aws::ElasticBeanstalk::Model::Latency::P99HasBeenSet
bool P99HasBeenSet() const
Definition: Latency.h:76
Aws::ElasticBeanstalk::Model::Latency::WithP90
Latency & WithP90(double value)
Definition: Latency.h:138
Aws::ElasticBeanstalk::Model::Latency::SetP99
void SetP99(double value)
Definition: Latency.h:82
Aws::OStream
std::basic_ostream< char, std::char_traits< char > > OStream
Definition: AWSStreamFwd.h:21
Aws::Utils::Xml::XmlNode
Definition: XmlSerializer.h:53
Aws::ElasticBeanstalk::Model::Latency::GetP10
double GetP10() const
Definition: Latency.h:220
Aws::ElasticBeanstalk::Model::Latency::WithP95
Latency & WithP95(double value)
Definition: Latency.h:113
Aws::ElasticBeanstalk::Model::Latency::SetP75
void SetP75(double value)
Definition: Latency.h:182
Aws::ElasticBeanstalk::Model::Latency::GetP999
double GetP999() const
Definition: Latency.h:45
Aws::ElasticBeanstalk::Model::Latency::P85HasBeenSet
bool P85HasBeenSet() const
Definition: Latency.h:151
Aws::ElasticBeanstalk::Model::Latency::SetP95
void SetP95(double value)
Definition: Latency.h:107
Aws::ElasticBeanstalk::Model::Latency::GetP50
double GetP50() const
Definition: Latency.h:195
Aws::ElasticBeanstalk::Model::Latency::P90HasBeenSet
bool P90HasBeenSet() const
Definition: Latency.h:126
Aws::ElasticBeanstalk::Model::Latency::GetP75
double GetP75() const
Definition: Latency.h:170
ElasticBeanstalk_EXPORTS.h
Aws::ElasticBeanstalk::Model::Latency::operator=
Latency & operator=(const Aws::Utils::Xml::XmlNode &xmlNode)
Aws::ElasticBeanstalk::Model::Latency::P95HasBeenSet
bool P95HasBeenSet() const
Definition: Latency.h:101
Aws::ElasticBeanstalk::Model::Latency::P10HasBeenSet
bool P10HasBeenSet() const
Definition: Latency.h:226
Aws::ElasticBeanstalk::Model::Latency::P50HasBeenSet
bool P50HasBeenSet() const
Definition: Latency.h:201
Aws::ElasticBeanstalk::Model::Latency::SetP10
void SetP10(double value)
Definition: Latency.h:232
Aws
Definition: AccessManagementClient.h:15
Aws::ElasticBeanstalk::Model::Latency::WithP999
Latency & WithP999(double value)
Definition: Latency.h:63
Aws::ElasticBeanstalk::Model::Latency::WithP85
Latency & WithP85(double value)
Definition: Latency.h:163
index
int index
Definition: cJSON.h:181
Aws::ElasticBeanstalk::Model::Latency::SetP999
void SetP999(double value)
Definition: Latency.h:57
Aws::ElasticBeanstalk::Model::Latency
Definition: Latency.h:31
Aws::ElasticBeanstalk::Model::Latency::Latency
Latency()
Aws::ElasticBeanstalk::Model::Latency::SetP50
void SetP50(double value)
Definition: Latency.h:207
Aws::ElasticBeanstalk::Model::Latency::P75HasBeenSet
bool P75HasBeenSet() const
Definition: Latency.h:176
Aws::ElasticBeanstalk::Model::Latency::Latency
Latency(const Aws::Utils::Xml::XmlNode &xmlNode)
Aws::ElasticBeanstalk::Model::Latency::GetP99
double GetP99() const
Definition: Latency.h:70
Aws::ElasticBeanstalk::Model::Latency::OutputToStream
void OutputToStream(Aws::OStream &oStream, const char *location) const
Aws::ElasticBeanstalk::Model::Latency::GetP85
double GetP85() const
Definition: Latency.h:145
Aws::ElasticBeanstalk::Model::Latency::P999HasBeenSet
bool P999HasBeenSet() const
Definition: Latency.h:51