/** * 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 CreateJobResponse structure.

See Also:

AWS * API Reference

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

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

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

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

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

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

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

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

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

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

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