/** * Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. * SPDX-License-Identifier: Apache-2.0. */ #pragma once #include #include #include namespace Aws { template class AmazonWebServiceResult; namespace Utils { namespace Json { class JsonValue; } // namespace Json } // namespace Utils namespace DeviceFarm { namespace Model { /** *

Represents the result of a get job request.

See Also:

AWS * API Reference

*/ class AWS_DEVICEFARM_API GetJobResult { public: GetJobResult(); GetJobResult(const Aws::AmazonWebServiceResult& result); GetJobResult& operator=(const Aws::AmazonWebServiceResult& result); /** *

An object that contains information about the requested job.

*/ inline const Job& GetJob() const{ return m_job; } /** *

An object that contains information about the requested job.

*/ inline void SetJob(const Job& value) { m_job = value; } /** *

An object that contains information about the requested job.

*/ inline void SetJob(Job&& value) { m_job = std::move(value); } /** *

An object that contains information about the requested job.

*/ inline GetJobResult& WithJob(const Job& value) { SetJob(value); return *this;} /** *

An object that contains information about the requested job.

*/ inline GetJobResult& WithJob(Job&& value) { SetJob(std::move(value)); return *this;} private: Job m_job; }; } // namespace Model } // namespace DeviceFarm } // namespace Aws