Class AttributeValue
- Namespace
- Amazon.DynamoDBv2.Model
- Assembly
- AWSSDK.DynamoDBv2.dll
Represents the data for an attribute.
Each attribute value is described as a name-value pair. The name is the data type, and the value is the data itself.
For more information, see Data Types in the Amazon DynamoDB Developer Guide.
public class AttributeValue
- Inheritance
-
AttributeValue
- Inherited Members
Constructors
AttributeValue()
Empty constructor used to set properties independently even when a simple constructor is available
public AttributeValue()
AttributeValue(List<string>)
Instantiates AttributeValue with the parameterized properties
public AttributeValue(List<string> ss)
Parameters
AttributeValue(string)
Instantiates AttributeValue with the parameterized properties
public AttributeValue(string s)
Parameters
s
stringAn attribute of type String. For example:
"S": "Hello"
Properties
B
Gets and sets the property B.
An attribute of type Binary. For example:
"B": "dGhpcyB0ZXh0IGlzIGJhc2U2NC1lbmNvZGVk"
public MemoryStream B { get; set; }
Property Value
BOOL
Gets and sets the property BOOL.
An attribute of type Boolean. For example:
"BOOL": true
public bool BOOL { get; set; }
Property Value
BS
Gets and sets the property BS.
An attribute of type Binary Set. For example:
"BS": ["U3Vubnk=", "UmFpbnk=", "U25vd3k="]
public List<MemoryStream> BS { get; set; }
Property Value
IsBOOLSet
This property is set to true if the property BOOL is set; false otherwise. This property can be used to determine if the related property was returned by a service response or if the related property should be sent to the service during a service call.
public bool IsBOOLSet { get; set; }
Property Value
- bool
True if the related property was set or will be sent to a service; false otherwise.
IsLSet
This property is set to true if the property L is set; false otherwise. This property can be used to determine if the related property was returned by a service response or if the related property should be sent to the service during a service call.
public bool IsLSet { get; set; }
Property Value
- bool
True if the related property was set or will be sent to a service; false otherwise.
IsMSet
This property is set to true if the property M is set; false otherwise. This property can be used to determine if the related property was returned by a service response or if the related property should be sent to the service during a service call.
public bool IsMSet { get; set; }
Property Value
- bool
True if the related property was set or will be sent to a service; false otherwise.
L
Gets and sets the property L.
An attribute of type List. For example:
"L": [ {"S": "Cookies"} , {"S": "Coffee"}, {"N": "3.14159"}]
public List<AttributeValue> L { get; set; }
Property Value
M
Gets and sets the property M.
An attribute of type Map. For example:
"M": {"Name": {"S": "Joe"}, "Age": {"N": "35"}}
public Dictionary<string, AttributeValue> M { get; set; }
Property Value
N
Gets and sets the property N.
An attribute of type Number. For example:
"N": "123.45"
Numbers are sent across the network to DynamoDB as strings, to maximize compatibility across languages and libraries. However, DynamoDB treats them as number type attributes for mathematical operations.
public string N { get; set; }
Property Value
NS
Gets and sets the property NS.
An attribute of type Number Set. For example:
"NS": ["42.2", "-19", "7.5", "3.14"]
Numbers are sent across the network to DynamoDB as strings, to maximize compatibility across languages and libraries. However, DynamoDB treats them as number type attributes for mathematical operations.
public List<string> NS { get; set; }
Property Value
NULL
Gets and sets the property NULL.
An attribute of type Null. For example:
"NULL": true
public bool NULL { get; set; }
Property Value
S
Gets and sets the property S.
An attribute of type String. For example:
"S": "Hello"
public string S { get; set; }
Property Value
SS
Gets and sets the property SS.
An attribute of type String Set. For example:
"SS": ["Giraffe", "Hippo" ,"Zebra"]
public List<string> SS { get; set; }