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/Array.h>
66 inline void SetDataType(
const char* value) { m_dataTypeHasBeenSet =
true; m_dataType.assign(value); }
82 inline void SetStringValue(
const char* value) { m_stringValueHasBeenSet =
true; m_stringValue.assign(value); }
103 bool m_dataTypeHasBeenSet =
false;
106 bool m_stringValueHasBeenSet =
false;
109 bool m_binaryValueHasBeenSet =
false;
MessageAttributeValue & WithBinaryValue(const Aws::Utils::ByteBuffer &value)
MessageAttributeValue & WithStringValue(const char *value)
bool StringValueHasBeenSet() const
AWS_SNS_API MessageAttributeValue(const Aws::Utils::Xml::XmlNode &xmlNode)
void SetDataType(Aws::String &&value)
void SetBinaryValue(Aws::Utils::ByteBuffer &&value)
MessageAttributeValue & WithBinaryValue(Aws::Utils::ByteBuffer &&value)
void SetStringValue(const Aws::String &value)
AWS_SNS_API void OutputToStream(Aws::OStream &ostream, const char *location, unsigned index, const char *locationValue) const
const Aws::String & GetDataType() const
AWS_SNS_API MessageAttributeValue()
MessageAttributeValue & WithStringValue(Aws::String &&value)
AWS_SNS_API void OutputToStream(Aws::OStream &oStream, const char *location) const
const Aws::Utils::ByteBuffer & GetBinaryValue() const
MessageAttributeValue & WithDataType(Aws::String &&value)
void SetBinaryValue(const Aws::Utils::ByteBuffer &value)
void SetStringValue(Aws::String &&value)
bool DataTypeHasBeenSet() const
void SetDataType(const Aws::String &value)
bool BinaryValueHasBeenSet() const
void SetStringValue(const char *value)
MessageAttributeValue & WithDataType(const char *value)
MessageAttributeValue & WithDataType(const Aws::String &value)
AWS_SNS_API MessageAttributeValue & operator=(const Aws::Utils::Xml::XmlNode &xmlNode)
void SetDataType(const char *value)
MessageAttributeValue & WithStringValue(const Aws::String &value)
const Aws::String & GetStringValue() const
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
std::basic_ostream< char, std::char_traits< char > > OStream