AWS SDK for C++AWS SDK for C++ Version 1.11.931 |
#include <Document.h>
Public Member Functions | |
| DocumentView () | |
| DocumentView (const Document &value) | |
| DocumentView & | operator= (const Document &value) |
| Aws::String | GetString (const Aws::String &key) const |
| Aws::String | AsString () const |
| bool | IsString () const |
| bool | GetBool (const Aws::String &key) const |
| bool | AsBool () const |
| bool | IsBool () const |
| int | GetInteger (const Aws::String &key) const |
| int | AsInteger () const |
| bool | IsIntegerType () const |
| Document & | AsInt64 (long long value) |
| int64_t | GetInt64 (const Aws::String &key) const |
| int64_t | AsInt64 () const |
| double | GetDouble (const Aws::String &key) const |
| double | AsDouble () const |
| bool | IsFloatingPointType () const |
| Array< DocumentView > | GetArray (const Aws::String &key) const |
| Array< DocumentView > | AsArray () const |
| bool | IsListType () const |
| DocumentView | GetObject (const Aws::String &key) const |
| DocumentView | AsObject () const |
| Aws::Map< Aws::String, DocumentView > | GetAllObjects () const |
| bool | IsObject () const |
| bool | IsNull () const |
| bool | ValueExists (const Aws::String &key) const |
| bool | KeyExists (const Aws::String &key) const |
| Aws::String | WriteCompact () const |
| Aws::String | WriteReadable () const |
| Document | Materialize () const |
Provides read-only view to an existing Document. This allows lightweight copying without making deep copies of the Document. Note: This class does not extend the lifetime of the given Document. It's your responsibility to ensure the lifetime of the Document is extended beyond the lifetime of its view.
Definition at line 229 of file Document.h.
| Aws::Utils::DocumentView::DocumentView | ( | ) |
| Aws::Utils::DocumentView::DocumentView | ( | const Document & | value | ) |
| Array< DocumentView > Aws::Utils::DocumentView::AsArray | ( | ) | const |
Returns the value of this Document as an array of DocumentView objects.
| bool Aws::Utils::DocumentView::AsBool | ( | ) | const |
Returns the value of this Document as a boolean.
| double Aws::Utils::DocumentView::AsDouble | ( | ) | const |
Returns the value of this Document as a double precision floating-point.
| int64_t Aws::Utils::DocumentView::AsInt64 | ( | ) | const |
Returns the value of this Document as 64-bit integer.
| Document & Aws::Utils::DocumentView::AsInt64 | ( | long long | value | ) |
Converts the current Document to a 64-bit integer.
| int Aws::Utils::DocumentView::AsInteger | ( | ) | const |
Returns the value of this Document as an int.
| DocumentView Aws::Utils::DocumentView::AsObject | ( | ) | const |
Returns the value of this Document as a DocumentView object.
| Aws::String Aws::Utils::DocumentView::AsString | ( | ) | const |
Returns the value of this Document as a string.
| Aws::Map< Aws::String, DocumentView > Aws::Utils::DocumentView::GetAllObjects | ( | ) | const |
| Array< DocumentView > Aws::Utils::DocumentView::GetArray | ( | const Aws::String & | key | ) | const |
Gets an array of DocumentView objects from this Document by its key.
| bool Aws::Utils::DocumentView::GetBool | ( | const Aws::String & | key | ) | const |
Gets a boolean value from this Document by its key.
| double Aws::Utils::DocumentView::GetDouble | ( | const Aws::String & | key | ) | const |
Gets a double precision floating-point value from this Document by its key.
| int64_t Aws::Utils::DocumentView::GetInt64 | ( | const Aws::String & | key | ) | const |
Gets a 64-bit integer value from this Document by its key. The value is 64-bit regardless of the platform/machine.
| int Aws::Utils::DocumentView::GetInteger | ( | const Aws::String & | key | ) | const |
Gets an integer value from this Document by its key. The integer is of the same size as an int on the machine.
| DocumentView Aws::Utils::DocumentView::GetObject | ( | const Aws::String & | key | ) | const |
Gets a DocumentView object from this Document by its key.
| Aws::String Aws::Utils::DocumentView::GetString | ( | const Aws::String & | key | ) | const |
Gets a string from this Document by its key.
| bool Aws::Utils::DocumentView::IsBool | ( | ) | const |
Tests whether the current value is a boolean.
| bool Aws::Utils::DocumentView::IsFloatingPointType | ( | ) | const |
Tests whether the current value is a floating-point.
| bool Aws::Utils::DocumentView::IsIntegerType | ( | ) | const |
Tests whether the current value is an int or int64_t. Returns false if the value is floating-point.
| bool Aws::Utils::DocumentView::IsListType | ( | ) | const |
Tests whether the current value is a Document array.
| bool Aws::Utils::DocumentView::IsNull | ( | ) | const |
Tests whether the current value is NULL.
| bool Aws::Utils::DocumentView::IsObject | ( | ) | const |
Tests whether the current value is a Document object.
| bool Aws::Utils::DocumentView::IsString | ( | ) | const |
Tests whether the current value is a string.
| bool Aws::Utils::DocumentView::KeyExists | ( | const Aws::String & | key | ) | const |
Tests whether a key exists at the current Document level.
| Document Aws::Utils::DocumentView::Materialize | ( | ) | const |
Creates a deep copy of the JSON value rooted in the current JSON view.
| DocumentView & Aws::Utils::DocumentView::operator= | ( | const Document & | value | ) |
| bool Aws::Utils::DocumentView::ValueExists | ( | const Aws::String & | key | ) | const |
Tests whether a value exists at the current Document level for the given key. Returns true if a value has been found and its value is not null, false otherwise.
| Aws::String Aws::Utils::DocumentView::WriteCompact | ( | ) | const |
Writes the current Document view without whitespace characters starting at the current level to a string.
| Aws::String Aws::Utils::DocumentView::WriteReadable | ( | ) | const |
Writes the current Document view to a string in a human friendly format.