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 {
29 AWS_AUTOSCALING_API
Alarm() =
default;
42 template <
typename AlarmNameT = Aws::String>
44 m_alarmNameHasBeenSet =
true;
45 m_alarmName = std::forward<AlarmNameT>(value);
47 template <
typename AlarmNameT = Aws::String>
60 template <
typename AlarmARNT = Aws::String>
62 m_alarmARNHasBeenSet =
true;
63 m_alarmARN = std::forward<AlarmARNT>(value);
65 template <
typename AlarmARNT = Aws::String>
75 bool m_alarmNameHasBeenSet =
false;
76 bool m_alarmARNHasBeenSet =
false;
bool AlarmNameHasBeenSet() const
AWS_AUTOSCALING_API Alarm()=default
AWS_AUTOSCALING_API Alarm(const Aws::Utils::Xml::XmlNode &xmlNode)
const Aws::String & GetAlarmName() const
bool AlarmARNHasBeenSet() const
AWS_AUTOSCALING_API Alarm & operator=(const Aws::Utils::Xml::XmlNode &xmlNode)
Alarm & WithAlarmARN(AlarmARNT &&value)
void SetAlarmARN(AlarmARNT &&value)
AWS_AUTOSCALING_API void OutputToStream(Aws::OStream &ostream, const char *location, unsigned index, const char *locationValue) const
void SetAlarmName(AlarmNameT &&value)
const Aws::String & GetAlarmARN() const
AWS_AUTOSCALING_API void OutputToStream(Aws::OStream &oStream, const char *location) const
Alarm & WithAlarmName(AlarmNameT &&value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
std::basic_ostream< char, std::char_traits< char > > OStream