#pragma once /* Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. * SPDX-License-Identifier: Apache-2.0. * * This file is generated */ #include #include #include #include namespace Aws { namespace Iotjobs { /** * Contains a subset of information about a job execution. * */ class AWS_IOTJOBS_API JobExecutionSummary final { public: JobExecutionSummary() = default; JobExecutionSummary(const Crt::JsonView &doc); JobExecutionSummary &operator=(const Crt::JsonView &doc); void SerializeToObject(Crt::JsonObject &doc) const; /** * The time when the job execution was last updated. * */ Aws::Crt::Optional LastUpdatedAt; /** * A number that identifies a job execution on a device. * */ Aws::Crt::Optional ExecutionNumber; /** * The time when the job execution started. * */ Aws::Crt::Optional StartedAt; /** * The version of the job execution. Job execution versions are incremented each time the AWS IoT Jobs * service receives an update from a device. * */ Aws::Crt::Optional VersionNumber; /** * The unique identifier you assigned to this job when it was created. * */ Aws::Crt::Optional JobId; /** * The time when the job execution was enqueued. * */ Aws::Crt::Optional QueuedAt; private: static void LoadFromObject(JobExecutionSummary &obj, const Crt::JsonView &doc); }; } // namespace Iotjobs } // namespace Aws