7#include <aws/elasticloadbalancingv2/ElasticLoadBalancingv2_EXPORTS.h>
8#include <aws/core/utils/memory/stl/AWSStreamFwd.h>
9#include <aws/elasticloadbalancingv2/model/TargetHealthStateEnum.h>
10#include <aws/elasticloadbalancingv2/model/TargetHealthReasonEnum.h>
11#include <aws/core/utils/memory/stl/AWSString.h>
23namespace ElasticLoadBalancingv2
41 AWS_ELASTICLOADBALANCINGV2_API
void OutputToStream(
Aws::OStream& ostream,
const char* location,
unsigned index,
const char* locationValue)
const;
112 inline void SetDescription(
const char* value) { m_descriptionHasBeenSet =
true; m_description.assign(value); }
120 bool m_stateHasBeenSet =
false;
123 bool m_reasonHasBeenSet =
false;
126 bool m_descriptionHasBeenSet =
false;
void SetState(const TargetHealthStateEnum &value)
void SetReason(const TargetHealthReasonEnum &value)
AWS_ELASTICLOADBALANCINGV2_API TargetHealth & operator=(const Aws::Utils::Xml::XmlNode &xmlNode)
TargetHealth & WithDescription(const Aws::String &value)
TargetHealth & WithReason(const TargetHealthReasonEnum &value)
TargetHealth & WithDescription(const char *value)
TargetHealth & WithState(TargetHealthStateEnum &&value)
void SetDescription(const char *value)
AWS_ELASTICLOADBALANCINGV2_API TargetHealth(const Aws::Utils::Xml::XmlNode &xmlNode)
AWS_ELASTICLOADBALANCINGV2_API TargetHealth()
void SetState(TargetHealthStateEnum &&value)
bool StateHasBeenSet() const
TargetHealth & WithDescription(Aws::String &&value)
void SetDescription(const Aws::String &value)
TargetHealth & WithState(const TargetHealthStateEnum &value)
const TargetHealthReasonEnum & GetReason() const
bool ReasonHasBeenSet() const
AWS_ELASTICLOADBALANCINGV2_API void OutputToStream(Aws::OStream &oStream, const char *location) const
void SetDescription(Aws::String &&value)
bool DescriptionHasBeenSet() const
AWS_ELASTICLOADBALANCINGV2_API void OutputToStream(Aws::OStream &ostream, const char *location, unsigned index, const char *locationValue) const
const Aws::String & GetDescription() const
const TargetHealthStateEnum & GetState() const
TargetHealth & WithReason(TargetHealthReasonEnum &&value)
void SetReason(TargetHealthReasonEnum &&value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
std::basic_ostream< char, std::char_traits< char > > OStream