AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
IotEventsAction.h
1
6#pragma once
7#include <aws/iotevents/IoTEvents_EXPORTS.h>
8#include <aws/core/utils/memory/stl/AWSString.h>
9#include <aws/iotevents/model/Payload.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 IoTEvents
23{
24namespace Model
25{
26
35 {
36 public:
37 AWS_IOTEVENTS_API IotEventsAction();
38 AWS_IOTEVENTS_API IotEventsAction(Aws::Utils::Json::JsonView jsonValue);
40 AWS_IOTEVENTS_API Aws::Utils::Json::JsonValue Jsonize() const;
41
42
44
47 inline const Aws::String& GetInputName() const{ return m_inputName; }
48 inline bool InputNameHasBeenSet() const { return m_inputNameHasBeenSet; }
49 inline void SetInputName(const Aws::String& value) { m_inputNameHasBeenSet = true; m_inputName = value; }
50 inline void SetInputName(Aws::String&& value) { m_inputNameHasBeenSet = true; m_inputName = std::move(value); }
51 inline void SetInputName(const char* value) { m_inputNameHasBeenSet = true; m_inputName.assign(value); }
52 inline IotEventsAction& WithInputName(const Aws::String& value) { SetInputName(value); return *this;}
53 inline IotEventsAction& WithInputName(Aws::String&& value) { SetInputName(std::move(value)); return *this;}
54 inline IotEventsAction& WithInputName(const char* value) { SetInputName(value); return *this;}
56
58
62 inline const Payload& GetPayload() const{ return m_payload; }
63 inline bool PayloadHasBeenSet() const { return m_payloadHasBeenSet; }
64 inline void SetPayload(const Payload& value) { m_payloadHasBeenSet = true; m_payload = value; }
65 inline void SetPayload(Payload&& value) { m_payloadHasBeenSet = true; m_payload = std::move(value); }
66 inline IotEventsAction& WithPayload(const Payload& value) { SetPayload(value); return *this;}
67 inline IotEventsAction& WithPayload(Payload&& value) { SetPayload(std::move(value)); return *this;}
69 private:
70
71 Aws::String m_inputName;
72 bool m_inputNameHasBeenSet = false;
73
74 Payload m_payload;
75 bool m_payloadHasBeenSet = false;
76 };
77
78} // namespace Model
79} // namespace IoTEvents
80} // namespace Aws
IotEventsAction & WithInputName(Aws::String &&value)
const Aws::String & GetInputName() const
void SetInputName(const Aws::String &value)
IotEventsAction & WithInputName(const Aws::String &value)
void SetPayload(const Payload &value)
AWS_IOTEVENTS_API IotEventsAction(Aws::Utils::Json::JsonView jsonValue)
AWS_IOTEVENTS_API Aws::Utils::Json::JsonValue Jsonize() const
void SetInputName(Aws::String &&value)
IotEventsAction & WithInputName(const char *value)
AWS_IOTEVENTS_API IotEventsAction & operator=(Aws::Utils::Json::JsonView jsonValue)
IotEventsAction & WithPayload(const Payload &value)
IotEventsAction & WithPayload(Payload &&value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue