7#include <aws/core/utils/memory/stl/AWSMap.h>
8#include <aws/core/utils/memory/stl/AWSString.h>
9#include <aws/sqs/SQSRequest.h>
10#include <aws/sqs/SQS_EXPORTS.h>
11#include <aws/sqs/model/MessageAttributeValue.h>
12#include <aws/sqs/model/MessageSystemAttributeNameForSends.h>
13#include <aws/sqs/model/MessageSystemAttributeValue.h>
47 template <
typename QueueUrlT = Aws::String>
49 m_queueUrlHasBeenSet =
true;
50 m_queueUrl = std::forward<QueueUrlT>(value);
52 template <
typename QueueUrlT = Aws::String>
75 template <
typename MessageBodyT = Aws::String>
77 m_messageBodyHasBeenSet =
true;
78 m_messageBody = std::forward<MessageBodyT>(value);
80 template <
typename MessageBodyT = Aws::String>
100 m_delaySecondsHasBeenSet =
true;
101 m_delaySeconds = value;
118 template <
typename MessageAttributesT = Aws::Map<Aws::String, MessageAttributeValue>>
120 m_messageAttributesHasBeenSet =
true;
121 m_messageAttributes = std::forward<MessageAttributesT>(value);
123 template <
typename MessageAttributesT = Aws::Map<Aws::String, MessageAttributeValue>>
128 template <
typename MessageAttributesKeyT = Aws::String,
typename MessageAttributesValueT = MessageAttributeValue>
130 m_messageAttributesHasBeenSet =
true;
131 m_messageAttributes.emplace(std::forward<MessageAttributesKeyT>(key), std::forward<MessageAttributesValueT>(value));
147 return m_messageSystemAttributes;
150 template <
typename MessageSystemAttributesT = Aws::Map<MessageSystemAttributeNameForSends, MessageSystemAttributeValue>>
152 m_messageSystemAttributesHasBeenSet =
true;
153 m_messageSystemAttributes = std::forward<MessageSystemAttributesT>(value);
155 template <
typename MessageSystemAttributesT = Aws::Map<MessageSystemAttributeNameForSends, MessageSystemAttributeValue>>
161 m_messageSystemAttributesHasBeenSet =
true;
162 m_messageSystemAttributes.emplace(key, value);
213 template <
typename MessageDeduplicationIdT = Aws::String>
215 m_messageDeduplicationIdHasBeenSet =
true;
216 m_messageDeduplicationId = std::forward<MessageDeduplicationIdT>(value);
218 template <
typename MessageDeduplicationIdT = Aws::String>
267 template <
typename MessageGroupIdT = Aws::String>
269 m_messageGroupIdHasBeenSet =
true;
270 m_messageGroupId = std::forward<MessageGroupIdT>(value);
272 template <
typename MessageGroupIdT = Aws::String>
283 int m_delaySeconds{0};
292 bool m_queueUrlHasBeenSet =
false;
293 bool m_messageBodyHasBeenSet =
false;
294 bool m_delaySecondsHasBeenSet =
false;
295 bool m_messageAttributesHasBeenSet =
false;
296 bool m_messageSystemAttributesHasBeenSet =
false;
297 bool m_messageDeduplicationIdHasBeenSet =
false;
298 bool m_messageGroupIdHasBeenSet =
false;
void SetMessageSystemAttributes(MessageSystemAttributesT &&value)
void SetMessageGroupId(MessageGroupIdT &&value)
AWS_SQS_API Aws::Http::HeaderValueCollection GetRequestSpecificHeaders() const override
SendMessageRequest & WithMessageBody(MessageBodyT &&value)
SendMessageRequest & WithMessageSystemAttributes(MessageSystemAttributesT &&value)
bool MessageDeduplicationIdHasBeenSet() const
const Aws::Map< Aws::String, MessageAttributeValue > & GetMessageAttributes() const
SendMessageRequest & WithMessageDeduplicationId(MessageDeduplicationIdT &&value)
bool MessageBodyHasBeenSet() const
void SetMessageBody(MessageBodyT &&value)
const Aws::String & GetMessageGroupId() const
const Aws::String & GetMessageBody() const
SendMessageRequest & WithMessageGroupId(MessageGroupIdT &&value)
SendMessageRequest & WithDelaySeconds(int value)
const Aws::String & GetMessageDeduplicationId() const
void SetDelaySeconds(int value)
const Aws::Map< MessageSystemAttributeNameForSends, MessageSystemAttributeValue > & GetMessageSystemAttributes() const
bool MessageSystemAttributesHasBeenSet() const
SendMessageRequest & WithQueueUrl(QueueUrlT &&value)
virtual const char * GetServiceRequestName() const override
void SetQueueUrl(QueueUrlT &&value)
void SetMessageAttributes(MessageAttributesT &&value)
bool DelaySecondsHasBeenSet() const
bool MessageGroupIdHasBeenSet() const
AWS_SQS_API SendMessageRequest()=default
SendMessageRequest & AddMessageSystemAttributes(MessageSystemAttributeNameForSends key, MessageSystemAttributeValue value)
int GetDelaySeconds() const
bool QueueUrlHasBeenSet() const
AWS_SQS_API Aws::String SerializePayload() const override
bool MessageAttributesHasBeenSet() const
void SetMessageDeduplicationId(MessageDeduplicationIdT &&value)
const Aws::String & GetQueueUrl() const
SendMessageRequest & AddMessageAttributes(MessageAttributesKeyT &&key, MessageAttributesValueT &&value)
SendMessageRequest & WithMessageAttributes(MessageAttributesT &&value)
Aws::Map< Aws::String, Aws::String > HeaderValueCollection
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