#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 { /** * (Potentially partial) state of an AWS IoT thing's shadow. * */ class AWS_IOTSHADOW_API ShadowState final { public: ShadowState() = default; ShadowState(const Crt::JsonView &doc); ShadowState &operator=(const Crt::JsonView &doc); void SerializeToObject(Crt::JsonObject &doc) const; /** * The desired shadow state (from external services and devices). * */ Aws::Crt::Optional Desired; /** * The (last) reported shadow state from the device. * */ Aws::Crt::Optional Reported; private: static void LoadFromObject(ShadowState &obj, const Crt::JsonView &doc); }; } // namespace Iotshadow } // namespace Aws