AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
UpdateDetectorRequest.h
1
6#pragma once
7#include <aws/iotevents-data/IoTEventsData_EXPORTS.h>
8#include <aws/core/utils/memory/stl/AWSString.h>
9#include <aws/iotevents-data/model/DetectorStateDefinition.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 IoTEventsData
23{
24namespace Model
25{
26
34 {
35 public:
36 AWS_IOTEVENTSDATA_API UpdateDetectorRequest();
37 AWS_IOTEVENTSDATA_API UpdateDetectorRequest(Aws::Utils::Json::JsonView jsonValue);
39 AWS_IOTEVENTSDATA_API Aws::Utils::Json::JsonValue Jsonize() const;
40
41
43
47 inline const Aws::String& GetMessageId() const{ return m_messageId; }
48 inline bool MessageIdHasBeenSet() const { return m_messageIdHasBeenSet; }
49 inline void SetMessageId(const Aws::String& value) { m_messageIdHasBeenSet = true; m_messageId = value; }
50 inline void SetMessageId(Aws::String&& value) { m_messageIdHasBeenSet = true; m_messageId = std::move(value); }
51 inline void SetMessageId(const char* value) { m_messageIdHasBeenSet = true; m_messageId.assign(value); }
52 inline UpdateDetectorRequest& WithMessageId(const Aws::String& value) { SetMessageId(value); return *this;}
53 inline UpdateDetectorRequest& WithMessageId(Aws::String&& value) { SetMessageId(std::move(value)); return *this;}
54 inline UpdateDetectorRequest& WithMessageId(const char* value) { SetMessageId(value); return *this;}
56
58
61 inline const Aws::String& GetDetectorModelName() const{ return m_detectorModelName; }
62 inline bool DetectorModelNameHasBeenSet() const { return m_detectorModelNameHasBeenSet; }
63 inline void SetDetectorModelName(const Aws::String& value) { m_detectorModelNameHasBeenSet = true; m_detectorModelName = value; }
64 inline void SetDetectorModelName(Aws::String&& value) { m_detectorModelNameHasBeenSet = true; m_detectorModelName = std::move(value); }
65 inline void SetDetectorModelName(const char* value) { m_detectorModelNameHasBeenSet = true; m_detectorModelName.assign(value); }
66 inline UpdateDetectorRequest& WithDetectorModelName(const Aws::String& value) { SetDetectorModelName(value); return *this;}
67 inline UpdateDetectorRequest& WithDetectorModelName(Aws::String&& value) { SetDetectorModelName(std::move(value)); return *this;}
68 inline UpdateDetectorRequest& WithDetectorModelName(const char* value) { SetDetectorModelName(value); return *this;}
70
72
76 inline const Aws::String& GetKeyValue() const{ return m_keyValue; }
77 inline bool KeyValueHasBeenSet() const { return m_keyValueHasBeenSet; }
78 inline void SetKeyValue(const Aws::String& value) { m_keyValueHasBeenSet = true; m_keyValue = value; }
79 inline void SetKeyValue(Aws::String&& value) { m_keyValueHasBeenSet = true; m_keyValue = std::move(value); }
80 inline void SetKeyValue(const char* value) { m_keyValueHasBeenSet = true; m_keyValue.assign(value); }
81 inline UpdateDetectorRequest& WithKeyValue(const Aws::String& value) { SetKeyValue(value); return *this;}
82 inline UpdateDetectorRequest& WithKeyValue(Aws::String&& value) { SetKeyValue(std::move(value)); return *this;}
83 inline UpdateDetectorRequest& WithKeyValue(const char* value) { SetKeyValue(value); return *this;}
85
87
91 inline const DetectorStateDefinition& GetState() const{ return m_state; }
92 inline bool StateHasBeenSet() const { return m_stateHasBeenSet; }
93 inline void SetState(const DetectorStateDefinition& value) { m_stateHasBeenSet = true; m_state = value; }
94 inline void SetState(DetectorStateDefinition&& value) { m_stateHasBeenSet = true; m_state = std::move(value); }
95 inline UpdateDetectorRequest& WithState(const DetectorStateDefinition& value) { SetState(value); return *this;}
96 inline UpdateDetectorRequest& WithState(DetectorStateDefinition&& value) { SetState(std::move(value)); return *this;}
98 private:
99
100 Aws::String m_messageId;
101 bool m_messageIdHasBeenSet = false;
102
103 Aws::String m_detectorModelName;
104 bool m_detectorModelNameHasBeenSet = false;
105
106 Aws::String m_keyValue;
107 bool m_keyValueHasBeenSet = false;
108
110 bool m_stateHasBeenSet = false;
111 };
112
113} // namespace Model
114} // namespace IoTEventsData
115} // namespace Aws
AWS_IOTEVENTSDATA_API UpdateDetectorRequest & operator=(Aws::Utils::Json::JsonView jsonValue)
void SetState(DetectorStateDefinition &&value)
UpdateDetectorRequest & WithMessageId(Aws::String &&value)
void SetState(const DetectorStateDefinition &value)
UpdateDetectorRequest & WithState(const DetectorStateDefinition &value)
UpdateDetectorRequest & WithDetectorModelName(Aws::String &&value)
AWS_IOTEVENTSDATA_API UpdateDetectorRequest(Aws::Utils::Json::JsonView jsonValue)
const DetectorStateDefinition & GetState() const
UpdateDetectorRequest & WithKeyValue(const Aws::String &value)
UpdateDetectorRequest & WithMessageId(const char *value)
UpdateDetectorRequest & WithDetectorModelName(const Aws::String &value)
UpdateDetectorRequest & WithDetectorModelName(const char *value)
UpdateDetectorRequest & WithKeyValue(const char *value)
UpdateDetectorRequest & WithMessageId(const Aws::String &value)
UpdateDetectorRequest & WithState(DetectorStateDefinition &&value)
AWS_IOTEVENTSDATA_API Aws::Utils::Json::JsonValue Jsonize() const
UpdateDetectorRequest & WithKeyValue(Aws::String &&value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue