#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 StartNextPendingJobExecution request. * */ class AWS_IOTJOBS_API StartNextPendingJobExecutionRequest final { public: StartNextPendingJobExecutionRequest() = default; StartNextPendingJobExecutionRequest(const Crt::JsonView &doc); StartNextPendingJobExecutionRequest &operator=(const Crt::JsonView &doc); void SerializeToObject(Crt::JsonObject &doc) const; /** * IoT Thing the request is relative to. * */ Aws::Crt::Optional ThingName; /** * Specifies the amount of time this device has to finish execution of this job. * */ Aws::Crt::Optional StepTimeoutInMinutes; /** * Optional. A client token used to correlate requests and responses. Enter an arbitrary value here and it * is reflected in the response. * */ Aws::Crt::Optional ClientToken; /** * A collection of name-value pairs that describe the status of the job execution. If not specified, the * statusDetails are unchanged. * */ Aws::Crt::Optional> StatusDetails; private: static void LoadFromObject(StartNextPendingJobExecutionRequest &obj, const Crt::JsonView &doc); }; } // namespace Iotjobs } // namespace Aws