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

The ReadJobResponse structure.

See Also:

AWS * API Reference

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

A section of the response body that provides information about the job.

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

A section of the response body that provides information about the job.

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

A section of the response body that provides information about the job.

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

A section of the response body that provides information about the job.

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

A section of the response body that provides information about the job.

*/ inline ReadJobResult& 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 ReadJobResult& WithRequestId(const Aws::String& value) { SetRequestId(value); return *this;} inline ReadJobResult& WithRequestId(Aws::String&& value) { SetRequestId(std::move(value)); return *this;} inline ReadJobResult& WithRequestId(const char* value) { SetRequestId(value); return *this;} private: Job m_job; Aws::String m_requestId; }; } // namespace Model } // namespace ElasticTranscoder } // namespace Aws