7#include <aws/core/utils/memory/stl/AWSString.h>
8#include <aws/core/utils/memory/stl/AWSVector.h>
9#include <aws/iotevents/IoTEventsRequest.h>
10#include <aws/iotevents/IoTEvents_EXPORTS.h>
11#include <aws/iotevents/model/AlarmCapabilities.h>
12#include <aws/iotevents/model/AlarmEventActions.h>
13#include <aws/iotevents/model/AlarmNotification.h>
14#include <aws/iotevents/model/AlarmRule.h>
15#include <aws/iotevents/model/Tag.h>
44 template <
typename AlarmModelNameT = Aws::String>
46 m_alarmModelNameHasBeenSet =
true;
47 m_alarmModelName = std::forward<AlarmModelNameT>(value);
49 template <
typename AlarmModelNameT = Aws::String>
62 template <
typename AlarmModelDescriptionT = Aws::String>
64 m_alarmModelDescriptionHasBeenSet =
true;
65 m_alarmModelDescription = std::forward<AlarmModelDescriptionT>(value);
67 template <
typename AlarmModelDescriptionT = Aws::String>
83 template <
typename RoleArnT = Aws::String>
85 m_roleArnHasBeenSet =
true;
86 m_roleArn = std::forward<RoleArnT>(value);
88 template <
typename RoleArnT = Aws::String>
105 template <
typename TagsT = Aws::Vector<Tag>>
107 m_tagsHasBeenSet =
true;
108 m_tags = std::forward<TagsT>(value);
110 template <
typename TagsT = Aws::Vector<Tag>>
112 SetTags(std::forward<TagsT>(value));
115 template <
typename TagsT = Tag>
117 m_tagsHasBeenSet =
true;
118 m_tags.emplace_back(std::forward<TagsT>(value));
131 template <
typename KeyT = Aws::String>
133 m_keyHasBeenSet =
true;
134 m_key = std::forward<KeyT>(value);
136 template <
typename KeyT = Aws::String>
138 SetKey(std::forward<KeyT>(value));
150 m_severityHasBeenSet =
true;
165 template <
typename AlarmRuleT = AlarmRule>
167 m_alarmRuleHasBeenSet =
true;
168 m_alarmRule = std::forward<AlarmRuleT>(value);
170 template <
typename AlarmRuleT = AlarmRule>
183 template <
typename AlarmNotificationT = AlarmNotification>
185 m_alarmNotificationHasBeenSet =
true;
186 m_alarmNotification = std::forward<AlarmNotificationT>(value);
188 template <
typename AlarmNotificationT = AlarmNotification>
201 template <
typename AlarmEventActionsT = AlarmEventActions>
203 m_alarmEventActionsHasBeenSet =
true;
204 m_alarmEventActions = std::forward<AlarmEventActionsT>(value);
206 template <
typename AlarmEventActionsT = AlarmEventActions>
219 template <
typename AlarmCapabilitiesT = AlarmCapabilities>
221 m_alarmCapabilitiesHasBeenSet =
true;
222 m_alarmCapabilities = std::forward<AlarmCapabilitiesT>(value);
224 template <
typename AlarmCapabilitiesT = AlarmCapabilities>
243 AlarmRule m_alarmRule;
245 AlarmNotification m_alarmNotification;
247 AlarmEventActions m_alarmEventActions;
249 AlarmCapabilities m_alarmCapabilities;
250 bool m_alarmModelNameHasBeenSet =
false;
251 bool m_alarmModelDescriptionHasBeenSet =
false;
252 bool m_roleArnHasBeenSet =
false;
253 bool m_tagsHasBeenSet =
false;
254 bool m_keyHasBeenSet =
false;
255 bool m_severityHasBeenSet =
false;
256 bool m_alarmRuleHasBeenSet =
false;
257 bool m_alarmNotificationHasBeenSet =
false;
258 bool m_alarmEventActionsHasBeenSet =
false;
259 bool m_alarmCapabilitiesHasBeenSet =
false;
const Aws::String & GetKey() const
CreateAlarmModelRequest & WithAlarmNotification(AlarmNotificationT &&value)
const Aws::String & GetAlarmModelName() const
CreateAlarmModelRequest & WithKey(KeyT &&value)
void SetRoleArn(RoleArnT &&value)
void SetAlarmModelDescription(AlarmModelDescriptionT &&value)
void SetAlarmNotification(AlarmNotificationT &&value)
bool AlarmNotificationHasBeenSet() const
CreateAlarmModelRequest & WithAlarmModelDescription(AlarmModelDescriptionT &&value)
bool RoleArnHasBeenSet() const
CreateAlarmModelRequest & AddTags(TagsT &&value)
void SetAlarmEventActions(AlarmEventActionsT &&value)
const AlarmCapabilities & GetAlarmCapabilities() const
bool AlarmModelDescriptionHasBeenSet() const
bool KeyHasBeenSet() const
const Aws::String & GetAlarmModelDescription() const
const Aws::Vector< Tag > & GetTags() const
const AlarmNotification & GetAlarmNotification() const
void SetSeverity(int value)
void SetAlarmModelName(AlarmModelNameT &&value)
CreateAlarmModelRequest & WithAlarmRule(AlarmRuleT &&value)
bool AlarmRuleHasBeenSet() const
bool AlarmEventActionsHasBeenSet() const
AWS_IOTEVENTS_API CreateAlarmModelRequest()=default
void SetKey(KeyT &&value)
CreateAlarmModelRequest & WithSeverity(int value)
CreateAlarmModelRequest & WithAlarmEventActions(AlarmEventActionsT &&value)
const AlarmEventActions & GetAlarmEventActions() const
const Aws::String & GetRoleArn() const
CreateAlarmModelRequest & WithRoleArn(RoleArnT &&value)
bool TagsHasBeenSet() const
const AlarmRule & GetAlarmRule() const
void SetTags(TagsT &&value)
void SetAlarmRule(AlarmRuleT &&value)
AWS_IOTEVENTS_API Aws::String SerializePayload() const override
CreateAlarmModelRequest & WithAlarmModelName(AlarmModelNameT &&value)
void SetAlarmCapabilities(AlarmCapabilitiesT &&value)
CreateAlarmModelRequest & WithAlarmCapabilities(AlarmCapabilitiesT &&value)
bool SeverityHasBeenSet() const
bool AlarmModelNameHasBeenSet() const
virtual const char * GetServiceRequestName() const override
bool AlarmCapabilitiesHasBeenSet() const
CreateAlarmModelRequest & WithTags(TagsT &&value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
std::vector< T, Aws::Allocator< T > > Vector