AWS SDK for C++
1.8.151
AWS SDK for C++
|
http://docs.aws.amazon.com/amazondynamodb/latest/APIReference/API_AttributeValue.html More...
#include <AttributeValue.h>
Public Member Functions | |
AttributeValue () | |
AttributeValue (const Aws::String &s) | |
AttributeValue (const Aws::Vector< Aws::String > &ss) | |
AttributeValue (Aws::Utils::Json::JsonView jsonValue) | |
const Aws::String | GetS () const |
returns the String value if the value is specialized to this type, otherwise an empty String More... | |
AttributeValue & | SetS (const Aws::String &s) |
AttributeValue & | SetS (const char *n) |
const Aws::String | GetN () const |
returns the Number value if the value is specialized to this type, otherwise an empty String More... | |
AttributeValue & | SetN (const Aws::String &n) |
AttributeValue & | SetN (const char *n) |
AttributeValue & | SetN (const int nItem) |
AttributeValue & | SetN (const float nItem) |
AttributeValue & | SetN (const double nItem) |
const Aws::Utils::ByteBuffer | GetB () const |
returns the ByteBuffer if the value is specialized to this type, otherwise an empty Buffer More... | |
AttributeValue & | SetB (const Aws::Utils::ByteBuffer &b) |
const Aws::Vector< Aws::String > | GetSS () const |
returns the String Vector if the value is specialized to this type, otherwise an empty Vector More... | |
AttributeValue & | SetSS (const Aws::Vector< Aws::String > &ss) |
AttributeValue & | AddSItem (const Aws::String &sItem) |
AttributeValue & | AddSItem (const char *sItem) |
const Aws::Vector< Aws::String > | GetNS () const |
returns the Number Vector if the value is specialized to this type, otherwise an empty Vector More... | |
AttributeValue & | SetNS (const Aws::Vector< Aws::String > &ns) |
AttributeValue & | AddNItem (const Aws::String &nItem) |
AttributeValue & | AddNItem (const char *nItem) |
const Aws::Vector< Aws::Utils::ByteBuffer > | GetBS () const |
returns the ByteBuffer Vector if the value is specialized to this type, otherwise an empty Vector More... | |
AttributeValue & | SetBS (const Aws::Vector< Aws::Utils::ByteBuffer > &bs) |
AttributeValue & | AddBItem (const Aws::Utils::ByteBuffer &bItem) |
AttributeValue & | AddBItem (const unsigned char *bItem, size_t size) |
const Aws::Map< Aws::String, const std::shared_ptr< AttributeValue > > | GetM () const |
returns the Attribute Map if the value is specialized to this type, otherwise an empty Map More... | |
AttributeValue & | SetM (const Aws::Map< Aws::String, const std::shared_ptr< AttributeValue >> &map) |
AttributeValue & | AddMEntry (const Aws::String &key, const std::shared_ptr< AttributeValue > &value) |
AttributeValue & | AddMEntry (const char *key, const std::shared_ptr< AttributeValue > &value) |
const Aws::Vector< std::shared_ptr< AttributeValue > > | GetL () const |
returns the Attribute List if the value is specialized to this type, otherwise an empty Vector More... | |
AttributeValue & | SetL (const Aws::Vector< std::shared_ptr< AttributeValue >> &list) |
AttributeValue & | AddLItem (const std::shared_ptr< AttributeValue > &listItem) |
bool | GetBool () const |
returns the boolean if the value is specialized to this type, otherwise false More... | |
AttributeValue & | SetBool (bool value) |
bool | GetNull () const |
returns Null-Set-Value if the value is specialized to this type, otherwise false More... | |
AttributeValue & | SetNull (bool value) |
AttributeValue & | operator= (Aws::Utils::Json::JsonView) |
bool | operator== (const AttributeValue &other) const |
bool | operator!= (const AttributeValue &other) const |
Aws::String | SerializeAttribute () const |
Aws::Utils::Json::JsonValue | Jsonize () const |
ValueType | GetType () const |
http://docs.aws.amazon.com/amazondynamodb/latest/APIReference/API_AttributeValue.html
Definition at line 25 of file AttributeValue.h.
|
inline |
Definition at line 28 of file AttributeValue.h.
|
inlineexplicit |
Definition at line 29 of file AttributeValue.h.
|
inlineexplicit |
Definition at line 30 of file AttributeValue.h.
|
inline |
Definition at line 31 of file AttributeValue.h.
AttributeValue& Aws::DynamoDB::Model::AttributeValue::AddBItem | ( | const Aws::Utils::ByteBuffer & | bItem | ) |
if the value is already specialized to a ByteBuffer Set then this value is appended if uninitialized, specializes the type to a ByteBuffer Set with this initial value if already specialized to another type then the behavior is undefined
AttributeValue& Aws::DynamoDB::Model::AttributeValue::AddBItem | ( | const unsigned char * | bItem, |
size_t | size | ||
) |
if the value is already specialized to a ByteBuffer Set then this value is appended if uninitialized, specializes the type to a ByteBuffer Set with this initial value if already specialized to another type then the behavior is undefined
AttributeValue& Aws::DynamoDB::Model::AttributeValue::AddLItem | ( | const std::shared_ptr< AttributeValue > & | listItem | ) |
if the value is already specialized to a List then this value is appended if uninitialized, specializes the type to a List with these initial values if already specialized to another type then the behavior is undefined
AttributeValue& Aws::DynamoDB::Model::AttributeValue::AddMEntry | ( | const Aws::String & | key, |
const std::shared_ptr< AttributeValue > & | value | ||
) |
if the value is already specialized to a Map then this value is inserted if uninitialized, specializes the type to a Map with these initial values if already specialized to another type then the behavior is undefined
|
inline |
if the value is already specialized to a Map then this value is inserted if uninitialized, specializes the type to a Map with these initial values if already specialized to another type then the behavior is undefined
Definition at line 131 of file AttributeValue.h.
AttributeValue& Aws::DynamoDB::Model::AttributeValue::AddNItem | ( | const Aws::String & | nItem | ) |
if the value is already specialized to a Number Set then this value is appended if uninitialized, specializes the type to a Number Set with this initial value if already specialized to another type then the behavior is undefined
|
inline |
if the value is already specialized to a Number Set then this value is appended if uninitialized, specializes the type to a Number Set with this initial value if already specialized to another type then the behavior is undefined
Definition at line 101 of file AttributeValue.h.
AttributeValue& Aws::DynamoDB::Model::AttributeValue::AddSItem | ( | const Aws::String & | sItem | ) |
if the value is already specialized to a String Set then this value is appended if uninitialized, specializes the type to a String Set with this initial value if already specialized to another type then the behavior is undefined
|
inline |
if the value is already specialized to a String Set then this value is appended if uninitialized, specializes the type to a String Set with this initial value if already specialized to another type then the behavior is undefined
Definition at line 86 of file AttributeValue.h.
const Aws::Utils::ByteBuffer Aws::DynamoDB::Model::AttributeValue::GetB | ( | ) | const |
returns the ByteBuffer if the value is specialized to this type, otherwise an empty Buffer
bool Aws::DynamoDB::Model::AttributeValue::GetBool | ( | ) | const |
returns the boolean if the value is specialized to this type, otherwise false
const Aws::Vector<Aws::Utils::ByteBuffer> Aws::DynamoDB::Model::AttributeValue::GetBS | ( | ) | const |
returns the ByteBuffer Vector if the value is specialized to this type, otherwise an empty Vector
const Aws::Vector<std::shared_ptr<AttributeValue> > Aws::DynamoDB::Model::AttributeValue::GetL | ( | ) | const |
returns the Attribute List if the value is specialized to this type, otherwise an empty Vector
const Aws::Map<Aws::String, const std::shared_ptr<AttributeValue> > Aws::DynamoDB::Model::AttributeValue::GetM | ( | ) | const |
returns the Attribute Map if the value is specialized to this type, otherwise an empty Map
const Aws::String Aws::DynamoDB::Model::AttributeValue::GetN | ( | ) | const |
returns the Number value if the value is specialized to this type, otherwise an empty String
const Aws::Vector<Aws::String> Aws::DynamoDB::Model::AttributeValue::GetNS | ( | ) | const |
returns the Number Vector if the value is specialized to this type, otherwise an empty Vector
bool Aws::DynamoDB::Model::AttributeValue::GetNull | ( | ) | const |
returns Null-Set-Value if the value is specialized to this type, otherwise false
const Aws::String Aws::DynamoDB::Model::AttributeValue::GetS | ( | ) | const |
returns the String value if the value is specialized to this type, otherwise an empty String
const Aws::Vector<Aws::String> Aws::DynamoDB::Model::AttributeValue::GetSS | ( | ) | const |
returns the String Vector if the value is specialized to this type, otherwise an empty Vector
ValueType Aws::DynamoDB::Model::AttributeValue::GetType | ( | ) | const |
Aws::Utils::Json::JsonValue Aws::DynamoDB::Model::AttributeValue::Jsonize | ( | ) | const |
|
inline |
Definition at line 161 of file AttributeValue.h.
AttributeValue& Aws::DynamoDB::Model::AttributeValue::operator= | ( | Aws::Utils::Json::JsonView | ) |
bool Aws::DynamoDB::Model::AttributeValue::operator== | ( | const AttributeValue & | other | ) | const |
Aws::String Aws::DynamoDB::Model::AttributeValue::SerializeAttribute | ( | ) | const |
AttributeValue& Aws::DynamoDB::Model::AttributeValue::SetB | ( | const Aws::Utils::ByteBuffer & | b | ) |
if already specialized to a ByteBuffer, sets the value to this value if uninitialized, specializes the type to a ByteBuffer with the specified value if already specialized to another type then the behavior is undefined
AttributeValue& Aws::DynamoDB::Model::AttributeValue::SetBool | ( | bool | value | ) |
if already specialized to a boolean, sets to this value if uninitialized, specializes the type to a boolean with the specified value if already specialized to another type then the behavior is undefined
AttributeValue& Aws::DynamoDB::Model::AttributeValue::SetBS | ( | const Aws::Vector< Aws::Utils::ByteBuffer > & | bs | ) |
if already specialized to a ByteBuffer Set, sets to these values if uninitialized, specializes the type to a ByteBuffer Set with specified values if already specialized to another type then the behavior is undefined
AttributeValue& Aws::DynamoDB::Model::AttributeValue::SetL | ( | const Aws::Vector< std::shared_ptr< AttributeValue >> & | list | ) |
if already specialized to an Attribute List, sets to these values if uninitialized, specializes the type to an Attribute List with specified values if already specialized to another type then the behavior is undefined
AttributeValue& Aws::DynamoDB::Model::AttributeValue::SetM | ( | const Aws::Map< Aws::String, const std::shared_ptr< AttributeValue >> & | map | ) |
if already specialized to an Attribute Map, sets to these values if uninitialized, specializes the type to an Attribute Map with specified values if already specialized to another type then the behavior is undefined
AttributeValue& Aws::DynamoDB::Model::AttributeValue::SetN | ( | const Aws::String & | n | ) |
if already specialized to a Number, sets the value to this Number if uninitialized, specializes the type to a Number with specified value if already specialized to another type then the behavior is undefined
|
inline |
if already specialized to a Number, sets the value to this Number if uninitialized, specializes the type to a Number with specified value if already specialized to another type then the behavior is undefined
Definition at line 52 of file AttributeValue.h.
|
inline |
if already specialized to a Number, sets the value to this Number if uninitialized, specializes the type to a Number with specified value if already specialized to another type then the behavior is undefined
Definition at line 64 of file AttributeValue.h.
|
inline |
if already specialized to a Number, sets the value to this Number if uninitialized, specializes the type to a Number with specified value if already specialized to another type then the behavior is undefined
Definition at line 60 of file AttributeValue.h.
|
inline |
if already specialized to a Number, sets the value to this Number if uninitialized, specializes the type to a Number with specified value if already specialized to another type then the behavior is undefined
Definition at line 56 of file AttributeValue.h.
AttributeValue& Aws::DynamoDB::Model::AttributeValue::SetNS | ( | const Aws::Vector< Aws::String > & | ns | ) |
if already specialized to a Number Set, sets to these values if uninitialized, specializes the type to a Number Set with specified values if already specialized to another type then the behavior is undefined
AttributeValue& Aws::DynamoDB::Model::AttributeValue::SetNull | ( | bool | value | ) |
if already specialized to a Null, sets to this value if uninitialized, specializes the type to Null with the specified value if already specialized to another type then the behavior is undefined
AttributeValue& Aws::DynamoDB::Model::AttributeValue::SetS | ( | const Aws::String & | s | ) |
if already specialized to a String, sets the value to this String if uninitialized, specializes the type to a String with specified value if already specialized to another type then the behavior is undefined
|
inline |
if uninitialized, specializes the type to a String with specified value if already specialized to another type then the behavior is undefined
Definition at line 41 of file AttributeValue.h.
AttributeValue& Aws::DynamoDB::Model::AttributeValue::SetSS | ( | const Aws::Vector< Aws::String > & | ss | ) |
if already specialized to a String Set, sets to these values if uninitialized, specializes the type to a String Set with specified values if already specialized to another type then the behavior is undefined