Download include/aws/sqs/model/DeleteMessageBatchRequest.h from Shenghong/dai_env: direct link, hf CLI and curl.
- Browser
- Download file 3.75 kB
-
https://huggingface.co/Shenghong/dai_env/resolve/main/include/aws/sqs/model/DeleteMessageBatchRequest.h
- Command line
-
hf download hf://Shenghong/dai_env/include/aws/sqs/model/DeleteMessageBatchRequest.h
-
curl -L -o DeleteMessageBatchRequest.h https://huggingface.co/Shenghong/dai_env/resolve/main/include/aws/sqs/model/DeleteMessageBatchRequest.h
3.75 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/DeleteMessageBatchRequest">AWS | |
| * API Reference</a></p> | |
| */ | |
| class DeleteMessageBatchRequest : public SQSRequest | |
| { | |
| public: | |
| AWS_SQS_API DeleteMessageBatchRequest(); | |
| // 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 "DeleteMessageBatch"; } | |
| 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 DeleteMessageBatchRequest& WithQueueUrl(const Aws::String& value) { SetQueueUrl(value); return *this;} | |
| inline DeleteMessageBatchRequest& WithQueueUrl(Aws::String&& value) { SetQueueUrl(std::move(value)); return *this;} | |
| inline DeleteMessageBatchRequest& WithQueueUrl(const char* value) { SetQueueUrl(value); return *this;} | |
| ///@} | |
| ///@{ | |
| /** | |
| * <p>Lists the receipt handles for the messages to be deleted.</p> | |
| */ | |
| inline const Aws::Vector<DeleteMessageBatchRequestEntry>& GetEntries() const{ return m_entries; } | |
| inline bool EntriesHasBeenSet() const { return m_entriesHasBeenSet; } | |
| inline void SetEntries(const Aws::Vector<DeleteMessageBatchRequestEntry>& value) { m_entriesHasBeenSet = true; m_entries = value; } | |
| inline void SetEntries(Aws::Vector<DeleteMessageBatchRequestEntry>&& value) { m_entriesHasBeenSet = true; m_entries = std::move(value); } | |
| inline DeleteMessageBatchRequest& WithEntries(const Aws::Vector<DeleteMessageBatchRequestEntry>& value) { SetEntries(value); return *this;} | |
| inline DeleteMessageBatchRequest& WithEntries(Aws::Vector<DeleteMessageBatchRequestEntry>&& value) { SetEntries(std::move(value)); return *this;} | |
| inline DeleteMessageBatchRequest& AddEntries(const DeleteMessageBatchRequestEntry& value) { m_entriesHasBeenSet = true; m_entries.push_back(value); return *this; } | |
| inline DeleteMessageBatchRequest& AddEntries(DeleteMessageBatchRequestEntry&& value) { m_entriesHasBeenSet = true; m_entries.push_back(std::move(value)); return *this; } | |
| ///@} | |
| private: | |
| Aws::String m_queueUrl; | |
| bool m_queueUrlHasBeenSet = false; | |
| Aws::Vector<DeleteMessageBatchRequestEntry> m_entries; | |
| bool m_entriesHasBeenSet = false; | |
| }; | |
| } // namespace Model | |
| } // namespace SQS | |
| } // namespace Aws | |