AWS IoT Device SDK C++ v2
1.34.0
AWS IoT Device SDK C++ v2
shadow
include
aws
iotshadow
ShadowState.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
16
namespace
Aws
17
{
18
namespace
Iotshadow
19
{
20
25
class
AWS_IOTSHADOW_API
ShadowState
final
26
{
27
public
:
28
ShadowState
() =
default
;
29
30
ShadowState
(
const
Crt::JsonView
&doc);
31
ShadowState
&operator=(
const
Crt::JsonView
&doc);
32
33
void
SerializeToObject(
Crt::JsonObject
&doc)
const
;
34
39
Aws::Crt::Optional<Aws::Crt::JsonObject>
Desired
;
40
45
Aws::Crt::Optional<Aws::Crt::JsonObject>
Reported
;
46
47
private
:
48
static
void
LoadFromObject(
ShadowState
&obj,
const
Crt::JsonView
&doc);
49
};
50
}
// namespace Iotshadow
51
}
// namespace Aws
JsonObject.h
Aws::Iotshadow::ShadowState::ShadowState
ShadowState()=default
Aws::Iotshadow::ShadowState::Reported
Aws::Crt::Optional< Aws::Crt::JsonObject > Reported
Definition:
ShadowState.h:45
StlAllocator.h
Aws::Crt::JsonView
Definition:
JsonObject.h:248
Aws::Iotshadow::ShadowState
Definition:
ShadowState.h:26
Aws::Iotshadow::ShadowState::Desired
Aws::Crt::Optional< Aws::Crt::JsonObject > Desired
Definition:
ShadowState.h:39
Aws::Crt::Optional< Aws::Crt::JsonObject >
Exports.h
Aws::Crt::JsonObject
Definition:
JsonObject.h:21
Aws
Definition:
Allocator.h:11
AWS_IOTSHADOW_API
#define AWS_IOTSHADOW_API
Definition:
Exports.h:20
Generated by
1.8.20