This repository has been archived on 2025-09-14. You can view files and clone it, but cannot push or open issues or pull requests.
Files
pxz-hos-client-cpp-module/support/aws-sdk-cpp-master/aws-cpp-sdk-iot/include/aws/iot/model/IotAnalyticsAction.h

194 lines
6.8 KiB
C++

/**
* Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
* SPDX-License-Identifier: Apache-2.0.
*/
#pragma once
#include <aws/iot/IoT_EXPORTS.h>
#include <aws/core/utils/memory/stl/AWSString.h>
#include <utility>
namespace Aws
{
namespace Utils
{
namespace Json
{
class JsonValue;
class JsonView;
} // namespace Json
} // namespace Utils
namespace IoT
{
namespace Model
{
/**
* <p>Sends message data to an AWS IoT Analytics channel.</p><p><h3>See Also:</h3>
* <a
* href="http://docs.aws.amazon.com/goto/WebAPI/iot-2015-05-28/IotAnalyticsAction">AWS
* API Reference</a></p>
*/
class AWS_IOT_API IotAnalyticsAction
{
public:
IotAnalyticsAction();
IotAnalyticsAction(Aws::Utils::Json::JsonView jsonValue);
IotAnalyticsAction& operator=(Aws::Utils::Json::JsonView jsonValue);
Aws::Utils::Json::JsonValue Jsonize() const;
/**
* <p>(deprecated) The ARN of the IoT Analytics channel to which message data will
* be sent.</p>
*/
inline const Aws::String& GetChannelArn() const{ return m_channelArn; }
/**
* <p>(deprecated) The ARN of the IoT Analytics channel to which message data will
* be sent.</p>
*/
inline bool ChannelArnHasBeenSet() const { return m_channelArnHasBeenSet; }
/**
* <p>(deprecated) The ARN of the IoT Analytics channel to which message data will
* be sent.</p>
*/
inline void SetChannelArn(const Aws::String& value) { m_channelArnHasBeenSet = true; m_channelArn = value; }
/**
* <p>(deprecated) The ARN of the IoT Analytics channel to which message data will
* be sent.</p>
*/
inline void SetChannelArn(Aws::String&& value) { m_channelArnHasBeenSet = true; m_channelArn = std::move(value); }
/**
* <p>(deprecated) The ARN of the IoT Analytics channel to which message data will
* be sent.</p>
*/
inline void SetChannelArn(const char* value) { m_channelArnHasBeenSet = true; m_channelArn.assign(value); }
/**
* <p>(deprecated) The ARN of the IoT Analytics channel to which message data will
* be sent.</p>
*/
inline IotAnalyticsAction& WithChannelArn(const Aws::String& value) { SetChannelArn(value); return *this;}
/**
* <p>(deprecated) The ARN of the IoT Analytics channel to which message data will
* be sent.</p>
*/
inline IotAnalyticsAction& WithChannelArn(Aws::String&& value) { SetChannelArn(std::move(value)); return *this;}
/**
* <p>(deprecated) The ARN of the IoT Analytics channel to which message data will
* be sent.</p>
*/
inline IotAnalyticsAction& WithChannelArn(const char* value) { SetChannelArn(value); return *this;}
/**
* <p>The name of the IoT Analytics channel to which message data will be sent.</p>
*/
inline const Aws::String& GetChannelName() const{ return m_channelName; }
/**
* <p>The name of the IoT Analytics channel to which message data will be sent.</p>
*/
inline bool ChannelNameHasBeenSet() const { return m_channelNameHasBeenSet; }
/**
* <p>The name of the IoT Analytics channel to which message data will be sent.</p>
*/
inline void SetChannelName(const Aws::String& value) { m_channelNameHasBeenSet = true; m_channelName = value; }
/**
* <p>The name of the IoT Analytics channel to which message data will be sent.</p>
*/
inline void SetChannelName(Aws::String&& value) { m_channelNameHasBeenSet = true; m_channelName = std::move(value); }
/**
* <p>The name of the IoT Analytics channel to which message data will be sent.</p>
*/
inline void SetChannelName(const char* value) { m_channelNameHasBeenSet = true; m_channelName.assign(value); }
/**
* <p>The name of the IoT Analytics channel to which message data will be sent.</p>
*/
inline IotAnalyticsAction& WithChannelName(const Aws::String& value) { SetChannelName(value); return *this;}
/**
* <p>The name of the IoT Analytics channel to which message data will be sent.</p>
*/
inline IotAnalyticsAction& WithChannelName(Aws::String&& value) { SetChannelName(std::move(value)); return *this;}
/**
* <p>The name of the IoT Analytics channel to which message data will be sent.</p>
*/
inline IotAnalyticsAction& WithChannelName(const char* value) { SetChannelName(value); return *this;}
/**
* <p>The ARN of the role which has a policy that grants IoT Analytics permission
* to send message data via IoT Analytics (iotanalytics:BatchPutMessage).</p>
*/
inline const Aws::String& GetRoleArn() const{ return m_roleArn; }
/**
* <p>The ARN of the role which has a policy that grants IoT Analytics permission
* to send message data via IoT Analytics (iotanalytics:BatchPutMessage).</p>
*/
inline bool RoleArnHasBeenSet() const { return m_roleArnHasBeenSet; }
/**
* <p>The ARN of the role which has a policy that grants IoT Analytics permission
* to send message data via IoT Analytics (iotanalytics:BatchPutMessage).</p>
*/
inline void SetRoleArn(const Aws::String& value) { m_roleArnHasBeenSet = true; m_roleArn = value; }
/**
* <p>The ARN of the role which has a policy that grants IoT Analytics permission
* to send message data via IoT Analytics (iotanalytics:BatchPutMessage).</p>
*/
inline void SetRoleArn(Aws::String&& value) { m_roleArnHasBeenSet = true; m_roleArn = std::move(value); }
/**
* <p>The ARN of the role which has a policy that grants IoT Analytics permission
* to send message data via IoT Analytics (iotanalytics:BatchPutMessage).</p>
*/
inline void SetRoleArn(const char* value) { m_roleArnHasBeenSet = true; m_roleArn.assign(value); }
/**
* <p>The ARN of the role which has a policy that grants IoT Analytics permission
* to send message data via IoT Analytics (iotanalytics:BatchPutMessage).</p>
*/
inline IotAnalyticsAction& WithRoleArn(const Aws::String& value) { SetRoleArn(value); return *this;}
/**
* <p>The ARN of the role which has a policy that grants IoT Analytics permission
* to send message data via IoT Analytics (iotanalytics:BatchPutMessage).</p>
*/
inline IotAnalyticsAction& WithRoleArn(Aws::String&& value) { SetRoleArn(std::move(value)); return *this;}
/**
* <p>The ARN of the role which has a policy that grants IoT Analytics permission
* to send message data via IoT Analytics (iotanalytics:BatchPutMessage).</p>
*/
inline IotAnalyticsAction& WithRoleArn(const char* value) { SetRoleArn(value); return *this;}
private:
Aws::String m_channelArn;
bool m_channelArnHasBeenSet;
Aws::String m_channelName;
bool m_channelNameHasBeenSet;
Aws::String m_roleArn;
bool m_roleArnHasBeenSet;
};
} // namespace Model
} // namespace IoT
} // namespace Aws