AWS SDK for C++

AWS SDK for C++ Version 1.11.608

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() = default;
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 template<typename RequestIdT = Aws::String>
47 void SetRequestId(RequestIdT&& value) { m_requestIdHasBeenSet = true; m_requestId = std::forward<RequestIdT>(value); }
48 template<typename RequestIdT = Aws::String>
49 AcknowledgeAlarmActionRequest& WithRequestId(RequestIdT&& value) { SetRequestId(std::forward<RequestIdT>(value)); return *this;}
51
53
56 inline const Aws::String& GetAlarmModelName() const { return m_alarmModelName; }
57 inline bool AlarmModelNameHasBeenSet() const { return m_alarmModelNameHasBeenSet; }
58 template<typename AlarmModelNameT = Aws::String>
59 void SetAlarmModelName(AlarmModelNameT&& value) { m_alarmModelNameHasBeenSet = true; m_alarmModelName = std::forward<AlarmModelNameT>(value); }
60 template<typename AlarmModelNameT = Aws::String>
61 AcknowledgeAlarmActionRequest& WithAlarmModelName(AlarmModelNameT&& value) { SetAlarmModelName(std::forward<AlarmModelNameT>(value)); return *this;}
63
65
70 inline const Aws::String& GetKeyValue() const { return m_keyValue; }
71 inline bool KeyValueHasBeenSet() const { return m_keyValueHasBeenSet; }
72 template<typename KeyValueT = Aws::String>
73 void SetKeyValue(KeyValueT&& value) { m_keyValueHasBeenSet = true; m_keyValue = std::forward<KeyValueT>(value); }
74 template<typename KeyValueT = Aws::String>
75 AcknowledgeAlarmActionRequest& WithKeyValue(KeyValueT&& value) { SetKeyValue(std::forward<KeyValueT>(value)); return *this;}
77
79
82 inline const Aws::String& GetNote() const { return m_note; }
83 inline bool NoteHasBeenSet() const { return m_noteHasBeenSet; }
84 template<typename NoteT = Aws::String>
85 void SetNote(NoteT&& value) { m_noteHasBeenSet = true; m_note = std::forward<NoteT>(value); }
86 template<typename NoteT = Aws::String>
87 AcknowledgeAlarmActionRequest& WithNote(NoteT&& value) { SetNote(std::forward<NoteT>(value)); return *this;}
89 private:
90
91 Aws::String m_requestId;
92 bool m_requestIdHasBeenSet = false;
93
94 Aws::String m_alarmModelName;
95 bool m_alarmModelNameHasBeenSet = false;
96
97 Aws::String m_keyValue;
98 bool m_keyValueHasBeenSet = false;
99
100 Aws::String m_note;
101 bool m_noteHasBeenSet = false;
102 };
103
104} // namespace Model
105} // namespace IoTEventsData
106} // namespace Aws
AcknowledgeAlarmActionRequest & WithRequestId(RequestIdT &&value)
AWS_IOTEVENTSDATA_API AcknowledgeAlarmActionRequest & operator=(Aws::Utils::Json::JsonView jsonValue)
AWS_IOTEVENTSDATA_API Aws::Utils::Json::JsonValue Jsonize() const
AWS_IOTEVENTSDATA_API AcknowledgeAlarmActionRequest(Aws::Utils::Json::JsonView jsonValue)
AcknowledgeAlarmActionRequest & WithKeyValue(KeyValueT &&value)
AcknowledgeAlarmActionRequest & WithAlarmModelName(AlarmModelNameT &&value)
AWS_IOTEVENTSDATA_API AcknowledgeAlarmActionRequest()=default
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue