7#include <aws/elasticloadbalancing/ElasticLoadBalancing_EXPORTS.h>
8#include <aws/core/utils/memory/stl/AWSStreamFwd.h>
9#include <aws/core/utils/memory/stl/AWSString.h>
21namespace ElasticLoadBalancing
38 AWS_ELASTICLOADBALANCING_API
void OutputToStream(
Aws::OStream& ostream,
const char* location,
unsigned index,
const char* locationValue)
const;
61 inline void SetTarget(
const char* value) { m_targetHasBeenSet =
true; m_target.assign(value); }
74 inline void SetInterval(
int value) { m_intervalHasBeenSet =
true; m_interval = value; }
86 inline void SetTimeout(
int value) { m_timeoutHasBeenSet =
true; m_timeout = value; }
97 inline void SetUnhealthyThreshold(
int value) { m_unhealthyThresholdHasBeenSet =
true; m_unhealthyThreshold = value; }
108 inline void SetHealthyThreshold(
int value) { m_healthyThresholdHasBeenSet =
true; m_healthyThreshold = value; }
114 bool m_targetHasBeenSet =
false;
117 bool m_intervalHasBeenSet =
false;
120 bool m_timeoutHasBeenSet =
false;
122 int m_unhealthyThreshold;
123 bool m_unhealthyThresholdHasBeenSet =
false;
125 int m_healthyThreshold;
126 bool m_healthyThresholdHasBeenSet =
false;
void SetTarget(Aws::String &&value)
AWS_ELASTICLOADBALANCING_API void OutputToStream(Aws::OStream &ostream, const char *location, unsigned index, const char *locationValue) const
bool HealthyThresholdHasBeenSet() const
void SetTarget(const char *value)
bool TimeoutHasBeenSet() const
void SetUnhealthyThreshold(int value)
bool TargetHasBeenSet() const
void SetTimeout(int value)
HealthCheck & WithTarget(const char *value)
HealthCheck & WithTarget(const Aws::String &value)
HealthCheck & WithInterval(int value)
HealthCheck & WithUnhealthyThreshold(int value)
HealthCheck & WithTarget(Aws::String &&value)
int GetHealthyThreshold() const
AWS_ELASTICLOADBALANCING_API HealthCheck()
int GetUnhealthyThreshold() const
const Aws::String & GetTarget() const
bool IntervalHasBeenSet() const
void SetTarget(const Aws::String &value)
HealthCheck & WithTimeout(int value)
HealthCheck & WithHealthyThreshold(int value)
void SetInterval(int value)
void SetHealthyThreshold(int value)
bool UnhealthyThresholdHasBeenSet() const
AWS_ELASTICLOADBALANCING_API void OutputToStream(Aws::OStream &oStream, const char *location) const
AWS_ELASTICLOADBALANCING_API HealthCheck & operator=(const Aws::Utils::Xml::XmlNode &xmlNode)
AWS_ELASTICLOADBALANCING_API HealthCheck(const Aws::Utils::Xml::XmlNode &xmlNode)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
std::basic_ostream< char, std::char_traits< char > > OStream