AWS IoT Device SDK C++ v2
1.34.0
AWS IoT Device SDK C++ v2
|
#include <UpdateNamedShadowRequest.h>
Public Member Functions | |
UpdateNamedShadowRequest ()=default | |
UpdateNamedShadowRequest (const Crt::JsonView &doc) | |
UpdateNamedShadowRequest & | 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 > | ShadowName |
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 UpdateNamedShadow request.
|
default |
Aws::Iotshadow::UpdateNamedShadowRequest::UpdateNamedShadowRequest | ( | const Crt::JsonView & | doc | ) |
UpdateNamedShadowRequest & Aws::Iotshadow::UpdateNamedShadowRequest::operator= | ( | const Crt::JsonView & | doc | ) |
void Aws::Iotshadow::UpdateNamedShadowRequest::SerializeToObject | ( | Crt::JsonObject & | doc | ) | const |
Aws::Crt::Optional<Aws::Crt::String> Aws::Iotshadow::UpdateNamedShadowRequest::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::Crt::String> Aws::Iotshadow::UpdateNamedShadowRequest::ShadowName |
Name of the shadow to update.
Aws::Crt::Optional<Aws::Iotshadow::ShadowState> Aws::Iotshadow::UpdateNamedShadowRequest::State |
Requested changes to shadow state. Updates affect only the fields specified.
Aws::Crt::Optional<Aws::Crt::String> Aws::Iotshadow::UpdateNamedShadowRequest::ThingName |
Aws IoT thing to update a named shadow of.
Aws::Crt::Optional<int32_t> Aws::Iotshadow::UpdateNamedShadowRequest::Version |
(Optional) The Device Shadow service applies the update only if the specified version matches the latest version.