AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
AlarmModelVersionSummary.h
1
6#pragma once
7#include <aws/iotevents/IoTEvents_EXPORTS.h>
8#include <aws/core/utils/memory/stl/AWSString.h>
9#include <aws/core/utils/DateTime.h>
10#include <aws/iotevents/model/AlarmModelVersionStatus.h>
11#include <utility>
12
13namespace Aws
14{
15namespace Utils
16{
17namespace Json
18{
19 class JsonValue;
20 class JsonView;
21} // namespace Json
22} // namespace Utils
23namespace IoTEvents
24{
25namespace Model
26{
27
34 {
35 public:
36 AWS_IOTEVENTS_API AlarmModelVersionSummary();
39 AWS_IOTEVENTS_API Aws::Utils::Json::JsonValue Jsonize() const;
40
41
43
46 inline const Aws::String& GetAlarmModelName() const{ return m_alarmModelName; }
47 inline bool AlarmModelNameHasBeenSet() const { return m_alarmModelNameHasBeenSet; }
48 inline void SetAlarmModelName(const Aws::String& value) { m_alarmModelNameHasBeenSet = true; m_alarmModelName = value; }
49 inline void SetAlarmModelName(Aws::String&& value) { m_alarmModelNameHasBeenSet = true; m_alarmModelName = std::move(value); }
50 inline void SetAlarmModelName(const char* value) { m_alarmModelNameHasBeenSet = true; m_alarmModelName.assign(value); }
51 inline AlarmModelVersionSummary& WithAlarmModelName(const Aws::String& value) { SetAlarmModelName(value); return *this;}
52 inline AlarmModelVersionSummary& WithAlarmModelName(Aws::String&& value) { SetAlarmModelName(std::move(value)); return *this;}
53 inline AlarmModelVersionSummary& WithAlarmModelName(const char* value) { SetAlarmModelName(value); return *this;}
55
57
62 inline const Aws::String& GetAlarmModelArn() const{ return m_alarmModelArn; }
63 inline bool AlarmModelArnHasBeenSet() const { return m_alarmModelArnHasBeenSet; }
64 inline void SetAlarmModelArn(const Aws::String& value) { m_alarmModelArnHasBeenSet = true; m_alarmModelArn = value; }
65 inline void SetAlarmModelArn(Aws::String&& value) { m_alarmModelArnHasBeenSet = true; m_alarmModelArn = std::move(value); }
66 inline void SetAlarmModelArn(const char* value) { m_alarmModelArnHasBeenSet = true; m_alarmModelArn.assign(value); }
67 inline AlarmModelVersionSummary& WithAlarmModelArn(const Aws::String& value) { SetAlarmModelArn(value); return *this;}
68 inline AlarmModelVersionSummary& WithAlarmModelArn(Aws::String&& value) { SetAlarmModelArn(std::move(value)); return *this;}
69 inline AlarmModelVersionSummary& WithAlarmModelArn(const char* value) { SetAlarmModelArn(value); return *this;}
71
73
76 inline const Aws::String& GetAlarmModelVersion() const{ return m_alarmModelVersion; }
77 inline bool AlarmModelVersionHasBeenSet() const { return m_alarmModelVersionHasBeenSet; }
78 inline void SetAlarmModelVersion(const Aws::String& value) { m_alarmModelVersionHasBeenSet = true; m_alarmModelVersion = value; }
79 inline void SetAlarmModelVersion(Aws::String&& value) { m_alarmModelVersionHasBeenSet = true; m_alarmModelVersion = std::move(value); }
80 inline void SetAlarmModelVersion(const char* value) { m_alarmModelVersionHasBeenSet = true; m_alarmModelVersion.assign(value); }
82 inline AlarmModelVersionSummary& WithAlarmModelVersion(Aws::String&& value) { SetAlarmModelVersion(std::move(value)); return *this;}
83 inline AlarmModelVersionSummary& WithAlarmModelVersion(const char* value) { SetAlarmModelVersion(value); return *this;}
85
87
93 inline const Aws::String& GetRoleArn() const{ return m_roleArn; }
94 inline bool RoleArnHasBeenSet() const { return m_roleArnHasBeenSet; }
95 inline void SetRoleArn(const Aws::String& value) { m_roleArnHasBeenSet = true; m_roleArn = value; }
96 inline void SetRoleArn(Aws::String&& value) { m_roleArnHasBeenSet = true; m_roleArn = std::move(value); }
97 inline void SetRoleArn(const char* value) { m_roleArnHasBeenSet = true; m_roleArn.assign(value); }
98 inline AlarmModelVersionSummary& WithRoleArn(const Aws::String& value) { SetRoleArn(value); return *this;}
99 inline AlarmModelVersionSummary& WithRoleArn(Aws::String&& value) { SetRoleArn(std::move(value)); return *this;}
100 inline AlarmModelVersionSummary& WithRoleArn(const char* value) { SetRoleArn(value); return *this;}
102
104
107 inline const Aws::Utils::DateTime& GetCreationTime() const{ return m_creationTime; }
108 inline bool CreationTimeHasBeenSet() const { return m_creationTimeHasBeenSet; }
109 inline void SetCreationTime(const Aws::Utils::DateTime& value) { m_creationTimeHasBeenSet = true; m_creationTime = value; }
110 inline void SetCreationTime(Aws::Utils::DateTime&& value) { m_creationTimeHasBeenSet = true; m_creationTime = std::move(value); }
112 inline AlarmModelVersionSummary& WithCreationTime(Aws::Utils::DateTime&& value) { SetCreationTime(std::move(value)); return *this;}
114
116
119 inline const Aws::Utils::DateTime& GetLastUpdateTime() const{ return m_lastUpdateTime; }
120 inline bool LastUpdateTimeHasBeenSet() const { return m_lastUpdateTimeHasBeenSet; }
121 inline void SetLastUpdateTime(const Aws::Utils::DateTime& value) { m_lastUpdateTimeHasBeenSet = true; m_lastUpdateTime = value; }
122 inline void SetLastUpdateTime(Aws::Utils::DateTime&& value) { m_lastUpdateTimeHasBeenSet = true; m_lastUpdateTime = std::move(value); }
124 inline AlarmModelVersionSummary& WithLastUpdateTime(Aws::Utils::DateTime&& value) { SetLastUpdateTime(std::move(value)); return *this;}
126
128
139 inline const AlarmModelVersionStatus& GetStatus() const{ return m_status; }
140 inline bool StatusHasBeenSet() const { return m_statusHasBeenSet; }
141 inline void SetStatus(const AlarmModelVersionStatus& value) { m_statusHasBeenSet = true; m_status = value; }
142 inline void SetStatus(AlarmModelVersionStatus&& value) { m_statusHasBeenSet = true; m_status = std::move(value); }
143 inline AlarmModelVersionSummary& WithStatus(const AlarmModelVersionStatus& value) { SetStatus(value); return *this;}
144 inline AlarmModelVersionSummary& WithStatus(AlarmModelVersionStatus&& value) { SetStatus(std::move(value)); return *this;}
146
148
151 inline const Aws::String& GetStatusMessage() const{ return m_statusMessage; }
152 inline bool StatusMessageHasBeenSet() const { return m_statusMessageHasBeenSet; }
153 inline void SetStatusMessage(const Aws::String& value) { m_statusMessageHasBeenSet = true; m_statusMessage = value; }
154 inline void SetStatusMessage(Aws::String&& value) { m_statusMessageHasBeenSet = true; m_statusMessage = std::move(value); }
155 inline void SetStatusMessage(const char* value) { m_statusMessageHasBeenSet = true; m_statusMessage.assign(value); }
156 inline AlarmModelVersionSummary& WithStatusMessage(const Aws::String& value) { SetStatusMessage(value); return *this;}
157 inline AlarmModelVersionSummary& WithStatusMessage(Aws::String&& value) { SetStatusMessage(std::move(value)); return *this;}
158 inline AlarmModelVersionSummary& WithStatusMessage(const char* value) { SetStatusMessage(value); return *this;}
160 private:
161
162 Aws::String m_alarmModelName;
163 bool m_alarmModelNameHasBeenSet = false;
164
165 Aws::String m_alarmModelArn;
166 bool m_alarmModelArnHasBeenSet = false;
167
168 Aws::String m_alarmModelVersion;
169 bool m_alarmModelVersionHasBeenSet = false;
170
171 Aws::String m_roleArn;
172 bool m_roleArnHasBeenSet = false;
173
174 Aws::Utils::DateTime m_creationTime;
175 bool m_creationTimeHasBeenSet = false;
176
177 Aws::Utils::DateTime m_lastUpdateTime;
178 bool m_lastUpdateTimeHasBeenSet = false;
179
181 bool m_statusHasBeenSet = false;
182
183 Aws::String m_statusMessage;
184 bool m_statusMessageHasBeenSet = false;
185 };
186
187} // namespace Model
188} // namespace IoTEvents
189} // namespace Aws
AlarmModelVersionSummary & WithRoleArn(const Aws::String &value)
AlarmModelVersionSummary & WithStatusMessage(const Aws::String &value)
const AlarmModelVersionStatus & GetStatus() const
const Aws::Utils::DateTime & GetCreationTime() const
void SetLastUpdateTime(const Aws::Utils::DateTime &value)
AlarmModelVersionSummary & WithRoleArn(Aws::String &&value)
AlarmModelVersionSummary & WithStatus(AlarmModelVersionStatus &&value)
AlarmModelVersionSummary & WithAlarmModelArn(Aws::String &&value)
void SetCreationTime(const Aws::Utils::DateTime &value)
AlarmModelVersionSummary & WithStatusMessage(Aws::String &&value)
AlarmModelVersionSummary & WithAlarmModelArn(const Aws::String &value)
AlarmModelVersionSummary & WithAlarmModelName(const char *value)
AlarmModelVersionSummary & WithLastUpdateTime(const Aws::Utils::DateTime &value)
AlarmModelVersionSummary & WithAlarmModelArn(const char *value)
AlarmModelVersionSummary & WithLastUpdateTime(Aws::Utils::DateTime &&value)
AlarmModelVersionSummary & WithCreationTime(const Aws::Utils::DateTime &value)
AWS_IOTEVENTS_API AlarmModelVersionSummary(Aws::Utils::Json::JsonView jsonValue)
AlarmModelVersionSummary & WithStatusMessage(const char *value)
void SetStatus(const AlarmModelVersionStatus &value)
AlarmModelVersionSummary & WithRoleArn(const char *value)
AlarmModelVersionSummary & WithCreationTime(Aws::Utils::DateTime &&value)
AWS_IOTEVENTS_API AlarmModelVersionSummary & operator=(Aws::Utils::Json::JsonView jsonValue)
AlarmModelVersionSummary & WithAlarmModelName(Aws::String &&value)
AlarmModelVersionSummary & WithAlarmModelName(const Aws::String &value)
AlarmModelVersionSummary & WithAlarmModelVersion(const char *value)
const Aws::Utils::DateTime & GetLastUpdateTime() const
AlarmModelVersionSummary & WithAlarmModelVersion(const Aws::String &value)
AlarmModelVersionSummary & WithAlarmModelVersion(Aws::String &&value)
AlarmModelVersionSummary & WithStatus(const AlarmModelVersionStatus &value)
AWS_IOTEVENTS_API Aws::Utils::Json::JsonValue Jsonize() const
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue