AWS IoT Device SDK C++ v2 1.14.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>
13
14namespace 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
Definition: JsonObject.h:21
Definition: JsonObject.h:207
Definition: Optional.h:17
Definition: ErrorResponse.h:24
Aws::Crt::Optional< Aws::Crt::String > ErrorMessage
Definition: ErrorResponse.h:43
Aws::Crt::Optional< int32_t > StatusCode
Definition: ErrorResponse.h:37
Aws::Crt::Optional< Aws::Crt::String > ErrorCode
Definition: ErrorResponse.h:49
#define AWS_IOTIDENTITY_API
Definition: Exports.h:20
Definition: Api.h:17