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>
61 template<
typename StateT = Aws::String>
62 void SetState(StateT&& value) { m_stateHasBeenSet =
true; m_state = std::forward<StateT>(value); }
63 template<
typename StateT = Aws::String>
73 template<
typename IdentifierT = Aws::String>
74 void SetIdentifier(IdentifierT&& value) { m_identifierHasBeenSet =
true; m_identifier = std::forward<IdentifierT>(value); }
75 template<
typename IdentifierT = Aws::String>
92 template<
typename TypeT = Aws::String>
93 void SetType(TypeT&& value) { m_typeHasBeenSet =
true; m_type = std::forward<TypeT>(value); }
94 template<
typename TypeT = Aws::String>
100 bool m_stateHasBeenSet =
false;
103 bool m_identifierHasBeenSet =
false;
106 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