AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
IotAnalyticsAction.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 IotAnalyticsAction();
38
39
41
45 inline const Aws::String& GetChannelArn() const{ return m_channelArn; }
46 inline bool ChannelArnHasBeenSet() const { return m_channelArnHasBeenSet; }
47 inline void SetChannelArn(const Aws::String& value) { m_channelArnHasBeenSet = true; m_channelArn = value; }
48 inline void SetChannelArn(Aws::String&& value) { m_channelArnHasBeenSet = true; m_channelArn = std::move(value); }
49 inline void SetChannelArn(const char* value) { m_channelArnHasBeenSet = true; m_channelArn.assign(value); }
50 inline IotAnalyticsAction& WithChannelArn(const Aws::String& value) { SetChannelArn(value); return *this;}
51 inline IotAnalyticsAction& WithChannelArn(Aws::String&& value) { SetChannelArn(std::move(value)); return *this;}
52 inline IotAnalyticsAction& WithChannelArn(const char* value) { SetChannelArn(value); return *this;}
54
56
59 inline const Aws::String& GetChannelName() const{ return m_channelName; }
60 inline bool ChannelNameHasBeenSet() const { return m_channelNameHasBeenSet; }
61 inline void SetChannelName(const Aws::String& value) { m_channelNameHasBeenSet = true; m_channelName = value; }
62 inline void SetChannelName(Aws::String&& value) { m_channelNameHasBeenSet = true; m_channelName = std::move(value); }
63 inline void SetChannelName(const char* value) { m_channelNameHasBeenSet = true; m_channelName.assign(value); }
64 inline IotAnalyticsAction& WithChannelName(const Aws::String& value) { SetChannelName(value); return *this;}
65 inline IotAnalyticsAction& WithChannelName(Aws::String&& value) { SetChannelName(std::move(value)); return *this;}
66 inline IotAnalyticsAction& WithChannelName(const char* value) { SetChannelName(value); return *this;}
68
70
79 inline bool GetBatchMode() const{ return m_batchMode; }
80 inline bool BatchModeHasBeenSet() const { return m_batchModeHasBeenSet; }
81 inline void SetBatchMode(bool value) { m_batchModeHasBeenSet = true; m_batchMode = value; }
82 inline IotAnalyticsAction& WithBatchMode(bool value) { SetBatchMode(value); return *this;}
84
86
90 inline const Aws::String& GetRoleArn() const{ return m_roleArn; }
91 inline bool RoleArnHasBeenSet() const { return m_roleArnHasBeenSet; }
92 inline void SetRoleArn(const Aws::String& value) { m_roleArnHasBeenSet = true; m_roleArn = value; }
93 inline void SetRoleArn(Aws::String&& value) { m_roleArnHasBeenSet = true; m_roleArn = std::move(value); }
94 inline void SetRoleArn(const char* value) { m_roleArnHasBeenSet = true; m_roleArn.assign(value); }
95 inline IotAnalyticsAction& WithRoleArn(const Aws::String& value) { SetRoleArn(value); return *this;}
96 inline IotAnalyticsAction& WithRoleArn(Aws::String&& value) { SetRoleArn(std::move(value)); return *this;}
97 inline IotAnalyticsAction& WithRoleArn(const char* value) { SetRoleArn(value); return *this;}
99 private:
100
101 Aws::String m_channelArn;
102 bool m_channelArnHasBeenSet = false;
103
104 Aws::String m_channelName;
105 bool m_channelNameHasBeenSet = false;
106
107 bool m_batchMode;
108 bool m_batchModeHasBeenSet = false;
109
110 Aws::String m_roleArn;
111 bool m_roleArnHasBeenSet = false;
112 };
113
114} // namespace Model
115} // namespace IoT
116} // namespace Aws
IotAnalyticsAction & WithChannelArn(const Aws::String &value)
const Aws::String & GetRoleArn() const
void SetChannelArn(const Aws::String &value)
IotAnalyticsAction & WithChannelName(const Aws::String &value)
void SetChannelArn(Aws::String &&value)
AWS_IOT_API Aws::Utils::Json::JsonValue Jsonize() const
void SetChannelName(Aws::String &&value)
IotAnalyticsAction & WithRoleArn(const Aws::String &value)
void SetRoleArn(const Aws::String &value)
void SetChannelName(const Aws::String &value)
IotAnalyticsAction & WithChannelArn(const char *value)
IotAnalyticsAction & WithChannelName(Aws::String &&value)
AWS_IOT_API IotAnalyticsAction & operator=(Aws::Utils::Json::JsonView jsonValue)
IotAnalyticsAction & WithRoleArn(const char *value)
AWS_IOT_API IotAnalyticsAction(Aws::Utils::Json::JsonView jsonValue)
IotAnalyticsAction & WithChannelName(const char *value)
IotAnalyticsAction & WithChannelArn(Aws::String &&value)
IotAnalyticsAction & WithRoleArn(Aws::String &&value)
IotAnalyticsAction & WithBatchMode(bool value)
const Aws::String & GetChannelName() const
const Aws::String & GetChannelArn() const
void SetRoleArn(Aws::String &&value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue