AWS SDK for C++

AWS SDK for C++ Version 1.11.440

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();
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 inline void SetCreationTime(const Aws::Utils::DateTime& value) { m_creationTimeHasBeenSet = true; m_creationTime = value; }
48 inline void SetCreationTime(Aws::Utils::DateTime&& value) { m_creationTimeHasBeenSet = true; m_creationTime = std::move(value); }
49 inline AlarmModelSummary& WithCreationTime(const Aws::Utils::DateTime& value) { SetCreationTime(value); return *this;}
50 inline AlarmModelSummary& WithCreationTime(Aws::Utils::DateTime&& value) { SetCreationTime(std::move(value)); return *this;}
52
54
57 inline const Aws::String& GetAlarmModelDescription() const{ return m_alarmModelDescription; }
58 inline bool AlarmModelDescriptionHasBeenSet() const { return m_alarmModelDescriptionHasBeenSet; }
59 inline void SetAlarmModelDescription(const Aws::String& value) { m_alarmModelDescriptionHasBeenSet = true; m_alarmModelDescription = value; }
60 inline void SetAlarmModelDescription(Aws::String&& value) { m_alarmModelDescriptionHasBeenSet = true; m_alarmModelDescription = std::move(value); }
61 inline void SetAlarmModelDescription(const char* value) { m_alarmModelDescriptionHasBeenSet = true; m_alarmModelDescription.assign(value); }
63 inline AlarmModelSummary& WithAlarmModelDescription(Aws::String&& value) { SetAlarmModelDescription(std::move(value)); return *this;}
64 inline AlarmModelSummary& WithAlarmModelDescription(const char* value) { SetAlarmModelDescription(value); return *this;}
66
68
71 inline const Aws::String& GetAlarmModelName() const{ return m_alarmModelName; }
72 inline bool AlarmModelNameHasBeenSet() const { return m_alarmModelNameHasBeenSet; }
73 inline void SetAlarmModelName(const Aws::String& value) { m_alarmModelNameHasBeenSet = true; m_alarmModelName = value; }
74 inline void SetAlarmModelName(Aws::String&& value) { m_alarmModelNameHasBeenSet = true; m_alarmModelName = std::move(value); }
75 inline void SetAlarmModelName(const char* value) { m_alarmModelNameHasBeenSet = true; m_alarmModelName.assign(value); }
76 inline AlarmModelSummary& WithAlarmModelName(const Aws::String& value) { SetAlarmModelName(value); return *this;}
77 inline AlarmModelSummary& WithAlarmModelName(Aws::String&& value) { SetAlarmModelName(std::move(value)); return *this;}
78 inline AlarmModelSummary& WithAlarmModelName(const char* value) { SetAlarmModelName(value); return *this;}
80 private:
81
82 Aws::Utils::DateTime m_creationTime;
83 bool m_creationTimeHasBeenSet = false;
84
85 Aws::String m_alarmModelDescription;
86 bool m_alarmModelDescriptionHasBeenSet = false;
87
88 Aws::String m_alarmModelName;
89 bool m_alarmModelNameHasBeenSet = false;
90 };
91
92} // namespace Model
93} // namespace IoTEvents
94} // namespace Aws
AWS_IOTEVENTS_API Aws::Utils::Json::JsonValue Jsonize() const
AlarmModelSummary & WithAlarmModelDescription(const char *value)
void SetAlarmModelDescription(const Aws::String &value)
AWS_IOTEVENTS_API AlarmModelSummary(Aws::Utils::Json::JsonView jsonValue)
const Aws::Utils::DateTime & GetCreationTime() const
AlarmModelSummary & WithCreationTime(Aws::Utils::DateTime &&value)
void SetAlarmModelName(Aws::String &&value)
void SetCreationTime(const Aws::Utils::DateTime &value)
void SetAlarmModelName(const Aws::String &value)
AlarmModelSummary & WithAlarmModelName(Aws::String &&value)
AlarmModelSummary & WithAlarmModelName(const Aws::String &value)
AlarmModelSummary & WithAlarmModelDescription(const Aws::String &value)
AlarmModelSummary & WithCreationTime(const Aws::Utils::DateTime &value)
AlarmModelSummary & WithAlarmModelDescription(Aws::String &&value)
void SetCreationTime(Aws::Utils::DateTime &&value)
const Aws::String & GetAlarmModelName() const
void SetAlarmModelDescription(const char *value)
void SetAlarmModelDescription(Aws::String &&value)
AWS_IOTEVENTS_API AlarmModelSummary & operator=(Aws::Utils::Json::JsonView jsonValue)
AlarmModelSummary & WithAlarmModelName(const char *value)
const Aws::String & GetAlarmModelDescription() const
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue