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 
10 
11 #include <aws/crt/JsonObject.h>
12 #include <aws/crt/StlAllocator.h>
13 
14 namespace Aws
15 {
16  namespace Iotidentity
17  {
18 
24  {
25  public:
26  ErrorResponse() = default;
27 
28  ErrorResponse(const Crt::JsonView &doc);
29  ErrorResponse &operator=(const Crt::JsonView &doc);
30 
31  void SerializeToObject(Crt::JsonObject &doc) const;
32 
38 
44 
50 
51  private:
52  static void LoadFromObject(ErrorResponse &obj, const Crt::JsonView &doc);
53  };
54  } // namespace Iotidentity
55 } // namespace Aws
JsonObject.h
Aws::Iotidentity::ErrorResponse
Definition: ErrorResponse.h:24
StlAllocator.h
AWS_IOTIDENTITY_API
#define AWS_IOTIDENTITY_API
Definition: Exports.h:20
Aws::Iotidentity::ErrorResponse::ErrorMessage
Aws::Crt::Optional< Aws::Crt::String > ErrorMessage
Definition: ErrorResponse.h:49
Aws::Crt::JsonView
Definition: JsonObject.h:248
Aws::Iotidentity::ErrorResponse::ErrorResponse
ErrorResponse()=default
Aws::Crt::Optional< int32_t >
Exports.h
Aws::Iotidentity::ErrorResponse::ErrorCode
Aws::Crt::Optional< Aws::Crt::String > ErrorCode
Definition: ErrorResponse.h:43
Aws::Crt::JsonObject
Definition: JsonObject.h:21
Aws::Iotidentity::ErrorResponse::StatusCode
Aws::Crt::Optional< int32_t > StatusCode
Definition: ErrorResponse.h:37
Aws
Definition: Allocator.h:11