7#include <aws/core/utils/DateTime.h>
8#include <aws/core/utils/memory/stl/AWSString.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/AlarmModelVersionStatus.h>
13#include <aws/iotevents/model/AlarmNotification.h>
14#include <aws/iotevents/model/AlarmRule.h>
19template <
typename RESULT_TYPE>
20class AmazonWebServiceResult;
40 template <
typename CreationTimeT = Aws::Utils::DateTime>
42 m_creationTimeHasBeenSet =
true;
43 m_creationTime = std::forward<CreationTimeT>(value);
45 template <
typename CreationTimeT = Aws::Utils::DateTime>
59 template <
typename AlarmModelArnT = Aws::String>
61 m_alarmModelArnHasBeenSet =
true;
62 m_alarmModelArn = std::forward<AlarmModelArnT>(value);
64 template <
typename AlarmModelArnT = Aws::String>
76 template <
typename AlarmModelVersionT = Aws::String>
78 m_alarmModelVersionHasBeenSet =
true;
79 m_alarmModelVersion = std::forward<AlarmModelVersionT>(value);
81 template <
typename AlarmModelVersionT = Aws::String>
93 template <
typename LastUpdateTimeT = Aws::Utils::DateTime>
95 m_lastUpdateTimeHasBeenSet =
true;
96 m_lastUpdateTime = std::forward<LastUpdateTimeT>(value);
98 template <
typename LastUpdateTimeT = Aws::Utils::DateTime>
119 m_statusHasBeenSet =
true;
133 template <
typename StatusMessageT = Aws::String>
135 m_statusMessageHasBeenSet =
true;
136 m_statusMessage = std::forward<StatusMessageT>(value);
138 template <
typename StatusMessageT = Aws::String>
150 template <
typename AlarmModelNameT = Aws::String>
152 m_alarmModelNameHasBeenSet =
true;
153 m_alarmModelName = std::forward<AlarmModelNameT>(value);
155 template <
typename AlarmModelNameT = Aws::String>
167 template <
typename AlarmModelDescriptionT = Aws::String>
169 m_alarmModelDescriptionHasBeenSet =
true;
170 m_alarmModelDescription = std::forward<AlarmModelDescriptionT>(value);
172 template <
typename AlarmModelDescriptionT = Aws::String>
187 template <
typename RoleArnT = Aws::String>
189 m_roleArnHasBeenSet =
true;
190 m_roleArn = std::forward<RoleArnT>(value);
192 template <
typename RoleArnT = Aws::String>
206 template <
typename KeyT = Aws::String>
208 m_keyHasBeenSet =
true;
209 m_key = std::forward<KeyT>(value);
211 template <
typename KeyT = Aws::String>
213 SetKey(std::forward<KeyT>(value));
224 m_severityHasBeenSet =
true;
238 template <
typename AlarmRuleT = AlarmRule>
240 m_alarmRuleHasBeenSet =
true;
241 m_alarmRule = std::forward<AlarmRuleT>(value);
243 template <
typename AlarmRuleT = AlarmRule>
255 template <
typename AlarmNotificationT = AlarmNotification>
257 m_alarmNotificationHasBeenSet =
true;
258 m_alarmNotification = std::forward<AlarmNotificationT>(value);
260 template <
typename AlarmNotificationT = AlarmNotification>
272 template <
typename AlarmEventActionsT = AlarmEventActions>
274 m_alarmEventActionsHasBeenSet =
true;
275 m_alarmEventActions = std::forward<AlarmEventActionsT>(value);
277 template <
typename AlarmEventActionsT = AlarmEventActions>
289 template <
typename AlarmCapabilitiesT = AlarmCapabilities>
291 m_alarmCapabilitiesHasBeenSet =
true;
292 m_alarmCapabilities = std::forward<AlarmCapabilitiesT>(value);
294 template <
typename AlarmCapabilitiesT = AlarmCapabilities>
304 template <
typename RequestIdT = Aws::String>
306 m_requestIdHasBeenSet =
true;
307 m_requestId = std::forward<RequestIdT>(value);
309 template <
typename RequestIdT = Aws::String>
338 AlarmRule m_alarmRule;
340 AlarmNotification m_alarmNotification;
342 AlarmEventActions m_alarmEventActions;
344 AlarmCapabilities m_alarmCapabilities;
347 bool m_creationTimeHasBeenSet =
false;
348 bool m_alarmModelArnHasBeenSet =
false;
349 bool m_alarmModelVersionHasBeenSet =
false;
350 bool m_lastUpdateTimeHasBeenSet =
false;
351 bool m_statusHasBeenSet =
false;
352 bool m_statusMessageHasBeenSet =
false;
353 bool m_alarmModelNameHasBeenSet =
false;
354 bool m_alarmModelDescriptionHasBeenSet =
false;
355 bool m_roleArnHasBeenSet =
false;
356 bool m_keyHasBeenSet =
false;
357 bool m_severityHasBeenSet =
false;
358 bool m_alarmRuleHasBeenSet =
false;
359 bool m_alarmNotificationHasBeenSet =
false;
360 bool m_alarmEventActionsHasBeenSet =
false;
361 bool m_alarmCapabilitiesHasBeenSet =
false;
362 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