AWS IoT Device SDK C++ v2
1.34.0
AWS IoT Device SDK C++ v2
|
#include <ShadowStateWithDelta.h>
Public Member Functions | |
ShadowStateWithDelta ()=default | |
ShadowStateWithDelta (const Crt::JsonView &doc) | |
ShadowStateWithDelta & | operator= (const Crt::JsonView &doc) |
void | SerializeToObject (Crt::JsonObject &doc) const |
Public Attributes | |
Aws::Crt::Optional< Aws::Crt::JsonObject > | Desired |
Aws::Crt::Optional< Aws::Crt::JsonObject > | Reported |
Aws::Crt::Optional< Aws::Crt::JsonObject > | Delta |
(Potentially partial) state of an AWS IoT thing's shadow. Includes the delta between the reported and desired states.
|
default |
Aws::Iotshadow::ShadowStateWithDelta::ShadowStateWithDelta | ( | const Crt::JsonView & | doc | ) |
ShadowStateWithDelta & Aws::Iotshadow::ShadowStateWithDelta::operator= | ( | const Crt::JsonView & | doc | ) |
void Aws::Iotshadow::ShadowStateWithDelta::SerializeToObject | ( | Crt::JsonObject & | doc | ) | const |
Aws::Crt::Optional<Aws::Crt::JsonObject> Aws::Iotshadow::ShadowStateWithDelta::Delta |
The delta between the reported and desired states.
Aws::Crt::Optional<Aws::Crt::JsonObject> Aws::Iotshadow::ShadowStateWithDelta::Desired |
The desired shadow state (from external services and devices).
Aws::Crt::Optional<Aws::Crt::JsonObject> Aws::Iotshadow::ShadowStateWithDelta::Reported |
The (last) reported shadow state from the device.