7#include <aws/elasticloadbalancingv2/ElasticLoadBalancingv2_EXPORTS.h>
8#include <aws/core/utils/memory/stl/AWSStreamFwd.h>
9#include <aws/elasticloadbalancingv2/model/LoadBalancerStateEnum.h>
10#include <aws/core/utils/memory/stl/AWSString.h>
22namespace ElasticLoadBalancingv2
40 AWS_ELASTICLOADBALANCINGV2_API
void OutputToStream(
Aws::OStream& ostream,
const char* location,
unsigned index,
const char* locationValue)
const;
69 inline void SetReason(
const char* value) { m_reasonHasBeenSet =
true; m_reason.assign(value); }
77 bool m_codeHasBeenSet =
false;
80 bool m_reasonHasBeenSet =
false;
AWS_ELASTICLOADBALANCINGV2_API LoadBalancerState(const Aws::Utils::Xml::XmlNode &xmlNode)
AWS_ELASTICLOADBALANCINGV2_API LoadBalancerState()
void SetReason(const char *value)
LoadBalancerState & WithReason(const Aws::String &value)
void SetCode(LoadBalancerStateEnum &&value)
LoadBalancerState & WithReason(Aws::String &&value)
LoadBalancerState & WithCode(const LoadBalancerStateEnum &value)
bool ReasonHasBeenSet() const
LoadBalancerState & WithReason(const char *value)
LoadBalancerState & WithCode(LoadBalancerStateEnum &&value)
const LoadBalancerStateEnum & GetCode() const
void SetReason(Aws::String &&value)
const Aws::String & GetReason() const
void SetCode(const LoadBalancerStateEnum &value)
void SetReason(const Aws::String &value)
bool CodeHasBeenSet() const
AWS_ELASTICLOADBALANCINGV2_API LoadBalancerState & operator=(const Aws::Utils::Xml::XmlNode &xmlNode)
AWS_ELASTICLOADBALANCINGV2_API void OutputToStream(Aws::OStream &oStream, const char *location) const
AWS_ELASTICLOADBALANCINGV2_API void OutputToStream(Aws::OStream &ostream, const char *location, unsigned index, const char *locationValue) const
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
std::basic_ostream< char, std::char_traits< char > > OStream