AWS IoT Device SDK C++ v2
1.34.0
AWS IoT Device SDK C++ v2
shadow
include
aws
iotshadow
ShadowUpdatedEvent.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/DateTime.h
>
10
#include <
aws/iotshadow/ShadowUpdatedSnapshot.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
ShadowUpdatedEvent
final
27
{
28
public
:
29
ShadowUpdatedEvent
() =
default
;
30
31
ShadowUpdatedEvent
(
const
Crt::JsonView
&doc);
32
ShadowUpdatedEvent
&operator=(
const
Crt::JsonView
&doc);
33
34
void
SerializeToObject(
Crt::JsonObject
&doc)
const
;
35
40
Aws::Crt::Optional<Aws::Iotshadow::ShadowUpdatedSnapshot>
Previous
;
41
46
Aws::Crt::Optional<Aws::Iotshadow::ShadowUpdatedSnapshot>
Current
;
47
52
Aws::Crt::Optional<Aws::Crt::DateTime>
Timestamp
;
53
54
private
:
55
static
void
LoadFromObject(
ShadowUpdatedEvent
&obj,
const
Crt::JsonView
&doc);
56
};
57
}
// namespace Iotshadow
58
}
// namespace Aws
Aws::Iotshadow::ShadowUpdatedEvent::Previous
Aws::Crt::Optional< Aws::Iotshadow::ShadowUpdatedSnapshot > Previous
Definition:
ShadowUpdatedEvent.h:40
JsonObject.h
DateTime.h
StlAllocator.h
ShadowUpdatedSnapshot.h
Aws::Crt::JsonView
Definition:
JsonObject.h:248
Aws::Iotshadow::ShadowUpdatedEvent::Current
Aws::Crt::Optional< Aws::Iotshadow::ShadowUpdatedSnapshot > Current
Definition:
ShadowUpdatedEvent.h:46
Aws::Iotshadow::ShadowUpdatedEvent
Definition:
ShadowUpdatedEvent.h:27
Aws::Crt::Optional< Aws::Iotshadow::ShadowUpdatedSnapshot >
Exports.h
Aws::Iotshadow::ShadowUpdatedEvent::Timestamp
Aws::Crt::Optional< Aws::Crt::DateTime > Timestamp
Definition:
ShadowUpdatedEvent.h:52
Aws::Crt::JsonObject
Definition:
JsonObject.h:21
Aws::Iotshadow::ShadowUpdatedEvent::ShadowUpdatedEvent
ShadowUpdatedEvent()=default
Aws
Definition:
Allocator.h:11
AWS_IOTSHADOW_API
#define AWS_IOTSHADOW_API
Definition:
Exports.h:20
Generated by
1.8.20