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/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();
38
39
41
44 inline const Aws::String& GetInputName() const{ return m_inputName; }
45 inline bool InputNameHasBeenSet() const { return m_inputNameHasBeenSet; }
46 inline void SetInputName(const Aws::String& value) { m_inputNameHasBeenSet = true; m_inputName = value; }
47 inline void SetInputName(Aws::String&& value) { m_inputNameHasBeenSet = true; m_inputName = std::move(value); }
48 inline void SetInputName(const char* value) { m_inputNameHasBeenSet = true; m_inputName.assign(value); }
49 inline IotEventsAction& WithInputName(const Aws::String& value) { SetInputName(value); return *this;}
50 inline IotEventsAction& WithInputName(Aws::String&& value) { SetInputName(std::move(value)); return *this;}
51 inline IotEventsAction& WithInputName(const char* value) { SetInputName(value); return *this;}
53
55
62 inline const Aws::String& GetMessageId() const{ return m_messageId; }
63 inline bool MessageIdHasBeenSet() const { return m_messageIdHasBeenSet; }
64 inline void SetMessageId(const Aws::String& value) { m_messageIdHasBeenSet = true; m_messageId = value; }
65 inline void SetMessageId(Aws::String&& value) { m_messageIdHasBeenSet = true; m_messageId = std::move(value); }
66 inline void SetMessageId(const char* value) { m_messageIdHasBeenSet = true; m_messageId.assign(value); }
67 inline IotEventsAction& WithMessageId(const Aws::String& value) { SetMessageId(value); return *this;}
68 inline IotEventsAction& WithMessageId(Aws::String&& value) { SetMessageId(std::move(value)); return *this;}
69 inline IotEventsAction& WithMessageId(const char* value) { SetMessageId(value); return *this;}
71
73
84 inline bool GetBatchMode() const{ return m_batchMode; }
85 inline bool BatchModeHasBeenSet() const { return m_batchModeHasBeenSet; }
86 inline void SetBatchMode(bool value) { m_batchModeHasBeenSet = true; m_batchMode = value; }
87 inline IotEventsAction& WithBatchMode(bool value) { SetBatchMode(value); return *this;}
89
91
95 inline const Aws::String& GetRoleArn() const{ return m_roleArn; }
96 inline bool RoleArnHasBeenSet() const { return m_roleArnHasBeenSet; }
97 inline void SetRoleArn(const Aws::String& value) { m_roleArnHasBeenSet = true; m_roleArn = value; }
98 inline void SetRoleArn(Aws::String&& value) { m_roleArnHasBeenSet = true; m_roleArn = std::move(value); }
99 inline void SetRoleArn(const char* value) { m_roleArnHasBeenSet = true; m_roleArn.assign(value); }
100 inline IotEventsAction& WithRoleArn(const Aws::String& value) { SetRoleArn(value); return *this;}
101 inline IotEventsAction& WithRoleArn(Aws::String&& value) { SetRoleArn(std::move(value)); return *this;}
102 inline IotEventsAction& WithRoleArn(const char* value) { SetRoleArn(value); return *this;}
104 private:
105
106 Aws::String m_inputName;
107 bool m_inputNameHasBeenSet = false;
108
109 Aws::String m_messageId;
110 bool m_messageIdHasBeenSet = false;
111
112 bool m_batchMode;
113 bool m_batchModeHasBeenSet = false;
114
115 Aws::String m_roleArn;
116 bool m_roleArnHasBeenSet = false;
117 };
118
119} // namespace Model
120} // namespace IoT
121} // namespace Aws
void SetMessageId(const Aws::String &value)
IotEventsAction & WithBatchMode(bool value)
void SetInputName(const Aws::String &value)
void SetMessageId(Aws::String &&value)
IotEventsAction & WithRoleArn(const char *value)
IotEventsAction & WithInputName(Aws::String &&value)
AWS_IOT_API IotEventsAction(Aws::Utils::Json::JsonView jsonValue)
void SetRoleArn(const Aws::String &value)
void SetRoleArn(const char *value)
void SetMessageId(const char *value)
AWS_IOT_API IotEventsAction & operator=(Aws::Utils::Json::JsonView jsonValue)
void SetRoleArn(Aws::String &&value)
const Aws::String & GetRoleArn() const
void SetInputName(const char *value)
IotEventsAction & WithMessageId(Aws::String &&value)
IotEventsAction & WithRoleArn(Aws::String &&value)
IotEventsAction & WithInputName(const char *value)
IotEventsAction & WithInputName(const Aws::String &value)
AWS_IOT_API Aws::Utils::Json::JsonValue Jsonize() const
const Aws::String & GetMessageId() const
const Aws::String & GetInputName() const
IotEventsAction & WithMessageId(const char *value)
IotEventsAction & WithRoleArn(const Aws::String &value)
IotEventsAction & WithMessageId(const Aws::String &value)
void SetInputName(Aws::String &&value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue