/** * Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. * SPDX-License-Identifier: Apache-2.0. */ #pragma once #include #include #include #include namespace Aws { template class AmazonWebServiceResult; namespace Utils { namespace Json { class JsonValue; } // namespace Json } // namespace Utils namespace IoTJobsDataPlane { namespace Model { class StartNextPendingJobExecutionResult { public: AWS_IOTJOBSDATAPLANE_API StartNextPendingJobExecutionResult(); AWS_IOTJOBSDATAPLANE_API StartNextPendingJobExecutionResult(const Aws::AmazonWebServiceResult& result); AWS_IOTJOBSDATAPLANE_API StartNextPendingJobExecutionResult& operator=(const Aws::AmazonWebServiceResult& result); /** *

A JobExecution object.

*/ inline const JobExecution& GetExecution() const{ return m_execution; } /** *

A JobExecution object.

*/ inline void SetExecution(const JobExecution& value) { m_execution = value; } /** *

A JobExecution object.

*/ inline void SetExecution(JobExecution&& value) { m_execution = std::move(value); } /** *

A JobExecution object.

*/ inline StartNextPendingJobExecutionResult& WithExecution(const JobExecution& value) { SetExecution(value); return *this;} /** *

A JobExecution object.

*/ inline StartNextPendingJobExecutionResult& WithExecution(JobExecution&& value) { SetExecution(std::move(value)); return *this;} inline const Aws::String& GetRequestId() const{ return m_requestId; } inline void SetRequestId(const Aws::String& value) { m_requestId = value; } inline void SetRequestId(Aws::String&& value) { m_requestId = std::move(value); } inline void SetRequestId(const char* value) { m_requestId.assign(value); } inline StartNextPendingJobExecutionResult& WithRequestId(const Aws::String& value) { SetRequestId(value); return *this;} inline StartNextPendingJobExecutionResult& WithRequestId(Aws::String&& value) { SetRequestId(std::move(value)); return *this;} inline StartNextPendingJobExecutionResult& WithRequestId(const char* value) { SetRequestId(value); return *this;} private: JobExecution m_execution; Aws::String m_requestId; }; } // namespace Model } // namespace IoTJobsDataPlane } // namespace Aws