7#include <aws/rds/RDS_EXPORTS.h>
8#include <aws/core/utils/memory/stl/AWSStreamFwd.h>
9#include <aws/rds/model/TargetState.h>
10#include <aws/rds/model/TargetHealthReason.h>
11#include <aws/core/utils/memory/stl/AWSString.h>
83 inline void SetDescription(
const char* value) { m_descriptionHasBeenSet =
true; m_description.assign(value); }
91 bool m_stateHasBeenSet =
false;
94 bool m_reasonHasBeenSet =
false;
97 bool m_descriptionHasBeenSet =
false;
const Aws::String & GetDescription() const
TargetHealth & WithDescription(const char *value)
void SetReason(const TargetHealthReason &value)
TargetHealth & WithReason(TargetHealthReason &&value)
void SetState(const TargetState &value)
bool StateHasBeenSet() const
void SetReason(TargetHealthReason &&value)
bool ReasonHasBeenSet() const
AWS_RDS_API void OutputToStream(Aws::OStream &ostream, const char *location, unsigned index, const char *locationValue) const
TargetHealth & WithState(TargetState &&value)
void SetDescription(const char *value)
const TargetState & GetState() const
void SetDescription(const Aws::String &value)
TargetHealth & WithDescription(const Aws::String &value)
bool DescriptionHasBeenSet() const
TargetHealth & WithReason(const TargetHealthReason &value)
AWS_RDS_API void OutputToStream(Aws::OStream &oStream, const char *location) const
AWS_RDS_API TargetHealth()
void SetState(TargetState &&value)
AWS_RDS_API TargetHealth & operator=(const Aws::Utils::Xml::XmlNode &xmlNode)
AWS_RDS_API TargetHealth(const Aws::Utils::Xml::XmlNode &xmlNode)
void SetDescription(Aws::String &&value)
TargetHealth & WithDescription(Aws::String &&value)
TargetHealth & WithState(const TargetState &value)
const TargetHealthReason & GetReason() const
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
std::basic_ostream< char, std::char_traits< char > > OStream