73 return m_value != other.m_value;
78 return m_value == other.m_value;
107 bool GetBool(
const char* key)
const;
113 JsonValue& WithBool(
const char* key,
bool value);
129 int GetInteger(
const char* key)
const;
135 JsonValue& WithInteger(
const char* key,
int value);
145 int AsInteger()
const;
151 long long GetInt64(
const char* key)
const;
157 JsonValue& WithInt64(
const char* key,
long long value);
167 long long AsInt64()
const;
173 double GetDouble(
const char* key)
const;
179 JsonValue& WithDouble(
const char* key,
double value);
189 double AsDouble()
const;
240 JsonValue GetObject(
const char* key)
const;
281 bool ValueExists(
const char* key)
const;
288 Aws::String WriteCompact(
bool treatAsObject =
true)
const;
293 void WriteCompact(
Aws::OStream& ostream,
bool treatAsObject =
true)
const;
299 Aws::String WriteReadable(
bool treatAsObject =
true)
const;
304 void WriteReadable(
Aws::OStream& ostream,
bool treatAsObject =
true)
const;
312 return m_wasParseSuccessful;
320 return m_errorMessage;
325 void AppendValue(
const JsonValue& value);
327 bool IsObject()
const;
329 bool IsString()
const;
330 bool IsIntegerType()
const;
331 bool IsFloatingPointType()
const;
332 bool IsListType()
const;
342 bool m_wasParseSuccessful;
const Aws::String & GetErrorMessage() const
std::map< K, V, std::less< K >, Aws::Allocator< std::pair< const K, V > > > Map
std::basic_istream< char, std::char_traits< char > > IStream
bool operator==(const JsonValue &other)
bool WasParseSuccessful() const
bool operator!=(const JsonValue &other)
std::basic_ostream< char, std::char_traits< char > > OStream
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::External::Json::Value & ModifyRawValue()
JSON (JavaScript Object Notation).