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/iotevents/model/AlarmRule.h>
11#include <aws/iotevents/model/AlarmNotification.h>
12#include <aws/iotevents/model/AlarmEventActions.h>
13#include <aws/iotevents/model/AlarmCapabilities.h>
45 template<
typename AlarmModelNameT = Aws::String>
46 void SetAlarmModelName(AlarmModelNameT&& value) { m_alarmModelNameHasBeenSet =
true; m_alarmModelName = std::forward<AlarmModelNameT>(value); }
47 template<
typename AlarmModelNameT = Aws::String>
57 template<
typename AlarmModelDescriptionT = Aws::String>
58 void SetAlarmModelDescription(AlarmModelDescriptionT&& value) { m_alarmModelDescriptionHasBeenSet =
true; m_alarmModelDescription = std::forward<AlarmModelDescriptionT>(value); }
59 template<
typename AlarmModelDescriptionT = Aws::String>
72 template<
typename RoleArnT = Aws::String>
73 void SetRoleArn(RoleArnT&& value) { m_roleArnHasBeenSet =
true; m_roleArn = std::forward<RoleArnT>(value); }
74 template<
typename RoleArnT = Aws::String>
84 inline void SetSeverity(
int value) { m_severityHasBeenSet =
true; m_severity = value; }
94 template<
typename AlarmRuleT = AlarmRule>
95 void SetAlarmRule(AlarmRuleT&& value) { m_alarmRuleHasBeenSet =
true; m_alarmRule = std::forward<AlarmRuleT>(value); }
96 template<
typename AlarmRuleT = AlarmRule>
106 template<
typename AlarmNotificationT = AlarmNotification>
107 void SetAlarmNotification(AlarmNotificationT&& value) { m_alarmNotificationHasBeenSet =
true; m_alarmNotification = std::forward<AlarmNotificationT>(value); }
108 template<
typename AlarmNotificationT = AlarmNotification>
118 template<
typename AlarmEventActionsT = AlarmEventActions>
119 void SetAlarmEventActions(AlarmEventActionsT&& value) { m_alarmEventActionsHasBeenSet =
true; m_alarmEventActions = std::forward<AlarmEventActionsT>(value); }
120 template<
typename AlarmEventActionsT = AlarmEventActions>
130 template<
typename AlarmCapabilitiesT = AlarmCapabilities>
131 void SetAlarmCapabilities(AlarmCapabilitiesT&& value) { m_alarmCapabilitiesHasBeenSet =
true; m_alarmCapabilities = std::forward<AlarmCapabilitiesT>(value); }
132 template<
typename AlarmCapabilitiesT = AlarmCapabilities>
138 bool m_alarmModelNameHasBeenSet =
false;
141 bool m_alarmModelDescriptionHasBeenSet =
false;
144 bool m_roleArnHasBeenSet =
false;
147 bool m_severityHasBeenSet =
false;
149 AlarmRule m_alarmRule;
150 bool m_alarmRuleHasBeenSet =
false;
152 AlarmNotification m_alarmNotification;
153 bool m_alarmNotificationHasBeenSet =
false;
155 AlarmEventActions m_alarmEventActions;
156 bool m_alarmEventActionsHasBeenSet =
false;
158 AlarmCapabilities m_alarmCapabilities;
159 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