7#include <aws/monitoring/CloudWatch_EXPORTS.h>
8#include <aws/core/utils/memory/stl/AWSStreamFwd.h>
9#include <aws/core/utils/memory/stl/AWSString.h>
10#include <aws/monitoring/model/AlarmType.h>
11#include <aws/core/utils/DateTime.h>
12#include <aws/monitoring/model/HistoryItemType.h>
51 template<
typename AlarmNameT = Aws::String>
52 void SetAlarmName(AlarmNameT&& value) { m_alarmNameHasBeenSet =
true; m_alarmName = std::forward<AlarmNameT>(value); }
53 template<
typename AlarmNameT = Aws::String>
73 template<
typename TimestampT = Aws::Utils::DateTime>
74 void SetTimestamp(TimestampT&& value) { m_timestampHasBeenSet =
true; m_timestamp = std::forward<TimestampT>(value); }
75 template<
typename TimestampT = Aws::Utils::DateTime>
95 template<
typename HistorySummaryT = Aws::String>
96 void SetHistorySummary(HistorySummaryT&& value) { m_historySummaryHasBeenSet =
true; m_historySummary = std::forward<HistorySummaryT>(value); }
97 template<
typename HistorySummaryT = Aws::String>
107 template<
typename HistoryDataT = Aws::String>
108 void SetHistoryData(HistoryDataT&& value) { m_historyDataHasBeenSet =
true; m_historyData = std::forward<HistoryDataT>(value); }
109 template<
typename HistoryDataT = Aws::String>
115 bool m_alarmNameHasBeenSet =
false;
118 bool m_alarmTypeHasBeenSet =
false;
121 bool m_timestampHasBeenSet =
false;
124 bool m_historyItemTypeHasBeenSet =
false;
127 bool m_historySummaryHasBeenSet =
false;
130 bool m_historyDataHasBeenSet =
false;
AlarmHistoryItem & WithAlarmName(AlarmNameT &&value)
bool AlarmTypeHasBeenSet() const
void SetHistoryData(HistoryDataT &&value)
AWS_CLOUDWATCH_API void OutputToStream(Aws::OStream &ostream, const char *location, unsigned index, const char *locationValue) const
void SetHistorySummary(HistorySummaryT &&value)
AlarmHistoryItem & WithTimestamp(TimestampT &&value)
AlarmHistoryItem & WithHistoryData(HistoryDataT &&value)
const Aws::String & GetHistorySummary() const
const Aws::String & GetHistoryData() const
AlarmType GetAlarmType() const
void SetAlarmName(AlarmNameT &&value)
const Aws::String & GetAlarmName() const
void SetHistoryItemType(HistoryItemType value)
void SetTimestamp(TimestampT &&value)
bool HistorySummaryHasBeenSet() const
bool AlarmNameHasBeenSet() const
AlarmHistoryItem & WithHistoryItemType(HistoryItemType value)
const Aws::Utils::DateTime & GetTimestamp() const
AWS_CLOUDWATCH_API void OutputToStream(Aws::OStream &oStream, const char *location) const
HistoryItemType GetHistoryItemType() const
bool TimestampHasBeenSet() const
AWS_CLOUDWATCH_API AlarmHistoryItem(const Aws::Utils::Xml::XmlNode &xmlNode)
AlarmHistoryItem & WithHistorySummary(HistorySummaryT &&value)
AWS_CLOUDWATCH_API AlarmHistoryItem()=default
AWS_CLOUDWATCH_API AlarmHistoryItem & operator=(const Aws::Utils::Xml::XmlNode &xmlNode)
bool HistoryItemTypeHasBeenSet() const
bool HistoryDataHasBeenSet() const
AlarmHistoryItem & WithAlarmType(AlarmType value)
void SetAlarmType(AlarmType value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
std::basic_ostream< char, std::char_traits< char > > OStream