Skip to main content

TSNSMessageAttributeValue

Class in AWS.SNS

MessageAttributeValue class.

Ancestors

Properties

DataType

property DataType: string

BinaryValue

property BinaryValue: string

StringValue

property StringValue: string

Methods

CreateBinary

class function CreateBinary(const ABinaryValue: string): TSNSMessageAttributeValue; static;

TSNSMessageAttributeValue

Creates a message attribute value with a Base64 encoded binary value.

Parameters

NameDescription
ABinaryValueSpecify the Base64-encoded value.

Returns

A new TSNSMessageAttributeValue instance.

CreateNumber

class function CreateNumber(const AStringValue: string): TSNSMessageAttributeValue; static;

TSNSMessageAttributeValue

Creates a message attribute value with a Number value.

Parameters

NameDescription
AStringValueSpecify the number value as a string.

Returns

A new TSNSMessageAttributeValue instance.

CreateString

class function CreateString(const AStringValue: string): TSNSMessageAttributeValue; static;

TSNSMessageAttributeValue

Creates a message attribute value with a String value.

Parameters

NameDescription
AStringValueSpecify the string value.

Returns

A new TSNSMessageAttributeValue instance.

CreateStringArray

class function CreateStringArray(const AStringValue: string): TSNSMessageAttributeValue; overload; static;

TSNSMessageAttributeValue

Creates a message attribute value with a string array value.

Parameters

NameDescription
AStringValueSpecify the array as a string value. The array should be enclosed in square brackets () with values separated by commas (). Strings values should be enclosed in double quotation marks (). Number values, or the keywords,, anddo not need to be enclosed in double quotation marks.

Returns

A new TSNSMessageAttributeValue instance.


class function CreateStringArray(const AStringValues: array of string): TSNSMessageAttributeValue; overload; static;

TSNSMessageAttributeValue

Creates a message attribute value with a string array value.

Parameters

NameDescription
AStringValuesSpecify the array as a string value. The array should be enclosed in square brackets () with values separated by commas (). Strings values should be enclosed in double quotation marks (). Number values, or the keywords,, anddo not need to be enclosed in double quotation marks.

Returns

A new TSNSMessageAttributeValue instance.