7#include <aws/elasticbeanstalk/ElasticBeanstalk_EXPORTS.h>
8#include <aws/core/utils/memory/stl/AWSStreamFwd.h>
19namespace ElasticBeanstalk
39 AWS_ELASTICBEANSTALK_API
void OutputToStream(
Aws::OStream& ostream,
const char* location,
unsigned index,
const char* locationValue)
const;
50 inline void SetNoData(
int value) { m_noDataHasBeenSet =
true; m_noData = value; }
61 inline void SetUnknown(
int value) { m_unknownHasBeenSet =
true; m_unknown = value; }
72 inline void SetPending(
int value) { m_pendingHasBeenSet =
true; m_pending = value; }
81 inline int GetOk()
const{
return m_ok; }
83 inline void SetOk(
int value) { m_okHasBeenSet =
true; m_ok = value; }
91 inline int GetInfo()
const{
return m_info; }
93 inline void SetInfo(
int value) { m_infoHasBeenSet =
true; m_info = value; }
104 inline void SetWarning(
int value) { m_warningHasBeenSet =
true; m_warning = value; }
115 inline void SetDegraded(
int value) { m_degradedHasBeenSet =
true; m_degraded = value; }
126 inline void SetSevere(
int value) { m_severeHasBeenSet =
true; m_severe = value; }
132 bool m_noDataHasBeenSet =
false;
135 bool m_unknownHasBeenSet =
false;
138 bool m_pendingHasBeenSet =
false;
141 bool m_okHasBeenSet =
false;
144 bool m_infoHasBeenSet =
false;
147 bool m_warningHasBeenSet =
false;
150 bool m_degradedHasBeenSet =
false;
153 bool m_severeHasBeenSet =
false;
void SetNoData(int value)
void SetPending(int value)
InstanceHealthSummary & WithDegraded(int value)
bool DegradedHasBeenSet() const
AWS_ELASTICBEANSTALK_API InstanceHealthSummary(const Aws::Utils::Xml::XmlNode &xmlNode)
InstanceHealthSummary & WithPending(int value)
InstanceHealthSummary & WithWarning(int value)
InstanceHealthSummary & WithOk(int value)
bool WarningHasBeenSet() const
InstanceHealthSummary & WithNoData(int value)
bool InfoHasBeenSet() const
InstanceHealthSummary & WithUnknown(int value)
AWS_ELASTICBEANSTALK_API InstanceHealthSummary & operator=(const Aws::Utils::Xml::XmlNode &xmlNode)
AWS_ELASTICBEANSTALK_API InstanceHealthSummary()
bool OkHasBeenSet() const
void SetWarning(int value)
bool UnknownHasBeenSet() const
void SetDegraded(int value)
bool PendingHasBeenSet() const
bool SevereHasBeenSet() const
AWS_ELASTICBEANSTALK_API void OutputToStream(Aws::OStream &oStream, const char *location) const
bool NoDataHasBeenSet() const
AWS_ELASTICBEANSTALK_API void OutputToStream(Aws::OStream &ostream, const char *location, unsigned index, const char *locationValue) const
void SetSevere(int value)
void SetUnknown(int value)
InstanceHealthSummary & WithSevere(int value)
InstanceHealthSummary & WithInfo(int value)
std::basic_ostream< char, std::char_traits< char > > OStream