AWS SDK for C++

AWS SDK for C++ Version 1.11.606

Loading...
Searching...
No Matches
IotEventsAction.h
1
6#pragma once
7#include <aws/iot/IoT_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 IoT
22{
23namespace Model
24{
25
32 {
33 public:
34 AWS_IOT_API IotEventsAction() = default;
38
39
41
44 inline const Aws::String& GetInputName() const { return m_inputName; }
45 inline bool InputNameHasBeenSet() const { return m_inputNameHasBeenSet; }
46 template<typename InputNameT = Aws::String>
47 void SetInputName(InputNameT&& value) { m_inputNameHasBeenSet = true; m_inputName = std::forward<InputNameT>(value); }
48 template<typename InputNameT = Aws::String>
49 IotEventsAction& WithInputName(InputNameT&& value) { SetInputName(std::forward<InputNameT>(value)); return *this;}
51
53
60 inline const Aws::String& GetMessageId() const { return m_messageId; }
61 inline bool MessageIdHasBeenSet() const { return m_messageIdHasBeenSet; }
62 template<typename MessageIdT = Aws::String>
63 void SetMessageId(MessageIdT&& value) { m_messageIdHasBeenSet = true; m_messageId = std::forward<MessageIdT>(value); }
64 template<typename MessageIdT = Aws::String>
65 IotEventsAction& WithMessageId(MessageIdT&& value) { SetMessageId(std::forward<MessageIdT>(value)); return *this;}
67
69
80 inline bool GetBatchMode() const { return m_batchMode; }
81 inline bool BatchModeHasBeenSet() const { return m_batchModeHasBeenSet; }
82 inline void SetBatchMode(bool value) { m_batchModeHasBeenSet = true; m_batchMode = value; }
83 inline IotEventsAction& WithBatchMode(bool value) { SetBatchMode(value); return *this;}
85
87
91 inline const Aws::String& GetRoleArn() const { return m_roleArn; }
92 inline bool RoleArnHasBeenSet() const { return m_roleArnHasBeenSet; }
93 template<typename RoleArnT = Aws::String>
94 void SetRoleArn(RoleArnT&& value) { m_roleArnHasBeenSet = true; m_roleArn = std::forward<RoleArnT>(value); }
95 template<typename RoleArnT = Aws::String>
96 IotEventsAction& WithRoleArn(RoleArnT&& value) { SetRoleArn(std::forward<RoleArnT>(value)); return *this;}
98 private:
99
100 Aws::String m_inputName;
101 bool m_inputNameHasBeenSet = false;
102
103 Aws::String m_messageId;
104 bool m_messageIdHasBeenSet = false;
105
106 bool m_batchMode{false};
107 bool m_batchModeHasBeenSet = false;
108
109 Aws::String m_roleArn;
110 bool m_roleArnHasBeenSet = false;
111 };
112
113} // namespace Model
114} // namespace IoT
115} // namespace Aws
void SetRoleArn(RoleArnT &&value)
IotEventsAction & WithBatchMode(bool value)
AWS_IOT_API IotEventsAction(Aws::Utils::Json::JsonView jsonValue)
void SetInputName(InputNameT &&value)
AWS_IOT_API IotEventsAction & operator=(Aws::Utils::Json::JsonView jsonValue)
IotEventsAction & WithMessageId(MessageIdT &&value)
IotEventsAction & WithRoleArn(RoleArnT &&value)
AWS_IOT_API IotEventsAction()=default
const Aws::String & GetRoleArn() const
AWS_IOT_API Aws::Utils::Json::JsonValue Jsonize() const
const Aws::String & GetMessageId() const
IotEventsAction & WithInputName(InputNameT &&value)
void SetMessageId(MessageIdT &&value)
const Aws::String & GetInputName() const
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue