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;
50 inline void SetInstanceId(
const char* value) { m_instanceIdHasBeenSet =
true; m_instanceId.assign(value); }
65 inline void SetState(
const char* value) { m_stateHasBeenSet =
true; m_state.assign(value); }
82 inline void SetReasonCode(
const char* value) { m_reasonCodeHasBeenSet =
true; m_reasonCode.assign(value); }
110 inline void SetDescription(
const char* value) { m_descriptionHasBeenSet =
true; m_description.assign(value); }
118 bool m_instanceIdHasBeenSet =
false;
121 bool m_stateHasBeenSet =
false;
124 bool m_reasonCodeHasBeenSet =
false;
127 bool m_descriptionHasBeenSet =
false;
InstanceState & WithReasonCode(const char *value)
void SetDescription(const Aws::String &value)
InstanceState & WithState(const char *value)
InstanceState & WithState(Aws::String &&value)
bool ReasonCodeHasBeenSet() const
void SetReasonCode(const Aws::String &value)
InstanceState & WithReasonCode(const Aws::String &value)
InstanceState & WithInstanceId(const char *value)
AWS_ELASTICLOADBALANCING_API InstanceState(const Aws::Utils::Xml::XmlNode &xmlNode)
const Aws::String & GetInstanceId() const
InstanceState & WithInstanceId(Aws::String &&value)
InstanceState & WithReasonCode(Aws::String &&value)
void SetInstanceId(Aws::String &&value)
void SetState(const Aws::String &value)
const Aws::String & GetReasonCode() const
bool StateHasBeenSet() const
void SetInstanceId(const char *value)
void SetDescription(Aws::String &&value)
InstanceState & WithInstanceId(const Aws::String &value)
void SetDescription(const char *value)
InstanceState & WithDescription(const char *value)
InstanceState & WithState(const Aws::String &value)
void SetReasonCode(const char *value)
bool DescriptionHasBeenSet() const
AWS_ELASTICLOADBALANCING_API void OutputToStream(Aws::OStream &ostream, const char *location, unsigned index, const char *locationValue) const
void SetReasonCode(Aws::String &&value)
void SetInstanceId(const Aws::String &value)
const Aws::String & GetState() const
AWS_ELASTICLOADBALANCING_API InstanceState()
InstanceState & WithDescription(Aws::String &&value)
InstanceState & WithDescription(const Aws::String &value)
AWS_ELASTICLOADBALANCING_API void OutputToStream(Aws::OStream &oStream, const char *location) const
void SetState(const char *value)
AWS_ELASTICLOADBALANCING_API InstanceState & operator=(const Aws::Utils::Xml::XmlNode &xmlNode)
void SetState(Aws::String &&value)
const Aws::String & GetDescription() const
bool InstanceIdHasBeenSet() const
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
std::basic_ostream< char, std::char_traits< char > > OStream