AWS IoT Device SDK C++ v2: shadow/include/aws/iotshadow/UpdateNamedShadowRequest.h Source File

AWS IoT Device SDK C++ v2 1.14.0 AWS IoT Device SDK C++ v2

UpdateNamedShadowRequest.h
Go to the documentation of this file.
1#pragma once
2
3/* Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
4 * SPDX-License-Identifier: Apache-2.0.
5 *
6 * This file is generated
7 */
8
9#include <aws/iotshadow/ShadowState.h>
10
11#include <aws/iotshadow/Exports.h>
12
13#include <aws/crt/JsonObject.h>
14#include <aws/crt/StlAllocator.h>
15
16namespace Aws
17{
18 namespace Iotshadow
19 {
20
25 class AWS_IOTSHADOW_API UpdateNamedShadowRequest final
26 {
27 public:
28 UpdateNamedShadowRequest() = default;
29
30 UpdateNamedShadowRequest(const Crt::JsonView &doc);
31 UpdateNamedShadowRequest &operator=(const Crt::JsonView &doc);
32
33 void SerializeToObject(Crt::JsonObject &doc) const;
34
39 Aws::Crt::Optional<Aws::Crt::String> ShadowName;
40
46 Aws::Crt::Optional<Aws::Crt::String> ClientToken;
47
52 Aws::Crt::Optional<Aws::Crt::String> ThingName;
53
58 Aws::Crt::Optional<Aws::Iotshadow::ShadowState> State;
59
65 Aws::Crt::Optional<int32_t> Version;
66
67 private:
68 static void LoadFromObject(UpdateNamedShadowRequest &obj, const Crt::JsonView &doc);
69 };
70 } // namespace Iotshadow
71} // namespace Aws
JsonObject.h
ShadowState.h
StlAllocator.h
Aws::Crt::JsonObject
Definition: JsonObject.h:21
Aws::Crt::JsonView
Definition: JsonObject.h:207
Aws::Crt::Optional
Definition: Optional.h:17
Aws::Iotshadow::UpdateNamedShadowRequest
Definition: UpdateNamedShadowRequest.h:26
Aws::Iotshadow::UpdateNamedShadowRequest::ThingName
Aws::Crt::Optional< Aws::Crt::String > ThingName
Definition: UpdateNamedShadowRequest.h:52
Aws::Iotshadow::UpdateNamedShadowRequest::Version
Aws::Crt::Optional< int32_t > Version
Definition: UpdateNamedShadowRequest.h:65
Aws::Iotshadow::UpdateNamedShadowRequest::State
Aws::Crt::Optional< Aws::Iotshadow::ShadowState > State
Definition: UpdateNamedShadowRequest.h:58
Aws::Iotshadow::UpdateNamedShadowRequest::UpdateNamedShadowRequest
UpdateNamedShadowRequest()=default
Aws::Iotshadow::UpdateNamedShadowRequest::ShadowName
Aws::Crt::Optional< Aws::Crt::String > ShadowName
Definition: UpdateNamedShadowRequest.h:39
Aws::Iotshadow::UpdateNamedShadowRequest::ClientToken
Aws::Crt::Optional< Aws::Crt::String > ClientToken
Definition: UpdateNamedShadowRequest.h:46
Aws
Definition: Api.h:17
Exports.h
AWS_IOTSHADOW_API
#define AWS_IOTSHADOW_API
Definition: Exports.h:20