/**
* Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
* SPDX-License-Identifier: Apache-2.0.
*/
#pragma once
#include Encloses a receipt handle and an identifier for it.See Also:
* AWS
* API Reference
The identifier for this particular receipt handle. This is used to * communicate the result.
The Id
s of a batch request
* need to be unique within a request.
This identifier can have up to 80 * characters. The following characters are accepted: alphanumeric characters, * hyphens(-), and underscores (_).
*/ inline const Aws::String& GetId() const{ return m_id; } /** *The identifier for this particular receipt handle. This is used to * communicate the result.
The Id
s of a batch request
* need to be unique within a request.
This identifier can have up to 80 * characters. The following characters are accepted: alphanumeric characters, * hyphens(-), and underscores (_).
*/ inline bool IdHasBeenSet() const { return m_idHasBeenSet; } /** *The identifier for this particular receipt handle. This is used to * communicate the result.
The Id
s of a batch request
* need to be unique within a request.
This identifier can have up to 80 * characters. The following characters are accepted: alphanumeric characters, * hyphens(-), and underscores (_).
*/ inline void SetId(const Aws::String& value) { m_idHasBeenSet = true; m_id = value; } /** *The identifier for this particular receipt handle. This is used to * communicate the result.
The Id
s of a batch request
* need to be unique within a request.
This identifier can have up to 80 * characters. The following characters are accepted: alphanumeric characters, * hyphens(-), and underscores (_).
*/ inline void SetId(Aws::String&& value) { m_idHasBeenSet = true; m_id = std::move(value); } /** *The identifier for this particular receipt handle. This is used to * communicate the result.
The Id
s of a batch request
* need to be unique within a request.
This identifier can have up to 80 * characters. The following characters are accepted: alphanumeric characters, * hyphens(-), and underscores (_).
*/ inline void SetId(const char* value) { m_idHasBeenSet = true; m_id.assign(value); } /** *The identifier for this particular receipt handle. This is used to * communicate the result.
The Id
s of a batch request
* need to be unique within a request.
This identifier can have up to 80 * characters. The following characters are accepted: alphanumeric characters, * hyphens(-), and underscores (_).
*/ inline DeleteMessageBatchRequestEntry& WithId(const Aws::String& value) { SetId(value); return *this;} /** *The identifier for this particular receipt handle. This is used to * communicate the result.
The Id
s of a batch request
* need to be unique within a request.
This identifier can have up to 80 * characters. The following characters are accepted: alphanumeric characters, * hyphens(-), and underscores (_).
*/ inline DeleteMessageBatchRequestEntry& WithId(Aws::String&& value) { SetId(std::move(value)); return *this;} /** *The identifier for this particular receipt handle. This is used to * communicate the result.
The Id
s of a batch request
* need to be unique within a request.
This identifier can have up to 80 * characters. The following characters are accepted: alphanumeric characters, * hyphens(-), and underscores (_).
*/ inline DeleteMessageBatchRequestEntry& WithId(const char* value) { SetId(value); return *this;} /** *A receipt handle.
*/ inline const Aws::String& GetReceiptHandle() const{ return m_receiptHandle; } /** *A receipt handle.
*/ inline bool ReceiptHandleHasBeenSet() const { return m_receiptHandleHasBeenSet; } /** *A receipt handle.
*/ inline void SetReceiptHandle(const Aws::String& value) { m_receiptHandleHasBeenSet = true; m_receiptHandle = value; } /** *A receipt handle.
*/ inline void SetReceiptHandle(Aws::String&& value) { m_receiptHandleHasBeenSet = true; m_receiptHandle = std::move(value); } /** *A receipt handle.
*/ inline void SetReceiptHandle(const char* value) { m_receiptHandleHasBeenSet = true; m_receiptHandle.assign(value); } /** *A receipt handle.
*/ inline DeleteMessageBatchRequestEntry& WithReceiptHandle(const Aws::String& value) { SetReceiptHandle(value); return *this;} /** *A receipt handle.
*/ inline DeleteMessageBatchRequestEntry& WithReceiptHandle(Aws::String&& value) { SetReceiptHandle(std::move(value)); return *this;} /** *A receipt handle.
*/ inline DeleteMessageBatchRequestEntry& WithReceiptHandle(const char* value) { SetReceiptHandle(value); return *this;} private: Aws::String m_id; bool m_idHasBeenSet = false; Aws::String m_receiptHandle; bool m_receiptHandleHasBeenSet = false; }; } // namespace Model } // namespace SQS } // namespace Aws