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

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

JobExecutionSummary.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
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 JobExecutionSummary final
26 {
27 public:
28 JobExecutionSummary() = default;
29
30 JobExecutionSummary(const Crt::JsonView &doc);
31 JobExecutionSummary &operator=(const Crt::JsonView &doc);
32
33 void SerializeToObject(Crt::JsonObject &doc) const;
34
39 Aws::Crt::Optional<Aws::Crt::DateTime> LastUpdatedAt;
40
45 Aws::Crt::Optional<int64_t> ExecutionNumber;
46
51 Aws::Crt::Optional<Aws::Crt::DateTime> StartedAt;
52
58 Aws::Crt::Optional<int32_t> VersionNumber;
59
64 Aws::Crt::Optional<Aws::Crt::String> JobId;
65
70 Aws::Crt::Optional<Aws::Crt::DateTime> QueuedAt;
71
72 private:
73 static void LoadFromObject(JobExecutionSummary &obj, const Crt::JsonView &doc);
74 };
75 } // namespace Iotjobs
76} // namespace Aws
DateTime.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::JobExecutionSummary
Definition: JobExecutionSummary.h:26
Aws::Iotjobs::JobExecutionSummary::JobExecutionSummary
JobExecutionSummary()=default
Aws::Iotjobs::JobExecutionSummary::JobId
Aws::Crt::Optional< Aws::Crt::String > JobId
Definition: JobExecutionSummary.h:64
Aws::Iotjobs::JobExecutionSummary::LastUpdatedAt
Aws::Crt::Optional< Aws::Crt::DateTime > LastUpdatedAt
Definition: JobExecutionSummary.h:39
Aws::Iotjobs::JobExecutionSummary::StartedAt
Aws::Crt::Optional< Aws::Crt::DateTime > StartedAt
Definition: JobExecutionSummary.h:51
Aws::Iotjobs::JobExecutionSummary::VersionNumber
Aws::Crt::Optional< int32_t > VersionNumber
Definition: JobExecutionSummary.h:58
Aws::Iotjobs::JobExecutionSummary::ExecutionNumber
Aws::Crt::Optional< int64_t > ExecutionNumber
Definition: JobExecutionSummary.h:45
Aws::Iotjobs::JobExecutionSummary::QueuedAt
Aws::Crt::Optional< Aws::Crt::DateTime > QueuedAt
Definition: JobExecutionSummary.h:70
Exports.h
AWS_IOTJOBS_API
#define AWS_IOTJOBS_API
Definition: Exports.h:20
Aws
Definition: Api.h:17