Download include/aws/sqs/model/ChangeMessageVisibilityBatchRequestEntry.h from Shenghong/dai_env: direct link, hf CLI and curl.
- Browser
- Download file 4.09 kB
-
https://huggingface.co/Shenghong/dai_env/resolve/main/include/aws/sqs/model/ChangeMessageVisibilityBatchRequestEntry.h
- Command line
-
hf download hf://Shenghong/dai_env/include/aws/sqs/model/ChangeMessageVisibilityBatchRequestEntry.h
-
curl -L -o ChangeMessageVisibilityBatchRequestEntry.h https://huggingface.co/Shenghong/dai_env/resolve/main/include/aws/sqs/model/ChangeMessageVisibilityBatchRequestEntry.h
4.09 kB
| /** | |
| * Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. | |
| * SPDX-License-Identifier: Apache-2.0. | |
| */ | |
| namespace Aws | |
| { | |
| namespace Utils | |
| { | |
| namespace Json | |
| { | |
| class JsonValue; | |
| class JsonView; | |
| } // namespace Json | |
| } // namespace Utils | |
| namespace SQS | |
| { | |
| namespace Model | |
| { | |
| /** | |
| * <p>Encloses a receipt handle and an entry ID for each message in <code> | |
| * <a>ChangeMessageVisibilityBatch</a>.</code> </p><p><h3>See Also:</h3> <a | |
| * href="http://docs.aws.amazon.com/goto/WebAPI/sqs-2012-11-05/ChangeMessageVisibilityBatchRequestEntry">AWS | |
| * API Reference</a></p> | |
| */ | |
| class ChangeMessageVisibilityBatchRequestEntry | |
| { | |
| public: | |
| AWS_SQS_API ChangeMessageVisibilityBatchRequestEntry(); | |
| AWS_SQS_API ChangeMessageVisibilityBatchRequestEntry(Aws::Utils::Json::JsonView jsonValue); | |
| AWS_SQS_API ChangeMessageVisibilityBatchRequestEntry& operator=(Aws::Utils::Json::JsonView jsonValue); | |
| AWS_SQS_API Aws::Utils::Json::JsonValue Jsonize() const; | |
| ///@{ | |
| /** | |
| * <p>An identifier for this particular receipt handle used to communicate the | |
| * result.</p> <p>The <code>Id</code>s of a batch request need to be unique | |
| * within a request.</p> <p>This identifier can have up to 80 characters. The | |
| * following characters are accepted: alphanumeric characters, hyphens(-), and | |
| * underscores (_).</p> | |
| */ | |
| inline const Aws::String& GetId() const{ return m_id; } | |
| inline bool IdHasBeenSet() const { return m_idHasBeenSet; } | |
| inline void SetId(const Aws::String& value) { m_idHasBeenSet = true; m_id = value; } | |
| inline void SetId(Aws::String&& value) { m_idHasBeenSet = true; m_id = std::move(value); } | |
| inline void SetId(const char* value) { m_idHasBeenSet = true; m_id.assign(value); } | |
| inline ChangeMessageVisibilityBatchRequestEntry& WithId(const Aws::String& value) { SetId(value); return *this;} | |
| inline ChangeMessageVisibilityBatchRequestEntry& WithId(Aws::String&& value) { SetId(std::move(value)); return *this;} | |
| inline ChangeMessageVisibilityBatchRequestEntry& WithId(const char* value) { SetId(value); return *this;} | |
| ///@} | |
| ///@{ | |
| /** | |
| * <p>A receipt handle.</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 ChangeMessageVisibilityBatchRequestEntry& WithReceiptHandle(const Aws::String& value) { SetReceiptHandle(value); return *this;} | |
| inline ChangeMessageVisibilityBatchRequestEntry& WithReceiptHandle(Aws::String&& value) { SetReceiptHandle(std::move(value)); return *this;} | |
| inline ChangeMessageVisibilityBatchRequestEntry& WithReceiptHandle(const char* value) { SetReceiptHandle(value); return *this;} | |
| ///@} | |
| ///@{ | |
| /** | |
| * <p>The new value (in seconds) for the message's visibility timeout.</p> | |
| */ | |
| inline int GetVisibilityTimeout() const{ return m_visibilityTimeout; } | |
| inline bool VisibilityTimeoutHasBeenSet() const { return m_visibilityTimeoutHasBeenSet; } | |
| inline void SetVisibilityTimeout(int value) { m_visibilityTimeoutHasBeenSet = true; m_visibilityTimeout = value; } | |
| inline ChangeMessageVisibilityBatchRequestEntry& WithVisibilityTimeout(int value) { SetVisibilityTimeout(value); return *this;} | |
| ///@} | |
| private: | |
| Aws::String m_id; | |
| bool m_idHasBeenSet = false; | |
| Aws::String m_receiptHandle; | |
| bool m_receiptHandleHasBeenSet = false; | |
| int m_visibilityTimeout; | |
| bool m_visibilityTimeoutHasBeenSet = false; | |
| }; | |
| } // namespace Model | |
| } // namespace SQS | |
| } // namespace Aws | |