7#include <aws/sqs/SQS_EXPORTS.h>
8#include <aws/core/utils/memory/stl/AWSString.h>
9#include <aws/core/utils/memory/stl/AWSMap.h>
10#include <aws/sqs/model/MessageAttributeValue.h>
11#include <aws/sqs/model/MessageSystemAttributeNameForSends.h>
12#include <aws/sqs/model/MessageSystemAttributeValue.h>
55 template<
typename IdT = Aws::String>
56 void SetId(IdT&& value) { m_idHasBeenSet =
true; m_id = std::forward<IdT>(value); }
57 template<
typename IdT = Aws::String>
67 template<
typename MessageBodyT = Aws::String>
68 void SetMessageBody(MessageBodyT&& value) { m_messageBodyHasBeenSet =
true; m_messageBody = std::forward<MessageBodyT>(value); }
69 template<
typename MessageBodyT = Aws::String>
85 inline void SetDelaySeconds(
int value) { m_delaySecondsHasBeenSet =
true; m_delaySeconds = value; }
98 template<
typename MessageAttributesT = Aws::Map<Aws::String, MessageAttributeValue>>
99 void SetMessageAttributes(MessageAttributesT&& value) { m_messageAttributesHasBeenSet =
true; m_messageAttributes = std::forward<MessageAttributesT>(value); }
100 template<
typename MessageAttributesT = Aws::Map<Aws::String, MessageAttributeValue>>
102 template<
typename MessageAttributesKeyT = Aws::String,
typename MessageAttributesValueT = MessageAttributeValue>
104 m_messageAttributesHasBeenSet =
true; m_messageAttributes.emplace(std::forward<MessageAttributesKeyT>(key), std::forward<MessageAttributesValueT>(value));
return *
this;
120 template<
typename MessageSystemAttributesT = Aws::Map<MessageSystemAttributeNameForSends, MessageSystemAttributeValue>>
121 void SetMessageSystemAttributes(MessageSystemAttributesT&& value) { m_messageSystemAttributesHasBeenSet =
true; m_messageSystemAttributes = std::forward<MessageSystemAttributesT>(value); }
122 template<
typename MessageSystemAttributesT = Aws::Map<MessageSystemAttributeNameForSends, MessageSystemAttributeValue>>
125 m_messageSystemAttributesHasBeenSet =
true; m_messageSystemAttributes.emplace(key, value);
return *
this;
175 template<
typename MessageDeduplicationIdT = Aws::String>
176 void SetMessageDeduplicationId(MessageDeduplicationIdT&& value) { m_messageDeduplicationIdHasBeenSet =
true; m_messageDeduplicationId = std::forward<MessageDeduplicationIdT>(value); }
177 template<
typename MessageDeduplicationIdT = Aws::String>
208 template<
typename MessageGroupIdT = Aws::String>
209 void SetMessageGroupId(MessageGroupIdT&& value) { m_messageGroupIdHasBeenSet =
true; m_messageGroupId = std::forward<MessageGroupIdT>(value); }
210 template<
typename MessageGroupIdT = Aws::String>
216 bool m_idHasBeenSet =
false;
219 bool m_messageBodyHasBeenSet =
false;
221 int m_delaySeconds{0};
222 bool m_delaySecondsHasBeenSet =
false;
225 bool m_messageAttributesHasBeenSet =
false;
228 bool m_messageSystemAttributesHasBeenSet =
false;
231 bool m_messageDeduplicationIdHasBeenSet =
false;
234 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