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>
53 inline void SetQueueUrl(
const char* value) { m_queueUrlHasBeenSet =
true; m_queueUrl.assign(value); }
78 inline void SetMessageBody(
const char* value) { m_messageBodyHasBeenSet =
true; m_messageBody.assign(value); }
96 inline void SetDelaySeconds(
int value) { m_delaySecondsHasBeenSet =
true; m_delaySeconds = value; }
191 inline void SetMessageDeduplicationId(
const char* value) { m_messageDeduplicationIdHasBeenSet =
true; m_messageDeduplicationId.assign(value); }
226 inline void SetMessageGroupId(
const char* value) { m_messageGroupIdHasBeenSet =
true; m_messageGroupId.assign(value); }
234 bool m_queueUrlHasBeenSet =
false;
237 bool m_messageBodyHasBeenSet =
false;
240 bool m_delaySecondsHasBeenSet =
false;
243 bool m_messageAttributesHasBeenSet =
false;
246 bool m_messageSystemAttributesHasBeenSet =
false;
249 bool m_messageDeduplicationIdHasBeenSet =
false;
252 bool m_messageGroupIdHasBeenSet =
false;
AWS_SQS_API Aws::Http::HeaderValueCollection GetRequestSpecificHeaders() const override
SendMessageRequest & WithQueueUrl(const char *value)
SendMessageRequest & AddMessageSystemAttributes(MessageSystemAttributeNameForSends &&key, const MessageSystemAttributeValue &value)
SendMessageRequest & WithMessageDeduplicationId(const Aws::String &value)
void SetMessageBody(const Aws::String &value)
SendMessageRequest & AddMessageSystemAttributes(const MessageSystemAttributeNameForSends &key, MessageSystemAttributeValue &&value)
SendMessageRequest & AddMessageAttributes(const Aws::String &key, MessageAttributeValue &&value)
SendMessageRequest & WithMessageBody(Aws::String &&value)
void SetMessageBody(Aws::String &&value)
void SetQueueUrl(const Aws::String &value)
SendMessageRequest & AddMessageAttributes(Aws::String &&key, const MessageAttributeValue &value)
bool MessageDeduplicationIdHasBeenSet() const
const Aws::Map< Aws::String, MessageAttributeValue > & GetMessageAttributes() const
bool MessageBodyHasBeenSet() const
void SetMessageDeduplicationId(Aws::String &&value)
const Aws::String & GetMessageGroupId() const
SendMessageRequest & WithQueueUrl(const Aws::String &value)
const Aws::String & GetMessageBody() const
SendMessageRequest & WithMessageDeduplicationId(const char *value)
SendMessageRequest & WithDelaySeconds(int value)
const Aws::String & GetMessageDeduplicationId() const
SendMessageRequest & WithMessageAttributes(const Aws::Map< Aws::String, MessageAttributeValue > &value)
void SetDelaySeconds(int value)
void SetQueueUrl(const char *value)
SendMessageRequest & WithQueueUrl(Aws::String &&value)
void SetMessageDeduplicationId(const Aws::String &value)
void SetQueueUrl(Aws::String &&value)
const Aws::Map< MessageSystemAttributeNameForSends, MessageSystemAttributeValue > & GetMessageSystemAttributes() const
SendMessageRequest & WithMessageGroupId(const Aws::String &value)
bool MessageSystemAttributesHasBeenSet() const
void SetMessageAttributes(const Aws::Map< Aws::String, MessageAttributeValue > &value)
SendMessageRequest & AddMessageAttributes(const char *key, const MessageAttributeValue &value)
void SetMessageAttributes(Aws::Map< Aws::String, MessageAttributeValue > &&value)
void SetMessageSystemAttributes(Aws::Map< MessageSystemAttributeNameForSends, MessageSystemAttributeValue > &&value)
SendMessageRequest & WithMessageGroupId(Aws::String &&value)
SendMessageRequest & AddMessageAttributes(const char *key, MessageAttributeValue &&value)
SendMessageRequest & AddMessageSystemAttributes(const MessageSystemAttributeNameForSends &key, const MessageSystemAttributeValue &value)
SendMessageRequest & WithMessageGroupId(const char *value)
SendMessageRequest & WithMessageDeduplicationId(Aws::String &&value)
void SetMessageGroupId(const char *value)
virtual const char * GetServiceRequestName() const override
void SetMessageSystemAttributes(const Aws::Map< MessageSystemAttributeNameForSends, MessageSystemAttributeValue > &value)
SendMessageRequest & WithMessageBody(const Aws::String &value)
void SetMessageGroupId(Aws::String &&value)
SendMessageRequest & AddMessageAttributes(const Aws::String &key, const MessageAttributeValue &value)
SendMessageRequest & WithMessageAttributes(Aws::Map< Aws::String, MessageAttributeValue > &&value)
bool DelaySecondsHasBeenSet() const
void SetMessageBody(const char *value)
AWS_SQS_API SendMessageRequest()
SendMessageRequest & WithMessageSystemAttributes(const Aws::Map< MessageSystemAttributeNameForSends, MessageSystemAttributeValue > &value)
bool MessageGroupIdHasBeenSet() const
int GetDelaySeconds() const
bool QueueUrlHasBeenSet() const
AWS_SQS_API Aws::String SerializePayload() const override
void SetMessageDeduplicationId(const char *value)
bool MessageAttributesHasBeenSet() const
SendMessageRequest & AddMessageSystemAttributes(MessageSystemAttributeNameForSends &&key, MessageSystemAttributeValue &&value)
SendMessageRequest & AddMessageAttributes(Aws::String &&key, MessageAttributeValue &&value)
const Aws::String & GetQueueUrl() const
SendMessageRequest & WithMessageSystemAttributes(Aws::Map< MessageSystemAttributeNameForSends, MessageSystemAttributeValue > &&value)
SendMessageRequest & WithMessageBody(const char *value)
void SetMessageGroupId(const Aws::String &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