AWS SDK for C++  1.9.109
AWS SDK for C++
ReadJobResult.h
Go to the documentation of this file.
1 
6 #pragma once
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 ElasticTranscoder
24 {
25 namespace Model
26 {
33  {
34  public:
38 
39 
43  inline const Job& GetJob() const{ return m_job; }
44 
48  inline void SetJob(const Job& value) { m_job = value; }
49 
53  inline void SetJob(Job&& value) { m_job = std::move(value); }
54 
58  inline ReadJobResult& WithJob(const Job& value) { SetJob(value); return *this;}
59 
63  inline ReadJobResult& WithJob(Job&& value) { SetJob(std::move(value)); return *this;}
64 
65  private:
66 
67  Job m_job;
68  };
69 
70 } // namespace Model
71 } // namespace ElasticTranscoder
72 } // namespace Aws
Aws::AmazonWebServiceResult
Definition: AmazonWebServiceResult.h:19
Aws::ElasticTranscoder::Model::ReadJobResult::ReadJobResult
ReadJobResult()
Aws::ElasticTranscoder::Model::ReadJobResult::GetJob
const Job & GetJob() const
Definition: ReadJobResult.h:43
AWS_ELASTICTRANSCODER_API
#define AWS_ELASTICTRANSCODER_API
Definition: ElasticTranscoder_EXPORTS.h:28
Aws::ElasticTranscoder::Model::ReadJobResult::ReadJobResult
ReadJobResult(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
Aws::ElasticTranscoder::Model::ReadJobResult::WithJob
ReadJobResult & WithJob(Job &&value)
Definition: ReadJobResult.h:63
Aws::ElasticTranscoder::Model::ReadJobResult::SetJob
void SetJob(const Job &value)
Definition: ReadJobResult.h:48
Aws::ElasticTranscoder::Model::ReadJobResult::SetJob
void SetJob(Job &&value)
Definition: ReadJobResult.h:53
Job.h
Aws::ElasticTranscoder::Model::ReadJobResult
Definition: ReadJobResult.h:33
Aws
Definition: AccessManagementClient.h:15
Aws::ElasticTranscoder::Model::ReadJobResult::WithJob
ReadJobResult & WithJob(const Job &value)
Definition: ReadJobResult.h:58
Aws::ElasticTranscoder::Model::ReadJobResult::operator=
ReadJobResult & operator=(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
ElasticTranscoder_EXPORTS.h
Aws::ElasticTranscoder::Model::Job
Definition: Job.h:39