/**
* Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
* SPDX-License-Identifier: Apache-2.0.
*/
#pragma once
#include Sends an input to an AWS IoT Events detector.See Also:
AWS
* API Reference
The name of the AWS IoT Events input.
*/ inline const Aws::String& GetInputName() const{ return m_inputName; } /** *The name of the AWS IoT Events input.
*/ inline bool InputNameHasBeenSet() const { return m_inputNameHasBeenSet; } /** *The name of the AWS IoT Events input.
*/ inline void SetInputName(const Aws::String& value) { m_inputNameHasBeenSet = true; m_inputName = value; } /** *The name of the AWS IoT Events input.
*/ inline void SetInputName(Aws::String&& value) { m_inputNameHasBeenSet = true; m_inputName = std::move(value); } /** *The name of the AWS IoT Events input.
*/ inline void SetInputName(const char* value) { m_inputNameHasBeenSet = true; m_inputName.assign(value); } /** *The name of the AWS IoT Events input.
*/ inline IotEventsAction& WithInputName(const Aws::String& value) { SetInputName(value); return *this;} /** *The name of the AWS IoT Events input.
*/ inline IotEventsAction& WithInputName(Aws::String&& value) { SetInputName(std::move(value)); return *this;} /** *The name of the AWS IoT Events input.
*/ inline IotEventsAction& WithInputName(const char* value) { SetInputName(value); return *this;} /** *[Optional] Use this to ensure that only one input (message) with a given * messageId will be processed by an AWS IoT Events detector.
*/ inline const Aws::String& GetMessageId() const{ return m_messageId; } /** *[Optional] Use this to ensure that only one input (message) with a given * messageId will be processed by an AWS IoT Events detector.
*/ inline bool MessageIdHasBeenSet() const { return m_messageIdHasBeenSet; } /** *[Optional] Use this to ensure that only one input (message) with a given * messageId will be processed by an AWS IoT Events detector.
*/ inline void SetMessageId(const Aws::String& value) { m_messageIdHasBeenSet = true; m_messageId = value; } /** *[Optional] Use this to ensure that only one input (message) with a given * messageId will be processed by an AWS IoT Events detector.
*/ inline void SetMessageId(Aws::String&& value) { m_messageIdHasBeenSet = true; m_messageId = std::move(value); } /** *[Optional] Use this to ensure that only one input (message) with a given * messageId will be processed by an AWS IoT Events detector.
*/ inline void SetMessageId(const char* value) { m_messageIdHasBeenSet = true; m_messageId.assign(value); } /** *[Optional] Use this to ensure that only one input (message) with a given * messageId will be processed by an AWS IoT Events detector.
*/ inline IotEventsAction& WithMessageId(const Aws::String& value) { SetMessageId(value); return *this;} /** *[Optional] Use this to ensure that only one input (message) with a given * messageId will be processed by an AWS IoT Events detector.
*/ inline IotEventsAction& WithMessageId(Aws::String&& value) { SetMessageId(std::move(value)); return *this;} /** *[Optional] Use this to ensure that only one input (message) with a given * messageId will be processed by an AWS IoT Events detector.
*/ inline IotEventsAction& WithMessageId(const char* value) { SetMessageId(value); return *this;} /** *The ARN of the role that grants AWS IoT permission to send an input to an AWS * IoT Events detector. ("Action":"iotevents:BatchPutMessage").
*/ inline const Aws::String& GetRoleArn() const{ return m_roleArn; } /** *The ARN of the role that grants AWS IoT permission to send an input to an AWS * IoT Events detector. ("Action":"iotevents:BatchPutMessage").
*/ inline bool RoleArnHasBeenSet() const { return m_roleArnHasBeenSet; } /** *The ARN of the role that grants AWS IoT permission to send an input to an AWS * IoT Events detector. ("Action":"iotevents:BatchPutMessage").
*/ inline void SetRoleArn(const Aws::String& value) { m_roleArnHasBeenSet = true; m_roleArn = value; } /** *The ARN of the role that grants AWS IoT permission to send an input to an AWS * IoT Events detector. ("Action":"iotevents:BatchPutMessage").
*/ inline void SetRoleArn(Aws::String&& value) { m_roleArnHasBeenSet = true; m_roleArn = std::move(value); } /** *The ARN of the role that grants AWS IoT permission to send an input to an AWS * IoT Events detector. ("Action":"iotevents:BatchPutMessage").
*/ inline void SetRoleArn(const char* value) { m_roleArnHasBeenSet = true; m_roleArn.assign(value); } /** *The ARN of the role that grants AWS IoT permission to send an input to an AWS * IoT Events detector. ("Action":"iotevents:BatchPutMessage").
*/ inline IotEventsAction& WithRoleArn(const Aws::String& value) { SetRoleArn(value); return *this;} /** *The ARN of the role that grants AWS IoT permission to send an input to an AWS * IoT Events detector. ("Action":"iotevents:BatchPutMessage").
*/ inline IotEventsAction& WithRoleArn(Aws::String&& value) { SetRoleArn(std::move(value)); return *this;} /** *The ARN of the role that grants AWS IoT permission to send an input to an AWS * IoT Events detector. ("Action":"iotevents:BatchPutMessage").
*/ inline IotEventsAction& WithRoleArn(const char* value) { SetRoleArn(value); return *this;} private: Aws::String m_inputName; bool m_inputNameHasBeenSet; Aws::String m_messageId; bool m_messageIdHasBeenSet; Aws::String m_roleArn; bool m_roleArnHasBeenSet; }; } // namespace Model } // namespace IoT } // namespace Aws