AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
SnoozeAlarmActionRequest.h
1
6#pragma once
7#include <aws/iotevents-data/IoTEventsData_EXPORTS.h>
8#include <aws/core/utils/memory/stl/AWSString.h>
9#include <utility>
10
11namespace Aws
12{
13namespace Utils
14{
15namespace Json
16{
17 class JsonValue;
18 class JsonView;
19} // namespace Json
20} // namespace Utils
21namespace IoTEventsData
22{
23namespace Model
24{
25
32 {
33 public:
34 AWS_IOTEVENTSDATA_API SnoozeAlarmActionRequest();
35 AWS_IOTEVENTSDATA_API SnoozeAlarmActionRequest(Aws::Utils::Json::JsonView jsonValue);
37 AWS_IOTEVENTSDATA_API Aws::Utils::Json::JsonValue Jsonize() const;
38
39
41
44 inline const Aws::String& GetRequestId() const{ return m_requestId; }
45 inline bool RequestIdHasBeenSet() const { return m_requestIdHasBeenSet; }
46 inline void SetRequestId(const Aws::String& value) { m_requestIdHasBeenSet = true; m_requestId = value; }
47 inline void SetRequestId(Aws::String&& value) { m_requestIdHasBeenSet = true; m_requestId = std::move(value); }
48 inline void SetRequestId(const char* value) { m_requestIdHasBeenSet = true; m_requestId.assign(value); }
49 inline SnoozeAlarmActionRequest& WithRequestId(const Aws::String& value) { SetRequestId(value); return *this;}
50 inline SnoozeAlarmActionRequest& WithRequestId(Aws::String&& value) { SetRequestId(std::move(value)); return *this;}
51 inline SnoozeAlarmActionRequest& WithRequestId(const char* value) { SetRequestId(value); return *this;}
53
55
58 inline const Aws::String& GetAlarmModelName() const{ return m_alarmModelName; }
59 inline bool AlarmModelNameHasBeenSet() const { return m_alarmModelNameHasBeenSet; }
60 inline void SetAlarmModelName(const Aws::String& value) { m_alarmModelNameHasBeenSet = true; m_alarmModelName = value; }
61 inline void SetAlarmModelName(Aws::String&& value) { m_alarmModelNameHasBeenSet = true; m_alarmModelName = std::move(value); }
62 inline void SetAlarmModelName(const char* value) { m_alarmModelNameHasBeenSet = true; m_alarmModelName.assign(value); }
63 inline SnoozeAlarmActionRequest& WithAlarmModelName(const Aws::String& value) { SetAlarmModelName(value); return *this;}
64 inline SnoozeAlarmActionRequest& WithAlarmModelName(Aws::String&& value) { SetAlarmModelName(std::move(value)); return *this;}
65 inline SnoozeAlarmActionRequest& WithAlarmModelName(const char* value) { SetAlarmModelName(value); return *this;}
67
69
74 inline const Aws::String& GetKeyValue() const{ return m_keyValue; }
75 inline bool KeyValueHasBeenSet() const { return m_keyValueHasBeenSet; }
76 inline void SetKeyValue(const Aws::String& value) { m_keyValueHasBeenSet = true; m_keyValue = value; }
77 inline void SetKeyValue(Aws::String&& value) { m_keyValueHasBeenSet = true; m_keyValue = std::move(value); }
78 inline void SetKeyValue(const char* value) { m_keyValueHasBeenSet = true; m_keyValue.assign(value); }
79 inline SnoozeAlarmActionRequest& WithKeyValue(const Aws::String& value) { SetKeyValue(value); return *this;}
80 inline SnoozeAlarmActionRequest& WithKeyValue(Aws::String&& value) { SetKeyValue(std::move(value)); return *this;}
81 inline SnoozeAlarmActionRequest& WithKeyValue(const char* value) { SetKeyValue(value); return *this;}
83
85
88 inline const Aws::String& GetNote() const{ return m_note; }
89 inline bool NoteHasBeenSet() const { return m_noteHasBeenSet; }
90 inline void SetNote(const Aws::String& value) { m_noteHasBeenSet = true; m_note = value; }
91 inline void SetNote(Aws::String&& value) { m_noteHasBeenSet = true; m_note = std::move(value); }
92 inline void SetNote(const char* value) { m_noteHasBeenSet = true; m_note.assign(value); }
93 inline SnoozeAlarmActionRequest& WithNote(const Aws::String& value) { SetNote(value); return *this;}
94 inline SnoozeAlarmActionRequest& WithNote(Aws::String&& value) { SetNote(std::move(value)); return *this;}
95 inline SnoozeAlarmActionRequest& WithNote(const char* value) { SetNote(value); return *this;}
97
99
103 inline int GetSnoozeDuration() const{ return m_snoozeDuration; }
104 inline bool SnoozeDurationHasBeenSet() const { return m_snoozeDurationHasBeenSet; }
105 inline void SetSnoozeDuration(int value) { m_snoozeDurationHasBeenSet = true; m_snoozeDuration = value; }
106 inline SnoozeAlarmActionRequest& WithSnoozeDuration(int value) { SetSnoozeDuration(value); return *this;}
108 private:
109
110 Aws::String m_requestId;
111 bool m_requestIdHasBeenSet = false;
112
113 Aws::String m_alarmModelName;
114 bool m_alarmModelNameHasBeenSet = false;
115
116 Aws::String m_keyValue;
117 bool m_keyValueHasBeenSet = false;
118
119 Aws::String m_note;
120 bool m_noteHasBeenSet = false;
121
122 int m_snoozeDuration;
123 bool m_snoozeDurationHasBeenSet = false;
124 };
125
126} // namespace Model
127} // namespace IoTEventsData
128} // namespace Aws
SnoozeAlarmActionRequest & WithKeyValue(Aws::String &&value)
SnoozeAlarmActionRequest & WithKeyValue(const char *value)
AWS_IOTEVENTSDATA_API Aws::Utils::Json::JsonValue Jsonize() const
SnoozeAlarmActionRequest & WithKeyValue(const Aws::String &value)
SnoozeAlarmActionRequest & WithRequestId(Aws::String &&value)
AWS_IOTEVENTSDATA_API SnoozeAlarmActionRequest(Aws::Utils::Json::JsonView jsonValue)
SnoozeAlarmActionRequest & WithRequestId(const Aws::String &value)
SnoozeAlarmActionRequest & WithNote(Aws::String &&value)
SnoozeAlarmActionRequest & WithAlarmModelName(const char *value)
SnoozeAlarmActionRequest & WithNote(const Aws::String &value)
SnoozeAlarmActionRequest & WithAlarmModelName(Aws::String &&value)
SnoozeAlarmActionRequest & WithNote(const char *value)
SnoozeAlarmActionRequest & WithAlarmModelName(const Aws::String &value)
AWS_IOTEVENTSDATA_API SnoozeAlarmActionRequest & operator=(Aws::Utils::Json::JsonView jsonValue)
SnoozeAlarmActionRequest & WithRequestId(const char *value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue