7#include <aws/core/utils/memory/stl/AWSStreamFwd.h>
8#include <aws/elasticbeanstalk/ElasticBeanstalk_EXPORTS.h>
16namespace ElasticBeanstalk {
34 const char* locationValue)
const;
45 m_noDataHasBeenSet =
true;
62 m_unknownHasBeenSet =
true;
79 m_pendingHasBeenSet =
true;
93 inline int GetOk()
const {
return m_ok; }
96 m_okHasBeenSet =
true;
112 m_infoHasBeenSet =
true;
129 m_warningHasBeenSet =
true;
146 m_degradedHasBeenSet =
true;
163 m_severeHasBeenSet =
true;
187 bool m_noDataHasBeenSet =
false;
188 bool m_unknownHasBeenSet =
false;
189 bool m_pendingHasBeenSet =
false;
190 bool m_okHasBeenSet =
false;
191 bool m_infoHasBeenSet =
false;
192 bool m_warningHasBeenSet =
false;
193 bool m_degradedHasBeenSet =
false;
194 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)
AWS_ELASTICBEANSTALK_API InstanceHealthSummary()=default
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)
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