AWS IoT Device SDK C++ v2
1.44.2
AWS IoT Device SDK C++ v2
Toggle main menu visibility
Loading...
Searching...
No Matches
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
StlAllocator.h
Aws::Crt::JsonObject
Definition
JsonObject.h:21
Aws::Crt::JsonView
Definition
JsonObject.h:248
Aws::Crt::Optional
Definition
Optional.h:19
Aws::Iotshadow::ShadowState::ShadowState
ShadowState()=default
Aws::Iotshadow::ShadowState::Reported
Aws::Crt::Optional< Aws::Crt::JsonObject > Reported
Definition
ShadowState.h:45
Aws::Iotshadow::ShadowState::SerializeToObject
void SerializeToObject(Crt::JsonObject &doc) const
Definition
ShadowState.cpp:29
Aws::Iotshadow::ShadowState::operator=
ShadowState & operator=(const Crt::JsonView &doc)
Definition
ShadowState.cpp:49
Aws::Iotshadow::ShadowState::Desired
Aws::Crt::Optional< Aws::Crt::JsonObject > Desired
Definition
ShadowState.h:39
Aws::Iotshadow
Definition
DeleteNamedShadowRequest.h:17
Aws
Definition
Allocator.h:11
Exports.h
AWS_IOTSHADOW_API
#define AWS_IOTSHADOW_API
Definition
Exports.h:20
Generated by
1.17.0