7#include <aws/iotevents/IoTEvents_EXPORTS.h>
8#include <aws/core/utils/DateTime.h>
9#include <aws/core/utils/memory/stl/AWSString.h>
10#include <aws/iotevents/model/AlarmModelVersionStatus.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>
19template<
typename RESULT_TYPE>
20class AmazonWebServiceResult;
46 template<
typename CreationTimeT = Aws::Utils::DateTime>
47 void SetCreationTime(CreationTimeT&& value) { m_creationTimeHasBeenSet =
true; m_creationTime = std::forward<CreationTimeT>(value); }
48 template<
typename CreationTimeT = Aws::Utils::DateTime>
59 template<
typename AlarmModelArnT = Aws::String>
60 void SetAlarmModelArn(AlarmModelArnT&& value) { m_alarmModelArnHasBeenSet =
true; m_alarmModelArn = std::forward<AlarmModelArnT>(value); }
61 template<
typename AlarmModelArnT = Aws::String>
70 template<
typename AlarmModelVersionT = Aws::String>
71 void SetAlarmModelVersion(AlarmModelVersionT&& value) { m_alarmModelVersionHasBeenSet =
true; m_alarmModelVersion = std::forward<AlarmModelVersionT>(value); }
72 template<
typename AlarmModelVersionT = Aws::String>
81 template<
typename LastUpdateTimeT = Aws::Utils::DateTime>
82 void SetLastUpdateTime(LastUpdateTimeT&& value) { m_lastUpdateTimeHasBeenSet =
true; m_lastUpdateTime = std::forward<LastUpdateTimeT>(value); }
83 template<
typename LastUpdateTimeT = Aws::Utils::DateTime>
109 template<
typename StatusMessageT = Aws::String>
110 void SetStatusMessage(StatusMessageT&& value) { m_statusMessageHasBeenSet =
true; m_statusMessage = std::forward<StatusMessageT>(value); }
111 template<
typename StatusMessageT = Aws::String>
120 template<
typename AlarmModelNameT = Aws::String>
121 void SetAlarmModelName(AlarmModelNameT&& value) { m_alarmModelNameHasBeenSet =
true; m_alarmModelName = std::forward<AlarmModelNameT>(value); }
122 template<
typename AlarmModelNameT = Aws::String>
131 template<
typename AlarmModelDescriptionT = Aws::String>
132 void SetAlarmModelDescription(AlarmModelDescriptionT&& value) { m_alarmModelDescriptionHasBeenSet =
true; m_alarmModelDescription = std::forward<AlarmModelDescriptionT>(value); }
133 template<
typename AlarmModelDescriptionT = Aws::String>
145 template<
typename RoleArnT = Aws::String>
146 void SetRoleArn(RoleArnT&& value) { m_roleArnHasBeenSet =
true; m_roleArn = std::forward<RoleArnT>(value); }
147 template<
typename RoleArnT = Aws::String>
158 template<
typename KeyT = Aws::String>
159 void SetKey(KeyT&& value) { m_keyHasBeenSet =
true; m_key = std::forward<KeyT>(value); }
160 template<
typename KeyT = Aws::String>
169 inline void SetSeverity(
int value) { m_severityHasBeenSet =
true; m_severity = value; }
178 template<
typename AlarmRuleT = AlarmRule>
179 void SetAlarmRule(AlarmRuleT&& value) { m_alarmRuleHasBeenSet =
true; m_alarmRule = std::forward<AlarmRuleT>(value); }
180 template<
typename AlarmRuleT = AlarmRule>
189 template<
typename AlarmNotificationT = AlarmNotification>
190 void SetAlarmNotification(AlarmNotificationT&& value) { m_alarmNotificationHasBeenSet =
true; m_alarmNotification = std::forward<AlarmNotificationT>(value); }
191 template<
typename AlarmNotificationT = AlarmNotification>
200 template<
typename AlarmEventActionsT = AlarmEventActions>
201 void SetAlarmEventActions(AlarmEventActionsT&& value) { m_alarmEventActionsHasBeenSet =
true; m_alarmEventActions = std::forward<AlarmEventActionsT>(value); }
202 template<
typename AlarmEventActionsT = AlarmEventActions>
211 template<
typename AlarmCapabilitiesT = AlarmCapabilities>
212 void SetAlarmCapabilities(AlarmCapabilitiesT&& value) { m_alarmCapabilitiesHasBeenSet =
true; m_alarmCapabilities = std::forward<AlarmCapabilitiesT>(value); }
213 template<
typename AlarmCapabilitiesT = AlarmCapabilities>
220 template<
typename RequestIdT = Aws::String>
221 void SetRequestId(RequestIdT&& value) { m_requestIdHasBeenSet =
true; m_requestId = std::forward<RequestIdT>(value); }
222 template<
typename RequestIdT = Aws::String>
228 bool m_creationTimeHasBeenSet =
false;
231 bool m_alarmModelArnHasBeenSet =
false;
234 bool m_alarmModelVersionHasBeenSet =
false;
237 bool m_lastUpdateTimeHasBeenSet =
false;
240 bool m_statusHasBeenSet =
false;
243 bool m_statusMessageHasBeenSet =
false;
246 bool m_alarmModelNameHasBeenSet =
false;
249 bool m_alarmModelDescriptionHasBeenSet =
false;
252 bool m_roleArnHasBeenSet =
false;
255 bool m_keyHasBeenSet =
false;
258 bool m_severityHasBeenSet =
false;
260 AlarmRule m_alarmRule;
261 bool m_alarmRuleHasBeenSet =
false;
263 AlarmNotification m_alarmNotification;
264 bool m_alarmNotificationHasBeenSet =
false;
266 AlarmEventActions m_alarmEventActions;
267 bool m_alarmEventActionsHasBeenSet =
false;
269 AlarmCapabilities m_alarmCapabilities;
270 bool m_alarmCapabilitiesHasBeenSet =
false;
273 bool m_requestIdHasBeenSet =
false;
AWS_IOTEVENTS_API DescribeAlarmModelResult(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
void SetStatusMessage(StatusMessageT &&value)
DescribeAlarmModelResult & WithAlarmModelDescription(AlarmModelDescriptionT &&value)
const Aws::String & GetAlarmModelArn() const
const Aws::String & GetRequestId() const
void SetAlarmNotification(AlarmNotificationT &&value)
const Aws::String & GetAlarmModelDescription() const
DescribeAlarmModelResult & WithAlarmModelName(AlarmModelNameT &&value)
void SetAlarmModelName(AlarmModelNameT &&value)
DescribeAlarmModelResult & WithStatus(AlarmModelVersionStatus value)
void SetStatus(AlarmModelVersionStatus value)
DescribeAlarmModelResult & WithRoleArn(RoleArnT &&value)
void SetSeverity(int value)
void SetAlarmEventActions(AlarmEventActionsT &&value)
const AlarmEventActions & GetAlarmEventActions() const
const AlarmNotification & GetAlarmNotification() const
void SetRoleArn(RoleArnT &&value)
DescribeAlarmModelResult & WithLastUpdateTime(LastUpdateTimeT &&value)
const Aws::String & GetRoleArn() const
DescribeAlarmModelResult & WithStatusMessage(StatusMessageT &&value)
DescribeAlarmModelResult & WithAlarmCapabilities(AlarmCapabilitiesT &&value)
const Aws::String & GetAlarmModelVersion() const
const Aws::Utils::DateTime & GetCreationTime() const
DescribeAlarmModelResult & WithKey(KeyT &&value)
const Aws::Utils::DateTime & GetLastUpdateTime() const
void SetLastUpdateTime(LastUpdateTimeT &&value)
void SetCreationTime(CreationTimeT &&value)
void SetAlarmModelDescription(AlarmModelDescriptionT &&value)
const AlarmRule & GetAlarmRule() const
void SetRequestId(RequestIdT &&value)
DescribeAlarmModelResult & WithAlarmEventActions(AlarmEventActionsT &&value)
DescribeAlarmModelResult & WithAlarmNotification(AlarmNotificationT &&value)
void SetAlarmModelArn(AlarmModelArnT &&value)
AlarmModelVersionStatus GetStatus() const
AWS_IOTEVENTS_API DescribeAlarmModelResult & operator=(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
void SetAlarmRule(AlarmRuleT &&value)
DescribeAlarmModelResult & WithAlarmRule(AlarmRuleT &&value)
DescribeAlarmModelResult & WithSeverity(int value)
AWS_IOTEVENTS_API DescribeAlarmModelResult()=default
const AlarmCapabilities & GetAlarmCapabilities() const
DescribeAlarmModelResult & WithCreationTime(CreationTimeT &&value)
const Aws::String & GetKey() const
DescribeAlarmModelResult & WithAlarmModelArn(AlarmModelArnT &&value)
const Aws::String & GetStatusMessage() const
void SetKey(KeyT &&value)
void SetAlarmModelVersion(AlarmModelVersionT &&value)
DescribeAlarmModelResult & WithRequestId(RequestIdT &&value)
void SetAlarmCapabilities(AlarmCapabilitiesT &&value)
const Aws::String & GetAlarmModelName() const
DescribeAlarmModelResult & WithAlarmModelVersion(AlarmModelVersionT &&value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue