AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
Latency.h
1
6#pragma once
7#include <aws/elasticbeanstalk/ElasticBeanstalk_EXPORTS.h>
8#include <aws/core/utils/memory/stl/AWSStreamFwd.h>
9
10namespace Aws
11{
12namespace Utils
13{
14namespace Xml
15{
16 class XmlNode;
17} // namespace Xml
18} // namespace Utils
19namespace ElasticBeanstalk
20{
21namespace Model
22{
23
30 class Latency
31 {
32 public:
33 AWS_ELASTICBEANSTALK_API Latency();
34 AWS_ELASTICBEANSTALK_API Latency(const Aws::Utils::Xml::XmlNode& xmlNode);
35 AWS_ELASTICBEANSTALK_API Latency& operator=(const Aws::Utils::Xml::XmlNode& xmlNode);
36
37 AWS_ELASTICBEANSTALK_API void OutputToStream(Aws::OStream& ostream, const char* location, unsigned index, const char* locationValue) const;
38 AWS_ELASTICBEANSTALK_API void OutputToStream(Aws::OStream& oStream, const char* location) const;
39
40
42
46 inline double GetP999() const{ return m_p999; }
47 inline bool P999HasBeenSet() const { return m_p999HasBeenSet; }
48 inline void SetP999(double value) { m_p999HasBeenSet = true; m_p999 = value; }
49 inline Latency& WithP999(double value) { SetP999(value); return *this;}
51
53
57 inline double GetP99() const{ return m_p99; }
58 inline bool P99HasBeenSet() const { return m_p99HasBeenSet; }
59 inline void SetP99(double value) { m_p99HasBeenSet = true; m_p99 = value; }
60 inline Latency& WithP99(double value) { SetP99(value); return *this;}
62
64
68 inline double GetP95() const{ return m_p95; }
69 inline bool P95HasBeenSet() const { return m_p95HasBeenSet; }
70 inline void SetP95(double value) { m_p95HasBeenSet = true; m_p95 = value; }
71 inline Latency& WithP95(double value) { SetP95(value); return *this;}
73
75
79 inline double GetP90() const{ return m_p90; }
80 inline bool P90HasBeenSet() const { return m_p90HasBeenSet; }
81 inline void SetP90(double value) { m_p90HasBeenSet = true; m_p90 = value; }
82 inline Latency& WithP90(double value) { SetP90(value); return *this;}
84
86
90 inline double GetP85() const{ return m_p85; }
91 inline bool P85HasBeenSet() const { return m_p85HasBeenSet; }
92 inline void SetP85(double value) { m_p85HasBeenSet = true; m_p85 = value; }
93 inline Latency& WithP85(double value) { SetP85(value); return *this;}
95
97
101 inline double GetP75() const{ return m_p75; }
102 inline bool P75HasBeenSet() const { return m_p75HasBeenSet; }
103 inline void SetP75(double value) { m_p75HasBeenSet = true; m_p75 = value; }
104 inline Latency& WithP75(double value) { SetP75(value); return *this;}
106
108
112 inline double GetP50() const{ return m_p50; }
113 inline bool P50HasBeenSet() const { return m_p50HasBeenSet; }
114 inline void SetP50(double value) { m_p50HasBeenSet = true; m_p50 = value; }
115 inline Latency& WithP50(double value) { SetP50(value); return *this;}
117
119
123 inline double GetP10() const{ return m_p10; }
124 inline bool P10HasBeenSet() const { return m_p10HasBeenSet; }
125 inline void SetP10(double value) { m_p10HasBeenSet = true; m_p10 = value; }
126 inline Latency& WithP10(double value) { SetP10(value); return *this;}
128 private:
129
130 double m_p999;
131 bool m_p999HasBeenSet = false;
132
133 double m_p99;
134 bool m_p99HasBeenSet = false;
135
136 double m_p95;
137 bool m_p95HasBeenSet = false;
138
139 double m_p90;
140 bool m_p90HasBeenSet = false;
141
142 double m_p85;
143 bool m_p85HasBeenSet = false;
144
145 double m_p75;
146 bool m_p75HasBeenSet = false;
147
148 double m_p50;
149 bool m_p50HasBeenSet = false;
150
151 double m_p10;
152 bool m_p10HasBeenSet = false;
153 };
154
155} // namespace Model
156} // namespace ElasticBeanstalk
157} // namespace Aws
AWS_ELASTICBEANSTALK_API Latency(const Aws::Utils::Xml::XmlNode &xmlNode)
AWS_ELASTICBEANSTALK_API Latency()
AWS_ELASTICBEANSTALK_API Latency & operator=(const Aws::Utils::Xml::XmlNode &xmlNode)
Latency & WithP99(double value)
Definition Latency.h:60
Latency & WithP999(double value)
Definition Latency.h:49
Latency & WithP90(double value)
Definition Latency.h:82
Latency & WithP95(double value)
Definition Latency.h:71
AWS_ELASTICBEANSTALK_API void OutputToStream(Aws::OStream &ostream, const char *location, unsigned index, const char *locationValue) const
Latency & WithP85(double value)
Definition Latency.h:93
Latency & WithP75(double value)
Definition Latency.h:104
Latency & WithP10(double value)
Definition Latency.h:126
Latency & WithP50(double value)
Definition Latency.h:115
AWS_ELASTICBEANSTALK_API void OutputToStream(Aws::OStream &oStream, const char *location) const
std::basic_ostream< char, std::char_traits< char > > OStream