shadow/include/aws/iotshadow/GetNamedShadowSubscriptionRequest.h (22 lines of code) (raw):

#pragma once /* Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. * SPDX-License-Identifier: Apache-2.0. * * This file is generated */ #include <aws/iotshadow/Exports.h> #include <aws/crt/JsonObject.h> #include <aws/crt/StlAllocator.h> namespace Aws { namespace Iotshadow { /** * Data needed to subscribe to GetNamedShadow responses. * */ class AWS_IOTSHADOW_API GetNamedShadowSubscriptionRequest final { public: GetNamedShadowSubscriptionRequest() = default; GetNamedShadowSubscriptionRequest(const Crt::JsonView &doc); GetNamedShadowSubscriptionRequest &operator=(const Crt::JsonView &doc); void SerializeToObject(Crt::JsonObject &doc) const; /** * AWS IoT thing subscribe to GetNamedShadow responses for. * */ Aws::Crt::Optional<Aws::Crt::String> ThingName; /** * Name of the shadow to subscribe to GetNamedShadow responses for. * */ Aws::Crt::Optional<Aws::Crt::String> ShadowName; private: static void LoadFromObject(GetNamedShadowSubscriptionRequest &obj, const Crt::JsonView &doc); }; } // namespace Iotshadow } // namespace Aws