/**
* Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
* SPDX-License-Identifier: Apache-2.0.
*/
#pragma once
#include Sends information about the detector model instance and the event that
* triggered the action to an Amazon SQS queue.See Also:
AWS
* API Reference
The URL of the SQS queue where the data is written.
*/ inline const Aws::String& GetQueueUrl() const{ return m_queueUrl; } /** *The URL of the SQS queue where the data is written.
*/ inline bool QueueUrlHasBeenSet() const { return m_queueUrlHasBeenSet; } /** *The URL of the SQS queue where the data is written.
*/ inline void SetQueueUrl(const Aws::String& value) { m_queueUrlHasBeenSet = true; m_queueUrl = value; } /** *The URL of the SQS queue where the data is written.
*/ inline void SetQueueUrl(Aws::String&& value) { m_queueUrlHasBeenSet = true; m_queueUrl = std::move(value); } /** *The URL of the SQS queue where the data is written.
*/ inline void SetQueueUrl(const char* value) { m_queueUrlHasBeenSet = true; m_queueUrl.assign(value); } /** *The URL of the SQS queue where the data is written.
*/ inline SqsAction& WithQueueUrl(const Aws::String& value) { SetQueueUrl(value); return *this;} /** *The URL of the SQS queue where the data is written.
*/ inline SqsAction& WithQueueUrl(Aws::String&& value) { SetQueueUrl(std::move(value)); return *this;} /** *The URL of the SQS queue where the data is written.
*/ inline SqsAction& WithQueueUrl(const char* value) { SetQueueUrl(value); return *this;} /** *Set this to TRUE if you want the data to be base-64 encoded before it is * written to the queue. Otherwise, set this to FALSE.
*/ inline bool GetUseBase64() const{ return m_useBase64; } /** *Set this to TRUE if you want the data to be base-64 encoded before it is * written to the queue. Otherwise, set this to FALSE.
*/ inline bool UseBase64HasBeenSet() const { return m_useBase64HasBeenSet; } /** *Set this to TRUE if you want the data to be base-64 encoded before it is * written to the queue. Otherwise, set this to FALSE.
*/ inline void SetUseBase64(bool value) { m_useBase64HasBeenSet = true; m_useBase64 = value; } /** *Set this to TRUE if you want the data to be base-64 encoded before it is * written to the queue. Otherwise, set this to FALSE.
*/ inline SqsAction& WithUseBase64(bool value) { SetUseBase64(value); return *this;} /** *You can configure the action payload when you send a message to an Amazon SQS * queue.
*/ inline const Payload& GetPayload() const{ return m_payload; } /** *You can configure the action payload when you send a message to an Amazon SQS * queue.
*/ inline bool PayloadHasBeenSet() const { return m_payloadHasBeenSet; } /** *You can configure the action payload when you send a message to an Amazon SQS * queue.
*/ 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 Amazon SQS * queue.
*/ 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 Amazon SQS * queue.
*/ inline SqsAction& WithPayload(const Payload& value) { SetPayload(value); return *this;} /** *You can configure the action payload when you send a message to an Amazon SQS * queue.
*/ inline SqsAction& WithPayload(Payload&& value) { SetPayload(std::move(value)); return *this;} private: Aws::String m_queueUrl; bool m_queueUrlHasBeenSet; bool m_useBase64; bool m_useBase64HasBeenSet; Payload m_payload; bool m_payloadHasBeenSet; }; } // namespace Model } // namespace IoTEvents } // namespace Aws