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

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

ShadowDeltaUpdatedEvent.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/crt/JsonObject.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
27 class AWS_IOTSHADOW_API ShadowDeltaUpdatedEvent final
28 {
29 public:
30 ShadowDeltaUpdatedEvent() = default;
31
32 ShadowDeltaUpdatedEvent(const Crt::JsonView &doc);
33 ShadowDeltaUpdatedEvent &operator=(const Crt::JsonView &doc);
34
35 void SerializeToObject(Crt::JsonObject &doc) const;
36
41 Aws::Crt::Optional<int32_t> Version;
42
47 Aws::Crt::Optional<Aws::Crt::DateTime> Timestamp;
48
53 Aws::Crt::Optional<Aws::Crt::JsonObject> Metadata;
54
59 Aws::Crt::Optional<Aws::Crt::JsonObject> State;
60
61 private:
62 static void LoadFromObject(ShadowDeltaUpdatedEvent &obj, const Crt::JsonView &doc);
63 };
64 } // namespace Iotshadow
65} // namespace Aws
DateTime.h
JsonObject.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::ShadowDeltaUpdatedEvent
Definition: ShadowDeltaUpdatedEvent.h:28
Aws::Iotshadow::ShadowDeltaUpdatedEvent::Timestamp
Aws::Crt::Optional< Aws::Crt::DateTime > Timestamp
Definition: ShadowDeltaUpdatedEvent.h:47
Aws::Iotshadow::ShadowDeltaUpdatedEvent::Version
Aws::Crt::Optional< int32_t > Version
Definition: ShadowDeltaUpdatedEvent.h:41
Aws::Iotshadow::ShadowDeltaUpdatedEvent::Metadata
Aws::Crt::Optional< Aws::Crt::JsonObject > Metadata
Definition: ShadowDeltaUpdatedEvent.h:53
Aws::Iotshadow::ShadowDeltaUpdatedEvent::ShadowDeltaUpdatedEvent
ShadowDeltaUpdatedEvent()=default
Aws::Iotshadow::ShadowDeltaUpdatedEvent::State
Aws::Crt::Optional< Aws::Crt::JsonObject > State
Definition: ShadowDeltaUpdatedEvent.h:59
Aws
Definition: Api.h:17
Exports.h
AWS_IOTSHADOW_API
#define AWS_IOTSHADOW_API
Definition: Exports.h:20