AWS IoT Device SDK C++ v2  1.34.0
AWS IoT Device SDK C++ v2
ShadowMetadata.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 
27  {
28  public:
29  ShadowMetadata() = default;
30 
31  ShadowMetadata(const Crt::JsonView &doc);
32  ShadowMetadata &operator=(const Crt::JsonView &doc);
33 
34  void SerializeToObject(Crt::JsonObject &doc) const;
35 
41 
47 
48  private:
49  static void LoadFromObject(ShadowMetadata &obj, const Crt::JsonView &doc);
50  };
51  } // namespace Iotshadow
52 } // namespace Aws
Aws::Iotshadow::ShadowMetadata::Reported
Aws::Crt::Optional< Aws::Crt::JsonObject > Reported
Definition: ShadowMetadata.h:46
JsonObject.h
StlAllocator.h
Aws::Iotshadow::ShadowMetadata::Desired
Aws::Crt::Optional< Aws::Crt::JsonObject > Desired
Definition: ShadowMetadata.h:40
Aws::Crt::JsonView
Definition: JsonObject.h:248
Aws::Iotshadow::ShadowMetadata
Definition: ShadowMetadata.h:27
Aws::Crt::Optional< Aws::Crt::JsonObject >
Exports.h
Aws::Iotshadow::ShadowMetadata::ShadowMetadata
ShadowMetadata()=default
Aws::Crt::JsonObject
Definition: JsonObject.h:21
Aws
Definition: Allocator.h:11
AWS_IOTSHADOW_API
#define AWS_IOTSHADOW_API
Definition: Exports.h:20