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

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

UpdateShadowResponse.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/ShadowState.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 UpdateShadowResponse final
28 {
29 public:
30 UpdateShadowResponse() = default;
31
32 UpdateShadowResponse(const Crt::JsonView &doc);
33 UpdateShadowResponse &operator=(const Crt::JsonView &doc);
34
35 void SerializeToObject(Crt::JsonObject &doc) const;
36
41 Aws::Crt::Optional<Aws::Iotshadow::ShadowState> State;
42
48 Aws::Crt::Optional<Aws::Crt::String> ClientToken;
49
55 Aws::Crt::Optional<int32_t> Version;
56
62 Aws::Crt::Optional<Aws::Iotshadow::ShadowMetadata> Metadata;
63
68 Aws::Crt::Optional<Aws::Crt::DateTime> Timestamp;
69
70 private:
71 static void LoadFromObject(UpdateShadowResponse &obj, const Crt::JsonView &doc);
72 };
73 } // namespace Iotshadow
74} // namespace Aws
DateTime.h
JsonObject.h
ShadowMetadata.h
ShadowState.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::UpdateShadowResponse
Definition: UpdateShadowResponse.h:28
Aws::Iotshadow::UpdateShadowResponse::Timestamp
Aws::Crt::Optional< Aws::Crt::DateTime > Timestamp
Definition: UpdateShadowResponse.h:68
Aws::Iotshadow::UpdateShadowResponse::UpdateShadowResponse
UpdateShadowResponse()=default
Aws::Iotshadow::UpdateShadowResponse::State
Aws::Crt::Optional< Aws::Iotshadow::ShadowState > State
Definition: UpdateShadowResponse.h:41
Aws::Iotshadow::UpdateShadowResponse::Metadata
Aws::Crt::Optional< Aws::Iotshadow::ShadowMetadata > Metadata
Definition: UpdateShadowResponse.h:62
Aws::Iotshadow::UpdateShadowResponse::ClientToken
Aws::Crt::Optional< Aws::Crt::String > ClientToken
Definition: UpdateShadowResponse.h:48
Aws::Iotshadow::UpdateShadowResponse::Version
Aws::Crt::Optional< int32_t > Version
Definition: UpdateShadowResponse.h:55
Aws
Definition: Api.h:17
Exports.h
AWS_IOTSHADOW_API
#define AWS_IOTSHADOW_API
Definition: Exports.h:20