AWS IoT Device SDK C++ v2  1.36.0
AWS IoT Device SDK C++ v2
V2ErrorResponse.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  V2ErrorResponse() = default;
27 
28  V2ErrorResponse(const Crt::JsonView &doc);
29  V2ErrorResponse &operator=(const Crt::JsonView &doc);
30 
31  void SerializeToObject(Crt::JsonObject &doc) const;
32 
38 
44 
50 
51  private:
52  static void LoadFromObject(V2ErrorResponse &obj, const Crt::JsonView &doc);
53  };
54  } // namespace Iotidentity
55 } // namespace Aws
JsonObject.h
StlAllocator.h
AWS_IOTIDENTITY_API
#define AWS_IOTIDENTITY_API
Definition: Exports.h:20
Aws::Crt::JsonView
Definition: JsonObject.h:248
Aws::Iotidentity::V2ErrorResponse
Definition: V2ErrorResponse.h:24
Aws::Iotidentity::V2ErrorResponse::V2ErrorResponse
V2ErrorResponse()=default
Aws::Iotidentity::V2ErrorResponse::ErrorMessage
Aws::Crt::Optional< Aws::Crt::String > ErrorMessage
Definition: V2ErrorResponse.h:49
Aws::Crt::Optional< int32_t >
Exports.h
Aws::Iotidentity::V2ErrorResponse::StatusCode
Aws::Crt::Optional< int32_t > StatusCode
Definition: V2ErrorResponse.h:37
Aws::Crt::JsonObject
Definition: JsonObject.h:21
Aws::Iotidentity::V2ErrorResponse::ErrorCode
Aws::Crt::Optional< Aws::Crt::String > ErrorCode
Definition: V2ErrorResponse.h:43
Aws
Definition: Allocator.h:11