/**
* Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
* SPDX-License-Identifier: Apache-2.0.
*/
#pragma once
#include An Amazon SQS message.See Also:
AWS API
* Reference
A unique identifier for the message. A MessageId
is considered
* unique across all Amazon Web Services accounts for an extended period of
* time.
A unique identifier for the message. A MessageId
is considered
* unique across all Amazon Web Services accounts for an extended period of
* time.
A unique identifier for the message. A MessageId
is considered
* unique across all Amazon Web Services accounts for an extended period of
* time.
A unique identifier for the message. A MessageId
is considered
* unique across all Amazon Web Services accounts for an extended period of
* time.
A unique identifier for the message. A MessageId
is considered
* unique across all Amazon Web Services accounts for an extended period of
* time.
A unique identifier for the message. A MessageId
is considered
* unique across all Amazon Web Services accounts for an extended period of
* time.
A unique identifier for the message. A MessageId
is considered
* unique across all Amazon Web Services accounts for an extended period of
* time.
A unique identifier for the message. A MessageId
is considered
* unique across all Amazon Web Services accounts for an extended period of
* time.
An identifier associated with the act of receiving the message. A new receipt * handle is returned every time you receive a message. When deleting a message, * you provide the last received receipt handle to delete the message.
*/ inline const Aws::String& GetReceiptHandle() const{ return m_receiptHandle; } /** *An identifier associated with the act of receiving the message. A new receipt * handle is returned every time you receive a message. When deleting a message, * you provide the last received receipt handle to delete the message.
*/ inline bool ReceiptHandleHasBeenSet() const { return m_receiptHandleHasBeenSet; } /** *An identifier associated with the act of receiving the message. A new receipt * handle is returned every time you receive a message. When deleting a message, * you provide the last received receipt handle to delete the message.
*/ inline void SetReceiptHandle(const Aws::String& value) { m_receiptHandleHasBeenSet = true; m_receiptHandle = value; } /** *An identifier associated with the act of receiving the message. A new receipt * handle is returned every time you receive a message. When deleting a message, * you provide the last received receipt handle to delete the message.
*/ inline void SetReceiptHandle(Aws::String&& value) { m_receiptHandleHasBeenSet = true; m_receiptHandle = std::move(value); } /** *An identifier associated with the act of receiving the message. A new receipt * handle is returned every time you receive a message. When deleting a message, * you provide the last received receipt handle to delete the message.
*/ inline void SetReceiptHandle(const char* value) { m_receiptHandleHasBeenSet = true; m_receiptHandle.assign(value); } /** *An identifier associated with the act of receiving the message. A new receipt * handle is returned every time you receive a message. When deleting a message, * you provide the last received receipt handle to delete the message.
*/ inline Message& WithReceiptHandle(const Aws::String& value) { SetReceiptHandle(value); return *this;} /** *An identifier associated with the act of receiving the message. A new receipt * handle is returned every time you receive a message. When deleting a message, * you provide the last received receipt handle to delete the message.
*/ inline Message& WithReceiptHandle(Aws::String&& value) { SetReceiptHandle(std::move(value)); return *this;} /** *An identifier associated with the act of receiving the message. A new receipt * handle is returned every time you receive a message. When deleting a message, * you provide the last received receipt handle to delete the message.
*/ inline Message& WithReceiptHandle(const char* value) { SetReceiptHandle(value); return *this;} /** *An MD5 digest of the non-URL-encoded message body string.
*/ inline const Aws::String& GetMD5OfBody() const{ return m_mD5OfBody; } /** *An MD5 digest of the non-URL-encoded message body string.
*/ inline bool MD5OfBodyHasBeenSet() const { return m_mD5OfBodyHasBeenSet; } /** *An MD5 digest of the non-URL-encoded message body string.
*/ inline void SetMD5OfBody(const Aws::String& value) { m_mD5OfBodyHasBeenSet = true; m_mD5OfBody = value; } /** *An MD5 digest of the non-URL-encoded message body string.
*/ inline void SetMD5OfBody(Aws::String&& value) { m_mD5OfBodyHasBeenSet = true; m_mD5OfBody = std::move(value); } /** *An MD5 digest of the non-URL-encoded message body string.
*/ inline void SetMD5OfBody(const char* value) { m_mD5OfBodyHasBeenSet = true; m_mD5OfBody.assign(value); } /** *An MD5 digest of the non-URL-encoded message body string.
*/ inline Message& WithMD5OfBody(const Aws::String& value) { SetMD5OfBody(value); return *this;} /** *An MD5 digest of the non-URL-encoded message body string.
*/ inline Message& WithMD5OfBody(Aws::String&& value) { SetMD5OfBody(std::move(value)); return *this;} /** *An MD5 digest of the non-URL-encoded message body string.
*/ inline Message& WithMD5OfBody(const char* value) { SetMD5OfBody(value); return *this;} /** *The message's contents (not URL-encoded).
*/ inline const Aws::String& GetBody() const{ return m_body; } /** *The message's contents (not URL-encoded).
*/ inline bool BodyHasBeenSet() const { return m_bodyHasBeenSet; } /** *The message's contents (not URL-encoded).
*/ inline void SetBody(const Aws::String& value) { m_bodyHasBeenSet = true; m_body = value; } /** *The message's contents (not URL-encoded).
*/ inline void SetBody(Aws::String&& value) { m_bodyHasBeenSet = true; m_body = std::move(value); } /** *The message's contents (not URL-encoded).
*/ inline void SetBody(const char* value) { m_bodyHasBeenSet = true; m_body.assign(value); } /** *The message's contents (not URL-encoded).
*/ inline Message& WithBody(const Aws::String& value) { SetBody(value); return *this;} /** *The message's contents (not URL-encoded).
*/ inline Message& WithBody(Aws::String&& value) { SetBody(std::move(value)); return *this;} /** *The message's contents (not URL-encoded).
*/ inline Message& WithBody(const char* value) { SetBody(value); return *this;} /** *A map of the attributes requested in ReceiveMessage
to
* their respective values. Supported attributes:
* ApproximateReceiveCount
* ApproximateFirstReceiveTimestamp
* MessageDeduplicationId
* MessageGroupId
SenderId
SentTimestamp
* SequenceNumber
* ApproximateFirstReceiveTimestamp
and SentTimestamp
are
* each returned as an integer representing the epoch time in
* milliseconds.
A map of the attributes requested in ReceiveMessage
to
* their respective values. Supported attributes:
* ApproximateReceiveCount
* ApproximateFirstReceiveTimestamp
* MessageDeduplicationId
* MessageGroupId
SenderId
SentTimestamp
* SequenceNumber
* ApproximateFirstReceiveTimestamp
and SentTimestamp
are
* each returned as an integer representing the epoch time in
* milliseconds.
A map of the attributes requested in ReceiveMessage
to
* their respective values. Supported attributes:
* ApproximateReceiveCount
* ApproximateFirstReceiveTimestamp
* MessageDeduplicationId
* MessageGroupId
SenderId
SentTimestamp
* SequenceNumber
* ApproximateFirstReceiveTimestamp
and SentTimestamp
are
* each returned as an integer representing the epoch time in
* milliseconds.
A map of the attributes requested in ReceiveMessage
to
* their respective values. Supported attributes:
* ApproximateReceiveCount
* ApproximateFirstReceiveTimestamp
* MessageDeduplicationId
* MessageGroupId
SenderId
SentTimestamp
* SequenceNumber
* ApproximateFirstReceiveTimestamp
and SentTimestamp
are
* each returned as an integer representing the epoch time in
* milliseconds.
A map of the attributes requested in ReceiveMessage
to
* their respective values. Supported attributes:
* ApproximateReceiveCount
* ApproximateFirstReceiveTimestamp
* MessageDeduplicationId
* MessageGroupId
SenderId
SentTimestamp
* SequenceNumber
* ApproximateFirstReceiveTimestamp
and SentTimestamp
are
* each returned as an integer representing the epoch time in
* milliseconds.
A map of the attributes requested in ReceiveMessage
to
* their respective values. Supported attributes:
* ApproximateReceiveCount
* ApproximateFirstReceiveTimestamp
* MessageDeduplicationId
* MessageGroupId
SenderId
SentTimestamp
* SequenceNumber
* ApproximateFirstReceiveTimestamp
and SentTimestamp
are
* each returned as an integer representing the epoch time in
* milliseconds.
A map of the attributes requested in ReceiveMessage
to
* their respective values. Supported attributes:
* ApproximateReceiveCount
* ApproximateFirstReceiveTimestamp
* MessageDeduplicationId
* MessageGroupId
SenderId
SentTimestamp
* SequenceNumber
* ApproximateFirstReceiveTimestamp
and SentTimestamp
are
* each returned as an integer representing the epoch time in
* milliseconds.
A map of the attributes requested in ReceiveMessage
to
* their respective values. Supported attributes:
* ApproximateReceiveCount
* ApproximateFirstReceiveTimestamp
* MessageDeduplicationId
* MessageGroupId
SenderId
SentTimestamp
* SequenceNumber
* ApproximateFirstReceiveTimestamp
and SentTimestamp
are
* each returned as an integer representing the epoch time in
* milliseconds.
A map of the attributes requested in ReceiveMessage
to
* their respective values. Supported attributes:
* ApproximateReceiveCount
* ApproximateFirstReceiveTimestamp
* MessageDeduplicationId
* MessageGroupId
SenderId
SentTimestamp
* SequenceNumber
* ApproximateFirstReceiveTimestamp
and SentTimestamp
are
* each returned as an integer representing the epoch time in
* milliseconds.
A map of the attributes requested in ReceiveMessage
to
* their respective values. Supported attributes:
* ApproximateReceiveCount
* ApproximateFirstReceiveTimestamp
* MessageDeduplicationId
* MessageGroupId
SenderId
SentTimestamp
* SequenceNumber
* ApproximateFirstReceiveTimestamp
and SentTimestamp
are
* each returned as an integer representing the epoch time in
* milliseconds.
A map of the attributes requested in ReceiveMessage
to
* their respective values. Supported attributes:
* ApproximateReceiveCount
* ApproximateFirstReceiveTimestamp
* MessageDeduplicationId
* MessageGroupId
SenderId
SentTimestamp
* SequenceNumber
* ApproximateFirstReceiveTimestamp
and SentTimestamp
are
* each returned as an integer representing the epoch time in
* milliseconds.
A map of the attributes requested in ReceiveMessage
to
* their respective values. Supported attributes:
* ApproximateReceiveCount
* ApproximateFirstReceiveTimestamp
* MessageDeduplicationId
* MessageGroupId
SenderId
SentTimestamp
* SequenceNumber
* ApproximateFirstReceiveTimestamp
and SentTimestamp
are
* each returned as an integer representing the epoch time in
* milliseconds.
An MD5 digest of the non-URL-encoded message attribute string. You can use * this attribute to verify that Amazon SQS received the message correctly. Amazon * SQS URL-decodes the message before creating the MD5 digest. For information * about MD5, see RFC1321.
*/ inline const Aws::String& GetMD5OfMessageAttributes() const{ return m_mD5OfMessageAttributes; } /** *An MD5 digest of the non-URL-encoded message attribute string. You can use * this attribute to verify that Amazon SQS received the message correctly. Amazon * SQS URL-decodes the message before creating the MD5 digest. For information * about MD5, see RFC1321.
*/ inline bool MD5OfMessageAttributesHasBeenSet() const { return m_mD5OfMessageAttributesHasBeenSet; } /** *An MD5 digest of the non-URL-encoded message attribute string. You can use * this attribute to verify that Amazon SQS received the message correctly. Amazon * SQS URL-decodes the message before creating the MD5 digest. For information * about MD5, see RFC1321.
*/ inline void SetMD5OfMessageAttributes(const Aws::String& value) { m_mD5OfMessageAttributesHasBeenSet = true; m_mD5OfMessageAttributes = value; } /** *An MD5 digest of the non-URL-encoded message attribute string. You can use * this attribute to verify that Amazon SQS received the message correctly. Amazon * SQS URL-decodes the message before creating the MD5 digest. For information * about MD5, see RFC1321.
*/ inline void SetMD5OfMessageAttributes(Aws::String&& value) { m_mD5OfMessageAttributesHasBeenSet = true; m_mD5OfMessageAttributes = std::move(value); } /** *An MD5 digest of the non-URL-encoded message attribute string. You can use * this attribute to verify that Amazon SQS received the message correctly. Amazon * SQS URL-decodes the message before creating the MD5 digest. For information * about MD5, see RFC1321.
*/ inline void SetMD5OfMessageAttributes(const char* value) { m_mD5OfMessageAttributesHasBeenSet = true; m_mD5OfMessageAttributes.assign(value); } /** *An MD5 digest of the non-URL-encoded message attribute string. You can use * this attribute to verify that Amazon SQS received the message correctly. Amazon * SQS URL-decodes the message before creating the MD5 digest. For information * about MD5, see RFC1321.
*/ inline Message& WithMD5OfMessageAttributes(const Aws::String& value) { SetMD5OfMessageAttributes(value); return *this;} /** *An MD5 digest of the non-URL-encoded message attribute string. You can use * this attribute to verify that Amazon SQS received the message correctly. Amazon * SQS URL-decodes the message before creating the MD5 digest. For information * about MD5, see RFC1321.
*/ inline Message& WithMD5OfMessageAttributes(Aws::String&& value) { SetMD5OfMessageAttributes(std::move(value)); return *this;} /** *An MD5 digest of the non-URL-encoded message attribute string. You can use * this attribute to verify that Amazon SQS received the message correctly. Amazon * SQS URL-decodes the message before creating the MD5 digest. For information * about MD5, see RFC1321.
*/ inline Message& WithMD5OfMessageAttributes(const char* value) { SetMD5OfMessageAttributes(value); return *this;} /** *Each message attribute consists of a Name
, Type
,
* and Value
. For more information, see Amazon
* SQS message attributes in the Amazon SQS Developer Guide.
Each message attribute consists of a Name
, Type
,
* and Value
. For more information, see Amazon
* SQS message attributes in the Amazon SQS Developer Guide.
Each message attribute consists of a Name
, Type
,
* and Value
. For more information, see Amazon
* SQS message attributes in the Amazon SQS Developer Guide.
Each message attribute consists of a Name
, Type
,
* and Value
. For more information, see Amazon
* SQS message attributes in the Amazon SQS Developer Guide.
Each message attribute consists of a Name
, Type
,
* and Value
. For more information, see Amazon
* SQS message attributes in the Amazon SQS Developer Guide.
Each message attribute consists of a Name
, Type
,
* and Value
. For more information, see Amazon
* SQS message attributes in the Amazon SQS Developer Guide.
Each message attribute consists of a Name
, Type
,
* and Value
. For more information, see Amazon
* SQS message attributes in the Amazon SQS Developer Guide.
Each message attribute consists of a Name
, Type
,
* and Value
. For more information, see Amazon
* SQS message attributes in the Amazon SQS Developer Guide.
Each message attribute consists of a Name
, Type
,
* and Value
. For more information, see Amazon
* SQS message attributes in the Amazon SQS Developer Guide.
Each message attribute consists of a Name
, Type
,
* and Value
. For more information, see Amazon
* SQS message attributes in the Amazon SQS Developer Guide.
Each message attribute consists of a Name
, Type
,
* and Value
. For more information, see Amazon
* SQS message attributes in the Amazon SQS Developer Guide.
Each message attribute consists of a Name
, Type
,
* and Value
. For more information, see Amazon
* SQS message attributes in the Amazon SQS Developer Guide.