#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 GetShadow responses. * */ class AWS_IOTSHADOW_API GetShadowSubscriptionRequest final { public: GetShadowSubscriptionRequest() = default; GetShadowSubscriptionRequest(const Crt::JsonView &doc); GetShadowSubscriptionRequest &operator=(const Crt::JsonView &doc); void SerializeToObject(Crt::JsonObject &doc) const; /** * AWS IoT thing subscribe to GetShadow responses for. * */ Aws::Crt::Optional ThingName; private: static void LoadFromObject(GetShadowSubscriptionRequest &obj, const Crt::JsonView &doc); }; } // namespace Iotshadow } // namespace Aws