AWS SDK for C++

AWS SDK for C++ Version 1.11.607

Loading...
Searching...
No Matches
AlarmModelSummary.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 <utility>
11
12namespace Aws
13{
14namespace Utils
15{
16namespace Json
17{
18 class JsonValue;
19 class JsonView;
20} // namespace Json
21} // namespace Utils
22namespace IoTEvents
23{
24namespace Model
25{
26
33 {
34 public:
35 AWS_IOTEVENTS_API AlarmModelSummary() = default;
36 AWS_IOTEVENTS_API AlarmModelSummary(Aws::Utils::Json::JsonView jsonValue);
38 AWS_IOTEVENTS_API Aws::Utils::Json::JsonValue Jsonize() const;
39
40
42
45 inline const Aws::Utils::DateTime& GetCreationTime() const { return m_creationTime; }
46 inline bool CreationTimeHasBeenSet() const { return m_creationTimeHasBeenSet; }
47 template<typename CreationTimeT = Aws::Utils::DateTime>
48 void SetCreationTime(CreationTimeT&& value) { m_creationTimeHasBeenSet = true; m_creationTime = std::forward<CreationTimeT>(value); }
49 template<typename CreationTimeT = Aws::Utils::DateTime>
50 AlarmModelSummary& WithCreationTime(CreationTimeT&& value) { SetCreationTime(std::forward<CreationTimeT>(value)); return *this;}
52
54
57 inline const Aws::String& GetAlarmModelDescription() const { return m_alarmModelDescription; }
58 inline bool AlarmModelDescriptionHasBeenSet() const { return m_alarmModelDescriptionHasBeenSet; }
59 template<typename AlarmModelDescriptionT = Aws::String>
60 void SetAlarmModelDescription(AlarmModelDescriptionT&& value) { m_alarmModelDescriptionHasBeenSet = true; m_alarmModelDescription = std::forward<AlarmModelDescriptionT>(value); }
61 template<typename AlarmModelDescriptionT = Aws::String>
62 AlarmModelSummary& WithAlarmModelDescription(AlarmModelDescriptionT&& value) { SetAlarmModelDescription(std::forward<AlarmModelDescriptionT>(value)); return *this;}
64
66
69 inline const Aws::String& GetAlarmModelName() const { return m_alarmModelName; }
70 inline bool AlarmModelNameHasBeenSet() const { return m_alarmModelNameHasBeenSet; }
71 template<typename AlarmModelNameT = Aws::String>
72 void SetAlarmModelName(AlarmModelNameT&& value) { m_alarmModelNameHasBeenSet = true; m_alarmModelName = std::forward<AlarmModelNameT>(value); }
73 template<typename AlarmModelNameT = Aws::String>
74 AlarmModelSummary& WithAlarmModelName(AlarmModelNameT&& value) { SetAlarmModelName(std::forward<AlarmModelNameT>(value)); return *this;}
76 private:
77
78 Aws::Utils::DateTime m_creationTime{};
79 bool m_creationTimeHasBeenSet = false;
80
81 Aws::String m_alarmModelDescription;
82 bool m_alarmModelDescriptionHasBeenSet = false;
83
84 Aws::String m_alarmModelName;
85 bool m_alarmModelNameHasBeenSet = false;
86 };
87
88} // namespace Model
89} // namespace IoTEvents
90} // namespace Aws
AWS_IOTEVENTS_API Aws::Utils::Json::JsonValue Jsonize() const
void SetAlarmModelName(AlarmModelNameT &&value)
AWS_IOTEVENTS_API AlarmModelSummary(Aws::Utils::Json::JsonView jsonValue)
const Aws::Utils::DateTime & GetCreationTime() const
void SetAlarmModelDescription(AlarmModelDescriptionT &&value)
AlarmModelSummary & WithAlarmModelName(AlarmModelNameT &&value)
AWS_IOTEVENTS_API AlarmModelSummary()=default
const Aws::String & GetAlarmModelName() const
AlarmModelSummary & WithCreationTime(CreationTimeT &&value)
AWS_IOTEVENTS_API AlarmModelSummary & operator=(Aws::Utils::Json::JsonView jsonValue)
AlarmModelSummary & WithAlarmModelDescription(AlarmModelDescriptionT &&value)
const Aws::String & GetAlarmModelDescription() const
void SetCreationTime(CreationTimeT &&value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue