7#include <aws/core/utils/memory/stl/AWSMap.h>
8#include <aws/core/utils/memory/stl/AWSString.h>
9#include <aws/sqs/SQS_EXPORTS.h>
10#include <aws/sqs/model/MessageAttributeValue.h>
11#include <aws/sqs/model/MessageSystemAttributeName.h>
45 template <
typename MessageIdT = Aws::String>
47 m_messageIdHasBeenSet =
true;
48 m_messageId = std::forward<MessageIdT>(value);
50 template <
typename MessageIdT = Aws::String>
65 template <
typename ReceiptHandleT = Aws::String>
67 m_receiptHandleHasBeenSet =
true;
68 m_receiptHandle = std::forward<ReceiptHandleT>(value);
70 template <
typename ReceiptHandleT = Aws::String>
83 template <
typename MD5OfBodyT = Aws::String>
85 m_mD5OfBodyHasBeenSet =
true;
86 m_mD5OfBody = std::forward<MD5OfBodyT>(value);
88 template <
typename MD5OfBodyT = Aws::String>
101 template <
typename BodyT = Aws::String>
103 m_bodyHasBeenSet =
true;
104 m_body = std::forward<BodyT>(value);
106 template <
typename BodyT = Aws::String>
108 SetBody(std::forward<BodyT>(value));
130 template <
typename AttributesT = Aws::Map<MessageSystemAttributeName, Aws::String>>
132 m_attributesHasBeenSet =
true;
133 m_attributes = std::forward<AttributesT>(value);
135 template <
typename AttributesT = Aws::Map<MessageSystemAttributeName, Aws::String>>
141 m_attributesHasBeenSet =
true;
142 m_attributes.emplace(key, value);
156 template <
typename MD5OfMessageAttributesT = Aws::String>
158 m_mD5OfMessageAttributesHasBeenSet =
true;
159 m_mD5OfMessageAttributes = std::forward<MD5OfMessageAttributesT>(value);
161 template <
typename MD5OfMessageAttributesT = Aws::String>
177 template <
typename MessageAttributesT = Aws::Map<Aws::String, MessageAttributeValue>>
179 m_messageAttributesHasBeenSet =
true;
180 m_messageAttributes = std::forward<MessageAttributesT>(value);
182 template <
typename MessageAttributesT = Aws::Map<Aws::String, MessageAttributeValue>>
187 template <
typename MessageAttributesKeyT = Aws::String,
typename MessageAttributesValueT = MessageAttributeValue>
189 m_messageAttributesHasBeenSet =
true;
190 m_messageAttributes.emplace(std::forward<MessageAttributesKeyT>(key), std::forward<MessageAttributesValueT>(value));
208 bool m_messageIdHasBeenSet =
false;
209 bool m_receiptHandleHasBeenSet =
false;
210 bool m_mD5OfBodyHasBeenSet =
false;
211 bool m_bodyHasBeenSet =
false;
212 bool m_attributesHasBeenSet =
false;
213 bool m_mD5OfMessageAttributesHasBeenSet =
false;
214 bool m_messageAttributesHasBeenSet =
false;
void SetReceiptHandle(ReceiptHandleT &&value)
const Aws::String & GetMD5OfMessageAttributes() const
void SetMD5OfMessageAttributes(MD5OfMessageAttributesT &&value)
bool BodyHasBeenSet() const
bool MessageIdHasBeenSet() const
Message & AddMessageAttributes(MessageAttributesKeyT &&key, MessageAttributesValueT &&value)
bool MD5OfBodyHasBeenSet() const
Message & WithMD5OfBody(MD5OfBodyT &&value)
const Aws::String & GetMD5OfBody() const
bool MD5OfMessageAttributesHasBeenSet() const
Message & WithMessageId(MessageIdT &&value)
Message & WithReceiptHandle(ReceiptHandleT &&value)
Message & WithMD5OfMessageAttributes(MD5OfMessageAttributesT &&value)
void SetMessageId(MessageIdT &&value)
Message & WithMessageAttributes(MessageAttributesT &&value)
void SetAttributes(AttributesT &&value)
Message & AddAttributes(MessageSystemAttributeName key, Aws::String value)
bool MessageAttributesHasBeenSet() const
void SetMessageAttributes(MessageAttributesT &&value)
AWS_SQS_API Aws::Utils::Json::JsonValue Jsonize() const
bool ReceiptHandleHasBeenSet() const
const Aws::Map< MessageSystemAttributeName, Aws::String > & GetAttributes() const
AWS_SQS_API Message()=default
const Aws::String & GetReceiptHandle() const
AWS_SQS_API Message & operator=(Aws::Utils::Json::JsonView jsonValue)
void SetMD5OfBody(MD5OfBodyT &&value)
void SetBody(BodyT &&value)
const Aws::String & GetBody() const
AWS_SQS_API Message(Aws::Utils::Json::JsonView jsonValue)
bool AttributesHasBeenSet() const
const Aws::Map< Aws::String, MessageAttributeValue > & GetMessageAttributes() const
Message & WithBody(BodyT &&value)
const Aws::String & GetMessageId() const
Message & WithAttributes(AttributesT &&value)
MessageSystemAttributeName
std::map< K, V, std::less< K >, Aws::Allocator< std::pair< const K, V > > > Map
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue