AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
DisableAlarmActionRequest.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 DisableAlarmActionRequest();
35 AWS_IOTEVENTSDATA_API DisableAlarmActionRequest(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 DisableAlarmActionRequest& WithRequestId(const Aws::String& value) { SetRequestId(value); return *this;}
50 inline DisableAlarmActionRequest& WithRequestId(Aws::String&& value) { SetRequestId(std::move(value)); return *this;}
51 inline DisableAlarmActionRequest& 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 DisableAlarmActionRequest& WithAlarmModelName(const Aws::String& value) { SetAlarmModelName(value); return *this;}
64 inline DisableAlarmActionRequest& WithAlarmModelName(Aws::String&& value) { SetAlarmModelName(std::move(value)); return *this;}
65 inline DisableAlarmActionRequest& 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 DisableAlarmActionRequest& WithKeyValue(const Aws::String& value) { SetKeyValue(value); return *this;}
80 inline DisableAlarmActionRequest& WithKeyValue(Aws::String&& value) { SetKeyValue(std::move(value)); return *this;}
81 inline DisableAlarmActionRequest& 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 DisableAlarmActionRequest& WithNote(const Aws::String& value) { SetNote(value); return *this;}
94 inline DisableAlarmActionRequest& WithNote(Aws::String&& value) { SetNote(std::move(value)); return *this;}
95 inline DisableAlarmActionRequest& WithNote(const char* value) { SetNote(value); return *this;}
97 private:
98
99 Aws::String m_requestId;
100 bool m_requestIdHasBeenSet = false;
101
102 Aws::String m_alarmModelName;
103 bool m_alarmModelNameHasBeenSet = false;
104
105 Aws::String m_keyValue;
106 bool m_keyValueHasBeenSet = false;
107
108 Aws::String m_note;
109 bool m_noteHasBeenSet = false;
110 };
111
112} // namespace Model
113} // namespace IoTEventsData
114} // namespace Aws
DisableAlarmActionRequest & WithRequestId(Aws::String &&value)
DisableAlarmActionRequest & WithAlarmModelName(const char *value)
AWS_IOTEVENTSDATA_API DisableAlarmActionRequest & operator=(Aws::Utils::Json::JsonView jsonValue)
DisableAlarmActionRequest & WithAlarmModelName(Aws::String &&value)
DisableAlarmActionRequest & WithNote(Aws::String &&value)
DisableAlarmActionRequest & WithRequestId(const Aws::String &value)
DisableAlarmActionRequest & WithRequestId(const char *value)
AWS_IOTEVENTSDATA_API DisableAlarmActionRequest(Aws::Utils::Json::JsonView jsonValue)
DisableAlarmActionRequest & WithKeyValue(const Aws::String &value)
DisableAlarmActionRequest & WithAlarmModelName(const Aws::String &value)
DisableAlarmActionRequest & WithKeyValue(Aws::String &&value)
DisableAlarmActionRequest & WithKeyValue(const char *value)
DisableAlarmActionRequest & WithNote(const char *value)
AWS_IOTEVENTSDATA_API Aws::Utils::Json::JsonValue Jsonize() const
DisableAlarmActionRequest & WithNote(const Aws::String &value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue