AWS SDK for C++  1.9.175
AWS SDK for C++
InstanceHealthSummary.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 
33  {
34  public:
38 
39  void OutputToStream(Aws::OStream& ostream, const char* location, unsigned index, const char* locationValue) const;
40  void OutputToStream(Aws::OStream& oStream, const char* location) const;
41 
42 
47  inline int GetNoData() const{ return m_noData; }
48 
53  inline bool NoDataHasBeenSet() const { return m_noDataHasBeenSet; }
54 
59  inline void SetNoData(int value) { m_noDataHasBeenSet = true; m_noData = value; }
60 
65  inline InstanceHealthSummary& WithNoData(int value) { SetNoData(value); return *this;}
66 
67 
72  inline int GetUnknown() const{ return m_unknown; }
73 
78  inline bool UnknownHasBeenSet() const { return m_unknownHasBeenSet; }
79 
84  inline void SetUnknown(int value) { m_unknownHasBeenSet = true; m_unknown = value; }
85 
90  inline InstanceHealthSummary& WithUnknown(int value) { SetUnknown(value); return *this;}
91 
92 
97  inline int GetPending() const{ return m_pending; }
98 
103  inline bool PendingHasBeenSet() const { return m_pendingHasBeenSet; }
104 
109  inline void SetPending(int value) { m_pendingHasBeenSet = true; m_pending = value; }
110 
115  inline InstanceHealthSummary& WithPending(int value) { SetPending(value); return *this;}
116 
117 
122  inline int GetOk() const{ return m_ok; }
123 
128  inline bool OkHasBeenSet() const { return m_okHasBeenSet; }
129 
134  inline void SetOk(int value) { m_okHasBeenSet = true; m_ok = value; }
135 
140  inline InstanceHealthSummary& WithOk(int value) { SetOk(value); return *this;}
141 
142 
146  inline int GetInfo() const{ return m_info; }
147 
151  inline bool InfoHasBeenSet() const { return m_infoHasBeenSet; }
152 
156  inline void SetInfo(int value) { m_infoHasBeenSet = true; m_info = value; }
157 
161  inline InstanceHealthSummary& WithInfo(int value) { SetInfo(value); return *this;}
162 
163 
168  inline int GetWarning() const{ return m_warning; }
169 
174  inline bool WarningHasBeenSet() const { return m_warningHasBeenSet; }
175 
180  inline void SetWarning(int value) { m_warningHasBeenSet = true; m_warning = value; }
181 
186  inline InstanceHealthSummary& WithWarning(int value) { SetWarning(value); return *this;}
187 
188 
193  inline int GetDegraded() const{ return m_degraded; }
194 
199  inline bool DegradedHasBeenSet() const { return m_degradedHasBeenSet; }
200 
205  inline void SetDegraded(int value) { m_degradedHasBeenSet = true; m_degraded = value; }
206 
211  inline InstanceHealthSummary& WithDegraded(int value) { SetDegraded(value); return *this;}
212 
213 
218  inline int GetSevere() const{ return m_severe; }
219 
224  inline bool SevereHasBeenSet() const { return m_severeHasBeenSet; }
225 
230  inline void SetSevere(int value) { m_severeHasBeenSet = true; m_severe = value; }
231 
236  inline InstanceHealthSummary& WithSevere(int value) { SetSevere(value); return *this;}
237 
238  private:
239 
240  int m_noData;
241  bool m_noDataHasBeenSet;
242 
243  int m_unknown;
244  bool m_unknownHasBeenSet;
245 
246  int m_pending;
247  bool m_pendingHasBeenSet;
248 
249  int m_ok;
250  bool m_okHasBeenSet;
251 
252  int m_info;
253  bool m_infoHasBeenSet;
254 
255  int m_warning;
256  bool m_warningHasBeenSet;
257 
258  int m_degraded;
259  bool m_degradedHasBeenSet;
260 
261  int m_severe;
262  bool m_severeHasBeenSet;
263  };
264 
265 } // namespace Model
266 } // namespace ElasticBeanstalk
267 } // namespace Aws
AWS_ELASTICBEANSTALK_API
#define AWS_ELASTICBEANSTALK_API
Definition: ElasticBeanstalk_EXPORTS.h:28
Aws::ElasticBeanstalk::Model::InstanceHealthSummary::UnknownHasBeenSet
bool UnknownHasBeenSet() const
Definition: InstanceHealthSummary.h:78
Aws::ElasticBeanstalk::Model::InstanceHealthSummary::SetDegraded
void SetDegraded(int value)
Definition: InstanceHealthSummary.h:205
Aws::ElasticBeanstalk::Model::InstanceHealthSummary::WithWarning
InstanceHealthSummary & WithWarning(int value)
Definition: InstanceHealthSummary.h:186
Aws::ElasticBeanstalk::Model::InstanceHealthSummary::SetUnknown
void SetUnknown(int value)
Definition: InstanceHealthSummary.h:84
Aws::ElasticBeanstalk::Model::InstanceHealthSummary::SevereHasBeenSet
bool SevereHasBeenSet() const
Definition: InstanceHealthSummary.h:224
Aws::ElasticBeanstalk::Model::InstanceHealthSummary::InstanceHealthSummary
InstanceHealthSummary(const Aws::Utils::Xml::XmlNode &xmlNode)
Aws::ElasticBeanstalk::Model::InstanceHealthSummary::SetOk
void SetOk(int value)
Definition: InstanceHealthSummary.h:134
Aws::ElasticBeanstalk::Model::InstanceHealthSummary::WarningHasBeenSet
bool WarningHasBeenSet() const
Definition: InstanceHealthSummary.h:174
Aws::ElasticBeanstalk::Model::InstanceHealthSummary::operator=
InstanceHealthSummary & operator=(const Aws::Utils::Xml::XmlNode &xmlNode)
AWSStreamFwd.h
Aws::ElasticBeanstalk::Model::InstanceHealthSummary::PendingHasBeenSet
bool PendingHasBeenSet() const
Definition: InstanceHealthSummary.h:103
Aws::ElasticBeanstalk::Model::InstanceHealthSummary::GetOk
int GetOk() const
Definition: InstanceHealthSummary.h:122
Aws::ElasticBeanstalk::Model::InstanceHealthSummary::WithOk
InstanceHealthSummary & WithOk(int value)
Definition: InstanceHealthSummary.h:140
Aws::ElasticBeanstalk::Model::InstanceHealthSummary::WithPending
InstanceHealthSummary & WithPending(int value)
Definition: InstanceHealthSummary.h:115
Aws::ElasticBeanstalk::Model::InstanceHealthSummary::NoDataHasBeenSet
bool NoDataHasBeenSet() const
Definition: InstanceHealthSummary.h:53
Aws::ElasticBeanstalk::Model::InstanceHealthSummary::WithInfo
InstanceHealthSummary & WithInfo(int value)
Definition: InstanceHealthSummary.h:161
Aws::OStream
std::basic_ostream< char, std::char_traits< char > > OStream
Definition: AWSStreamFwd.h:21
Aws::ElasticBeanstalk::Model::InstanceHealthSummary::DegradedHasBeenSet
bool DegradedHasBeenSet() const
Definition: InstanceHealthSummary.h:199
Aws::ElasticBeanstalk::Model::InstanceHealthSummary::GetPending
int GetPending() const
Definition: InstanceHealthSummary.h:97
Aws::ElasticBeanstalk::Model::InstanceHealthSummary::OutputToStream
void OutputToStream(Aws::OStream &ostream, const char *location, unsigned index, const char *locationValue) const
Aws::ElasticBeanstalk::Model::InstanceHealthSummary::SetSevere
void SetSevere(int value)
Definition: InstanceHealthSummary.h:230
Aws::ElasticBeanstalk::Model::InstanceHealthSummary::WithNoData
InstanceHealthSummary & WithNoData(int value)
Definition: InstanceHealthSummary.h:65
Aws::Utils::Xml::XmlNode
Definition: XmlSerializer.h:53
Aws::ElasticBeanstalk::Model::InstanceHealthSummary::WithUnknown
InstanceHealthSummary & WithUnknown(int value)
Definition: InstanceHealthSummary.h:90
Aws::ElasticBeanstalk::Model::InstanceHealthSummary::GetInfo
int GetInfo() const
Definition: InstanceHealthSummary.h:146
Aws::ElasticBeanstalk::Model::InstanceHealthSummary::GetDegraded
int GetDegraded() const
Definition: InstanceHealthSummary.h:193
Aws::ElasticBeanstalk::Model::InstanceHealthSummary::InfoHasBeenSet
bool InfoHasBeenSet() const
Definition: InstanceHealthSummary.h:151
Aws::ElasticBeanstalk::Model::InstanceHealthSummary::GetSevere
int GetSevere() const
Definition: InstanceHealthSummary.h:218
Aws::ElasticBeanstalk::Model::InstanceHealthSummary::GetUnknown
int GetUnknown() const
Definition: InstanceHealthSummary.h:72
ElasticBeanstalk_EXPORTS.h
Aws::ElasticBeanstalk::Model::InstanceHealthSummary::SetPending
void SetPending(int value)
Definition: InstanceHealthSummary.h:109
Aws::ElasticBeanstalk::Model::InstanceHealthSummary::SetNoData
void SetNoData(int value)
Definition: InstanceHealthSummary.h:59
Aws
Definition: AccessManagementClient.h:15
Aws::ElasticBeanstalk::Model::InstanceHealthSummary::OkHasBeenSet
bool OkHasBeenSet() const
Definition: InstanceHealthSummary.h:128
Aws::ElasticBeanstalk::Model::InstanceHealthSummary::OutputToStream
void OutputToStream(Aws::OStream &oStream, const char *location) const
Aws::ElasticBeanstalk::Model::InstanceHealthSummary::GetWarning
int GetWarning() const
Definition: InstanceHealthSummary.h:168
index
int index
Definition: cJSON.h:181
Aws::ElasticBeanstalk::Model::InstanceHealthSummary::InstanceHealthSummary
InstanceHealthSummary()
Aws::ElasticBeanstalk::Model::InstanceHealthSummary::GetNoData
int GetNoData() const
Definition: InstanceHealthSummary.h:47
Aws::ElasticBeanstalk::Model::InstanceHealthSummary
Definition: InstanceHealthSummary.h:33
Aws::ElasticBeanstalk::Model::InstanceHealthSummary::WithSevere
InstanceHealthSummary & WithSevere(int value)
Definition: InstanceHealthSummary.h:236
Aws::ElasticBeanstalk::Model::InstanceHealthSummary::WithDegraded
InstanceHealthSummary & WithDegraded(int value)
Definition: InstanceHealthSummary.h:211
Aws::ElasticBeanstalk::Model::InstanceHealthSummary::SetWarning
void SetWarning(int value)
Definition: InstanceHealthSummary.h:180
Aws::ElasticBeanstalk::Model::InstanceHealthSummary::SetInfo
void SetInfo(int value)
Definition: InstanceHealthSummary.h:156