7#include <aws/iotevents/IoTEvents_EXPORTS.h>
8#include <aws/iotevents/IoTEventsRequest.h>
9#include <aws/core/utils/memory/stl/AWSString.h>
10#include <aws/core/utils/memory/stl/AWSVector.h>
11#include <aws/iotevents/model/AlarmRule.h>
12#include <aws/iotevents/model/AlarmNotification.h>
13#include <aws/iotevents/model/AlarmEventActions.h>
14#include <aws/iotevents/model/AlarmCapabilities.h>
15#include <aws/iotevents/model/Tag.h>
50 inline void SetAlarmModelName(
const char* value) { m_alarmModelNameHasBeenSet =
true; m_alarmModelName.assign(value); }
64 inline void SetAlarmModelDescription(
const char* value) { m_alarmModelDescriptionHasBeenSet =
true; m_alarmModelDescription.assign(value); }
81 inline void SetRoleArn(
const char* value) { m_roleArnHasBeenSet =
true; m_roleArn.assign(value); }
115 inline void SetKey(
const char* value) { m_keyHasBeenSet =
true; m_key.assign(value); }
127 inline void SetSeverity(
int value) { m_severityHasBeenSet =
true; m_severity = value; }
181 bool m_alarmModelNameHasBeenSet =
false;
184 bool m_alarmModelDescriptionHasBeenSet =
false;
187 bool m_roleArnHasBeenSet =
false;
190 bool m_tagsHasBeenSet =
false;
193 bool m_keyHasBeenSet =
false;
196 bool m_severityHasBeenSet =
false;
199 bool m_alarmRuleHasBeenSet =
false;
202 bool m_alarmNotificationHasBeenSet =
false;
205 bool m_alarmEventActionsHasBeenSet =
false;
208 bool m_alarmCapabilitiesHasBeenSet =
false;
const Aws::String & GetKey() const
void SetAlarmModelDescription(const Aws::String &value)
CreateAlarmModelRequest & WithAlarmModelDescription(const Aws::String &value)
const Aws::String & GetAlarmModelName() const
void SetRoleArn(const Aws::String &value)
void SetAlarmCapabilities(const AlarmCapabilities &value)
CreateAlarmModelRequest & WithTags(const Aws::Vector< Tag > &value)
CreateAlarmModelRequest & WithAlarmRule(AlarmRule &&value)
bool AlarmNotificationHasBeenSet() const
CreateAlarmModelRequest & WithAlarmModelName(const Aws::String &value)
void SetAlarmModelName(const Aws::String &value)
void SetKey(Aws::String &&value)
bool RoleArnHasBeenSet() const
const AlarmCapabilities & GetAlarmCapabilities() const
void SetRoleArn(Aws::String &&value)
CreateAlarmModelRequest & WithTags(Aws::Vector< Tag > &&value)
CreateAlarmModelRequest & WithAlarmNotification(AlarmNotification &&value)
bool AlarmModelDescriptionHasBeenSet() const
CreateAlarmModelRequest & AddTags(Tag &&value)
CreateAlarmModelRequest & WithAlarmRule(const AlarmRule &value)
bool KeyHasBeenSet() const
void SetAlarmModelName(Aws::String &&value)
CreateAlarmModelRequest & WithAlarmCapabilities(AlarmCapabilities &&value)
void SetAlarmCapabilities(AlarmCapabilities &&value)
CreateAlarmModelRequest & WithKey(const Aws::String &value)
CreateAlarmModelRequest & WithKey(Aws::String &&value)
const Aws::String & GetAlarmModelDescription() const
AWS_IOTEVENTS_API CreateAlarmModelRequest()
const Aws::Vector< Tag > & GetTags() const
void SetAlarmNotification(const AlarmNotification &value)
const AlarmNotification & GetAlarmNotification() const
CreateAlarmModelRequest & AddTags(const Tag &value)
void SetAlarmEventActions(const AlarmEventActions &value)
void SetTags(const Aws::Vector< Tag > &value)
void SetSeverity(int value)
CreateAlarmModelRequest & WithAlarmModelDescription(const char *value)
CreateAlarmModelRequest & WithAlarmModelName(Aws::String &&value)
CreateAlarmModelRequest & WithKey(const char *value)
bool AlarmRuleHasBeenSet() const
bool AlarmEventActionsHasBeenSet() const
CreateAlarmModelRequest & WithAlarmNotification(const AlarmNotification &value)
void SetRoleArn(const char *value)
void SetAlarmModelName(const char *value)
CreateAlarmModelRequest & WithSeverity(int value)
CreateAlarmModelRequest & WithAlarmModelDescription(Aws::String &&value)
CreateAlarmModelRequest & WithRoleArn(const Aws::String &value)
void SetKey(const Aws::String &value)
const AlarmEventActions & GetAlarmEventActions() const
void SetAlarmModelDescription(const char *value)
void SetTags(Aws::Vector< Tag > &&value)
void SetKey(const char *value)
const Aws::String & GetRoleArn() const
bool TagsHasBeenSet() const
CreateAlarmModelRequest & WithRoleArn(const char *value)
void SetAlarmModelDescription(Aws::String &&value)
const AlarmRule & GetAlarmRule() const
CreateAlarmModelRequest & WithAlarmCapabilities(const AlarmCapabilities &value)
void SetAlarmRule(AlarmRule &&value)
AWS_IOTEVENTS_API Aws::String SerializePayload() const override
void SetAlarmEventActions(AlarmEventActions &&value)
CreateAlarmModelRequest & WithRoleArn(Aws::String &&value)
CreateAlarmModelRequest & WithAlarmModelName(const char *value)
CreateAlarmModelRequest & WithAlarmEventActions(AlarmEventActions &&value)
void SetAlarmRule(const AlarmRule &value)
void SetAlarmNotification(AlarmNotification &&value)
bool SeverityHasBeenSet() const
bool AlarmModelNameHasBeenSet() const
virtual const char * GetServiceRequestName() const override
CreateAlarmModelRequest & WithAlarmEventActions(const AlarmEventActions &value)
bool AlarmCapabilitiesHasBeenSet() const
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
std::vector< T, Aws::Allocator< T > > Vector