AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
DescribeAlarmModelResult.h
1
6#pragma once
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>
15#include <utility>
16
17namespace Aws
18{
19template<typename RESULT_TYPE>
20class AmazonWebServiceResult;
21
22namespace Utils
23{
24namespace Json
25{
26 class JsonValue;
27} // namespace Json
28} // namespace Utils
29namespace IoTEvents
30{
31namespace Model
32{
34 {
35 public:
36 AWS_IOTEVENTS_API DescribeAlarmModelResult();
39
40
42
45 inline const Aws::Utils::DateTime& GetCreationTime() const{ return m_creationTime; }
46 inline void SetCreationTime(const Aws::Utils::DateTime& value) { m_creationTime = value; }
47 inline void SetCreationTime(Aws::Utils::DateTime&& value) { m_creationTime = std::move(value); }
49 inline DescribeAlarmModelResult& WithCreationTime(Aws::Utils::DateTime&& value) { SetCreationTime(std::move(value)); return *this;}
51
53
58 inline const Aws::String& GetAlarmModelArn() const{ return m_alarmModelArn; }
59 inline void SetAlarmModelArn(const Aws::String& value) { m_alarmModelArn = value; }
60 inline void SetAlarmModelArn(Aws::String&& value) { m_alarmModelArn = std::move(value); }
61 inline void SetAlarmModelArn(const char* value) { m_alarmModelArn.assign(value); }
62 inline DescribeAlarmModelResult& WithAlarmModelArn(const Aws::String& value) { SetAlarmModelArn(value); return *this;}
63 inline DescribeAlarmModelResult& WithAlarmModelArn(Aws::String&& value) { SetAlarmModelArn(std::move(value)); return *this;}
64 inline DescribeAlarmModelResult& WithAlarmModelArn(const char* value) { SetAlarmModelArn(value); return *this;}
66
68
71 inline const Aws::String& GetAlarmModelVersion() const{ return m_alarmModelVersion; }
72 inline void SetAlarmModelVersion(const Aws::String& value) { m_alarmModelVersion = value; }
73 inline void SetAlarmModelVersion(Aws::String&& value) { m_alarmModelVersion = std::move(value); }
74 inline void SetAlarmModelVersion(const char* value) { m_alarmModelVersion.assign(value); }
76 inline DescribeAlarmModelResult& WithAlarmModelVersion(Aws::String&& value) { SetAlarmModelVersion(std::move(value)); return *this;}
77 inline DescribeAlarmModelResult& WithAlarmModelVersion(const char* value) { SetAlarmModelVersion(value); return *this;}
79
81
84 inline const Aws::Utils::DateTime& GetLastUpdateTime() const{ return m_lastUpdateTime; }
85 inline void SetLastUpdateTime(const Aws::Utils::DateTime& value) { m_lastUpdateTime = value; }
86 inline void SetLastUpdateTime(Aws::Utils::DateTime&& value) { m_lastUpdateTime = std::move(value); }
88 inline DescribeAlarmModelResult& WithLastUpdateTime(Aws::Utils::DateTime&& value) { SetLastUpdateTime(std::move(value)); return *this;}
90
92
103 inline const AlarmModelVersionStatus& GetStatus() const{ return m_status; }
104 inline void SetStatus(const AlarmModelVersionStatus& value) { m_status = value; }
105 inline void SetStatus(AlarmModelVersionStatus&& value) { m_status = std::move(value); }
106 inline DescribeAlarmModelResult& WithStatus(const AlarmModelVersionStatus& value) { SetStatus(value); return *this;}
107 inline DescribeAlarmModelResult& WithStatus(AlarmModelVersionStatus&& value) { SetStatus(std::move(value)); return *this;}
109
111
114 inline const Aws::String& GetStatusMessage() const{ return m_statusMessage; }
115 inline void SetStatusMessage(const Aws::String& value) { m_statusMessage = value; }
116 inline void SetStatusMessage(Aws::String&& value) { m_statusMessage = std::move(value); }
117 inline void SetStatusMessage(const char* value) { m_statusMessage.assign(value); }
118 inline DescribeAlarmModelResult& WithStatusMessage(const Aws::String& value) { SetStatusMessage(value); return *this;}
119 inline DescribeAlarmModelResult& WithStatusMessage(Aws::String&& value) { SetStatusMessage(std::move(value)); return *this;}
120 inline DescribeAlarmModelResult& WithStatusMessage(const char* value) { SetStatusMessage(value); return *this;}
122
124
127 inline const Aws::String& GetAlarmModelName() const{ return m_alarmModelName; }
128 inline void SetAlarmModelName(const Aws::String& value) { m_alarmModelName = value; }
129 inline void SetAlarmModelName(Aws::String&& value) { m_alarmModelName = std::move(value); }
130 inline void SetAlarmModelName(const char* value) { m_alarmModelName.assign(value); }
131 inline DescribeAlarmModelResult& WithAlarmModelName(const Aws::String& value) { SetAlarmModelName(value); return *this;}
132 inline DescribeAlarmModelResult& WithAlarmModelName(Aws::String&& value) { SetAlarmModelName(std::move(value)); return *this;}
133 inline DescribeAlarmModelResult& WithAlarmModelName(const char* value) { SetAlarmModelName(value); return *this;}
135
137
140 inline const Aws::String& GetAlarmModelDescription() const{ return m_alarmModelDescription; }
141 inline void SetAlarmModelDescription(const Aws::String& value) { m_alarmModelDescription = value; }
142 inline void SetAlarmModelDescription(Aws::String&& value) { m_alarmModelDescription = std::move(value); }
143 inline void SetAlarmModelDescription(const char* value) { m_alarmModelDescription.assign(value); }
146 inline DescribeAlarmModelResult& WithAlarmModelDescription(const char* value) { SetAlarmModelDescription(value); return *this;}
148
150
156 inline const Aws::String& GetRoleArn() const{ return m_roleArn; }
157 inline void SetRoleArn(const Aws::String& value) { m_roleArn = value; }
158 inline void SetRoleArn(Aws::String&& value) { m_roleArn = std::move(value); }
159 inline void SetRoleArn(const char* value) { m_roleArn.assign(value); }
160 inline DescribeAlarmModelResult& WithRoleArn(const Aws::String& value) { SetRoleArn(value); return *this;}
161 inline DescribeAlarmModelResult& WithRoleArn(Aws::String&& value) { SetRoleArn(std::move(value)); return *this;}
162 inline DescribeAlarmModelResult& WithRoleArn(const char* value) { SetRoleArn(value); return *this;}
164
166
171 inline const Aws::String& GetKey() const{ return m_key; }
172 inline void SetKey(const Aws::String& value) { m_key = value; }
173 inline void SetKey(Aws::String&& value) { m_key = std::move(value); }
174 inline void SetKey(const char* value) { m_key.assign(value); }
175 inline DescribeAlarmModelResult& WithKey(const Aws::String& value) { SetKey(value); return *this;}
176 inline DescribeAlarmModelResult& WithKey(Aws::String&& value) { SetKey(std::move(value)); return *this;}
177 inline DescribeAlarmModelResult& WithKey(const char* value) { SetKey(value); return *this;}
179
181
184 inline int GetSeverity() const{ return m_severity; }
185 inline void SetSeverity(int value) { m_severity = value; }
186 inline DescribeAlarmModelResult& WithSeverity(int value) { SetSeverity(value); return *this;}
188
190
193 inline const AlarmRule& GetAlarmRule() const{ return m_alarmRule; }
194 inline void SetAlarmRule(const AlarmRule& value) { m_alarmRule = value; }
195 inline void SetAlarmRule(AlarmRule&& value) { m_alarmRule = std::move(value); }
196 inline DescribeAlarmModelResult& WithAlarmRule(const AlarmRule& value) { SetAlarmRule(value); return *this;}
197 inline DescribeAlarmModelResult& WithAlarmRule(AlarmRule&& value) { SetAlarmRule(std::move(value)); return *this;}
199
201
204 inline const AlarmNotification& GetAlarmNotification() const{ return m_alarmNotification; }
205 inline void SetAlarmNotification(const AlarmNotification& value) { m_alarmNotification = value; }
206 inline void SetAlarmNotification(AlarmNotification&& value) { m_alarmNotification = std::move(value); }
210
212
215 inline const AlarmEventActions& GetAlarmEventActions() const{ return m_alarmEventActions; }
216 inline void SetAlarmEventActions(const AlarmEventActions& value) { m_alarmEventActions = value; }
217 inline void SetAlarmEventActions(AlarmEventActions&& value) { m_alarmEventActions = std::move(value); }
221
223
226 inline const AlarmCapabilities& GetAlarmCapabilities() const{ return m_alarmCapabilities; }
227 inline void SetAlarmCapabilities(const AlarmCapabilities& value) { m_alarmCapabilities = value; }
228 inline void SetAlarmCapabilities(AlarmCapabilities&& value) { m_alarmCapabilities = std::move(value); }
232
234
235 inline const Aws::String& GetRequestId() const{ return m_requestId; }
236 inline void SetRequestId(const Aws::String& value) { m_requestId = value; }
237 inline void SetRequestId(Aws::String&& value) { m_requestId = std::move(value); }
238 inline void SetRequestId(const char* value) { m_requestId.assign(value); }
239 inline DescribeAlarmModelResult& WithRequestId(const Aws::String& value) { SetRequestId(value); return *this;}
240 inline DescribeAlarmModelResult& WithRequestId(Aws::String&& value) { SetRequestId(std::move(value)); return *this;}
241 inline DescribeAlarmModelResult& WithRequestId(const char* value) { SetRequestId(value); return *this;}
243 private:
244
245 Aws::Utils::DateTime m_creationTime;
246
247 Aws::String m_alarmModelArn;
248
249 Aws::String m_alarmModelVersion;
250
251 Aws::Utils::DateTime m_lastUpdateTime;
252
254
255 Aws::String m_statusMessage;
256
257 Aws::String m_alarmModelName;
258
259 Aws::String m_alarmModelDescription;
260
261 Aws::String m_roleArn;
262
263 Aws::String m_key;
264
265 int m_severity;
266
267 AlarmRule m_alarmRule;
268
269 AlarmNotification m_alarmNotification;
270
271 AlarmEventActions m_alarmEventActions;
272
273 AlarmCapabilities m_alarmCapabilities;
274
275 Aws::String m_requestId;
276 };
277
278} // namespace Model
279} // namespace IoTEvents
280} // namespace Aws
AWS_IOTEVENTS_API DescribeAlarmModelResult(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
DescribeAlarmModelResult & WithAlarmCapabilities(AlarmCapabilities &&value)
DescribeAlarmModelResult & WithRequestId(Aws::String &&value)
DescribeAlarmModelResult & WithAlarmModelDescription(const Aws::String &value)
DescribeAlarmModelResult & WithAlarmNotification(AlarmNotification &&value)
DescribeAlarmModelResult & WithStatus(const AlarmModelVersionStatus &value)
DescribeAlarmModelResult & WithAlarmModelArn(const Aws::String &value)
DescribeAlarmModelResult & WithKey(Aws::String &&value)
DescribeAlarmModelResult & WithAlarmModelName(Aws::String &&value)
DescribeAlarmModelResult & WithRequestId(const Aws::String &value)
DescribeAlarmModelResult & WithAlarmNotification(const AlarmNotification &value)
DescribeAlarmModelResult & WithRoleArn(const char *value)
DescribeAlarmModelResult & WithAlarmRule(const AlarmRule &value)
DescribeAlarmModelResult & WithAlarmRule(AlarmRule &&value)
const Aws::Utils::DateTime & GetCreationTime() const
DescribeAlarmModelResult & WithStatusMessage(const Aws::String &value)
DescribeAlarmModelResult & WithKey(const Aws::String &value)
const Aws::Utils::DateTime & GetLastUpdateTime() const
void SetLastUpdateTime(const Aws::Utils::DateTime &value)
void SetCreationTime(const Aws::Utils::DateTime &value)
DescribeAlarmModelResult & WithStatus(AlarmModelVersionStatus &&value)
DescribeAlarmModelResult & WithAlarmModelArn(Aws::String &&value)
DescribeAlarmModelResult & WithLastUpdateTime(Aws::Utils::DateTime &&value)
DescribeAlarmModelResult & WithRoleArn(const Aws::String &value)
void SetStatus(const AlarmModelVersionStatus &value)
void SetAlarmCapabilities(const AlarmCapabilities &value)
DescribeAlarmModelResult & WithAlarmCapabilities(const AlarmCapabilities &value)
DescribeAlarmModelResult & WithStatusMessage(const char *value)
DescribeAlarmModelResult & WithAlarmEventActions(AlarmEventActions &&value)
DescribeAlarmModelResult & WithAlarmEventActions(const AlarmEventActions &value)
DescribeAlarmModelResult & WithAlarmModelDescription(const char *value)
DescribeAlarmModelResult & WithAlarmModelVersion(const char *value)
void SetAlarmNotification(const AlarmNotification &value)
DescribeAlarmModelResult & WithLastUpdateTime(const Aws::Utils::DateTime &value)
DescribeAlarmModelResult & WithAlarmModelName(const Aws::String &value)
AWS_IOTEVENTS_API DescribeAlarmModelResult & operator=(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
DescribeAlarmModelResult & WithCreationTime(const Aws::Utils::DateTime &value)
DescribeAlarmModelResult & WithRequestId(const char *value)
DescribeAlarmModelResult & WithSeverity(int value)
DescribeAlarmModelResult & WithAlarmModelName(const char *value)
DescribeAlarmModelResult & WithAlarmModelVersion(Aws::String &&value)
void SetAlarmEventActions(const AlarmEventActions &value)
DescribeAlarmModelResult & WithCreationTime(Aws::Utils::DateTime &&value)
DescribeAlarmModelResult & WithAlarmModelVersion(const Aws::String &value)
DescribeAlarmModelResult & WithKey(const char *value)
DescribeAlarmModelResult & WithRoleArn(Aws::String &&value)
DescribeAlarmModelResult & WithAlarmModelArn(const char *value)
DescribeAlarmModelResult & WithAlarmModelDescription(Aws::String &&value)
const AlarmModelVersionStatus & GetStatus() const
DescribeAlarmModelResult & WithStatusMessage(Aws::String &&value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue