#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 namespace Aws { namespace Iotshadow { /** * Data needed to make a GetShadow request. * */ class AWS_IOTSHADOW_API GetShadowRequest final { public: GetShadowRequest() = default; GetShadowRequest(const Crt::JsonView &doc); GetShadowRequest &operator=(const Crt::JsonView &doc); void SerializeToObject(Crt::JsonObject &doc) const; /** * AWS IoT thing to get the (classic) shadow for. * */ Aws::Crt::Optional ThingName; /** * 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; private: static void LoadFromObject(GetShadowRequest &obj, const Crt::JsonView &doc); }; } // namespace Iotshadow } // namespace Aws