AWS IoT Device SDK C++ v2: jobs/include/aws/iotjobs/JobExecutionState.h Source File

AWS IoT Device SDK C++ v2 1.14.0 AWS IoT Device SDK C++ v2

JobExecutionState.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/iotjobs/JobStatus.h>
10
11#include <aws/iotjobs/Exports.h>
12
13#include <aws/crt/JsonObject.h>
14#include <aws/crt/StlAllocator.h>
15
16namespace Aws
17{
18 namespace Iotjobs
19 {
20
25 class AWS_IOTJOBS_API JobExecutionState final
26 {
27 public:
28 JobExecutionState() = default;
29
30 JobExecutionState(const Crt::JsonView &doc);
31 JobExecutionState &operator=(const Crt::JsonView &doc);
32
33 void SerializeToObject(Crt::JsonObject &doc) const;
34
39 Aws::Crt::Optional<Aws::Crt::Map<Aws::Crt::String, Aws::Crt::String>> StatusDetails;
40
46 Aws::Crt::Optional<int32_t> VersionNumber;
47
53 Aws::Crt::Optional<Aws::Iotjobs::JobStatus> Status;
54
55 private:
56 static void LoadFromObject(JobExecutionState &obj, const Crt::JsonView &doc);
57 };
58 } // namespace Iotjobs
59} // namespace Aws
JobStatus.h
JsonObject.h
StlAllocator.h
Aws::Crt::JsonObject
Definition: JsonObject.h:21
Aws::Crt::JsonView
Definition: JsonObject.h:207
Aws::Crt::Optional
Definition: Optional.h:17
Aws::Iotjobs::JobExecutionState
Definition: JobExecutionState.h:26
Aws::Iotjobs::JobExecutionState::VersionNumber
Aws::Crt::Optional< int32_t > VersionNumber
Definition: JobExecutionState.h:46
Aws::Iotjobs::JobExecutionState::JobExecutionState
JobExecutionState()=default
Aws::Iotjobs::JobExecutionState::Status
Aws::Crt::Optional< Aws::Iotjobs::JobStatus > Status
Definition: JobExecutionState.h:53
Aws::Iotjobs::JobExecutionState::StatusDetails
Aws::Crt::Optional< Aws::Crt::Map< Aws::Crt::String, Aws::Crt::String > > StatusDetails
Definition: JobExecutionState.h:39
Exports.h
AWS_IOTJOBS_API
#define AWS_IOTJOBS_API
Definition: Exports.h:20
Aws
Definition: Api.h:17