/**
* Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
* SPDX-License-Identifier: Apache-2.0.
*/
#pragma once
#include Sends an AWS IoT Events input, passing in information about the detector
* model instance and the event that triggered the action.See Also:
* AWS
* API Reference
The name of the AWS IoT Events input where the data is sent.
*/ inline const Aws::String& GetInputName() const{ return m_inputName; } /** *The name of the AWS IoT Events input where the data is sent.
*/ inline bool InputNameHasBeenSet() const { return m_inputNameHasBeenSet; } /** *The name of the AWS IoT Events input where the data is sent.
*/ inline void SetInputName(const Aws::String& value) { m_inputNameHasBeenSet = true; m_inputName = value; } /** *The name of the AWS IoT Events input where the data is sent.
*/ inline void SetInputName(Aws::String&& value) { m_inputNameHasBeenSet = true; m_inputName = std::move(value); } /** *The name of the AWS IoT Events input where the data is sent.
*/ inline void SetInputName(const char* value) { m_inputNameHasBeenSet = true; m_inputName.assign(value); } /** *The name of the AWS IoT Events input where the data is sent.
*/ inline IotEventsAction& WithInputName(const Aws::String& value) { SetInputName(value); return *this;} /** *The name of the AWS IoT Events input where the data is sent.
*/ inline IotEventsAction& WithInputName(Aws::String&& value) { SetInputName(std::move(value)); return *this;} /** *The name of the AWS IoT Events input where the data is sent.
*/ inline IotEventsAction& WithInputName(const char* value) { SetInputName(value); return *this;} /** *You can configure the action payload when you send a message to an AWS IoT * Events input.
*/ inline const Payload& GetPayload() const{ return m_payload; } /** *You can configure the action payload when you send a message to an AWS IoT * Events input.
*/ inline bool PayloadHasBeenSet() const { return m_payloadHasBeenSet; } /** *You can configure the action payload when you send a message to an AWS IoT * Events input.
*/ inline void SetPayload(const Payload& value) { m_payloadHasBeenSet = true; m_payload = value; } /** *You can configure the action payload when you send a message to an AWS IoT * Events input.
*/ inline void SetPayload(Payload&& value) { m_payloadHasBeenSet = true; m_payload = std::move(value); } /** *You can configure the action payload when you send a message to an AWS IoT * Events input.
*/ inline IotEventsAction& WithPayload(const Payload& value) { SetPayload(value); return *this;} /** *You can configure the action payload when you send a message to an AWS IoT * Events input.
*/ inline IotEventsAction& WithPayload(Payload&& value) { SetPayload(std::move(value)); return *this;} private: Aws::String m_inputName; bool m_inputNameHasBeenSet = false; Payload m_payload; bool m_payloadHasBeenSet = false; }; } // namespace Model } // namespace IoTEvents } // namespace Aws