#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 namespace Aws { namespace Iotjobs { /** * Data needed to make a DescribeJobExecution request. * */ class AWS_IOTJOBS_API DescribeJobExecutionRequest final { public: DescribeJobExecutionRequest() = default; DescribeJobExecutionRequest(const Crt::JsonView &doc); DescribeJobExecutionRequest &operator=(const Crt::JsonView &doc); void SerializeToObject(Crt::JsonObject &doc) const; /** * Optional. A number that identifies a job execution on a device. If not specified, the latest job * execution is returned. * */ Aws::Crt::Optional ExecutionNumber; /** * The name of the thing associated with the device. * */ Aws::Crt::Optional ThingName; /** * Optional. Unless set to false, the response contains the job document. The default is true. * */ Aws::Crt::Optional IncludeJobDocument; /** * The unique identifier assigned to this job when it was created. Or use $next to return the next pending * job execution for a thing (status IN_PROGRESS or QUEUED). In this case, any job executions with status * IN_PROGRESS are returned first. Job executions are returned in the order in which they were created. * */ Aws::Crt::Optional JobId; /** * An opaque string used to correlate requests and responses. Enter an arbitrary value here and it is * reflected in the response. * */ Aws::Crt::Optional ClientToken; private: static void LoadFromObject(DescribeJobExecutionRequest &obj, const Crt::JsonView &doc); }; } // namespace Iotjobs } // namespace Aws