/**
* Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
* SPDX-License-Identifier: Apache-2.0.
*/
#pragma once
#include The user-specified message system attribute value. For string data types, the
* Value
attribute has the same restrictions on the content as the
* message body. For more information, see SendMessage.
Name
, type
, value
and the message
* body must not be empty or null.See Also:
AWS
* API Reference
Strings are Unicode with UTF-8 binary encoding. For a list of code values, * see ASCII * Printable Characters.
*/ inline const Aws::String& GetStringValue() const{ return m_stringValue; } /** *Strings are Unicode with UTF-8 binary encoding. For a list of code values, * see ASCII * Printable Characters.
*/ inline bool StringValueHasBeenSet() const { return m_stringValueHasBeenSet; } /** *Strings are Unicode with UTF-8 binary encoding. For a list of code values, * see ASCII * Printable Characters.
*/ inline void SetStringValue(const Aws::String& value) { m_stringValueHasBeenSet = true; m_stringValue = value; } /** *Strings are Unicode with UTF-8 binary encoding. For a list of code values, * see ASCII * Printable Characters.
*/ inline void SetStringValue(Aws::String&& value) { m_stringValueHasBeenSet = true; m_stringValue = std::move(value); } /** *Strings are Unicode with UTF-8 binary encoding. For a list of code values, * see ASCII * Printable Characters.
*/ inline void SetStringValue(const char* value) { m_stringValueHasBeenSet = true; m_stringValue.assign(value); } /** *Strings are Unicode with UTF-8 binary encoding. For a list of code values, * see ASCII * Printable Characters.
*/ inline MessageSystemAttributeValue& WithStringValue(const Aws::String& value) { SetStringValue(value); return *this;} /** *Strings are Unicode with UTF-8 binary encoding. For a list of code values, * see ASCII * Printable Characters.
*/ inline MessageSystemAttributeValue& WithStringValue(Aws::String&& value) { SetStringValue(std::move(value)); return *this;} /** *Strings are Unicode with UTF-8 binary encoding. For a list of code values, * see ASCII * Printable Characters.
*/ inline MessageSystemAttributeValue& WithStringValue(const char* value) { SetStringValue(value); return *this;} /** *Binary type attributes can store any binary data, such as compressed data, * encrypted data, or images.
*/ inline const Aws::Utils::ByteBuffer& GetBinaryValue() const{ return m_binaryValue; } /** *Binary type attributes can store any binary data, such as compressed data, * encrypted data, or images.
*/ inline bool BinaryValueHasBeenSet() const { return m_binaryValueHasBeenSet; } /** *Binary type attributes can store any binary data, such as compressed data, * encrypted data, or images.
*/ inline void SetBinaryValue(const Aws::Utils::ByteBuffer& value) { m_binaryValueHasBeenSet = true; m_binaryValue = value; } /** *Binary type attributes can store any binary data, such as compressed data, * encrypted data, or images.
*/ inline void SetBinaryValue(Aws::Utils::ByteBuffer&& value) { m_binaryValueHasBeenSet = true; m_binaryValue = std::move(value); } /** *Binary type attributes can store any binary data, such as compressed data, * encrypted data, or images.
*/ inline MessageSystemAttributeValue& WithBinaryValue(const Aws::Utils::ByteBuffer& value) { SetBinaryValue(value); return *this;} /** *Binary type attributes can store any binary data, such as compressed data, * encrypted data, or images.
*/ inline MessageSystemAttributeValue& WithBinaryValue(Aws::Utils::ByteBuffer&& value) { SetBinaryValue(std::move(value)); return *this;} /** *Not implemented. Reserved for future use.
*/ inline const Aws::VectorNot implemented. Reserved for future use.
*/ inline bool StringListValuesHasBeenSet() const { return m_stringListValuesHasBeenSet; } /** *Not implemented. Reserved for future use.
*/ inline void SetStringListValues(const Aws::VectorNot implemented. Reserved for future use.
*/ inline void SetStringListValues(Aws::VectorNot implemented. Reserved for future use.
*/ inline MessageSystemAttributeValue& WithStringListValues(const Aws::VectorNot implemented. Reserved for future use.
*/ inline MessageSystemAttributeValue& WithStringListValues(Aws::VectorNot implemented. Reserved for future use.
*/ inline MessageSystemAttributeValue& AddStringListValues(const Aws::String& value) { m_stringListValuesHasBeenSet = true; m_stringListValues.push_back(value); return *this; } /** *Not implemented. Reserved for future use.
*/ inline MessageSystemAttributeValue& AddStringListValues(Aws::String&& value) { m_stringListValuesHasBeenSet = true; m_stringListValues.push_back(std::move(value)); return *this; } /** *Not implemented. Reserved for future use.
*/ inline MessageSystemAttributeValue& AddStringListValues(const char* value) { m_stringListValuesHasBeenSet = true; m_stringListValues.push_back(value); return *this; } /** *Not implemented. Reserved for future use.
*/ inline const Aws::VectorNot implemented. Reserved for future use.
*/ inline bool BinaryListValuesHasBeenSet() const { return m_binaryListValuesHasBeenSet; } /** *Not implemented. Reserved for future use.
*/ inline void SetBinaryListValues(const Aws::VectorNot implemented. Reserved for future use.
*/ inline void SetBinaryListValues(Aws::VectorNot implemented. Reserved for future use.
*/ inline MessageSystemAttributeValue& WithBinaryListValues(const Aws::VectorNot implemented. Reserved for future use.
*/ inline MessageSystemAttributeValue& WithBinaryListValues(Aws::VectorNot implemented. Reserved for future use.
*/ inline MessageSystemAttributeValue& AddBinaryListValues(const Aws::Utils::ByteBuffer& value) { m_binaryListValuesHasBeenSet = true; m_binaryListValues.push_back(value); return *this; } /** *Not implemented. Reserved for future use.
*/ inline MessageSystemAttributeValue& AddBinaryListValues(Aws::Utils::ByteBuffer&& value) { m_binaryListValuesHasBeenSet = true; m_binaryListValues.push_back(std::move(value)); return *this; } /** *Amazon SQS supports the following logical data types: String
,
* Number
, and Binary
. For the Number
data
* type, you must use StringValue
.
You can also append custom * labels. For more information, see Amazon * SQS Message Attributes in the Amazon SQS Developer Guide.
*/ inline const Aws::String& GetDataType() const{ return m_dataType; } /** *Amazon SQS supports the following logical data types: String
,
* Number
, and Binary
. For the Number
data
* type, you must use StringValue
.
You can also append custom * labels. For more information, see Amazon * SQS Message Attributes in the Amazon SQS Developer Guide.
*/ inline bool DataTypeHasBeenSet() const { return m_dataTypeHasBeenSet; } /** *Amazon SQS supports the following logical data types: String
,
* Number
, and Binary
. For the Number
data
* type, you must use StringValue
.
You can also append custom * labels. For more information, see Amazon * SQS Message Attributes in the Amazon SQS Developer Guide.
*/ inline void SetDataType(const Aws::String& value) { m_dataTypeHasBeenSet = true; m_dataType = value; } /** *Amazon SQS supports the following logical data types: String
,
* Number
, and Binary
. For the Number
data
* type, you must use StringValue
.
You can also append custom * labels. For more information, see Amazon * SQS Message Attributes in the Amazon SQS Developer Guide.
*/ inline void SetDataType(Aws::String&& value) { m_dataTypeHasBeenSet = true; m_dataType = std::move(value); } /** *Amazon SQS supports the following logical data types: String
,
* Number
, and Binary
. For the Number
data
* type, you must use StringValue
.
You can also append custom * labels. For more information, see Amazon * SQS Message Attributes in the Amazon SQS Developer Guide.
*/ inline void SetDataType(const char* value) { m_dataTypeHasBeenSet = true; m_dataType.assign(value); } /** *Amazon SQS supports the following logical data types: String
,
* Number
, and Binary
. For the Number
data
* type, you must use StringValue
.
You can also append custom * labels. For more information, see Amazon * SQS Message Attributes in the Amazon SQS Developer Guide.
*/ inline MessageSystemAttributeValue& WithDataType(const Aws::String& value) { SetDataType(value); return *this;} /** *Amazon SQS supports the following logical data types: String
,
* Number
, and Binary
. For the Number
data
* type, you must use StringValue
.
You can also append custom * labels. For more information, see Amazon * SQS Message Attributes in the Amazon SQS Developer Guide.
*/ inline MessageSystemAttributeValue& WithDataType(Aws::String&& value) { SetDataType(std::move(value)); return *this;} /** *Amazon SQS supports the following logical data types: String
,
* Number
, and Binary
. For the Number
data
* type, you must use StringValue
.
You can also append custom * labels. For more information, see Amazon * SQS Message Attributes in the Amazon SQS Developer Guide.
*/ inline MessageSystemAttributeValue& WithDataType(const char* value) { SetDataType(value); return *this;} private: Aws::String m_stringValue; bool m_stringValueHasBeenSet = false; Aws::Utils::ByteBuffer m_binaryValue; bool m_binaryValueHasBeenSet = false; Aws::Vector