7#include <aws/sns/SNS_EXPORTS.h>
8#include <aws/core/utils/memory/stl/AWSStreamFwd.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>
56 inline void SetId(
Aws::String&& value) { m_idHasBeenSet =
true; m_id = std::move(value); }
57 inline void SetId(
const char* value) { m_idHasBeenSet =
true; m_id.assign(value); }
71 inline void SetMessage(
const char* value) { m_messageHasBeenSet =
true; m_message.assign(value); }
85 inline void SetSubject(
const char* value) { m_subjectHasBeenSet =
true; m_subject.assign(value); }
107 inline void SetMessageStructure(
const char* value) { m_messageStructureHasBeenSet =
true; m_messageStructure.assign(value); }
175 inline void SetMessageDeduplicationId(
const char* value) { m_messageDeduplicationIdHasBeenSet =
true; m_messageDeduplicationId.assign(value); }
204 inline void SetMessageGroupId(
const char* value) { m_messageGroupIdHasBeenSet =
true; m_messageGroupId.assign(value); }
212 bool m_idHasBeenSet =
false;
215 bool m_messageHasBeenSet =
false;
218 bool m_subjectHasBeenSet =
false;
221 bool m_messageStructureHasBeenSet =
false;
224 bool m_messageAttributesHasBeenSet =
false;
227 bool m_messageDeduplicationIdHasBeenSet =
false;
230 bool m_messageGroupIdHasBeenSet =
false;
const Aws::String & GetSubject() const
PublishBatchRequestEntry & WithMessageStructure(Aws::String &&value)
PublishBatchRequestEntry & WithMessageAttributes(Aws::Map< Aws::String, MessageAttributeValue > &&value)
const Aws::String & GetMessageStructure() const
void SetId(const Aws::String &value)
PublishBatchRequestEntry & WithSubject(Aws::String &&value)
const Aws::String & GetId() const
PublishBatchRequestEntry & WithMessageDeduplicationId(const Aws::String &value)
const Aws::String & GetMessage() const
const Aws::String & GetMessageDeduplicationId() const
void SetMessageDeduplicationId(const Aws::String &value)
PublishBatchRequestEntry & AddMessageAttributes(const Aws::String &key, MessageAttributeValue &&value)
PublishBatchRequestEntry & AddMessageAttributes(const Aws::String &key, const MessageAttributeValue &value)
PublishBatchRequestEntry & AddMessageAttributes(const char *key, MessageAttributeValue &&value)
void SetMessageGroupId(const Aws::String &value)
void SetId(const char *value)
PublishBatchRequestEntry & WithMessageDeduplicationId(Aws::String &&value)
void SetMessageGroupId(Aws::String &&value)
void SetMessageDeduplicationId(const char *value)
PublishBatchRequestEntry & WithMessageStructure(const Aws::String &value)
void SetMessageStructure(const Aws::String &value)
void SetSubject(Aws::String &&value)
const Aws::String & GetMessageGroupId() const
PublishBatchRequestEntry & WithMessageStructure(const char *value)
PublishBatchRequestEntry & WithSubject(const Aws::String &value)
PublishBatchRequestEntry & AddMessageAttributes(Aws::String &&key, MessageAttributeValue &&value)
bool MessageDeduplicationIdHasBeenSet() const
bool MessageGroupIdHasBeenSet() const
void SetMessageStructure(Aws::String &&value)
PublishBatchRequestEntry & WithSubject(const char *value)
AWS_SNS_API void OutputToStream(Aws::OStream &ostream, const char *location, unsigned index, const char *locationValue) const
void SetMessageGroupId(const char *value)
AWS_SNS_API PublishBatchRequestEntry()
bool SubjectHasBeenSet() const
PublishBatchRequestEntry & WithId(Aws::String &&value)
void SetSubject(const Aws::String &value)
PublishBatchRequestEntry & AddMessageAttributes(const char *key, const MessageAttributeValue &value)
AWS_SNS_API PublishBatchRequestEntry & operator=(const Aws::Utils::Xml::XmlNode &xmlNode)
void SetMessage(const char *value)
void SetMessageAttributes(Aws::Map< Aws::String, MessageAttributeValue > &&value)
PublishBatchRequestEntry & WithMessageGroupId(const Aws::String &value)
bool IdHasBeenSet() const
PublishBatchRequestEntry & WithId(const char *value)
PublishBatchRequestEntry & WithMessageDeduplicationId(const char *value)
PublishBatchRequestEntry & WithMessage(const char *value)
PublishBatchRequestEntry & WithMessageGroupId(Aws::String &&value)
PublishBatchRequestEntry & WithMessage(const Aws::String &value)
void SetMessageAttributes(const Aws::Map< Aws::String, MessageAttributeValue > &value)
AWS_SNS_API PublishBatchRequestEntry(const Aws::Utils::Xml::XmlNode &xmlNode)
void SetMessage(Aws::String &&value)
void SetId(Aws::String &&value)
bool MessageHasBeenSet() const
PublishBatchRequestEntry & AddMessageAttributes(Aws::String &&key, const MessageAttributeValue &value)
bool MessageAttributesHasBeenSet() const
const Aws::Map< Aws::String, MessageAttributeValue > & GetMessageAttributes() const
void SetMessageDeduplicationId(Aws::String &&value)
PublishBatchRequestEntry & WithId(const Aws::String &value)
PublishBatchRequestEntry & WithMessageGroupId(const char *value)
AWS_SNS_API void OutputToStream(Aws::OStream &oStream, const char *location) const
bool MessageStructureHasBeenSet() const
PublishBatchRequestEntry & WithMessageAttributes(const Aws::Map< Aws::String, MessageAttributeValue > &value)
void SetMessageStructure(const char *value)
void SetMessage(const Aws::String &value)
PublishBatchRequestEntry & WithMessage(Aws::String &&value)
void SetSubject(const char *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
std::basic_ostream< char, std::char_traits< char > > OStream