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

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

GetShadowResponse.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/ShadowMetadata.h>
11#include <aws/iotshadow/ShadowStateWithDelta.h>
12
13#include <aws/iotshadow/Exports.h>
14
15#include <aws/crt/JsonObject.h>
16#include <aws/crt/StlAllocator.h>
17
18namespace Aws
19{
20 namespace Iotshadow
21 {
22
27 class AWS_IOTSHADOW_API GetShadowResponse final
28 {
29 public:
30 GetShadowResponse() = default;
31
32 GetShadowResponse(const Crt::JsonView &doc);
33 GetShadowResponse &operator=(const Crt::JsonView &doc);
34
35 void SerializeToObject(Crt::JsonObject &doc) const;
36
42 Aws::Crt::Optional<int32_t> Version;
43
48 Aws::Crt::Optional<Aws::Crt::String> ClientToken;
49
54 Aws::Crt::Optional<Aws::Iotshadow::ShadowStateWithDelta> State;
55
60 Aws::Crt::Optional<Aws::Iotshadow::ShadowMetadata> Metadata;
61
66 Aws::Crt::Optional<Aws::Crt::DateTime> Timestamp;
67
68 private:
69 static void LoadFromObject(GetShadowResponse &obj, const Crt::JsonView &doc);
70 };
71 } // namespace Iotshadow
72} // namespace Aws
DateTime.h
JsonObject.h
ShadowMetadata.h
ShadowStateWithDelta.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::GetShadowResponse
Definition: GetShadowResponse.h:28
Aws::Iotshadow::GetShadowResponse::State
Aws::Crt::Optional< Aws::Iotshadow::ShadowStateWithDelta > State
Definition: GetShadowResponse.h:54
Aws::Iotshadow::GetShadowResponse::GetShadowResponse
GetShadowResponse()=default
Aws::Iotshadow::GetShadowResponse::Version
Aws::Crt::Optional< int32_t > Version
Definition: GetShadowResponse.h:42
Aws::Iotshadow::GetShadowResponse::Metadata
Aws::Crt::Optional< Aws::Iotshadow::ShadowMetadata > Metadata
Definition: GetShadowResponse.h:60
Aws::Iotshadow::GetShadowResponse::ClientToken
Aws::Crt::Optional< Aws::Crt::String > ClientToken
Definition: GetShadowResponse.h:48
Aws::Iotshadow::GetShadowResponse::Timestamp
Aws::Crt::Optional< Aws::Crt::DateTime > Timestamp
Definition: GetShadowResponse.h:66
Aws
Definition: Api.h:17
Exports.h
AWS_IOTSHADOW_API
#define AWS_IOTSHADOW_API
Definition: Exports.h:20