AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
CPUUtilization.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 {
31 public:
32 AWS_ELASTICBEANSTALK_API CPUUtilization();
33 AWS_ELASTICBEANSTALK_API CPUUtilization(const Aws::Utils::Xml::XmlNode& xmlNode);
34 AWS_ELASTICBEANSTALK_API CPUUtilization& operator=(const Aws::Utils::Xml::XmlNode& xmlNode);
35
36 AWS_ELASTICBEANSTALK_API void OutputToStream(Aws::OStream& ostream, const char* location, unsigned index, const char* locationValue) const;
37 AWS_ELASTICBEANSTALK_API void OutputToStream(Aws::OStream& oStream, const char* location) const;
38
39
41
45 inline double GetUser() const{ return m_user; }
46 inline bool UserHasBeenSet() const { return m_userHasBeenSet; }
47 inline void SetUser(double value) { m_userHasBeenSet = true; m_user = value; }
48 inline CPUUtilization& WithUser(double value) { SetUser(value); return *this;}
50
52
56 inline double GetNice() const{ return m_nice; }
57 inline bool NiceHasBeenSet() const { return m_niceHasBeenSet; }
58 inline void SetNice(double value) { m_niceHasBeenSet = true; m_nice = value; }
59 inline CPUUtilization& WithNice(double value) { SetNice(value); return *this;}
61
63
67 inline double GetSystem() const{ return m_system; }
68 inline bool SystemHasBeenSet() const { return m_systemHasBeenSet; }
69 inline void SetSystem(double value) { m_systemHasBeenSet = true; m_system = value; }
70 inline CPUUtilization& WithSystem(double value) { SetSystem(value); return *this;}
72
74
78 inline double GetIdle() const{ return m_idle; }
79 inline bool IdleHasBeenSet() const { return m_idleHasBeenSet; }
80 inline void SetIdle(double value) { m_idleHasBeenSet = true; m_idle = value; }
81 inline CPUUtilization& WithIdle(double value) { SetIdle(value); return *this;}
83
85
89 inline double GetIOWait() const{ return m_iOWait; }
90 inline bool IOWaitHasBeenSet() const { return m_iOWaitHasBeenSet; }
91 inline void SetIOWait(double value) { m_iOWaitHasBeenSet = true; m_iOWait = value; }
92 inline CPUUtilization& WithIOWait(double value) { SetIOWait(value); return *this;}
94
96
100 inline double GetIRQ() const{ return m_iRQ; }
101 inline bool IRQHasBeenSet() const { return m_iRQHasBeenSet; }
102 inline void SetIRQ(double value) { m_iRQHasBeenSet = true; m_iRQ = value; }
103 inline CPUUtilization& WithIRQ(double value) { SetIRQ(value); return *this;}
105
107
111 inline double GetSoftIRQ() const{ return m_softIRQ; }
112 inline bool SoftIRQHasBeenSet() const { return m_softIRQHasBeenSet; }
113 inline void SetSoftIRQ(double value) { m_softIRQHasBeenSet = true; m_softIRQ = value; }
114 inline CPUUtilization& WithSoftIRQ(double value) { SetSoftIRQ(value); return *this;}
116
118
122 inline double GetPrivileged() const{ return m_privileged; }
123 inline bool PrivilegedHasBeenSet() const { return m_privilegedHasBeenSet; }
124 inline void SetPrivileged(double value) { m_privilegedHasBeenSet = true; m_privileged = value; }
125 inline CPUUtilization& WithPrivileged(double value) { SetPrivileged(value); return *this;}
127 private:
128
129 double m_user;
130 bool m_userHasBeenSet = false;
131
132 double m_nice;
133 bool m_niceHasBeenSet = false;
134
135 double m_system;
136 bool m_systemHasBeenSet = false;
137
138 double m_idle;
139 bool m_idleHasBeenSet = false;
140
141 double m_iOWait;
142 bool m_iOWaitHasBeenSet = false;
143
144 double m_iRQ;
145 bool m_iRQHasBeenSet = false;
146
147 double m_softIRQ;
148 bool m_softIRQHasBeenSet = false;
149
150 double m_privileged;
151 bool m_privilegedHasBeenSet = false;
152 };
153
154} // namespace Model
155} // namespace ElasticBeanstalk
156} // namespace Aws
CPUUtilization & WithPrivileged(double value)
CPUUtilization & WithSystem(double value)
CPUUtilization & WithNice(double value)
CPUUtilization & WithIRQ(double value)
CPUUtilization & WithIOWait(double value)
CPUUtilization & WithUser(double value)
CPUUtilization & WithSoftIRQ(double value)
AWS_ELASTICBEANSTALK_API CPUUtilization()
CPUUtilization & WithIdle(double value)
AWS_ELASTICBEANSTALK_API CPUUtilization(const Aws::Utils::Xml::XmlNode &xmlNode)
AWS_ELASTICBEANSTALK_API void OutputToStream(Aws::OStream &ostream, const char *location, unsigned index, const char *locationValue) const
AWS_ELASTICBEANSTALK_API void OutputToStream(Aws::OStream &oStream, const char *location) const
AWS_ELASTICBEANSTALK_API CPUUtilization & operator=(const Aws::Utils::Xml::XmlNode &xmlNode)
std::basic_ostream< char, std::char_traits< char > > OStream