AWS SDK for C++  1.9.175
AWS SDK for C++
CPUUtilization.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 
30  {
31  public:
35 
36  void OutputToStream(Aws::OStream& ostream, const char* location, unsigned index, const char* locationValue) const;
37  void OutputToStream(Aws::OStream& oStream, const char* location) const;
38 
39 
44  inline double GetUser() const{ return m_user; }
45 
50  inline bool UserHasBeenSet() const { return m_userHasBeenSet; }
51 
56  inline void SetUser(double value) { m_userHasBeenSet = true; m_user = value; }
57 
62  inline CPUUtilization& WithUser(double value) { SetUser(value); return *this;}
63 
64 
69  inline double GetNice() const{ return m_nice; }
70 
75  inline bool NiceHasBeenSet() const { return m_niceHasBeenSet; }
76 
81  inline void SetNice(double value) { m_niceHasBeenSet = true; m_nice = value; }
82 
87  inline CPUUtilization& WithNice(double value) { SetNice(value); return *this;}
88 
89 
94  inline double GetSystem() const{ return m_system; }
95 
100  inline bool SystemHasBeenSet() const { return m_systemHasBeenSet; }
101 
106  inline void SetSystem(double value) { m_systemHasBeenSet = true; m_system = value; }
107 
112  inline CPUUtilization& WithSystem(double value) { SetSystem(value); return *this;}
113 
114 
119  inline double GetIdle() const{ return m_idle; }
120 
125  inline bool IdleHasBeenSet() const { return m_idleHasBeenSet; }
126 
131  inline void SetIdle(double value) { m_idleHasBeenSet = true; m_idle = value; }
132 
137  inline CPUUtilization& WithIdle(double value) { SetIdle(value); return *this;}
138 
139 
144  inline double GetIOWait() const{ return m_iOWait; }
145 
150  inline bool IOWaitHasBeenSet() const { return m_iOWaitHasBeenSet; }
151 
156  inline void SetIOWait(double value) { m_iOWaitHasBeenSet = true; m_iOWait = value; }
157 
162  inline CPUUtilization& WithIOWait(double value) { SetIOWait(value); return *this;}
163 
164 
169  inline double GetIRQ() const{ return m_iRQ; }
170 
175  inline bool IRQHasBeenSet() const { return m_iRQHasBeenSet; }
176 
181  inline void SetIRQ(double value) { m_iRQHasBeenSet = true; m_iRQ = value; }
182 
187  inline CPUUtilization& WithIRQ(double value) { SetIRQ(value); return *this;}
188 
189 
194  inline double GetSoftIRQ() const{ return m_softIRQ; }
195 
200  inline bool SoftIRQHasBeenSet() const { return m_softIRQHasBeenSet; }
201 
206  inline void SetSoftIRQ(double value) { m_softIRQHasBeenSet = true; m_softIRQ = value; }
207 
212  inline CPUUtilization& WithSoftIRQ(double value) { SetSoftIRQ(value); return *this;}
213 
214 
219  inline double GetPrivileged() const{ return m_privileged; }
220 
225  inline bool PrivilegedHasBeenSet() const { return m_privilegedHasBeenSet; }
226 
231  inline void SetPrivileged(double value) { m_privilegedHasBeenSet = true; m_privileged = value; }
232 
237  inline CPUUtilization& WithPrivileged(double value) { SetPrivileged(value); return *this;}
238 
239  private:
240 
241  double m_user;
242  bool m_userHasBeenSet;
243 
244  double m_nice;
245  bool m_niceHasBeenSet;
246 
247  double m_system;
248  bool m_systemHasBeenSet;
249 
250  double m_idle;
251  bool m_idleHasBeenSet;
252 
253  double m_iOWait;
254  bool m_iOWaitHasBeenSet;
255 
256  double m_iRQ;
257  bool m_iRQHasBeenSet;
258 
259  double m_softIRQ;
260  bool m_softIRQHasBeenSet;
261 
262  double m_privileged;
263  bool m_privilegedHasBeenSet;
264  };
265 
266 } // namespace Model
267 } // namespace ElasticBeanstalk
268 } // namespace Aws
Aws::ElasticBeanstalk::Model::CPUUtilization::SetIOWait
void SetIOWait(double value)
Definition: CPUUtilization.h:156
Aws::ElasticBeanstalk::Model::CPUUtilization::SetNice
void SetNice(double value)
Definition: CPUUtilization.h:81
AWS_ELASTICBEANSTALK_API
#define AWS_ELASTICBEANSTALK_API
Definition: ElasticBeanstalk_EXPORTS.h:28
Aws::ElasticBeanstalk::Model::CPUUtilization::WithSystem
CPUUtilization & WithSystem(double value)
Definition: CPUUtilization.h:112
Aws::ElasticBeanstalk::Model::CPUUtilization::WithSoftIRQ
CPUUtilization & WithSoftIRQ(double value)
Definition: CPUUtilization.h:212
Aws::ElasticBeanstalk::Model::CPUUtilization::WithPrivileged
CPUUtilization & WithPrivileged(double value)
Definition: CPUUtilization.h:237
Aws::ElasticBeanstalk::Model::CPUUtilization::GetIRQ
double GetIRQ() const
Definition: CPUUtilization.h:169
Aws::ElasticBeanstalk::Model::CPUUtilization::GetSystem
double GetSystem() const
Definition: CPUUtilization.h:94
Aws::ElasticBeanstalk::Model::CPUUtilization::WithIdle
CPUUtilization & WithIdle(double value)
Definition: CPUUtilization.h:137
Aws::ElasticBeanstalk::Model::CPUUtilization::SetIRQ
void SetIRQ(double value)
Definition: CPUUtilization.h:181
Aws::ElasticBeanstalk::Model::CPUUtilization::CPUUtilization
CPUUtilization(const Aws::Utils::Xml::XmlNode &xmlNode)
AWSStreamFwd.h
Aws::ElasticBeanstalk::Model::CPUUtilization::OutputToStream
void OutputToStream(Aws::OStream &ostream, const char *location, unsigned index, const char *locationValue) const
Aws::ElasticBeanstalk::Model::CPUUtilization::IRQHasBeenSet
bool IRQHasBeenSet() const
Definition: CPUUtilization.h:175
Aws::ElasticBeanstalk::Model::CPUUtilization::WithUser
CPUUtilization & WithUser(double value)
Definition: CPUUtilization.h:62
Aws::OStream
std::basic_ostream< char, std::char_traits< char > > OStream
Definition: AWSStreamFwd.h:21
Aws::ElasticBeanstalk::Model::CPUUtilization::GetUser
double GetUser() const
Definition: CPUUtilization.h:44
Aws::ElasticBeanstalk::Model::CPUUtilization::IOWaitHasBeenSet
bool IOWaitHasBeenSet() const
Definition: CPUUtilization.h:150
Aws::ElasticBeanstalk::Model::CPUUtilization::GetIOWait
double GetIOWait() const
Definition: CPUUtilization.h:144
Aws::ElasticBeanstalk::Model::CPUUtilization::operator=
CPUUtilization & operator=(const Aws::Utils::Xml::XmlNode &xmlNode)
Aws::Utils::Xml::XmlNode
Definition: XmlSerializer.h:53
Aws::ElasticBeanstalk::Model::CPUUtilization::CPUUtilization
CPUUtilization()
Aws::ElasticBeanstalk::Model::CPUUtilization::SetUser
void SetUser(double value)
Definition: CPUUtilization.h:56
Aws::ElasticBeanstalk::Model::CPUUtilization::SetIdle
void SetIdle(double value)
Definition: CPUUtilization.h:131
Aws::ElasticBeanstalk::Model::CPUUtilization::SystemHasBeenSet
bool SystemHasBeenSet() const
Definition: CPUUtilization.h:100
Aws::ElasticBeanstalk::Model::CPUUtilization::WithNice
CPUUtilization & WithNice(double value)
Definition: CPUUtilization.h:87
Aws::ElasticBeanstalk::Model::CPUUtilization::OutputToStream
void OutputToStream(Aws::OStream &oStream, const char *location) const
Aws::ElasticBeanstalk::Model::CPUUtilization::IdleHasBeenSet
bool IdleHasBeenSet() const
Definition: CPUUtilization.h:125
Aws::ElasticBeanstalk::Model::CPUUtilization::PrivilegedHasBeenSet
bool PrivilegedHasBeenSet() const
Definition: CPUUtilization.h:225
ElasticBeanstalk_EXPORTS.h
Aws::ElasticBeanstalk::Model::CPUUtilization::NiceHasBeenSet
bool NiceHasBeenSet() const
Definition: CPUUtilization.h:75
Aws::ElasticBeanstalk::Model::CPUUtilization::SetSoftIRQ
void SetSoftIRQ(double value)
Definition: CPUUtilization.h:206
Aws::ElasticBeanstalk::Model::CPUUtilization::UserHasBeenSet
bool UserHasBeenSet() const
Definition: CPUUtilization.h:50
Aws::ElasticBeanstalk::Model::CPUUtilization::GetSoftIRQ
double GetSoftIRQ() const
Definition: CPUUtilization.h:194
Aws::ElasticBeanstalk::Model::CPUUtilization::GetPrivileged
double GetPrivileged() const
Definition: CPUUtilization.h:219
Aws
Definition: AccessManagementClient.h:15
Aws::ElasticBeanstalk::Model::CPUUtilization::SetPrivileged
void SetPrivileged(double value)
Definition: CPUUtilization.h:231
Aws::ElasticBeanstalk::Model::CPUUtilization::SoftIRQHasBeenSet
bool SoftIRQHasBeenSet() const
Definition: CPUUtilization.h:200
Aws::ElasticBeanstalk::Model::CPUUtilization::GetNice
double GetNice() const
Definition: CPUUtilization.h:69
Aws::ElasticBeanstalk::Model::CPUUtilization::GetIdle
double GetIdle() const
Definition: CPUUtilization.h:119
Aws::ElasticBeanstalk::Model::CPUUtilization::SetSystem
void SetSystem(double value)
Definition: CPUUtilization.h:106
index
int index
Definition: cJSON.h:181
Aws::ElasticBeanstalk::Model::CPUUtilization
Definition: CPUUtilization.h:30
Aws::ElasticBeanstalk::Model::CPUUtilization::WithIOWait
CPUUtilization & WithIOWait(double value)
Definition: CPUUtilization.h:162
Aws::ElasticBeanstalk::Model::CPUUtilization::WithIRQ
CPUUtilization & WithIRQ(double value)
Definition: CPUUtilization.h:187