AWS IoT Device SDK C++ v2  1.34.0
AWS IoT Device SDK C++ v2
Public Member Functions | Public Attributes | List of all members
Aws::Iotshadow::GetShadowResponse Class Referencefinal

#include <GetShadowResponse.h>

Public Member Functions

 GetShadowResponse ()=default
 
 GetShadowResponse (const Crt::JsonView &doc)
 
GetShadowResponseoperator= (const Crt::JsonView &doc)
 
void SerializeToObject (Crt::JsonObject &doc) const
 

Public Attributes

Aws::Crt::Optional< Aws::Crt::StringClientToken
 
Aws::Crt::Optional< Aws::Iotshadow::ShadowStateWithDeltaState
 
Aws::Crt::Optional< Aws::Iotshadow::ShadowMetadataMetadata
 
Aws::Crt::Optional< Aws::Crt::DateTimeTimestamp
 
Aws::Crt::Optional< int32_t > Version
 

Detailed Description

Response payload to a GetShadow request.

Constructor & Destructor Documentation

◆ GetShadowResponse() [1/2]

Aws::Iotshadow::GetShadowResponse::GetShadowResponse ( )
default

◆ GetShadowResponse() [2/2]

Aws::Iotshadow::GetShadowResponse::GetShadowResponse ( const Crt::JsonView doc)

Member Function Documentation

◆ operator=()

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

◆ SerializeToObject()

void Aws::Iotshadow::GetShadowResponse::SerializeToObject ( Crt::JsonObject doc) const

Member Data Documentation

◆ ClientToken

Aws::Crt::Optional<Aws::Crt::String> Aws::Iotshadow::GetShadowResponse::ClientToken

An opaque token used to correlate requests and responses.

◆ Metadata

Aws::Crt::Optional<Aws::Iotshadow::ShadowMetadata> Aws::Iotshadow::GetShadowResponse::Metadata

Contains the timestamps for each attribute in the desired and reported sections of the state.

◆ State

Aws::Crt::Optional<Aws::Iotshadow::ShadowStateWithDelta> Aws::Iotshadow::GetShadowResponse::State

The (classic) shadow state of the AWS IoT thing.

◆ Timestamp

Aws::Crt::Optional<Aws::Crt::DateTime> Aws::Iotshadow::GetShadowResponse::Timestamp

The time the response was generated by AWS IoT.

◆ Version

Aws::Crt::Optional<int32_t> Aws::Iotshadow::GetShadowResponse::Version

The current version of the document for the device's shadow shared in AWS IoT. It is increased by one over the previous version of the document.


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