AWS SDK for C++  1.9.123
AWS SDK for C++
IotEventsAction.h
Go to the documentation of this file.
1 
6 #pragma once
7 #include <aws/iot/IoT_EXPORTS.h>
9 #include <utility>
10 
11 namespace Aws
12 {
13 namespace Utils
14 {
15 namespace Json
16 {
17  class JsonValue;
18  class JsonView;
19 } // namespace Json
20 } // namespace Utils
21 namespace IoT
22 {
23 namespace Model
24 {
25 
32  {
33  public:
38 
39 
43  inline const Aws::String& GetInputName() const{ return m_inputName; }
44 
48  inline bool InputNameHasBeenSet() const { return m_inputNameHasBeenSet; }
49 
53  inline void SetInputName(const Aws::String& value) { m_inputNameHasBeenSet = true; m_inputName = value; }
54 
58  inline void SetInputName(Aws::String&& value) { m_inputNameHasBeenSet = true; m_inputName = std::move(value); }
59 
63  inline void SetInputName(const char* value) { m_inputNameHasBeenSet = true; m_inputName.assign(value); }
64 
68  inline IotEventsAction& WithInputName(const Aws::String& value) { SetInputName(value); return *this;}
69 
73  inline IotEventsAction& WithInputName(Aws::String&& value) { SetInputName(std::move(value)); return *this;}
74 
78  inline IotEventsAction& WithInputName(const char* value) { SetInputName(value); return *this;}
79 
80 
88  inline const Aws::String& GetMessageId() const{ return m_messageId; }
89 
97  inline bool MessageIdHasBeenSet() const { return m_messageIdHasBeenSet; }
98 
106  inline void SetMessageId(const Aws::String& value) { m_messageIdHasBeenSet = true; m_messageId = value; }
107 
115  inline void SetMessageId(Aws::String&& value) { m_messageIdHasBeenSet = true; m_messageId = std::move(value); }
116 
124  inline void SetMessageId(const char* value) { m_messageIdHasBeenSet = true; m_messageId.assign(value); }
125 
133  inline IotEventsAction& WithMessageId(const Aws::String& value) { SetMessageId(value); return *this;}
134 
142  inline IotEventsAction& WithMessageId(Aws::String&& value) { SetMessageId(std::move(value)); return *this;}
143 
151  inline IotEventsAction& WithMessageId(const char* value) { SetMessageId(value); return *this;}
152 
153 
165  inline bool GetBatchMode() const{ return m_batchMode; }
166 
178  inline bool BatchModeHasBeenSet() const { return m_batchModeHasBeenSet; }
179 
191  inline void SetBatchMode(bool value) { m_batchModeHasBeenSet = true; m_batchMode = value; }
192 
204  inline IotEventsAction& WithBatchMode(bool value) { SetBatchMode(value); return *this;}
205 
206 
211  inline const Aws::String& GetRoleArn() const{ return m_roleArn; }
212 
217  inline bool RoleArnHasBeenSet() const { return m_roleArnHasBeenSet; }
218 
223  inline void SetRoleArn(const Aws::String& value) { m_roleArnHasBeenSet = true; m_roleArn = value; }
224 
229  inline void SetRoleArn(Aws::String&& value) { m_roleArnHasBeenSet = true; m_roleArn = std::move(value); }
230 
235  inline void SetRoleArn(const char* value) { m_roleArnHasBeenSet = true; m_roleArn.assign(value); }
236 
241  inline IotEventsAction& WithRoleArn(const Aws::String& value) { SetRoleArn(value); return *this;}
242 
247  inline IotEventsAction& WithRoleArn(Aws::String&& value) { SetRoleArn(std::move(value)); return *this;}
248 
253  inline IotEventsAction& WithRoleArn(const char* value) { SetRoleArn(value); return *this;}
254 
255  private:
256 
257  Aws::String m_inputName;
258  bool m_inputNameHasBeenSet;
259 
260  Aws::String m_messageId;
261  bool m_messageIdHasBeenSet;
262 
263  bool m_batchMode;
264  bool m_batchModeHasBeenSet;
265 
266  Aws::String m_roleArn;
267  bool m_roleArnHasBeenSet;
268  };
269 
270 } // namespace Model
271 } // namespace IoT
272 } // namespace Aws
Aws::IoT::Model::IotEventsAction::RoleArnHasBeenSet
bool RoleArnHasBeenSet() const
Definition: IotEventsAction.h:217
Aws::IoT::Model::IotEventsAction::WithRoleArn
IotEventsAction & WithRoleArn(const Aws::String &value)
Definition: IotEventsAction.h:241
Aws::IoT::Model::IotEventsAction::MessageIdHasBeenSet
bool MessageIdHasBeenSet() const
Definition: IotEventsAction.h:97
Aws::IoT::Model::IotEventsAction
Definition: IotEventsAction.h:32
Aws::IoT::Model::IotEventsAction::GetRoleArn
const Aws::String & GetRoleArn() const
Definition: IotEventsAction.h:211
Aws::IoT::Model::IotEventsAction::SetInputName
void SetInputName(const char *value)
Definition: IotEventsAction.h:63
Aws::IoT::Model::IotEventsAction::GetBatchMode
bool GetBatchMode() const
Definition: IotEventsAction.h:165
Aws::IoT::Model::IotEventsAction::WithMessageId
IotEventsAction & WithMessageId(const char *value)
Definition: IotEventsAction.h:151
Aws::IoT::Model::IotEventsAction::GetInputName
const Aws::String & GetInputName() const
Definition: IotEventsAction.h:43
Aws::IoT::Model::IotEventsAction::IotEventsAction
IotEventsAction(Aws::Utils::Json::JsonView jsonValue)
Aws::IoT::Model::IotEventsAction::SetRoleArn
void SetRoleArn(const Aws::String &value)
Definition: IotEventsAction.h:223
Aws::IoT::Model::IotEventsAction::SetMessageId
void SetMessageId(Aws::String &&value)
Definition: IotEventsAction.h:115
Aws::IoT::Model::IotEventsAction::SetInputName
void SetInputName(Aws::String &&value)
Definition: IotEventsAction.h:58
Aws::IoT::Model::IotEventsAction::WithBatchMode
IotEventsAction & WithBatchMode(bool value)
Definition: IotEventsAction.h:204
Aws::IoT::Model::IotEventsAction::WithInputName
IotEventsAction & WithInputName(const Aws::String &value)
Definition: IotEventsAction.h:68
Aws::IoT::Model::IotEventsAction::WithMessageId
IotEventsAction & WithMessageId(const Aws::String &value)
Definition: IotEventsAction.h:133
Aws::IoT::Model::IotEventsAction::SetInputName
void SetInputName(const Aws::String &value)
Definition: IotEventsAction.h:53
Aws::IoT::Model::IotEventsAction::GetMessageId
const Aws::String & GetMessageId() const
Definition: IotEventsAction.h:88
Aws::IoT::Model::IotEventsAction::WithInputName
IotEventsAction & WithInputName(Aws::String &&value)
Definition: IotEventsAction.h:73
Aws::IoT::Model::IotEventsAction::BatchModeHasBeenSet
bool BatchModeHasBeenSet() const
Definition: IotEventsAction.h:178
Aws::Utils::Json::JsonView
Definition: JsonSerializer.h:235
AWSString.h
Aws::IoT::Model::IotEventsAction::SetMessageId
void SetMessageId(const char *value)
Definition: IotEventsAction.h:124
Aws::Utils::Json::JsonValue
Definition: JsonSerializer.h:33
Aws::IoT::Model::IotEventsAction::operator=
IotEventsAction & operator=(Aws::Utils::Json::JsonView jsonValue)
Aws::IoT::Model::IotEventsAction::SetMessageId
void SetMessageId(const Aws::String &value)
Definition: IotEventsAction.h:106
Aws::IoT::Model::IotEventsAction::InputNameHasBeenSet
bool InputNameHasBeenSet() const
Definition: IotEventsAction.h:48
Aws
Definition: AccessManagementClient.h:15
Aws::IoT::Model::IotEventsAction::SetRoleArn
void SetRoleArn(const char *value)
Definition: IotEventsAction.h:235
AWS_IOT_API
#define AWS_IOT_API
Definition: IoT_EXPORTS.h:28
Aws::IoT::Model::IotEventsAction::SetRoleArn
void SetRoleArn(Aws::String &&value)
Definition: IotEventsAction.h:229
Aws::String
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Definition: AWSString.h:97
Aws::IoT::Model::IotEventsAction::WithMessageId
IotEventsAction & WithMessageId(Aws::String &&value)
Definition: IotEventsAction.h:142
Aws::IoT::Model::IotEventsAction::SetBatchMode
void SetBatchMode(bool value)
Definition: IotEventsAction.h:191
Aws::IoT::Model::IotEventsAction::WithRoleArn
IotEventsAction & WithRoleArn(Aws::String &&value)
Definition: IotEventsAction.h:247
Aws::IoT::Model::IotEventsAction::Jsonize
Aws::Utils::Json::JsonValue Jsonize() const
Aws::IoT::Model::IotEventsAction::WithRoleArn
IotEventsAction & WithRoleArn(const char *value)
Definition: IotEventsAction.h:253
Aws::IoT::Model::IotEventsAction::IotEventsAction
IotEventsAction()
IoT_EXPORTS.h
Aws::IoT::Model::IotEventsAction::WithInputName
IotEventsAction & WithInputName(const char *value)
Definition: IotEventsAction.h:78