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;
59 template<
typename TargetT = Aws::String>
60 void SetTarget(TargetT&& value) { m_targetHasBeenSet =
true; m_target = std::forward<TargetT>(value); }
61 template<
typename TargetT = Aws::String>
72 inline void SetInterval(
int value) { m_intervalHasBeenSet =
true; m_interval = value; }
84 inline void SetTimeout(
int value) { m_timeoutHasBeenSet =
true; m_timeout = value; }
95 inline void SetUnhealthyThreshold(
int value) { m_unhealthyThresholdHasBeenSet =
true; m_unhealthyThreshold = value; }
106 inline void SetHealthyThreshold(
int value) { m_healthyThresholdHasBeenSet =
true; m_healthyThreshold = value; }
112 bool m_targetHasBeenSet =
false;
115 bool m_intervalHasBeenSet =
false;
118 bool m_timeoutHasBeenSet =
false;
120 int m_unhealthyThreshold{0};
121 bool m_unhealthyThresholdHasBeenSet =
false;
123 int m_healthyThreshold{0};
124 bool m_healthyThresholdHasBeenSet =
false;
AWS_ELASTICLOADBALANCING_API void OutputToStream(Aws::OStream &ostream, const char *location, unsigned index, const char *locationValue) const
bool HealthyThresholdHasBeenSet() const
AWS_ELASTICLOADBALANCING_API HealthCheck()=default
bool TimeoutHasBeenSet() const
void SetUnhealthyThreshold(int value)
bool TargetHasBeenSet() const
void SetTimeout(int value)
void SetTarget(TargetT &&value)
HealthCheck & WithInterval(int value)
HealthCheck & WithUnhealthyThreshold(int value)
int GetHealthyThreshold() const
int GetUnhealthyThreshold() const
const Aws::String & GetTarget() const
HealthCheck & WithTarget(TargetT &&value)
bool IntervalHasBeenSet() const
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