AWS IoT Device SDK C++ v2
1.34.0
AWS IoT Device SDK C++ v2
|
#include <UpdateShadowRequest.h>
Public Member Functions | |
UpdateShadowRequest ()=default | |
UpdateShadowRequest (const Crt::JsonView &doc) | |
UpdateShadowRequest & | operator= (const Crt::JsonView &doc) |
void | SerializeToObject (Crt::JsonObject &doc) const |
Public Attributes | |
Aws::Crt::Optional< Aws::Crt::String > | ThingName |
Aws::Crt::Optional< Aws::Crt::String > | ClientToken |
Aws::Crt::Optional< Aws::Iotshadow::ShadowState > | State |
Aws::Crt::Optional< int32_t > | Version |
Data needed to make an UpdateShadow request.
|
default |
Aws::Iotshadow::UpdateShadowRequest::UpdateShadowRequest | ( | const Crt::JsonView & | doc | ) |
UpdateShadowRequest & Aws::Iotshadow::UpdateShadowRequest::operator= | ( | const Crt::JsonView & | doc | ) |
void Aws::Iotshadow::UpdateShadowRequest::SerializeToObject | ( | Crt::JsonObject & | doc | ) | const |
Aws::Crt::Optional<Aws::Crt::String> Aws::Iotshadow::UpdateShadowRequest::ClientToken |
Optional. A client token used to correlate requests and responses. Enter an arbitrary value here and it is reflected in the response.
Aws::Crt::Optional<Aws::Iotshadow::ShadowState> Aws::Iotshadow::UpdateShadowRequest::State |
Requested changes to the shadow state. Updates affect only the fields specified.
Aws::Crt::Optional<Aws::Crt::String> Aws::Iotshadow::UpdateShadowRequest::ThingName |
Aws IoT thing to update the (classic) shadow of.
Aws::Crt::Optional<int32_t> Aws::Iotshadow::UpdateShadowRequest::Version |
(Optional) The Device Shadow service processes the update only if the specified version matches the latest version.