7#include <aws/core/utils/memory/stl/AWSStreamFwd.h>
8#include <aws/core/utils/memory/stl/AWSString.h>
9#include <aws/elasticloadbalancing/ElasticLoadBalancing_EXPORTS.h>
19namespace ElasticLoadBalancing {
34 const char* locationValue)
const;
43 template <
typename InstanceIdT = Aws::String>
45 m_instanceIdHasBeenSet =
true;
46 m_instanceId = std::forward<InstanceIdT>(value);
48 template <
typename InstanceIdT = Aws::String>
62 template <
typename StateT = Aws::String>
64 m_stateHasBeenSet =
true;
65 m_state = std::forward<StateT>(value);
67 template <
typename StateT = Aws::String>
69 SetState(std::forward<StateT>(value));
83 template <
typename ReasonCodeT = Aws::String>
85 m_reasonCodeHasBeenSet =
true;
86 m_reasonCode = std::forward<ReasonCodeT>(value);
88 template <
typename ReasonCodeT = Aws::String>
115 template <
typename DescriptionT = Aws::String>
117 m_descriptionHasBeenSet =
true;
118 m_description = std::forward<DescriptionT>(value);
120 template <
typename DescriptionT = Aws::String>
134 bool m_instanceIdHasBeenSet =
false;
135 bool m_stateHasBeenSet =
false;
136 bool m_reasonCodeHasBeenSet =
false;
137 bool m_descriptionHasBeenSet =
false;
void SetInstanceId(InstanceIdT &&value)
void SetReasonCode(ReasonCodeT &&value)
bool ReasonCodeHasBeenSet() const
InstanceState & WithDescription(DescriptionT &&value)
AWS_ELASTICLOADBALANCING_API InstanceState(const Aws::Utils::Xml::XmlNode &xmlNode)
const Aws::String & GetInstanceId() const
const Aws::String & GetReasonCode() const
bool StateHasBeenSet() const
void SetDescription(DescriptionT &&value)
AWS_ELASTICLOADBALANCING_API InstanceState()=default
bool DescriptionHasBeenSet() const
InstanceState & WithState(StateT &&value)
AWS_ELASTICLOADBALANCING_API void OutputToStream(Aws::OStream &ostream, const char *location, unsigned index, const char *locationValue) const
const Aws::String & GetState() const
AWS_ELASTICLOADBALANCING_API void OutputToStream(Aws::OStream &oStream, const char *location) const
AWS_ELASTICLOADBALANCING_API InstanceState & operator=(const Aws::Utils::Xml::XmlNode &xmlNode)
const Aws::String & GetDescription() const
bool InstanceIdHasBeenSet() const
InstanceState & WithReasonCode(ReasonCodeT &&value)
void SetState(StateT &&value)
InstanceState & WithInstanceId(InstanceIdT &&value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
std::basic_ostream< char, std::char_traits< char > > OStream