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

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

ShadowUpdatedSnapshot.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/ShadowMetadata.h>
10#include <aws/iotshadow/ShadowState.h>
11
12#include <aws/iotshadow/Exports.h>
13
14#include <aws/crt/JsonObject.h>
15#include <aws/crt/StlAllocator.h>
16
17namespace Aws
18{
19 namespace Iotshadow
20 {
21
26 class AWS_IOTSHADOW_API ShadowUpdatedSnapshot final
27 {
28 public:
29 ShadowUpdatedSnapshot() = default;
30
31 ShadowUpdatedSnapshot(const Crt::JsonView &doc);
32 ShadowUpdatedSnapshot &operator=(const Crt::JsonView &doc);
33
34 void SerializeToObject(Crt::JsonObject &doc) const;
35
40 Aws::Crt::Optional<Aws::Iotshadow::ShadowState> State;
41
46 Aws::Crt::Optional<Aws::Iotshadow::ShadowMetadata> Metadata;
47
52 Aws::Crt::Optional<int32_t> Version;
53
54 private:
55 static void LoadFromObject(ShadowUpdatedSnapshot &obj, const Crt::JsonView &doc);
56 };
57 } // namespace Iotshadow
58} // namespace Aws
JsonObject.h
ShadowMetadata.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::ShadowUpdatedSnapshot
Definition: ShadowUpdatedSnapshot.h:27
Aws::Iotshadow::ShadowUpdatedSnapshot::Version
Aws::Crt::Optional< int32_t > Version
Definition: ShadowUpdatedSnapshot.h:52
Aws::Iotshadow::ShadowUpdatedSnapshot::ShadowUpdatedSnapshot
ShadowUpdatedSnapshot()=default
Aws::Iotshadow::ShadowUpdatedSnapshot::State
Aws::Crt::Optional< Aws::Iotshadow::ShadowState > State
Definition: ShadowUpdatedSnapshot.h:40
Aws::Iotshadow::ShadowUpdatedSnapshot::Metadata
Aws::Crt::Optional< Aws::Iotshadow::ShadowMetadata > Metadata
Definition: ShadowUpdatedSnapshot.h:46
Aws
Definition: Api.h:17
Exports.h
AWS_IOTSHADOW_API
#define AWS_IOTSHADOW_API
Definition: Exports.h:20