AWS SDK for C++  1.9.132
AWS SDK for C++
IotAnalyticsAction.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 
44  inline const Aws::String& GetChannelArn() const{ return m_channelArn; }
45 
50  inline bool ChannelArnHasBeenSet() const { return m_channelArnHasBeenSet; }
51 
56  inline void SetChannelArn(const Aws::String& value) { m_channelArnHasBeenSet = true; m_channelArn = value; }
57 
62  inline void SetChannelArn(Aws::String&& value) { m_channelArnHasBeenSet = true; m_channelArn = std::move(value); }
63 
68  inline void SetChannelArn(const char* value) { m_channelArnHasBeenSet = true; m_channelArn.assign(value); }
69 
74  inline IotAnalyticsAction& WithChannelArn(const Aws::String& value) { SetChannelArn(value); return *this;}
75 
80  inline IotAnalyticsAction& WithChannelArn(Aws::String&& value) { SetChannelArn(std::move(value)); return *this;}
81 
86  inline IotAnalyticsAction& WithChannelArn(const char* value) { SetChannelArn(value); return *this;}
87 
88 
92  inline const Aws::String& GetChannelName() const{ return m_channelName; }
93 
97  inline bool ChannelNameHasBeenSet() const { return m_channelNameHasBeenSet; }
98 
102  inline void SetChannelName(const Aws::String& value) { m_channelNameHasBeenSet = true; m_channelName = value; }
103 
107  inline void SetChannelName(Aws::String&& value) { m_channelNameHasBeenSet = true; m_channelName = std::move(value); }
108 
112  inline void SetChannelName(const char* value) { m_channelNameHasBeenSet = true; m_channelName.assign(value); }
113 
117  inline IotAnalyticsAction& WithChannelName(const Aws::String& value) { SetChannelName(value); return *this;}
118 
122  inline IotAnalyticsAction& WithChannelName(Aws::String&& value) { SetChannelName(std::move(value)); return *this;}
123 
127  inline IotAnalyticsAction& WithChannelName(const char* value) { SetChannelName(value); return *this;}
128 
129 
139  inline bool GetBatchMode() const{ return m_batchMode; }
140 
150  inline bool BatchModeHasBeenSet() const { return m_batchModeHasBeenSet; }
151 
161  inline void SetBatchMode(bool value) { m_batchModeHasBeenSet = true; m_batchMode = value; }
162 
172  inline IotAnalyticsAction& WithBatchMode(bool value) { SetBatchMode(value); return *this;}
173 
174 
179  inline const Aws::String& GetRoleArn() const{ return m_roleArn; }
180 
185  inline bool RoleArnHasBeenSet() const { return m_roleArnHasBeenSet; }
186 
191  inline void SetRoleArn(const Aws::String& value) { m_roleArnHasBeenSet = true; m_roleArn = value; }
192 
197  inline void SetRoleArn(Aws::String&& value) { m_roleArnHasBeenSet = true; m_roleArn = std::move(value); }
198 
203  inline void SetRoleArn(const char* value) { m_roleArnHasBeenSet = true; m_roleArn.assign(value); }
204 
209  inline IotAnalyticsAction& WithRoleArn(const Aws::String& value) { SetRoleArn(value); return *this;}
210 
215  inline IotAnalyticsAction& WithRoleArn(Aws::String&& value) { SetRoleArn(std::move(value)); return *this;}
216 
221  inline IotAnalyticsAction& WithRoleArn(const char* value) { SetRoleArn(value); return *this;}
222 
223  private:
224 
225  Aws::String m_channelArn;
226  bool m_channelArnHasBeenSet;
227 
228  Aws::String m_channelName;
229  bool m_channelNameHasBeenSet;
230 
231  bool m_batchMode;
232  bool m_batchModeHasBeenSet;
233 
234  Aws::String m_roleArn;
235  bool m_roleArnHasBeenSet;
236  };
237 
238 } // namespace Model
239 } // namespace IoT
240 } // namespace Aws
Aws::IoT::Model::IotAnalyticsAction::SetChannelArn
void SetChannelArn(Aws::String &&value)
Definition: IotAnalyticsAction.h:62
Aws::IoT::Model::IotAnalyticsAction::WithBatchMode
IotAnalyticsAction & WithBatchMode(bool value)
Definition: IotAnalyticsAction.h:172
Aws::IoT::Model::IotAnalyticsAction::SetChannelName
void SetChannelName(const Aws::String &value)
Definition: IotAnalyticsAction.h:102
Aws::IoT::Model::IotAnalyticsAction::SetRoleArn
void SetRoleArn(const Aws::String &value)
Definition: IotAnalyticsAction.h:191
Aws::IoT::Model::IotAnalyticsAction::SetChannelName
void SetChannelName(const char *value)
Definition: IotAnalyticsAction.h:112
Aws::IoT::Model::IotAnalyticsAction::IotAnalyticsAction
IotAnalyticsAction()
Aws::IoT::Model::IotAnalyticsAction::SetBatchMode
void SetBatchMode(bool value)
Definition: IotAnalyticsAction.h:161
Aws::IoT::Model::IotAnalyticsAction
Definition: IotAnalyticsAction.h:32
Aws::IoT::Model::IotAnalyticsAction::WithChannelName
IotAnalyticsAction & WithChannelName(Aws::String &&value)
Definition: IotAnalyticsAction.h:122
Aws::IoT::Model::IotAnalyticsAction::WithChannelName
IotAnalyticsAction & WithChannelName(const Aws::String &value)
Definition: IotAnalyticsAction.h:117
Aws::IoT::Model::IotAnalyticsAction::WithChannelName
IotAnalyticsAction & WithChannelName(const char *value)
Definition: IotAnalyticsAction.h:127
Aws::IoT::Model::IotAnalyticsAction::operator=
IotAnalyticsAction & operator=(Aws::Utils::Json::JsonView jsonValue)
Aws::IoT::Model::IotAnalyticsAction::SetChannelArn
void SetChannelArn(const Aws::String &value)
Definition: IotAnalyticsAction.h:56
Aws::IoT::Model::IotAnalyticsAction::GetChannelName
const Aws::String & GetChannelName() const
Definition: IotAnalyticsAction.h:92
Aws::IoT::Model::IotAnalyticsAction::WithRoleArn
IotAnalyticsAction & WithRoleArn(const Aws::String &value)
Definition: IotAnalyticsAction.h:209
Aws::IoT::Model::IotAnalyticsAction::SetRoleArn
void SetRoleArn(Aws::String &&value)
Definition: IotAnalyticsAction.h:197
Aws::IoT::Model::IotAnalyticsAction::RoleArnHasBeenSet
bool RoleArnHasBeenSet() const
Definition: IotAnalyticsAction.h:185
Aws::IoT::Model::IotAnalyticsAction::WithRoleArn
IotAnalyticsAction & WithRoleArn(Aws::String &&value)
Definition: IotAnalyticsAction.h:215
Aws::IoT::Model::IotAnalyticsAction::WithChannelArn
IotAnalyticsAction & WithChannelArn(const char *value)
Definition: IotAnalyticsAction.h:86
Aws::IoT::Model::IotAnalyticsAction::WithRoleArn
IotAnalyticsAction & WithRoleArn(const char *value)
Definition: IotAnalyticsAction.h:221
Aws::IoT::Model::IotAnalyticsAction::SetChannelName
void SetChannelName(Aws::String &&value)
Definition: IotAnalyticsAction.h:107
Aws::Utils::Json::JsonView
Definition: JsonSerializer.h:235
Aws::IoT::Model::IotAnalyticsAction::SetChannelArn
void SetChannelArn(const char *value)
Definition: IotAnalyticsAction.h:68
AWSString.h
Aws::Utils::Json::JsonValue
Definition: JsonSerializer.h:33
Aws::IoT::Model::IotAnalyticsAction::GetRoleArn
const Aws::String & GetRoleArn() const
Definition: IotAnalyticsAction.h:179
Aws::IoT::Model::IotAnalyticsAction::GetChannelArn
const Aws::String & GetChannelArn() const
Definition: IotAnalyticsAction.h:44
Aws::IoT::Model::IotAnalyticsAction::WithChannelArn
IotAnalyticsAction & WithChannelArn(Aws::String &&value)
Definition: IotAnalyticsAction.h:80
Aws
Definition: AccessManagementClient.h:15
Aws::IoT::Model::IotAnalyticsAction::Jsonize
Aws::Utils::Json::JsonValue Jsonize() const
AWS_IOT_API
#define AWS_IOT_API
Definition: IoT_EXPORTS.h:28
Aws::String
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Definition: AWSString.h:97
Aws::IoT::Model::IotAnalyticsAction::GetBatchMode
bool GetBatchMode() const
Definition: IotAnalyticsAction.h:139
Aws::IoT::Model::IotAnalyticsAction::WithChannelArn
IotAnalyticsAction & WithChannelArn(const Aws::String &value)
Definition: IotAnalyticsAction.h:74
Aws::IoT::Model::IotAnalyticsAction::BatchModeHasBeenSet
bool BatchModeHasBeenSet() const
Definition: IotAnalyticsAction.h:150
Aws::IoT::Model::IotAnalyticsAction::ChannelNameHasBeenSet
bool ChannelNameHasBeenSet() const
Definition: IotAnalyticsAction.h:97
Aws::IoT::Model::IotAnalyticsAction::IotAnalyticsAction
IotAnalyticsAction(Aws::Utils::Json::JsonView jsonValue)
Aws::IoT::Model::IotAnalyticsAction::SetRoleArn
void SetRoleArn(const char *value)
Definition: IotAnalyticsAction.h:203
Aws::IoT::Model::IotAnalyticsAction::ChannelArnHasBeenSet
bool ChannelArnHasBeenSet() const
Definition: IotAnalyticsAction.h:50
IoT_EXPORTS.h