/**
* Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
* SPDX-License-Identifier: Apache-2.0.
*/
#pragma once
#include Describes an action to publish data to an Amazon SQS queue.See
* Also:
AWS API
* Reference
The ARN of the IAM role that grants access.
*/ inline const Aws::String& GetRoleArn() const{ return m_roleArn; } /** *The ARN of the IAM role that grants access.
*/ inline bool RoleArnHasBeenSet() const { return m_roleArnHasBeenSet; } /** *The ARN of the IAM role that grants access.
*/ inline void SetRoleArn(const Aws::String& value) { m_roleArnHasBeenSet = true; m_roleArn = value; } /** *The ARN of the IAM role that grants access.
*/ inline void SetRoleArn(Aws::String&& value) { m_roleArnHasBeenSet = true; m_roleArn = std::move(value); } /** *The ARN of the IAM role that grants access.
*/ inline void SetRoleArn(const char* value) { m_roleArnHasBeenSet = true; m_roleArn.assign(value); } /** *The ARN of the IAM role that grants access.
*/ inline SqsAction& WithRoleArn(const Aws::String& value) { SetRoleArn(value); return *this;} /** *The ARN of the IAM role that grants access.
*/ inline SqsAction& WithRoleArn(Aws::String&& value) { SetRoleArn(std::move(value)); return *this;} /** *The ARN of the IAM role that grants access.
*/ inline SqsAction& WithRoleArn(const char* value) { SetRoleArn(value); return *this;} /** *The URL of the Amazon SQS queue.
*/ inline const Aws::String& GetQueueUrl() const{ return m_queueUrl; } /** *The URL of the Amazon SQS queue.
*/ inline bool QueueUrlHasBeenSet() const { return m_queueUrlHasBeenSet; } /** *The URL of the Amazon SQS queue.
*/ inline void SetQueueUrl(const Aws::String& value) { m_queueUrlHasBeenSet = true; m_queueUrl = value; } /** *The URL of the Amazon SQS queue.
*/ inline void SetQueueUrl(Aws::String&& value) { m_queueUrlHasBeenSet = true; m_queueUrl = std::move(value); } /** *The URL of the Amazon SQS queue.
*/ inline void SetQueueUrl(const char* value) { m_queueUrlHasBeenSet = true; m_queueUrl.assign(value); } /** *The URL of the Amazon SQS queue.
*/ inline SqsAction& WithQueueUrl(const Aws::String& value) { SetQueueUrl(value); return *this;} /** *The URL of the Amazon SQS queue.
*/ inline SqsAction& WithQueueUrl(Aws::String&& value) { SetQueueUrl(std::move(value)); return *this;} /** *The URL of the Amazon SQS queue.
*/ inline SqsAction& WithQueueUrl(const char* value) { SetQueueUrl(value); return *this;} /** *Specifies whether to use Base64 encoding.
*/ inline bool GetUseBase64() const{ return m_useBase64; } /** *Specifies whether to use Base64 encoding.
*/ inline bool UseBase64HasBeenSet() const { return m_useBase64HasBeenSet; } /** *Specifies whether to use Base64 encoding.
*/ inline void SetUseBase64(bool value) { m_useBase64HasBeenSet = true; m_useBase64 = value; } /** *Specifies whether to use Base64 encoding.
*/ inline SqsAction& WithUseBase64(bool value) { SetUseBase64(value); return *this;} private: Aws::String m_roleArn; bool m_roleArnHasBeenSet = false; Aws::String m_queueUrl; bool m_queueUrlHasBeenSet = false; bool m_useBase64; bool m_useBase64HasBeenSet = false; }; } // namespace Model } // namespace IoT } // namespace Aws