/** * 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 DeviceFarm { namespace Model { /** *

Represents the result of a get job request.

See Also:

AWS * API Reference

*/ class GetJobResult { public: AWS_DEVICEFARM_API GetJobResult(); AWS_DEVICEFARM_API GetJobResult(const Aws::AmazonWebServiceResult& result); AWS_DEVICEFARM_API 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;} 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 GetJobResult& WithRequestId(const Aws::String& value) { SetRequestId(value); return *this;} inline GetJobResult& WithRequestId(Aws::String&& value) { SetRequestId(std::move(value)); return *this;} inline GetJobResult& WithRequestId(const char* value) { SetRequestId(value); return *this;} private: Job m_job; Aws::String m_requestId; }; } // namespace Model } // namespace DeviceFarm } // namespace Aws