AWS IoT Device SDK C++ v2: Aws::Iotshadow::ShadowMetadata Class Reference

AWS IoT Device SDK C++ v2 1.14.0 AWS IoT Device SDK C++ v2

Public Member Functions | Public Attributes | List of all members
Aws::Iotshadow::ShadowMetadata Class Referencefinal

`#include <ShadowMetadata.h>`

## Public Member Functions
| ShadowMetadata ()=default
| ShadowMetadata (const Crt::JsonView &doc)
ShadowMetadata & | 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

## Detailed Description

Contains the last-updated timestamps for each attribute in the desired and reported sections of the shadow state.

## Constructor & Destructor Documentation

## ◆ ShadowMetadata() [1/2]

Aws::Iotshadow::ShadowMetadata::ShadowMetadata | ( |  | ) |
| default

## ◆ ShadowMetadata() [2/2]

Aws::Iotshadow::ShadowMetadata::ShadowMetadata | ( | const Crt::JsonView & | doc | ) |

## Member Function Documentation

## ◆ operator=()

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

## ◆ SerializeToObject()

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

## Member Data Documentation

## ◆ Desired

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

Contains the timestamps for each attribute in the desired section of a shadow's state.

## ◆ Reported

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

Contains the timestamps for each attribute in the reported section of a shadow's state.

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

- shadow/include/aws/iotshadow/ShadowMetadata.h
- shadow/source/ShadowMetadata.cpp