AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
AlarmSummary.h
1
6#pragma once
7#include <aws/iotevents-data/IoTEventsData_EXPORTS.h>
8#include <aws/core/utils/memory/stl/AWSString.h>
9#include <aws/iotevents-data/model/AlarmStateName.h>
10#include <aws/core/utils/DateTime.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 IoTEventsData
24{
25namespace Model
26{
27
34 {
35 public:
36 AWS_IOTEVENTSDATA_API AlarmSummary();
37 AWS_IOTEVENTSDATA_API AlarmSummary(Aws::Utils::Json::JsonView jsonValue);
38 AWS_IOTEVENTSDATA_API AlarmSummary& operator=(Aws::Utils::Json::JsonView jsonValue);
39 AWS_IOTEVENTSDATA_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 AlarmSummary& WithAlarmModelName(const Aws::String& value) { SetAlarmModelName(value); return *this;}
52 inline AlarmSummary& WithAlarmModelName(Aws::String&& value) { SetAlarmModelName(std::move(value)); return *this;}
53 inline AlarmSummary& WithAlarmModelName(const char* value) { SetAlarmModelName(value); return *this;}
55
57
60 inline const Aws::String& GetAlarmModelVersion() const{ return m_alarmModelVersion; }
61 inline bool AlarmModelVersionHasBeenSet() const { return m_alarmModelVersionHasBeenSet; }
62 inline void SetAlarmModelVersion(const Aws::String& value) { m_alarmModelVersionHasBeenSet = true; m_alarmModelVersion = value; }
63 inline void SetAlarmModelVersion(Aws::String&& value) { m_alarmModelVersionHasBeenSet = true; m_alarmModelVersion = std::move(value); }
64 inline void SetAlarmModelVersion(const char* value) { m_alarmModelVersionHasBeenSet = true; m_alarmModelVersion.assign(value); }
65 inline AlarmSummary& WithAlarmModelVersion(const Aws::String& value) { SetAlarmModelVersion(value); return *this;}
66 inline AlarmSummary& WithAlarmModelVersion(Aws::String&& value) { SetAlarmModelVersion(std::move(value)); return *this;}
67 inline AlarmSummary& WithAlarmModelVersion(const char* value) { SetAlarmModelVersion(value); return *this;}
69
71
76 inline const Aws::String& GetKeyValue() const{ return m_keyValue; }
77 inline bool KeyValueHasBeenSet() const { return m_keyValueHasBeenSet; }
78 inline void SetKeyValue(const Aws::String& value) { m_keyValueHasBeenSet = true; m_keyValue = value; }
79 inline void SetKeyValue(Aws::String&& value) { m_keyValueHasBeenSet = true; m_keyValue = std::move(value); }
80 inline void SetKeyValue(const char* value) { m_keyValueHasBeenSet = true; m_keyValue.assign(value); }
81 inline AlarmSummary& WithKeyValue(const Aws::String& value) { SetKeyValue(value); return *this;}
82 inline AlarmSummary& WithKeyValue(Aws::String&& value) { SetKeyValue(std::move(value)); return *this;}
83 inline AlarmSummary& WithKeyValue(const char* value) { SetKeyValue(value); return *this;}
85
87
106 inline const AlarmStateName& GetStateName() const{ return m_stateName; }
107 inline bool StateNameHasBeenSet() const { return m_stateNameHasBeenSet; }
108 inline void SetStateName(const AlarmStateName& value) { m_stateNameHasBeenSet = true; m_stateName = value; }
109 inline void SetStateName(AlarmStateName&& value) { m_stateNameHasBeenSet = true; m_stateName = std::move(value); }
110 inline AlarmSummary& WithStateName(const AlarmStateName& value) { SetStateName(value); return *this;}
111 inline AlarmSummary& WithStateName(AlarmStateName&& value) { SetStateName(std::move(value)); return *this;}
113
115
118 inline const Aws::Utils::DateTime& GetCreationTime() const{ return m_creationTime; }
119 inline bool CreationTimeHasBeenSet() const { return m_creationTimeHasBeenSet; }
120 inline void SetCreationTime(const Aws::Utils::DateTime& value) { m_creationTimeHasBeenSet = true; m_creationTime = value; }
121 inline void SetCreationTime(Aws::Utils::DateTime&& value) { m_creationTimeHasBeenSet = true; m_creationTime = std::move(value); }
122 inline AlarmSummary& WithCreationTime(const Aws::Utils::DateTime& value) { SetCreationTime(value); return *this;}
123 inline AlarmSummary& WithCreationTime(Aws::Utils::DateTime&& value) { SetCreationTime(std::move(value)); return *this;}
125
127
130 inline const Aws::Utils::DateTime& GetLastUpdateTime() const{ return m_lastUpdateTime; }
131 inline bool LastUpdateTimeHasBeenSet() const { return m_lastUpdateTimeHasBeenSet; }
132 inline void SetLastUpdateTime(const Aws::Utils::DateTime& value) { m_lastUpdateTimeHasBeenSet = true; m_lastUpdateTime = value; }
133 inline void SetLastUpdateTime(Aws::Utils::DateTime&& value) { m_lastUpdateTimeHasBeenSet = true; m_lastUpdateTime = std::move(value); }
134 inline AlarmSummary& WithLastUpdateTime(const Aws::Utils::DateTime& value) { SetLastUpdateTime(value); return *this;}
135 inline AlarmSummary& WithLastUpdateTime(Aws::Utils::DateTime&& value) { SetLastUpdateTime(std::move(value)); return *this;}
137 private:
138
139 Aws::String m_alarmModelName;
140 bool m_alarmModelNameHasBeenSet = false;
141
142 Aws::String m_alarmModelVersion;
143 bool m_alarmModelVersionHasBeenSet = false;
144
145 Aws::String m_keyValue;
146 bool m_keyValueHasBeenSet = false;
147
148 AlarmStateName m_stateName;
149 bool m_stateNameHasBeenSet = false;
150
151 Aws::Utils::DateTime m_creationTime;
152 bool m_creationTimeHasBeenSet = false;
153
154 Aws::Utils::DateTime m_lastUpdateTime;
155 bool m_lastUpdateTimeHasBeenSet = false;
156 };
157
158} // namespace Model
159} // namespace IoTEventsData
160} // namespace Aws
void SetStateName(AlarmStateName &&value)
AWS_IOTEVENTSDATA_API AlarmSummary & operator=(Aws::Utils::Json::JsonView jsonValue)
void SetCreationTime(Aws::Utils::DateTime &&value)
AlarmSummary & WithStateName(const AlarmStateName &value)
void SetLastUpdateTime(Aws::Utils::DateTime &&value)
AWS_IOTEVENTSDATA_API AlarmSummary(Aws::Utils::Json::JsonView jsonValue)
const AlarmStateName & GetStateName() const
AlarmSummary & WithLastUpdateTime(const Aws::Utils::DateTime &value)
void SetKeyValue(const char *value)
void SetStateName(const AlarmStateName &value)
AlarmSummary & WithKeyValue(Aws::String &&value)
AlarmSummary & WithStateName(AlarmStateName &&value)
const Aws::Utils::DateTime & GetLastUpdateTime() const
AlarmSummary & WithCreationTime(const Aws::Utils::DateTime &value)
void SetAlarmModelName(const Aws::String &value)
void SetAlarmModelName(Aws::String &&value)
AlarmSummary & WithAlarmModelName(const Aws::String &value)
AlarmSummary & WithAlarmModelVersion(Aws::String &&value)
void SetCreationTime(const Aws::Utils::DateTime &value)
AWS_IOTEVENTSDATA_API Aws::Utils::Json::JsonValue Jsonize() const
void SetLastUpdateTime(const Aws::Utils::DateTime &value)
void SetAlarmModelName(const char *value)
const Aws::String & GetKeyValue() const
AlarmSummary & WithKeyValue(const Aws::String &value)
const Aws::String & GetAlarmModelVersion() const
AWS_IOTEVENTSDATA_API AlarmSummary()
AlarmSummary & WithAlarmModelVersion(const Aws::String &value)
const Aws::String & GetAlarmModelName() const
AlarmSummary & WithAlarmModelName(Aws::String &&value)
AlarmSummary & WithAlarmModelName(const char *value)
void SetAlarmModelVersion(const char *value)
void SetAlarmModelVersion(Aws::String &&value)
void SetKeyValue(const Aws::String &value)
void SetKeyValue(Aws::String &&value)
AlarmSummary & WithKeyValue(const char *value)
const Aws::Utils::DateTime & GetCreationTime() const
void SetAlarmModelVersion(const Aws::String &value)
AlarmSummary & WithAlarmModelVersion(const char *value)
AlarmSummary & WithCreationTime(Aws::Utils::DateTime &&value)
AlarmSummary & WithLastUpdateTime(Aws::Utils::DateTime &&value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue