7#include <aws/sqs/SQS_EXPORTS.h>
8#include <aws/sqs/SQSRequest.h>
9#include <aws/core/utils/memory/stl/AWSString.h>
10#include <aws/core/utils/memory/stl/AWSMap.h>
11#include <aws/sqs/model/MessageAttributeValue.h>
12#include <aws/sqs/model/MessageSystemAttributeNameForSends.h>
13#include <aws/sqs/model/MessageSystemAttributeValue.h>
51 template<
typename QueueUrlT = Aws::String>
52 void SetQueueUrl(QueueUrlT&& value) { m_queueUrlHasBeenSet =
true; m_queueUrl = std::forward<QueueUrlT>(value); }
53 template<
typename QueueUrlT = Aws::String>
74 template<
typename MessageBodyT = Aws::String>
75 void SetMessageBody(MessageBodyT&& value) { m_messageBodyHasBeenSet =
true; m_messageBody = std::forward<MessageBodyT>(value); }
76 template<
typename MessageBodyT = Aws::String>
92 inline void SetDelaySeconds(
int value) { m_delaySecondsHasBeenSet =
true; m_delaySeconds = value; }
105 template<
typename MessageAttributesT = Aws::Map<Aws::String, MessageAttributeValue>>
106 void SetMessageAttributes(MessageAttributesT&& value) { m_messageAttributesHasBeenSet =
true; m_messageAttributes = std::forward<MessageAttributesT>(value); }
107 template<
typename MessageAttributesT = Aws::Map<Aws::String, MessageAttributeValue>>
109 template<
typename MessageAttributesKeyT = Aws::String,
typename MessageAttributesValueT = MessageAttributeValue>
111 m_messageAttributesHasBeenSet =
true; m_messageAttributes.emplace(std::forward<MessageAttributesKeyT>(key), std::forward<MessageAttributesValueT>(value));
return *
this;
127 template<
typename MessageSystemAttributesT = Aws::Map<MessageSystemAttributeNameForSends, MessageSystemAttributeValue>>
128 void SetMessageSystemAttributes(MessageSystemAttributesT&& value) { m_messageSystemAttributesHasBeenSet =
true; m_messageSystemAttributes = std::forward<MessageSystemAttributesT>(value); }
129 template<
typename MessageSystemAttributesT = Aws::Map<MessageSystemAttributeNameForSends, MessageSystemAttributeValue>>
132 m_messageSystemAttributesHasBeenSet =
true; m_messageSystemAttributes.emplace(key, value);
return *
this;
182 template<
typename MessageDeduplicationIdT = Aws::String>
183 void SetMessageDeduplicationId(MessageDeduplicationIdT&& value) { m_messageDeduplicationIdHasBeenSet =
true; m_messageDeduplicationId = std::forward<MessageDeduplicationIdT>(value); }
184 template<
typename MessageDeduplicationIdT = Aws::String>
230 template<
typename MessageGroupIdT = Aws::String>
231 void SetMessageGroupId(MessageGroupIdT&& value) { m_messageGroupIdHasBeenSet =
true; m_messageGroupId = std::forward<MessageGroupIdT>(value); }
232 template<
typename MessageGroupIdT = Aws::String>
238 bool m_queueUrlHasBeenSet =
false;
241 bool m_messageBodyHasBeenSet =
false;
243 int m_delaySeconds{0};
244 bool m_delaySecondsHasBeenSet =
false;
247 bool m_messageAttributesHasBeenSet =
false;
250 bool m_messageSystemAttributesHasBeenSet =
false;
253 bool m_messageDeduplicationIdHasBeenSet =
false;
256 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