68 lines
1.7 KiB
C
68 lines
1.7 KiB
C
|
|
/**
|
|||
|
|
* Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
|
|||
|
|
* SPDX-License-Identifier: Apache-2.0.
|
|||
|
|
*/
|
|||
|
|
|
|||
|
|
#pragma once
|
|||
|
|
#include <aws/iot-jobs-data/IoTJobsDataPlane_EXPORTS.h>
|
|||
|
|
#include <aws/iot-jobs-data/model/JobExecution.h>
|
|||
|
|
#include <utility>
|
|||
|
|
|
|||
|
|
namespace Aws
|
|||
|
|
{
|
|||
|
|
template<typename RESULT_TYPE>
|
|||
|
|
class AmazonWebServiceResult;
|
|||
|
|
|
|||
|
|
namespace Utils
|
|||
|
|
{
|
|||
|
|
namespace Json
|
|||
|
|
{
|
|||
|
|
class JsonValue;
|
|||
|
|
} // namespace Json
|
|||
|
|
} // namespace Utils
|
|||
|
|
namespace IoTJobsDataPlane
|
|||
|
|
{
|
|||
|
|
namespace Model
|
|||
|
|
{
|
|||
|
|
class AWS_IOTJOBSDATAPLANE_API StartNextPendingJobExecutionResult
|
|||
|
|
{
|
|||
|
|
public:
|
|||
|
|
StartNextPendingJobExecutionResult();
|
|||
|
|
StartNextPendingJobExecutionResult(const Aws::AmazonWebServiceResult<Aws::Utils::Json::JsonValue>& result);
|
|||
|
|
StartNextPendingJobExecutionResult& operator=(const Aws::AmazonWebServiceResult<Aws::Utils::Json::JsonValue>& result);
|
|||
|
|
|
|||
|
|
|
|||
|
|
/**
|
|||
|
|
* <p>A JobExecution object.</p>
|
|||
|
|
*/
|
|||
|
|
inline const JobExecution& GetExecution() const{ return m_execution; }
|
|||
|
|
|
|||
|
|
/**
|
|||
|
|
* <p>A JobExecution object.</p>
|
|||
|
|
*/
|
|||
|
|
inline void SetExecution(const JobExecution& value) { m_execution = value; }
|
|||
|
|
|
|||
|
|
/**
|
|||
|
|
* <p>A JobExecution object.</p>
|
|||
|
|
*/
|
|||
|
|
inline void SetExecution(JobExecution&& value) { m_execution = std::move(value); }
|
|||
|
|
|
|||
|
|
/**
|
|||
|
|
* <p>A JobExecution object.</p>
|
|||
|
|
*/
|
|||
|
|
inline StartNextPendingJobExecutionResult& WithExecution(const JobExecution& value) { SetExecution(value); return *this;}
|
|||
|
|
|
|||
|
|
/**
|
|||
|
|
* <p>A JobExecution object.</p>
|
|||
|
|
*/
|
|||
|
|
inline StartNextPendingJobExecutionResult& WithExecution(JobExecution&& value) { SetExecution(std::move(value)); return *this;}
|
|||
|
|
|
|||
|
|
private:
|
|||
|
|
|
|||
|
|
JobExecution m_execution;
|
|||
|
|
};
|
|||
|
|
|
|||
|
|
} // namespace Model
|
|||
|
|
} // namespace IoTJobsDataPlane
|
|||
|
|
} // namespace Aws
|