/** * 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 MediaConvert { namespace Model { class CreateJobResult { public: AWS_MEDIACONVERT_API CreateJobResult(); AWS_MEDIACONVERT_API CreateJobResult(const Aws::AmazonWebServiceResult& result); AWS_MEDIACONVERT_API CreateJobResult& operator=(const Aws::AmazonWebServiceResult& result); /** * Each job converts an input file into an output file or files. For more * information, see the User Guide at * https://docs.aws.amazon.com/mediaconvert/latest/ug/what-is.html */ inline const Job& GetJob() const{ return m_job; } /** * Each job converts an input file into an output file or files. For more * information, see the User Guide at * https://docs.aws.amazon.com/mediaconvert/latest/ug/what-is.html */ inline void SetJob(const Job& value) { m_job = value; } /** * Each job converts an input file into an output file or files. For more * information, see the User Guide at * https://docs.aws.amazon.com/mediaconvert/latest/ug/what-is.html */ inline void SetJob(Job&& value) { m_job = std::move(value); } /** * Each job converts an input file into an output file or files. For more * information, see the User Guide at * https://docs.aws.amazon.com/mediaconvert/latest/ug/what-is.html */ inline CreateJobResult& WithJob(const Job& value) { SetJob(value); return *this;} /** * Each job converts an input file into an output file or files. For more * information, see the User Guide at * https://docs.aws.amazon.com/mediaconvert/latest/ug/what-is.html */ 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 MediaConvert } // namespace Aws