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

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

ShadowStateWithDelta.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/crt/JsonObject.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
26 class AWS_IOTSHADOW_API ShadowStateWithDelta final
27 {
28 public:
29 ShadowStateWithDelta() = default;
30
31 ShadowStateWithDelta(const Crt::JsonView &doc);
32 ShadowStateWithDelta &operator=(const Crt::JsonView &doc);
33
34 void SerializeToObject(Crt::JsonObject &doc) const;
35
40 Aws::Crt::Optional<Aws::Crt::JsonObject> Delta;
41
46 Aws::Crt::Optional<Aws::Crt::JsonObject> Reported;
47
52 Aws::Crt::Optional<Aws::Crt::JsonObject> Desired;
53
54 private:
55 static void LoadFromObject(ShadowStateWithDelta &obj, const Crt::JsonView &doc);
56 };
57 } // namespace Iotshadow
58} // namespace Aws
JsonObject.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::ShadowStateWithDelta
Definition: ShadowStateWithDelta.h:27
Aws::Iotshadow::ShadowStateWithDelta::Desired
Aws::Crt::Optional< Aws::Crt::JsonObject > Desired
Definition: ShadowStateWithDelta.h:52
Aws::Iotshadow::ShadowStateWithDelta::Reported
Aws::Crt::Optional< Aws::Crt::JsonObject > Reported
Definition: ShadowStateWithDelta.h:46
Aws::Iotshadow::ShadowStateWithDelta::Delta
Aws::Crt::Optional< Aws::Crt::JsonObject > Delta
Definition: ShadowStateWithDelta.h:40
Aws::Iotshadow::ShadowStateWithDelta::ShadowStateWithDelta
ShadowStateWithDelta()=default
Aws
Definition: Api.h:17
Exports.h
AWS_IOTSHADOW_API
#define AWS_IOTSHADOW_API
Definition: Exports.h:20