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/MessageSystemAttributeNameForSends.h>
12#include <aws/sqs/model/MessageSystemAttributeValue.h>
49 template <
typename IdT = Aws::String>
51 m_idHasBeenSet =
true;
52 m_id = std::forward<IdT>(value);
54 template <
typename IdT = Aws::String>
56 SetId(std::forward<IdT>(value));
67 template <
typename MessageBodyT = Aws::String>
69 m_messageBodyHasBeenSet =
true;
70 m_messageBody = std::forward<MessageBodyT>(value);
72 template <
typename MessageBodyT = Aws::String>
92 m_delaySecondsHasBeenSet =
true;
93 m_delaySeconds = value;
110 template <
typename MessageAttributesT = Aws::Map<Aws::String, MessageAttributeValue>>
112 m_messageAttributesHasBeenSet =
true;
113 m_messageAttributes = std::forward<MessageAttributesT>(value);
115 template <
typename MessageAttributesT = Aws::Map<Aws::String, MessageAttributeValue>>
120 template <
typename MessageAttributesKeyT = Aws::String,
typename MessageAttributesValueT = MessageAttributeValue>
122 m_messageAttributesHasBeenSet =
true;
123 m_messageAttributes.emplace(std::forward<MessageAttributesKeyT>(key), std::forward<MessageAttributesValueT>(value));
139 return m_messageSystemAttributes;
142 template <
typename MessageSystemAttributesT = Aws::Map<MessageSystemAttributeNameForSends, MessageSystemAttributeValue>>
144 m_messageSystemAttributesHasBeenSet =
true;
145 m_messageSystemAttributes = std::forward<MessageSystemAttributesT>(value);
147 template <
typename MessageSystemAttributesT = Aws::Map<MessageSystemAttributeNameForSends, MessageSystemAttributeValue>>
154 m_messageSystemAttributesHasBeenSet =
true;
155 m_messageSystemAttributes.emplace(key, value);
206 template <
typename MessageDeduplicationIdT = Aws::String>
208 m_messageDeduplicationIdHasBeenSet =
true;
209 m_messageDeduplicationId = std::forward<MessageDeduplicationIdT>(value);
211 template <
typename MessageDeduplicationIdT = Aws::String>
260 template <
typename MessageGroupIdT = Aws::String>
262 m_messageGroupIdHasBeenSet =
true;
263 m_messageGroupId = std::forward<MessageGroupIdT>(value);
265 template <
typename MessageGroupIdT = Aws::String>
276 int m_delaySeconds{0};
285 bool m_idHasBeenSet =
false;
286 bool m_messageBodyHasBeenSet =
false;
287 bool m_delaySecondsHasBeenSet =
false;
288 bool m_messageAttributesHasBeenSet =
false;
289 bool m_messageSystemAttributesHasBeenSet =
false;
290 bool m_messageDeduplicationIdHasBeenSet =
false;
291 bool m_messageGroupIdHasBeenSet =
false;
const Aws::String & GetMessageBody() const
SendMessageBatchRequestEntry & AddMessageSystemAttributes(MessageSystemAttributeNameForSends key, MessageSystemAttributeValue value)
AWS_SQS_API SendMessageBatchRequestEntry(Aws::Utils::Json::JsonView jsonValue)
AWS_SQS_API SendMessageBatchRequestEntry & operator=(Aws::Utils::Json::JsonView jsonValue)
void SetDelaySeconds(int value)
SendMessageBatchRequestEntry & WithMessageBody(MessageBodyT &&value)
bool MessageAttributesHasBeenSet() const
const Aws::Map< MessageSystemAttributeNameForSends, MessageSystemAttributeValue > & GetMessageSystemAttributes() const
SendMessageBatchRequestEntry & WithMessageAttributes(MessageAttributesT &&value)
SendMessageBatchRequestEntry & WithMessageDeduplicationId(MessageDeduplicationIdT &&value)
SendMessageBatchRequestEntry & WithId(IdT &&value)
SendMessageBatchRequestEntry & WithMessageSystemAttributes(MessageSystemAttributesT &&value)
void SetMessageAttributes(MessageAttributesT &&value)
SendMessageBatchRequestEntry & WithDelaySeconds(int value)
SendMessageBatchRequestEntry & AddMessageAttributes(MessageAttributesKeyT &&key, MessageAttributesValueT &&value)
const Aws::Map< Aws::String, MessageAttributeValue > & GetMessageAttributes() const
bool MessageGroupIdHasBeenSet() const
void SetMessageSystemAttributes(MessageSystemAttributesT &&value)
bool MessageDeduplicationIdHasBeenSet() const
bool MessageBodyHasBeenSet() const
bool IdHasBeenSet() const
AWS_SQS_API Aws::Utils::Json::JsonValue Jsonize() const
bool MessageSystemAttributesHasBeenSet() const
SendMessageBatchRequestEntry & WithMessageGroupId(MessageGroupIdT &&value)
void SetMessageBody(MessageBodyT &&value)
const Aws::String & GetMessageDeduplicationId() const
void SetMessageGroupId(MessageGroupIdT &&value)
bool DelaySecondsHasBeenSet() const
int GetDelaySeconds() const
const Aws::String & GetId() const
AWS_SQS_API SendMessageBatchRequestEntry()=default
const Aws::String & GetMessageGroupId() const
void SetMessageDeduplicationId(MessageDeduplicationIdT &&value)
MessageSystemAttributeNameForSends
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