7#include <aws/autoscaling/AutoScaling_EXPORTS.h>
8#include <aws/core/utils/memory/stl/AWSStreamFwd.h>
9#include <aws/core/utils/memory/stl/AWSString.h>
19namespace AutoScaling {
55 template <
typename StateT = Aws::String>
57 m_stateHasBeenSet =
true;
58 m_state = std::forward<StateT>(value);
60 template <
typename StateT = Aws::String>
62 SetState(std::forward<StateT>(value));
73 template <
typename IdentifierT = Aws::String>
75 m_identifierHasBeenSet =
true;
76 m_identifier = std::forward<IdentifierT>(value);
78 template <
typename IdentifierT = Aws::String>
98 template <
typename TypeT = Aws::String>
100 m_typeHasBeenSet =
true;
101 m_type = std::forward<TypeT>(value);
103 template <
typename TypeT = Aws::String>
105 SetType(std::forward<TypeT>(value));
115 bool m_stateHasBeenSet =
false;
116 bool m_identifierHasBeenSet =
false;
117 bool m_typeHasBeenSet =
false;
TrafficSourceState & WithState(StateT &&value)
AWS_AUTOSCALING_API void OutputToStream(Aws::OStream &ostream, const char *location, unsigned index, const char *locationValue) const
bool TypeHasBeenSet() const
TrafficSourceState & WithType(TypeT &&value)
void SetState(StateT &&value)
AWS_AUTOSCALING_API TrafficSourceState(const Aws::Utils::Xml::XmlNode &xmlNode)
AWS_AUTOSCALING_API void OutputToStream(Aws::OStream &oStream, const char *location) const
void SetType(TypeT &&value)
TrafficSourceState & WithIdentifier(IdentifierT &&value)
const Aws::String & GetIdentifier() const
bool StateHasBeenSet() const
AWS_AUTOSCALING_API TrafficSourceState()=default
bool IdentifierHasBeenSet() const
const Aws::String & GetState() const
AWS_AUTOSCALING_API TrafficSourceState & operator=(const Aws::Utils::Xml::XmlNode &xmlNode)
void SetIdentifier(IdentifierT &&value)
const Aws::String & GetType() const
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
std::basic_ostream< char, std::char_traits< char > > OStream