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
9#include <aws/crt/DateTime.h>
10
12
13#include <aws/crt/JsonObject.h>
15
16namespace 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
41
47
53
59
60 private:
61 static void LoadFromObject(ErrorResponse &obj, const Crt::JsonView &doc);
62 };
63 } // namespace Iotshadow
64} // namespace Aws
Definition: JsonObject.h:21
Definition: JsonObject.h:207
Definition: Optional.h:17
Definition: ErrorResponse.h:26
Aws::Crt::Optional< Aws::Crt::String > ClientToken
Definition: ErrorResponse.h:52
Aws::Crt::Optional< Aws::Crt::String > Message
Definition: ErrorResponse.h:46
Aws::Crt::Optional< Aws::Crt::DateTime > Timestamp
Definition: ErrorResponse.h:40
Aws::Crt::Optional< int32_t > Code
Definition: ErrorResponse.h:58
Definition: Api.h:17
#define AWS_IOTSHADOW_API
Definition: Exports.h:20