Download include/aws/sqs/model/DeleteMessageRequest.h from Shenghong/dai_env: direct link, hf CLI and curl.
- Browser
- Download file 3.39 kB
-
https://huggingface.co/Shenghong/dai_env/resolve/main/include/aws/sqs/model/DeleteMessageRequest.h
- Command line
-
hf download hf://Shenghong/dai_env/include/aws/sqs/model/DeleteMessageRequest.h
-
curl -L -o DeleteMessageRequest.h https://huggingface.co/Shenghong/dai_env/resolve/main/include/aws/sqs/model/DeleteMessageRequest.h
3.39 kB
| /** | |
| * Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. | |
| * SPDX-License-Identifier: Apache-2.0. | |
| */ | |
| namespace Aws | |
| { | |
| namespace SQS | |
| { | |
| namespace Model | |
| { | |
| /** | |
| * <p/><p><h3>See Also:</h3> <a | |
| * href="http://docs.aws.amazon.com/goto/WebAPI/sqs-2012-11-05/DeleteMessageRequest">AWS | |
| * API Reference</a></p> | |
| */ | |
| class DeleteMessageRequest : public SQSRequest | |
| { | |
| public: | |
| AWS_SQS_API DeleteMessageRequest(); | |
| // Service request name is the Operation name which will send this request out, | |
| // each operation should has unique request name, so that we can get operation's name from this request. | |
| // Note: this is not true for response, multiple operations may have the same response name, | |
| // so we can not get operation's name from response. | |
| inline virtual const char* GetServiceRequestName() const override { return "DeleteMessage"; } | |
| AWS_SQS_API Aws::String SerializePayload() const override; | |
| AWS_SQS_API Aws::Http::HeaderValueCollection GetRequestSpecificHeaders() const override; | |
| ///@{ | |
| /** | |
| * <p>The URL of the Amazon SQS queue from which messages are deleted.</p> <p>Queue | |
| * URLs and names are case-sensitive.</p> | |
| */ | |
| inline const Aws::String& GetQueueUrl() const{ return m_queueUrl; } | |
| inline bool QueueUrlHasBeenSet() const { return m_queueUrlHasBeenSet; } | |
| inline void SetQueueUrl(const Aws::String& value) { m_queueUrlHasBeenSet = true; m_queueUrl = value; } | |
| inline void SetQueueUrl(Aws::String&& value) { m_queueUrlHasBeenSet = true; m_queueUrl = std::move(value); } | |
| inline void SetQueueUrl(const char* value) { m_queueUrlHasBeenSet = true; m_queueUrl.assign(value); } | |
| inline DeleteMessageRequest& WithQueueUrl(const Aws::String& value) { SetQueueUrl(value); return *this;} | |
| inline DeleteMessageRequest& WithQueueUrl(Aws::String&& value) { SetQueueUrl(std::move(value)); return *this;} | |
| inline DeleteMessageRequest& WithQueueUrl(const char* value) { SetQueueUrl(value); return *this;} | |
| ///@} | |
| ///@{ | |
| /** | |
| * <p>The receipt handle associated with the message to delete.</p> | |
| */ | |
| inline const Aws::String& GetReceiptHandle() const{ return m_receiptHandle; } | |
| inline bool ReceiptHandleHasBeenSet() const { return m_receiptHandleHasBeenSet; } | |
| inline void SetReceiptHandle(const Aws::String& value) { m_receiptHandleHasBeenSet = true; m_receiptHandle = value; } | |
| inline void SetReceiptHandle(Aws::String&& value) { m_receiptHandleHasBeenSet = true; m_receiptHandle = std::move(value); } | |
| inline void SetReceiptHandle(const char* value) { m_receiptHandleHasBeenSet = true; m_receiptHandle.assign(value); } | |
| inline DeleteMessageRequest& WithReceiptHandle(const Aws::String& value) { SetReceiptHandle(value); return *this;} | |
| inline DeleteMessageRequest& WithReceiptHandle(Aws::String&& value) { SetReceiptHandle(std::move(value)); return *this;} | |
| inline DeleteMessageRequest& WithReceiptHandle(const char* value) { SetReceiptHandle(value); return *this;} | |
| ///@} | |
| private: | |
| Aws::String m_queueUrl; | |
| bool m_queueUrlHasBeenSet = false; | |
| Aws::String m_receiptHandle; | |
| bool m_receiptHandleHasBeenSet = false; | |
| }; | |
| } // namespace Model | |
| } // namespace SQS | |
| } // namespace Aws | |