/**
* Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
* SPDX-License-Identifier: Apache-2.0.
*/
#pragma once
#include Sends message data to an IoT Analytics channel.See Also:
AWS
* API Reference
(deprecated) The ARN of the IoT Analytics channel to which message data will * be sent.
*/ inline const Aws::String& GetChannelArn() const{ return m_channelArn; } /** *(deprecated) The ARN of the IoT Analytics channel to which message data will * be sent.
*/ inline bool ChannelArnHasBeenSet() const { return m_channelArnHasBeenSet; } /** *(deprecated) The ARN of the IoT Analytics channel to which message data will * be sent.
*/ inline void SetChannelArn(const Aws::String& value) { m_channelArnHasBeenSet = true; m_channelArn = value; } /** *(deprecated) The ARN of the IoT Analytics channel to which message data will * be sent.
*/ inline void SetChannelArn(Aws::String&& value) { m_channelArnHasBeenSet = true; m_channelArn = std::move(value); } /** *(deprecated) The ARN of the IoT Analytics channel to which message data will * be sent.
*/ inline void SetChannelArn(const char* value) { m_channelArnHasBeenSet = true; m_channelArn.assign(value); } /** *(deprecated) The ARN of the IoT Analytics channel to which message data will * be sent.
*/ inline IotAnalyticsAction& WithChannelArn(const Aws::String& value) { SetChannelArn(value); return *this;} /** *(deprecated) The ARN of the IoT Analytics channel to which message data will * be sent.
*/ inline IotAnalyticsAction& WithChannelArn(Aws::String&& value) { SetChannelArn(std::move(value)); return *this;} /** *(deprecated) The ARN of the IoT Analytics channel to which message data will * be sent.
*/ inline IotAnalyticsAction& WithChannelArn(const char* value) { SetChannelArn(value); return *this;} /** *The name of the IoT Analytics channel to which message data will be sent.
*/ inline const Aws::String& GetChannelName() const{ return m_channelName; } /** *The name of the IoT Analytics channel to which message data will be sent.
*/ inline bool ChannelNameHasBeenSet() const { return m_channelNameHasBeenSet; } /** *The name of the IoT Analytics channel to which message data will be sent.
*/ inline void SetChannelName(const Aws::String& value) { m_channelNameHasBeenSet = true; m_channelName = value; } /** *The name of the IoT Analytics channel to which message data will be sent.
*/ inline void SetChannelName(Aws::String&& value) { m_channelNameHasBeenSet = true; m_channelName = std::move(value); } /** *The name of the IoT Analytics channel to which message data will be sent.
*/ inline void SetChannelName(const char* value) { m_channelNameHasBeenSet = true; m_channelName.assign(value); } /** *The name of the IoT Analytics channel to which message data will be sent.
*/ inline IotAnalyticsAction& WithChannelName(const Aws::String& value) { SetChannelName(value); return *this;} /** *The name of the IoT Analytics channel to which message data will be sent.
*/ inline IotAnalyticsAction& WithChannelName(Aws::String&& value) { SetChannelName(std::move(value)); return *this;} /** *The name of the IoT Analytics channel to which message data will be sent.
*/ inline IotAnalyticsAction& WithChannelName(const char* value) { SetChannelName(value); return *this;} /** *Whether to process the action as a batch. The default value is
* false
.
When batchMode
is true
and
* the rule SQL statement evaluates to an Array, each Array element is delivered as
* a separate message when passed by
* BatchPutMessage
to the IoT Analytics channel. The resulting
* array can't have more than 100 messages.
Whether to process the action as a batch. The default value is
* false
.
When batchMode
is true
and
* the rule SQL statement evaluates to an Array, each Array element is delivered as
* a separate message when passed by
* BatchPutMessage
to the IoT Analytics channel. The resulting
* array can't have more than 100 messages.
Whether to process the action as a batch. The default value is
* false
.
When batchMode
is true
and
* the rule SQL statement evaluates to an Array, each Array element is delivered as
* a separate message when passed by
* BatchPutMessage
to the IoT Analytics channel. The resulting
* array can't have more than 100 messages.
Whether to process the action as a batch. The default value is
* false
.
When batchMode
is true
and
* the rule SQL statement evaluates to an Array, each Array element is delivered as
* a separate message when passed by
* BatchPutMessage
to the IoT Analytics channel. The resulting
* array can't have more than 100 messages.
The ARN of the role which has a policy that grants IoT Analytics permission * to send message data via IoT Analytics (iotanalytics:BatchPutMessage).
*/ inline const Aws::String& GetRoleArn() const{ return m_roleArn; } /** *The ARN of the role which has a policy that grants IoT Analytics permission * to send message data via IoT Analytics (iotanalytics:BatchPutMessage).
*/ inline bool RoleArnHasBeenSet() const { return m_roleArnHasBeenSet; } /** *The ARN of the role which has a policy that grants IoT Analytics permission * to send message data via IoT Analytics (iotanalytics:BatchPutMessage).
*/ inline void SetRoleArn(const Aws::String& value) { m_roleArnHasBeenSet = true; m_roleArn = value; } /** *The ARN of the role which has a policy that grants IoT Analytics permission * to send message data via IoT Analytics (iotanalytics:BatchPutMessage).
*/ inline void SetRoleArn(Aws::String&& value) { m_roleArnHasBeenSet = true; m_roleArn = std::move(value); } /** *The ARN of the role which has a policy that grants IoT Analytics permission * to send message data via IoT Analytics (iotanalytics:BatchPutMessage).
*/ inline void SetRoleArn(const char* value) { m_roleArnHasBeenSet = true; m_roleArn.assign(value); } /** *The ARN of the role which has a policy that grants IoT Analytics permission * to send message data via IoT Analytics (iotanalytics:BatchPutMessage).
*/ inline IotAnalyticsAction& WithRoleArn(const Aws::String& value) { SetRoleArn(value); return *this;} /** *The ARN of the role which has a policy that grants IoT Analytics permission * to send message data via IoT Analytics (iotanalytics:BatchPutMessage).
*/ inline IotAnalyticsAction& WithRoleArn(Aws::String&& value) { SetRoleArn(std::move(value)); return *this;} /** *The ARN of the role which has a policy that grants IoT Analytics permission * to send message data via IoT Analytics (iotanalytics:BatchPutMessage).
*/ inline IotAnalyticsAction& WithRoleArn(const char* value) { SetRoleArn(value); return *this;} private: Aws::String m_channelArn; bool m_channelArnHasBeenSet = false; Aws::String m_channelName; bool m_channelNameHasBeenSet = false; bool m_batchMode; bool m_batchModeHasBeenSet = false; Aws::String m_roleArn; bool m_roleArnHasBeenSet = false; }; } // namespace Model } // namespace IoT } // namespace Aws