7#include <aws/sns/SNS_EXPORTS.h>
8#include <aws/sns/SNSRequest.h>
9#include <aws/core/utils/memory/stl/AWSString.h>
10#include <aws/core/utils/memory/stl/AWSMap.h>
11#include <aws/sns/model/MessageAttributeValue.h>
54 inline void SetTopicArn(
const char* value) { m_topicArnHasBeenSet =
true; m_topicArn.assign(value); }
70 inline void SetTargetArn(
const char* value) { m_targetArnHasBeenSet =
true; m_targetArn.assign(value); }
87 inline void SetPhoneNumber(
const char* value) { m_phoneNumberHasBeenSet =
true; m_phoneNumber.assign(value); }
128 inline void SetMessage(
const char* value) { m_messageHasBeenSet =
true; m_message.assign(value); }
146 inline void SetSubject(
const char* value) { m_subjectHasBeenSet =
true; m_subject.assign(value); }
169 inline void SetMessageStructure(
const char* value) { m_messageStructureHasBeenSet =
true; m_messageStructure.assign(value); }
212 inline void SetMessageDeduplicationId(
const char* value) { m_messageDeduplicationIdHasBeenSet =
true; m_messageDeduplicationId.assign(value); }
234 inline void SetMessageGroupId(
const char* value) { m_messageGroupIdHasBeenSet =
true; m_messageGroupId.assign(value); }
242 bool m_topicArnHasBeenSet =
false;
245 bool m_targetArnHasBeenSet =
false;
248 bool m_phoneNumberHasBeenSet =
false;
251 bool m_messageHasBeenSet =
false;
254 bool m_subjectHasBeenSet =
false;
257 bool m_messageStructureHasBeenSet =
false;
260 bool m_messageAttributesHasBeenSet =
false;
263 bool m_messageDeduplicationIdHasBeenSet =
false;
266 bool m_messageGroupIdHasBeenSet =
false;
PublishRequest & WithTargetArn(const char *value)
void SetSubject(Aws::String &&value)
PublishRequest & WithSubject(Aws::String &&value)
const Aws::String & GetMessageStructure() const
PublishRequest & WithMessage(const char *value)
void SetMessageDeduplicationId(const char *value)
PublishRequest & AddMessageAttributes(const Aws::String &key, const MessageAttributeValue &value)
virtual const char * GetServiceRequestName() const override
void SetTopicArn(Aws::String &&value)
void SetTargetArn(Aws::String &&value)
PublishRequest & WithMessageDeduplicationId(const Aws::String &value)
void SetMessageGroupId(Aws::String &&value)
AWS_SNS_API PublishRequest()
PublishRequest & WithTopicArn(const char *value)
PublishRequest & WithMessageStructure(const Aws::String &value)
const Aws::String & GetTopicArn() const
PublishRequest & WithPhoneNumber(const Aws::String &value)
PublishRequest & WithPhoneNumber(const char *value)
const Aws::String & GetSubject() const
PublishRequest & WithTopicArn(Aws::String &&value)
bool MessageStructureHasBeenSet() const
bool TopicArnHasBeenSet() const
const Aws::String & GetPhoneNumber() const
const Aws::Map< Aws::String, MessageAttributeValue > & GetMessageAttributes() const
bool PhoneNumberHasBeenSet() const
PublishRequest & WithMessageDeduplicationId(const char *value)
void SetMessageAttributes(Aws::Map< Aws::String, MessageAttributeValue > &&value)
void SetTargetArn(const Aws::String &value)
const Aws::String & GetMessageGroupId() const
PublishRequest & WithPhoneNumber(Aws::String &&value)
void SetMessage(const char *value)
AWS_SNS_API void DumpBodyToUrl(Aws::Http::URI &uri) const override
PublishRequest & WithMessageStructure(const char *value)
PublishRequest & WithMessage(const Aws::String &value)
void SetMessageStructure(const Aws::String &value)
PublishRequest & AddMessageAttributes(const Aws::String &key, MessageAttributeValue &&value)
PublishRequest & WithTopicArn(const Aws::String &value)
void SetMessage(Aws::String &&value)
PublishRequest & WithMessageAttributes(const Aws::Map< Aws::String, MessageAttributeValue > &value)
bool TargetArnHasBeenSet() const
void SetPhoneNumber(Aws::String &&value)
PublishRequest & WithMessageGroupId(const char *value)
PublishRequest & WithTargetArn(const Aws::String &value)
PublishRequest & WithTargetArn(Aws::String &&value)
const Aws::String & GetMessage() const
bool SubjectHasBeenSet() const
void SetSubject(const Aws::String &value)
void SetMessage(const Aws::String &value)
const Aws::String & GetMessageDeduplicationId() const
bool MessageHasBeenSet() const
void SetMessageAttributes(const Aws::Map< Aws::String, MessageAttributeValue > &value)
void SetMessageGroupId(const char *value)
PublishRequest & WithSubject(const Aws::String &value)
PublishRequest & AddMessageAttributes(Aws::String &&key, const MessageAttributeValue &value)
PublishRequest & WithMessageDeduplicationId(Aws::String &&value)
PublishRequest & AddMessageAttributes(Aws::String &&key, MessageAttributeValue &&value)
bool MessageDeduplicationIdHasBeenSet() const
const Aws::String & GetTargetArn() const
PublishRequest & WithMessageAttributes(Aws::Map< Aws::String, MessageAttributeValue > &&value)
void SetMessageGroupId(const Aws::String &value)
void SetMessageDeduplicationId(const Aws::String &value)
void SetTargetArn(const char *value)
PublishRequest & AddMessageAttributes(const char *key, MessageAttributeValue &&value)
bool MessageGroupIdHasBeenSet() const
void SetPhoneNumber(const Aws::String &value)
void SetMessageDeduplicationId(Aws::String &&value)
AWS_SNS_API Aws::String SerializePayload() const override
void SetPhoneNumber(const char *value)
void SetTopicArn(const char *value)
bool MessageAttributesHasBeenSet() const
PublishRequest & WithMessageGroupId(const Aws::String &value)
void SetTopicArn(const Aws::String &value)
void SetMessageStructure(const char *value)
PublishRequest & WithSubject(const char *value)
PublishRequest & WithMessageStructure(Aws::String &&value)
PublishRequest & AddMessageAttributes(const char *key, const MessageAttributeValue &value)
PublishRequest & WithMessageGroupId(Aws::String &&value)
void SetMessageStructure(Aws::String &&value)
void SetSubject(const char *value)
PublishRequest & WithMessage(Aws::String &&value)
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