AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
AcknowledgeAlarmActionRequest.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 AcknowledgeAlarmActionRequest();
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 AcknowledgeAlarmActionRequest& WithRequestId(const Aws::String& value) { SetRequestId(value); return *this;}
50 inline AcknowledgeAlarmActionRequest& WithRequestId(Aws::String&& value) { SetRequestId(std::move(value)); return *this;}
51 inline AcknowledgeAlarmActionRequest& 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); }
64 inline AcknowledgeAlarmActionRequest& WithAlarmModelName(Aws::String&& value) { SetAlarmModelName(std::move(value)); return *this;}
65 inline AcknowledgeAlarmActionRequest& 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 AcknowledgeAlarmActionRequest& WithKeyValue(const Aws::String& value) { SetKeyValue(value); return *this;}
80 inline AcknowledgeAlarmActionRequest& WithKeyValue(Aws::String&& value) { SetKeyValue(std::move(value)); return *this;}
81 inline AcknowledgeAlarmActionRequest& 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 AcknowledgeAlarmActionRequest& WithNote(const Aws::String& value) { SetNote(value); return *this;}
94 inline AcknowledgeAlarmActionRequest& WithNote(Aws::String&& value) { SetNote(std::move(value)); return *this;}
95 inline AcknowledgeAlarmActionRequest& 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
AcknowledgeAlarmActionRequest & WithKeyValue(const Aws::String &value)
AWS_IOTEVENTSDATA_API AcknowledgeAlarmActionRequest & operator=(Aws::Utils::Json::JsonView jsonValue)
AWS_IOTEVENTSDATA_API Aws::Utils::Json::JsonValue Jsonize() const
AcknowledgeAlarmActionRequest & WithNote(Aws::String &&value)
AcknowledgeAlarmActionRequest & WithKeyValue(const char *value)
AcknowledgeAlarmActionRequest & WithRequestId(Aws::String &&value)
AWS_IOTEVENTSDATA_API AcknowledgeAlarmActionRequest(Aws::Utils::Json::JsonView jsonValue)
AcknowledgeAlarmActionRequest & WithRequestId(const Aws::String &value)
AcknowledgeAlarmActionRequest & WithAlarmModelName(Aws::String &&value)
AcknowledgeAlarmActionRequest & WithKeyValue(Aws::String &&value)
AcknowledgeAlarmActionRequest & WithRequestId(const char *value)
AcknowledgeAlarmActionRequest & WithAlarmModelName(const Aws::String &value)
AcknowledgeAlarmActionRequest & WithNote(const Aws::String &value)
AcknowledgeAlarmActionRequest & WithNote(const char *value)
AcknowledgeAlarmActionRequest & WithAlarmModelName(const char *value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue