7#include <aws/core/utils/memory/stl/AWSString.h>
8#include <aws/iotevents/IoTEventsRequest.h>
9#include <aws/iotevents/IoTEvents_EXPORTS.h>
10#include <aws/iotevents/model/AlarmCapabilities.h>
11#include <aws/iotevents/model/AlarmEventActions.h>
12#include <aws/iotevents/model/AlarmNotification.h>
13#include <aws/iotevents/model/AlarmRule.h>
41 template <
typename AlarmModelNameT = Aws::String>
43 m_alarmModelNameHasBeenSet =
true;
44 m_alarmModelName = std::forward<AlarmModelNameT>(value);
46 template <
typename AlarmModelNameT = Aws::String>
59 template <
typename AlarmModelDescriptionT = Aws::String>
61 m_alarmModelDescriptionHasBeenSet =
true;
62 m_alarmModelDescription = std::forward<AlarmModelDescriptionT>(value);
64 template <
typename AlarmModelDescriptionT = Aws::String>
80 template <
typename RoleArnT = Aws::String>
82 m_roleArnHasBeenSet =
true;
83 m_roleArn = std::forward<RoleArnT>(value);
85 template <
typename RoleArnT = Aws::String>
99 m_severityHasBeenSet =
true;
114 template <
typename AlarmRuleT = AlarmRule>
116 m_alarmRuleHasBeenSet =
true;
117 m_alarmRule = std::forward<AlarmRuleT>(value);
119 template <
typename AlarmRuleT = AlarmRule>
132 template <
typename AlarmNotificationT = AlarmNotification>
134 m_alarmNotificationHasBeenSet =
true;
135 m_alarmNotification = std::forward<AlarmNotificationT>(value);
137 template <
typename AlarmNotificationT = AlarmNotification>
150 template <
typename AlarmEventActionsT = AlarmEventActions>
152 m_alarmEventActionsHasBeenSet =
true;
153 m_alarmEventActions = std::forward<AlarmEventActionsT>(value);
155 template <
typename AlarmEventActionsT = AlarmEventActions>
168 template <
typename AlarmCapabilitiesT = AlarmCapabilities>
170 m_alarmCapabilitiesHasBeenSet =
true;
171 m_alarmCapabilities = std::forward<AlarmCapabilitiesT>(value);
173 template <
typename AlarmCapabilitiesT = AlarmCapabilities>
188 AlarmRule m_alarmRule;
190 AlarmNotification m_alarmNotification;
192 AlarmEventActions m_alarmEventActions;
194 AlarmCapabilities m_alarmCapabilities;
195 bool m_alarmModelNameHasBeenSet =
false;
196 bool m_alarmModelDescriptionHasBeenSet =
false;
197 bool m_roleArnHasBeenSet =
false;
198 bool m_severityHasBeenSet =
false;
199 bool m_alarmRuleHasBeenSet =
false;
200 bool m_alarmNotificationHasBeenSet =
false;
201 bool m_alarmEventActionsHasBeenSet =
false;
202 bool m_alarmCapabilitiesHasBeenSet =
false;
const AlarmCapabilities & GetAlarmCapabilities() const
UpdateAlarmModelRequest & WithAlarmRule(AlarmRuleT &&value)
bool AlarmEventActionsHasBeenSet() const
const Aws::String & GetAlarmModelDescription() const
bool AlarmCapabilitiesHasBeenSet() const
AWS_IOTEVENTS_API UpdateAlarmModelRequest()=default
AWS_IOTEVENTS_API Aws::String SerializePayload() const override
void SetSeverity(int value)
UpdateAlarmModelRequest & WithAlarmModelDescription(AlarmModelDescriptionT &&value)
void SetRoleArn(RoleArnT &&value)
UpdateAlarmModelRequest & WithAlarmNotification(AlarmNotificationT &&value)
void SetAlarmModelName(AlarmModelNameT &&value)
UpdateAlarmModelRequest & WithRoleArn(RoleArnT &&value)
const Aws::String & GetRoleArn() const
const AlarmEventActions & GetAlarmEventActions() const
bool AlarmRuleHasBeenSet() const
UpdateAlarmModelRequest & WithSeverity(int value)
void SetAlarmEventActions(AlarmEventActionsT &&value)
void SetAlarmRule(AlarmRuleT &&value)
bool AlarmModelNameHasBeenSet() const
bool AlarmModelDescriptionHasBeenSet() const
bool AlarmNotificationHasBeenSet() const
UpdateAlarmModelRequest & WithAlarmEventActions(AlarmEventActionsT &&value)
UpdateAlarmModelRequest & WithAlarmModelName(AlarmModelNameT &&value)
void SetAlarmNotification(AlarmNotificationT &&value)
bool RoleArnHasBeenSet() const
virtual const char * GetServiceRequestName() const override
const Aws::String & GetAlarmModelName() const
void SetAlarmModelDescription(AlarmModelDescriptionT &&value)
const AlarmNotification & GetAlarmNotification() const
void SetAlarmCapabilities(AlarmCapabilitiesT &&value)
const AlarmRule & GetAlarmRule() const
UpdateAlarmModelRequest & WithAlarmCapabilities(AlarmCapabilitiesT &&value)
bool SeverityHasBeenSet() const
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String