AWS IoT Device SDK C++ v2  1.34.0
AWS IoT Device SDK C++ v2
ErrorResponse.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 
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 
26  {
27  public:
28  ErrorResponse() = default;
29 
30  ErrorResponse(const Crt::JsonView &doc);
31  ErrorResponse &operator=(const Crt::JsonView &doc);
32 
33  void SerializeToObject(Crt::JsonObject &doc) const;
34 
40 
46 
52 
59 
60  private:
61  static void LoadFromObject(ErrorResponse &obj, const Crt::JsonView &doc);
62  };
63  } // namespace Iotshadow
64 } // namespace Aws
Aws::Iotshadow::ErrorResponse
Definition: ErrorResponse.h:26
Aws::Iotshadow::ErrorResponse::ClientToken
Aws::Crt::Optional< Aws::Crt::String > ClientToken
Definition: ErrorResponse.h:39
Aws::Iotshadow::ErrorResponse::Message
Aws::Crt::Optional< Aws::Crt::String > Message
Definition: ErrorResponse.h:51
JsonObject.h
DateTime.h
StlAllocator.h
Aws::Crt::JsonView
Definition: JsonObject.h:248
Aws::Iotshadow::ErrorResponse::Code
Aws::Crt::Optional< int32_t > Code
Definition: ErrorResponse.h:45
Aws::Iotshadow::ErrorResponse::ErrorResponse
ErrorResponse()=default
Aws::Crt::Optional< Aws::Crt::String >
Exports.h
Aws::Crt::JsonObject
Definition: JsonObject.h:21
Aws
Definition: Allocator.h:11
Aws::Iotshadow::ErrorResponse::Timestamp
Aws::Crt::Optional< Aws::Crt::DateTime > Timestamp
Definition: ErrorResponse.h:58
AWS_IOTSHADOW_API
#define AWS_IOTSHADOW_API
Definition: Exports.h:20