AWS SDK for C++  1.8.73
AWS SDK for C++
Public Member Functions | List of all members
Aws::DynamoDB::Model::AttributeValue Class Reference

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...
 
AttributeValueSetS (const Aws::String &s)
 
AttributeValueSetS (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...
 
AttributeValueSetN (const Aws::String &n)
 
AttributeValueSetN (const char *n)
 
AttributeValueSetN (const int nItem)
 
AttributeValueSetN (const float nItem)
 
AttributeValueSetN (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...
 
AttributeValueSetB (const Aws::Utils::ByteBuffer &b)
 
const Aws::Vector< Aws::StringGetSS () const
 returns the String Vector if the value is specialized to this type, otherwise an empty Vector More...
 
AttributeValueSetSS (const Aws::Vector< Aws::String > &ss)
 
AttributeValueAddSItem (const Aws::String &sItem)
 
AttributeValueAddSItem (const char *sItem)
 
const Aws::Vector< Aws::StringGetNS () const
 returns the Number Vector if the value is specialized to this type, otherwise an empty Vector More...
 
AttributeValueSetNS (const Aws::Vector< Aws::String > &ns)
 
AttributeValueAddNItem (const Aws::String &nItem)
 
AttributeValueAddNItem (const char *nItem)
 
const Aws::Vector< Aws::Utils::ByteBufferGetBS () const
 returns the ByteBuffer Vector if the value is specialized to this type, otherwise an empty Vector More...
 
AttributeValueSetBS (const Aws::Vector< Aws::Utils::ByteBuffer > &bs)
 
AttributeValueAddBItem (const Aws::Utils::ByteBuffer &bItem)
 
AttributeValueAddBItem (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...
 
AttributeValueSetM (const Aws::Map< Aws::String, const std::shared_ptr< AttributeValue >> &map)
 
AttributeValueAddMEntry (const Aws::String &key, const std::shared_ptr< AttributeValue > &value)
 
AttributeValueAddMEntry (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...
 
AttributeValueSetL (const Aws::Vector< std::shared_ptr< AttributeValue >> &list)
 
AttributeValueAddLItem (const std::shared_ptr< AttributeValue > &listItem)
 
bool GetBool () const
 returns the boolean if the value is specialized to this type, otherwise false More...
 
AttributeValueSetBool (bool value)
 
bool GetNull () const
 returns Null-Set-Value if the value is specialized to this type, otherwise false More...
 
AttributeValueSetNull (bool value)
 
AttributeValueoperator= (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
 

Detailed Description

http://docs.aws.amazon.com/amazondynamodb/latest/APIReference/API_AttributeValue.html

Definition at line 25 of file AttributeValue.h.

Constructor & Destructor Documentation

◆ AttributeValue() [1/4]

Aws::DynamoDB::Model::AttributeValue::AttributeValue ( )
inline

Definition at line 28 of file AttributeValue.h.

◆ AttributeValue() [2/4]

Aws::DynamoDB::Model::AttributeValue::AttributeValue ( const Aws::String s)
inlineexplicit

Definition at line 29 of file AttributeValue.h.

◆ AttributeValue() [3/4]

Aws::DynamoDB::Model::AttributeValue::AttributeValue ( const Aws::Vector< Aws::String > &  ss)
inlineexplicit

Definition at line 30 of file AttributeValue.h.

◆ AttributeValue() [4/4]

Aws::DynamoDB::Model::AttributeValue::AttributeValue ( Aws::Utils::Json::JsonView  jsonValue)
inline

Definition at line 31 of file AttributeValue.h.

Member Function Documentation

◆ AddBItem() [1/2]

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

◆ AddBItem() [2/2]

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

◆ AddLItem()

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

◆ AddMEntry() [1/2]

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

◆ AddMEntry() [2/2]

AttributeValue& Aws::DynamoDB::Model::AttributeValue::AddMEntry ( const char *  key,
const std::shared_ptr< AttributeValue > &  value 
)
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.

◆ AddNItem() [1/2]

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

◆ AddNItem() [2/2]

AttributeValue& Aws::DynamoDB::Model::AttributeValue::AddNItem ( const char *  nItem)
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.

◆ AddSItem() [1/2]

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

◆ AddSItem() [2/2]

AttributeValue& Aws::DynamoDB::Model::AttributeValue::AddSItem ( const char *  sItem)
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.

◆ GetB()

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

◆ GetBool()

bool Aws::DynamoDB::Model::AttributeValue::GetBool ( ) const

returns the boolean if the value is specialized to this type, otherwise false

◆ GetBS()

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

◆ GetL()

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

◆ GetM()

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

◆ GetN()

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

◆ GetNS()

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

◆ GetNull()

bool Aws::DynamoDB::Model::AttributeValue::GetNull ( ) const

returns Null-Set-Value if the value is specialized to this type, otherwise false

◆ GetS()

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

◆ GetSS()

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

◆ GetType()

ValueType Aws::DynamoDB::Model::AttributeValue::GetType ( ) const

◆ Jsonize()

Aws::Utils::Json::JsonValue Aws::DynamoDB::Model::AttributeValue::Jsonize ( ) const

◆ operator!=()

bool Aws::DynamoDB::Model::AttributeValue::operator!= ( const AttributeValue other) const
inline

Definition at line 161 of file AttributeValue.h.

◆ operator=()

AttributeValue& Aws::DynamoDB::Model::AttributeValue::operator= ( Aws::Utils::Json::JsonView  )

◆ operator==()

bool Aws::DynamoDB::Model::AttributeValue::operator== ( const AttributeValue other) const

◆ SerializeAttribute()

Aws::String Aws::DynamoDB::Model::AttributeValue::SerializeAttribute ( ) const

◆ SetB()

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

◆ SetBool()

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

◆ SetBS()

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

◆ SetL()

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

◆ SetM()

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

◆ SetN() [1/5]

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

◆ SetN() [2/5]

AttributeValue& Aws::DynamoDB::Model::AttributeValue::SetN ( const char *  n)
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.

◆ SetN() [3/5]

AttributeValue& Aws::DynamoDB::Model::AttributeValue::SetN ( const int  nItem)
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.

◆ SetN() [4/5]

AttributeValue& Aws::DynamoDB::Model::AttributeValue::SetN ( const float  nItem)
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.

◆ SetN() [5/5]

AttributeValue& Aws::DynamoDB::Model::AttributeValue::SetN ( const double  nItem)
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.

◆ SetNS()

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

◆ SetNull()

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

◆ SetS() [1/2]

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

◆ SetS() [2/2]

AttributeValue& Aws::DynamoDB::Model::AttributeValue::SetS ( const char *  n)
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.

◆ SetSS()

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


The documentation for this class was generated from the following file: