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>
53 inline void SetAlarmName(
const char* value) { m_alarmNameHasBeenSet =
true; m_alarmName.assign(value); }
103 inline void SetHistorySummary(
const char* value) { m_historySummaryHasBeenSet =
true; m_historySummary.assign(value); }
117 inline void SetHistoryData(
const char* value) { m_historyDataHasBeenSet =
true; m_historyData.assign(value); }
125 bool m_alarmNameHasBeenSet =
false;
128 bool m_alarmTypeHasBeenSet =
false;
131 bool m_timestampHasBeenSet =
false;
134 bool m_historyItemTypeHasBeenSet =
false;
137 bool m_historySummaryHasBeenSet =
false;
140 bool m_historyDataHasBeenSet =
false;
void SetHistoryData(Aws::String &&value)
bool AlarmTypeHasBeenSet() const
const HistoryItemType & GetHistoryItemType() const
void SetHistoryItemType(HistoryItemType &&value)
AWS_CLOUDWATCH_API void OutputToStream(Aws::OStream &ostream, const char *location, unsigned index, const char *locationValue) const
void SetTimestamp(const Aws::Utils::DateTime &value)
AlarmHistoryItem & WithAlarmName(Aws::String &&value)
AlarmHistoryItem & WithHistoryItemType(HistoryItemType &&value)
void SetHistoryData(const Aws::String &value)
AlarmHistoryItem & WithAlarmName(const char *value)
const Aws::String & GetHistorySummary() const
const Aws::String & GetHistoryData() const
void SetAlarmType(const AlarmType &value)
const Aws::String & GetAlarmName() const
AWS_CLOUDWATCH_API AlarmHistoryItem()
void SetHistorySummary(const Aws::String &value)
void SetAlarmName(Aws::String &&value)
AlarmHistoryItem & WithAlarmName(const Aws::String &value)
void SetAlarmName(const char *value)
void SetTimestamp(Aws::Utils::DateTime &&value)
bool HistorySummaryHasBeenSet() const
AlarmHistoryItem & WithHistorySummary(Aws::String &&value)
bool AlarmNameHasBeenSet() const
const Aws::Utils::DateTime & GetTimestamp() const
const AlarmType & GetAlarmType() const
AlarmHistoryItem & WithAlarmType(AlarmType &&value)
void SetHistorySummary(Aws::String &&value)
AlarmHistoryItem & WithHistorySummary(const char *value)
AlarmHistoryItem & WithHistoryData(Aws::String &&value)
AlarmHistoryItem & WithTimestamp(Aws::Utils::DateTime &&value)
AlarmHistoryItem & WithAlarmType(const AlarmType &value)
AWS_CLOUDWATCH_API void OutputToStream(Aws::OStream &oStream, const char *location) const
AlarmHistoryItem & WithHistorySummary(const Aws::String &value)
bool TimestampHasBeenSet() const
AWS_CLOUDWATCH_API AlarmHistoryItem(const Aws::Utils::Xml::XmlNode &xmlNode)
void SetAlarmType(AlarmType &&value)
void SetAlarmName(const Aws::String &value)
AlarmHistoryItem & WithHistoryItemType(const HistoryItemType &value)
void SetHistoryData(const char *value)
AWS_CLOUDWATCH_API AlarmHistoryItem & operator=(const Aws::Utils::Xml::XmlNode &xmlNode)
AlarmHistoryItem & WithHistoryData(const char *value)
bool HistoryItemTypeHasBeenSet() const
void SetHistorySummary(const char *value)
AlarmHistoryItem & WithHistoryData(const Aws::String &value)
bool HistoryDataHasBeenSet() const
void SetHistoryItemType(const HistoryItemType &value)
AlarmHistoryItem & WithTimestamp(const Aws::Utils::DateTime &value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
std::basic_ostream< char, std::char_traits< char > > OStream