7#include <aws/iotevents-data/IoTEventsData_EXPORTS.h>
8#include <aws/core/utils/memory/stl/AWSString.h>
9#include <aws/iotevents-data/model/AlarmState.h>
10#include <aws/core/utils/DateTime.h>
23namespace IoTEventsData
50 inline void SetAlarmModelName(
const char* value) { m_alarmModelNameHasBeenSet =
true; m_alarmModelName.assign(value); }
64 inline void SetAlarmModelVersion(
const char* value) { m_alarmModelVersionHasBeenSet =
true; m_alarmModelVersion.assign(value); }
80 inline void SetKeyValue(
const char* value) { m_keyValueHasBeenSet =
true; m_keyValue.assign(value); }
104 inline void SetSeverity(
int value) { m_severityHasBeenSet =
true; m_severity = value; }
134 bool m_alarmModelNameHasBeenSet =
false;
137 bool m_alarmModelVersionHasBeenSet =
false;
140 bool m_keyValueHasBeenSet =
false;
143 bool m_alarmStateHasBeenSet =
false;
146 bool m_severityHasBeenSet =
false;
149 bool m_creationTimeHasBeenSet =
false;
152 bool m_lastUpdateTimeHasBeenSet =
false;
bool SeverityHasBeenSet() const
Alarm & WithAlarmState(const AlarmState &value)
void SetSeverity(int value)
const Aws::String & GetAlarmModelName() const
AWS_IOTEVENTSDATA_API Alarm()
Alarm & WithCreationTime(Aws::Utils::DateTime &&value)
bool AlarmStateHasBeenSet() const
void SetKeyValue(const Aws::String &value)
Alarm & WithKeyValue(Aws::String &&value)
void SetAlarmState(AlarmState &&value)
const Aws::Utils::DateTime & GetLastUpdateTime() const
AWS_IOTEVENTSDATA_API Aws::Utils::Json::JsonValue Jsonize() const
void SetKeyValue(Aws::String &&value)
Alarm & WithKeyValue(const Aws::String &value)
bool CreationTimeHasBeenSet() const
Alarm & WithAlarmState(AlarmState &&value)
void SetAlarmModelName(const Aws::String &value)
void SetKeyValue(const char *value)
const Aws::Utils::DateTime & GetCreationTime() const
void SetAlarmModelVersion(const char *value)
void SetCreationTime(Aws::Utils::DateTime &&value)
const AlarmState & GetAlarmState() const
bool AlarmModelNameHasBeenSet() const
void SetAlarmModelVersion(const Aws::String &value)
AWS_IOTEVENTSDATA_API Alarm & operator=(Aws::Utils::Json::JsonView jsonValue)
void SetAlarmModelVersion(Aws::String &&value)
Alarm & WithAlarmModelName(const Aws::String &value)
Alarm & WithAlarmModelVersion(Aws::String &&value)
bool LastUpdateTimeHasBeenSet() const
const Aws::String & GetAlarmModelVersion() const
const Aws::String & GetKeyValue() const
Alarm & WithSeverity(int value)
Alarm & WithLastUpdateTime(const Aws::Utils::DateTime &value)
Alarm & WithAlarmModelName(Aws::String &&value)
Alarm & WithKeyValue(const char *value)
void SetAlarmState(const AlarmState &value)
void SetCreationTime(const Aws::Utils::DateTime &value)
Alarm & WithAlarmModelVersion(const char *value)
AWS_IOTEVENTSDATA_API Alarm(Aws::Utils::Json::JsonView jsonValue)
void SetLastUpdateTime(Aws::Utils::DateTime &&value)
Alarm & WithAlarmModelName(const char *value)
bool AlarmModelVersionHasBeenSet() const
void SetAlarmModelName(Aws::String &&value)
Alarm & WithCreationTime(const Aws::Utils::DateTime &value)
bool KeyValueHasBeenSet() const
Alarm & WithLastUpdateTime(Aws::Utils::DateTime &&value)
void SetAlarmModelName(const char *value)
void SetLastUpdateTime(const Aws::Utils::DateTime &value)
Alarm & WithAlarmModelVersion(const Aws::String &value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue