#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 subscribe to a device's ShadowUpdated events. * */ class AWS_IOTSHADOW_API ShadowUpdatedSubscriptionRequest final { public: ShadowUpdatedSubscriptionRequest() = default; ShadowUpdatedSubscriptionRequest(const Crt::JsonView &doc); ShadowUpdatedSubscriptionRequest &operator=(const Crt::JsonView &doc); void SerializeToObject(Crt::JsonObject &doc) const; /** * Name of the AWS IoT thing to get ShadowUpdated events for. * */ Aws::Crt::Optional ThingName; private: static void LoadFromObject(ShadowUpdatedSubscriptionRequest &obj, const Crt::JsonView &doc); }; } // namespace Iotshadow } // namespace Aws