AWS SDK for C++  1.9.109
AWS SDK for C++
CreateJobResult.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 MediaConvert
24 {
25 namespace Model
26 {
28  {
29  public:
33 
34 
40  inline const Job& GetJob() const{ return m_job; }
41 
47  inline void SetJob(const Job& value) { m_job = value; }
48 
54  inline void SetJob(Job&& value) { m_job = std::move(value); }
55 
61  inline CreateJobResult& WithJob(const Job& value) { SetJob(value); return *this;}
62 
68  inline CreateJobResult& 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
Aws::MediaConvert::Model::CreateJobResult::WithJob
CreateJobResult & WithJob(const Job &value)
Definition: CreateJobResult.h:61
Aws::AmazonWebServiceResult
Definition: AmazonWebServiceResult.h:19
Aws::MediaConvert::Model::CreateJobResult::CreateJobResult
CreateJobResult()
MediaConvert_EXPORTS.h
AWS_MEDIACONVERT_API
#define AWS_MEDIACONVERT_API
Definition: MediaConvert_EXPORTS.h:28
Aws::MediaConvert::Model::CreateJobResult::operator=
CreateJobResult & operator=(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
Aws::MediaConvert::Model::CreateJobResult::WithJob
CreateJobResult & WithJob(Job &&value)
Definition: CreateJobResult.h:68
Aws::MediaConvert::Model::Job
Definition: Job.h:51
Job.h
Aws::MediaConvert::Model::CreateJobResult::SetJob
void SetJob(Job &&value)
Definition: CreateJobResult.h:54
Aws::MediaConvert::Model::CreateJobResult::GetJob
const Job & GetJob() const
Definition: CreateJobResult.h:40
Aws::MediaConvert::Model::CreateJobResult::CreateJobResult
CreateJobResult(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
Aws::MediaConvert::Model::CreateJobResult::SetJob
void SetJob(const Job &value)
Definition: CreateJobResult.h:47
Aws
Definition: AccessManagementClient.h:15
Aws::MediaConvert::Model::CreateJobResult
Definition: CreateJobResult.h:28