This repository has been archived on 2025-09-14. You can view files and clone it, but cannot push or open issues or pull requests.
Files
pxz-hos-client-cpp-module/support/aws-sdk-cpp-master/aws-cpp-sdk-devicefarm/include/aws/devicefarm/model/StopJobResult.h

68 lines
1.4 KiB
C++

/**
* Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
* SPDX-License-Identifier: Apache-2.0.
*/
#pragma once
#include <aws/devicefarm/DeviceFarm_EXPORTS.h>
#include <aws/devicefarm/model/Job.h>
#include <utility>
namespace Aws
{
template<typename RESULT_TYPE>
class AmazonWebServiceResult;
namespace Utils
{
namespace Json
{
class JsonValue;
} // namespace Json
} // namespace Utils
namespace DeviceFarm
{
namespace Model
{
class AWS_DEVICEFARM_API StopJobResult
{
public:
StopJobResult();
StopJobResult(const Aws::AmazonWebServiceResult<Aws::Utils::Json::JsonValue>& result);
StopJobResult& operator=(const Aws::AmazonWebServiceResult<Aws::Utils::Json::JsonValue>& result);
/**
* <p>The job that was stopped.</p>
*/
inline const Job& GetJob() const{ return m_job; }
/**
* <p>The job that was stopped.</p>
*/
inline void SetJob(const Job& value) { m_job = value; }
/**
* <p>The job that was stopped.</p>
*/
inline void SetJob(Job&& value) { m_job = std::move(value); }
/**
* <p>The job that was stopped.</p>
*/
inline StopJobResult& WithJob(const Job& value) { SetJob(value); return *this;}
/**
* <p>The job that was stopped.</p>
*/
inline StopJobResult& WithJob(Job&& value) { SetJob(std::move(value)); return *this;}
private:
Job m_job;
};
} // namespace Model
} // namespace DeviceFarm
} // namespace Aws