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

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

JobExecutionData.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#include <aws/crt/JsonObject.h>
11#include <aws/iotjobs/JobStatus.h>
12
13#include <aws/iotjobs/Exports.h>
14
15#include <aws/crt/JsonObject.h>
16#include <aws/crt/StlAllocator.h>
17
18namespace Aws
19{
20 namespace Iotjobs
21 {
22
27 class AWS_IOTJOBS_API JobExecutionData final
28 {
29 public:
30 JobExecutionData() = default;
31
32 JobExecutionData(const Crt::JsonView &doc);
33 JobExecutionData &operator=(const Crt::JsonView &doc);
34
35 void SerializeToObject(Crt::JsonObject &doc) const;
36
41 Aws::Crt::Optional<Aws::Crt::String> JobId;
42
47 Aws::Crt::Optional<Aws::Crt::JsonObject> JobDocument;
48
54 Aws::Crt::Optional<Aws::Iotjobs::JobStatus> Status;
55
61 Aws::Crt::Optional<int32_t> VersionNumber;
62
67 Aws::Crt::Optional<Aws::Crt::DateTime> QueuedAt;
68
73 Aws::Crt::Optional<Aws::Crt::String> ThingName;
74
80 Aws::Crt::Optional<int64_t> ExecutionNumber;
81
86 Aws::Crt::Optional<Aws::Crt::Map<Aws::Crt::String, Aws::Crt::String>> StatusDetails;
87
92 Aws::Crt::Optional<Aws::Crt::DateTime> LastUpdatedAt;
93
98 Aws::Crt::Optional<Aws::Crt::DateTime> StartedAt;
99
100 private:
101 static void LoadFromObject(JobExecutionData &obj, const Crt::JsonView &doc);
102 };
103 } // namespace Iotjobs
104} // namespace Aws
DateTime.h
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::JobExecutionData
Definition: JobExecutionData.h:28
Aws::Iotjobs::JobExecutionData::JobDocument
Aws::Crt::Optional< Aws::Crt::JsonObject > JobDocument
Definition: JobExecutionData.h:47
Aws::Iotjobs::JobExecutionData::VersionNumber
Aws::Crt::Optional< int32_t > VersionNumber
Definition: JobExecutionData.h:61
Aws::Iotjobs::JobExecutionData::StartedAt
Aws::Crt::Optional< Aws::Crt::DateTime > StartedAt
Definition: JobExecutionData.h:98
Aws::Iotjobs::JobExecutionData::QueuedAt
Aws::Crt::Optional< Aws::Crt::DateTime > QueuedAt
Definition: JobExecutionData.h:67
Aws::Iotjobs::JobExecutionData::JobExecutionData
JobExecutionData()=default
Aws::Iotjobs::JobExecutionData::ExecutionNumber
Aws::Crt::Optional< int64_t > ExecutionNumber
Definition: JobExecutionData.h:80
Aws::Iotjobs::JobExecutionData::LastUpdatedAt
Aws::Crt::Optional< Aws::Crt::DateTime > LastUpdatedAt
Definition: JobExecutionData.h:92
Aws::Iotjobs::JobExecutionData::StatusDetails
Aws::Crt::Optional< Aws::Crt::Map< Aws::Crt::String, Aws::Crt::String > > StatusDetails
Definition: JobExecutionData.h:86
Aws::Iotjobs::JobExecutionData::Status
Aws::Crt::Optional< Aws::Iotjobs::JobStatus > Status
Definition: JobExecutionData.h:54
Aws::Iotjobs::JobExecutionData::JobId
Aws::Crt::Optional< Aws::Crt::String > JobId
Definition: JobExecutionData.h:41
Aws::Iotjobs::JobExecutionData::ThingName
Aws::Crt::Optional< Aws::Crt::String > ThingName
Definition: JobExecutionData.h:73
Exports.h
AWS_IOTJOBS_API
#define AWS_IOTJOBS_API
Definition: Exports.h:20
Aws
Definition: Api.h:17