AWS IoT Device SDK C++ v2  1.43.1
AWS IoT Device SDK C++ v2
StatusReason.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 Iotcommands
17  {
18 
24  {
25  public:
26  StatusReason() = default;
27 
28  StatusReason(const Crt::JsonView &doc);
29  StatusReason &operator=(const Crt::JsonView &doc);
30 
31  void SerializeToObject(Crt::JsonObject &doc) const;
32 
38 
44 
45  private:
46  static void LoadFromObject(StatusReason &obj, const Crt::JsonView &doc);
47  };
48  } // namespace Iotcommands
49 } // namespace Aws
Exports.h
JsonObject.h
StlAllocator.h
Aws::Iotcommands::StatusReason::ReasonCode
Aws::Crt::Optional< Aws::Crt::String > ReasonCode
Definition: StatusReason.h:37
Aws::Crt::JsonView
Definition: JsonObject.h:248
AWS_IOTCOMMANDS_API
#define AWS_IOTCOMMANDS_API
Definition: Exports.h:20
Aws::Iotcommands::StatusReason::StatusReason
StatusReason()=default
Aws::Crt::Optional< Aws::Crt::String >
Aws::Crt::JsonObject
Definition: JsonObject.h:21
Aws::Iotcommands::StatusReason
Definition: StatusReason.h:24
Aws
Definition: Allocator.h:11
Aws::Iotcommands::StatusReason::ReasonDescription
Aws::Crt::Optional< Aws::Crt::String > ReasonDescription
Definition: StatusReason.h:43