1 /** 2 * Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. 3 * SPDX-License-Identifier: Apache-2.0. 4 */ 5 6 #pragma once 7 #include <aws/mediaconvert/MediaConvert_EXPORTS.h> 8 #include <aws/mediaconvert/model/Job.h> 9 #include <utility> 10 11 namespace Aws 12 { 13 template<typename RESULT_TYPE> 14 class AmazonWebServiceResult; 15 16 namespace Utils 17 { 18 namespace Json 19 { 20 class JsonValue; 21 } // namespace Json 22 } // namespace Utils 23 namespace MediaConvert 24 { 25 namespace Model 26 { 27 class AWS_MEDIACONVERT_API GetJobResult 28 { 29 public: 30 GetJobResult(); 31 GetJobResult(const Aws::AmazonWebServiceResult<Aws::Utils::Json::JsonValue>& result); 32 GetJobResult& operator=(const Aws::AmazonWebServiceResult<Aws::Utils::Json::JsonValue>& result); 33 34 35 /** 36 * Each job converts an input file into an output file or files. For more 37 * information, see the User Guide at 38 * https://docs.aws.amazon.com/mediaconvert/latest/ug/what-is.html 39 */ GetJob()40 inline const Job& GetJob() const{ return m_job; } 41 42 /** 43 * Each job converts an input file into an output file or files. For more 44 * information, see the User Guide at 45 * https://docs.aws.amazon.com/mediaconvert/latest/ug/what-is.html 46 */ SetJob(const Job & value)47 inline void SetJob(const Job& value) { m_job = value; } 48 49 /** 50 * Each job converts an input file into an output file or files. For more 51 * information, see the User Guide at 52 * https://docs.aws.amazon.com/mediaconvert/latest/ug/what-is.html 53 */ SetJob(Job && value)54 inline void SetJob(Job&& value) { m_job = std::move(value); } 55 56 /** 57 * Each job converts an input file into an output file or files. For more 58 * information, see the User Guide at 59 * https://docs.aws.amazon.com/mediaconvert/latest/ug/what-is.html 60 */ WithJob(const Job & value)61 inline GetJobResult& WithJob(const Job& value) { SetJob(value); return *this;} 62 63 /** 64 * Each job converts an input file into an output file or files. For more 65 * information, see the User Guide at 66 * https://docs.aws.amazon.com/mediaconvert/latest/ug/what-is.html 67 */ WithJob(Job && value)68 inline GetJobResult& WithJob(Job&& value) { SetJob(std::move(value)); return *this;} 69 70 private: 71 72 Job m_job; 73 }; 74 75 } // namespace Model 76 } // namespace MediaConvert 77 } // namespace Aws 78