#pragma once /* Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. * SPDX-License-Identifier: Apache-2.0. * * This file is generated */ #include #include #include #include namespace Aws { namespace Iotshadow { /** * Data needed to make an UpdateNamedShadow request. * */ class AWS_IOTSHADOW_API UpdateNamedShadowRequest final { public: UpdateNamedShadowRequest() = default; UpdateNamedShadowRequest(const Crt::JsonView &doc); UpdateNamedShadowRequest &operator=(const Crt::JsonView &doc); void SerializeToObject(Crt::JsonObject &doc) const; /** * Name of the shadow to update. * */ Aws::Crt::Optional ShadowName; /** * 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 ClientToken; /** * Aws IoT thing to update a named shadow of. * */ Aws::Crt::Optional ThingName; /** * Requested changes to shadow state. Updates affect only the fields specified. * */ Aws::Crt::Optional State; /** * (Optional) The Device Shadow service applies the update only if the specified version matches the latest * version. * */ Aws::Crt::Optional Version; private: static void LoadFromObject(UpdateNamedShadowRequest &obj, const Crt::JsonView &doc); }; } // namespace Iotshadow } // namespace Aws