AWS IoT Device SDK C++ v2
1.34.0
AWS IoT Device SDK C++ v2
shadow
include
aws
iotshadow
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
17
namespace
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
Aws::Iotshadow::ShadowUpdatedSnapshot
Definition:
ShadowUpdatedSnapshot.h:27
Aws::Iotshadow::ShadowUpdatedSnapshot::Version
Aws::Crt::Optional< int32_t > Version
Definition:
ShadowUpdatedSnapshot.h:52
JsonObject.h
ShadowState.h
StlAllocator.h
Aws::Crt::JsonView
Definition:
JsonObject.h:248
Aws::Iotshadow::ShadowUpdatedSnapshot::Metadata
Aws::Crt::Optional< Aws::Iotshadow::ShadowMetadata > Metadata
Definition:
ShadowUpdatedSnapshot.h:46
Aws::Crt::Optional< Aws::Iotshadow::ShadowState >
Aws::Iotshadow::ShadowUpdatedSnapshot::ShadowUpdatedSnapshot
ShadowUpdatedSnapshot()=default
Exports.h
Aws::Crt::JsonObject
Definition:
JsonObject.h:21
Aws
Definition:
Allocator.h:11
Aws::Iotshadow::ShadowUpdatedSnapshot::State
Aws::Crt::Optional< Aws::Iotshadow::ShadowState > State
Definition:
ShadowUpdatedSnapshot.h:40
ShadowMetadata.h
AWS_IOTSHADOW_API
#define AWS_IOTSHADOW_API
Definition:
Exports.h:20
Generated by
1.8.20