71 return m_value != other.m_value;
76 return m_value == other.m_value;
105 bool GetBool(
const char* key)
const;
111 JsonValue& WithBool(
const char* key,
bool value);
127 int GetInteger(
const char* key)
const;
133 JsonValue& WithInteger(
const char* key,
int value);
143 int AsInteger()
const;
149 long long GetInt64(
const char* key)
const;
155 JsonValue& WithInt64(
const char* key,
long long value);
165 long long AsInt64()
const;
171 double GetDouble(
const char* key)
const;
177 JsonValue& WithDouble(
const char* key,
double value);
187 double AsDouble()
const;
238 JsonValue GetObject(
const char* key)
const;
279 bool ValueExists(
const char* key)
const;
286 Aws::String WriteCompact(
bool treatAsObject =
true)
const;
291 void WriteCompact(
Aws::OStream& ostream,
bool treatAsObject =
true)
const;
297 Aws::String WriteReadable(
bool treatAsObject =
true)
const;
302 void WriteReadable(
Aws::OStream& ostream,
bool treatAsObject =
true)
const;
310 return m_wasParseSuccessful;
318 return m_errorMessage;
323 void AppendValue(
const JsonValue& value);
325 bool IsObject()
const;
327 bool IsString()
const;
328 bool IsIntegerType()
const;
329 bool IsFloatingPointType()
const;
330 bool IsListType()
const;
340 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).