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/s3control/S3Control_EXPORTS.h> 8 #include <aws/s3control/model/JobDescriptor.h> 9 #include <utility> 10 11 namespace Aws 12 { 13 template<typename RESULT_TYPE> 14 class AmazonWebServiceResult; 15 16 namespace Utils 17 { 18 namespace Xml 19 { 20 class XmlDocument; 21 } // namespace Xml 22 } // namespace Utils 23 namespace S3Control 24 { 25 namespace Model 26 { 27 class AWS_S3CONTROL_API DescribeJobResult 28 { 29 public: 30 DescribeJobResult(); 31 DescribeJobResult(const Aws::AmazonWebServiceResult<Aws::Utils::Xml::XmlDocument>& result); 32 DescribeJobResult& operator=(const Aws::AmazonWebServiceResult<Aws::Utils::Xml::XmlDocument>& result); 33 34 35 /** 36 * <p>Contains the configuration parameters and status for the job specified in the 37 * <code>Describe Job</code> request.</p> 38 */ GetJob()39 inline const JobDescriptor& GetJob() const{ return m_job; } 40 41 /** 42 * <p>Contains the configuration parameters and status for the job specified in the 43 * <code>Describe Job</code> request.</p> 44 */ SetJob(const JobDescriptor & value)45 inline void SetJob(const JobDescriptor& value) { m_job = value; } 46 47 /** 48 * <p>Contains the configuration parameters and status for the job specified in the 49 * <code>Describe Job</code> request.</p> 50 */ SetJob(JobDescriptor && value)51 inline void SetJob(JobDescriptor&& value) { m_job = std::move(value); } 52 53 /** 54 * <p>Contains the configuration parameters and status for the job specified in the 55 * <code>Describe Job</code> request.</p> 56 */ WithJob(const JobDescriptor & value)57 inline DescribeJobResult& WithJob(const JobDescriptor& value) { SetJob(value); return *this;} 58 59 /** 60 * <p>Contains the configuration parameters and status for the job specified in the 61 * <code>Describe Job</code> request.</p> 62 */ WithJob(JobDescriptor && value)63 inline DescribeJobResult& WithJob(JobDescriptor&& value) { SetJob(std::move(value)); return *this;} 64 65 private: 66 67 JobDescriptor m_job; 68 }; 69 70 } // namespace Model 71 } // namespace S3Control 72 } // namespace Aws 73