AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
InstanceHealthSummary.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
33 {
34 public:
35 AWS_ELASTICBEANSTALK_API InstanceHealthSummary();
36 AWS_ELASTICBEANSTALK_API InstanceHealthSummary(const Aws::Utils::Xml::XmlNode& xmlNode);
37 AWS_ELASTICBEANSTALK_API InstanceHealthSummary& operator=(const Aws::Utils::Xml::XmlNode& xmlNode);
38
39 AWS_ELASTICBEANSTALK_API void OutputToStream(Aws::OStream& ostream, const char* location, unsigned index, const char* locationValue) const;
40 AWS_ELASTICBEANSTALK_API void OutputToStream(Aws::OStream& oStream, const char* location) const;
41
42
44
48 inline int GetNoData() const{ return m_noData; }
49 inline bool NoDataHasBeenSet() const { return m_noDataHasBeenSet; }
50 inline void SetNoData(int value) { m_noDataHasBeenSet = true; m_noData = value; }
51 inline InstanceHealthSummary& WithNoData(int value) { SetNoData(value); return *this;}
53
55
59 inline int GetUnknown() const{ return m_unknown; }
60 inline bool UnknownHasBeenSet() const { return m_unknownHasBeenSet; }
61 inline void SetUnknown(int value) { m_unknownHasBeenSet = true; m_unknown = value; }
62 inline InstanceHealthSummary& WithUnknown(int value) { SetUnknown(value); return *this;}
64
66
70 inline int GetPending() const{ return m_pending; }
71 inline bool PendingHasBeenSet() const { return m_pendingHasBeenSet; }
72 inline void SetPending(int value) { m_pendingHasBeenSet = true; m_pending = value; }
73 inline InstanceHealthSummary& WithPending(int value) { SetPending(value); return *this;}
75
77
81 inline int GetOk() const{ return m_ok; }
82 inline bool OkHasBeenSet() const { return m_okHasBeenSet; }
83 inline void SetOk(int value) { m_okHasBeenSet = true; m_ok = value; }
84 inline InstanceHealthSummary& WithOk(int value) { SetOk(value); return *this;}
86
88
91 inline int GetInfo() const{ return m_info; }
92 inline bool InfoHasBeenSet() const { return m_infoHasBeenSet; }
93 inline void SetInfo(int value) { m_infoHasBeenSet = true; m_info = value; }
94 inline InstanceHealthSummary& WithInfo(int value) { SetInfo(value); return *this;}
96
98
102 inline int GetWarning() const{ return m_warning; }
103 inline bool WarningHasBeenSet() const { return m_warningHasBeenSet; }
104 inline void SetWarning(int value) { m_warningHasBeenSet = true; m_warning = value; }
105 inline InstanceHealthSummary& WithWarning(int value) { SetWarning(value); return *this;}
107
109
113 inline int GetDegraded() const{ return m_degraded; }
114 inline bool DegradedHasBeenSet() const { return m_degradedHasBeenSet; }
115 inline void SetDegraded(int value) { m_degradedHasBeenSet = true; m_degraded = value; }
116 inline InstanceHealthSummary& WithDegraded(int value) { SetDegraded(value); return *this;}
118
120
124 inline int GetSevere() const{ return m_severe; }
125 inline bool SevereHasBeenSet() const { return m_severeHasBeenSet; }
126 inline void SetSevere(int value) { m_severeHasBeenSet = true; m_severe = value; }
127 inline InstanceHealthSummary& WithSevere(int value) { SetSevere(value); return *this;}
129 private:
130
131 int m_noData;
132 bool m_noDataHasBeenSet = false;
133
134 int m_unknown;
135 bool m_unknownHasBeenSet = false;
136
137 int m_pending;
138 bool m_pendingHasBeenSet = false;
139
140 int m_ok;
141 bool m_okHasBeenSet = false;
142
143 int m_info;
144 bool m_infoHasBeenSet = false;
145
146 int m_warning;
147 bool m_warningHasBeenSet = false;
148
149 int m_degraded;
150 bool m_degradedHasBeenSet = false;
151
152 int m_severe;
153 bool m_severeHasBeenSet = false;
154 };
155
156} // namespace Model
157} // namespace ElasticBeanstalk
158} // namespace Aws
AWS_ELASTICBEANSTALK_API InstanceHealthSummary(const Aws::Utils::Xml::XmlNode &xmlNode)
AWS_ELASTICBEANSTALK_API InstanceHealthSummary & operator=(const Aws::Utils::Xml::XmlNode &xmlNode)
AWS_ELASTICBEANSTALK_API void OutputToStream(Aws::OStream &oStream, const char *location) const
AWS_ELASTICBEANSTALK_API void OutputToStream(Aws::OStream &ostream, const char *location, unsigned index, const char *locationValue) const
std::basic_ostream< char, std::char_traits< char > > OStream