AWS IoT Device SDK C++ v2 1.44.2
AWS IoT Device SDK C++ v2
Loading...
Searching...
No Matches
Aws::Iotshadow::ShadowState Class Referencefinal

#include <ShadowState.h>

Public Member Functions

 ShadowState ()=default
 ShadowState (const Crt::JsonView &doc)
ShadowStateoperator= (const Crt::JsonView &doc)
void SerializeToObject (Crt::JsonObject &doc) const

Public Attributes

Aws::Crt::Optional< Aws::Crt::JsonObjectDesired
Aws::Crt::Optional< Aws::Crt::JsonObjectReported

Detailed Description

(Potentially partial) state of an AWS IoT thing's shadow.

Constructor & Destructor Documentation

◆ ShadowState() [1/2]

Aws::Iotshadow::ShadowState::ShadowState ( )
default

◆ ShadowState() [2/2]

Aws::Iotshadow::ShadowState::ShadowState ( const Crt::JsonView & doc)

Member Function Documentation

◆ operator=()

ShadowState & Aws::Iotshadow::ShadowState::operator= ( const Crt::JsonView & doc)

◆ SerializeToObject()

void Aws::Iotshadow::ShadowState::SerializeToObject ( Crt::JsonObject & doc) const

Member Data Documentation

◆ Desired

Aws::Crt::Optional<Aws::Crt::JsonObject> Aws::Iotshadow::ShadowState::Desired

The desired shadow state (from external services and devices).

◆ Reported

Aws::Crt::Optional<Aws::Crt::JsonObject> Aws::Iotshadow::ShadowState::Reported

The (last) reported shadow state from the device.


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