AWS SDK for C++  1.9.157
AWS SDK for C++
GetJobResult.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 Amplify
24 {
25 namespace Model
26 {
28  {
29  public:
33 
34 
35 
36  inline const Job& GetJob() const{ return m_job; }
37 
38 
39  inline void SetJob(const Job& value) { m_job = value; }
40 
41 
42  inline void SetJob(Job&& value) { m_job = std::move(value); }
43 
44 
45  inline GetJobResult& WithJob(const Job& value) { SetJob(value); return *this;}
46 
47 
48  inline GetJobResult& WithJob(Job&& value) { SetJob(std::move(value)); return *this;}
49 
50  private:
51 
52  Job m_job;
53  };
54 
55 } // namespace Model
56 } // namespace Amplify
57 } // namespace Aws
Amplify_EXPORTS.h
Aws::AmazonWebServiceResult
Definition: AmazonWebServiceResult.h:19
Aws::Amplify::Model::GetJobResult::GetJobResult
GetJobResult()
Aws::Amplify::Model::GetJobResult::GetJobResult
GetJobResult(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
Aws::Amplify::Model::GetJobResult::WithJob
GetJobResult & WithJob(Job &&value)
Definition: GetJobResult.h:48
Aws::Amplify::Model::GetJobResult::GetJob
const Job & GetJob() const
Definition: GetJobResult.h:36
Aws::Amplify::Model::GetJobResult::operator=
GetJobResult & operator=(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
Job.h
Aws::Amplify::Model::GetJobResult
Definition: GetJobResult.h:28
Aws::Amplify::Model::Job
Definition: Job.h:34
Aws::MigrationHubStrategyRecommendations::Model::OutputFormat::NOT_SET
@ NOT_SET
Aws
Definition: AccessManagementClient.h:15
Aws::Amplify::Model::GetJobResult::WithJob
GetJobResult & WithJob(const Job &value)
Definition: GetJobResult.h:45
Aws::Amplify::Model::GetJobResult::SetJob
void SetJob(Job &&value)
Definition: GetJobResult.h:42
Aws::Amplify::Model::GetJobResult::SetJob
void SetJob(const Job &value)
Definition: GetJobResult.h:39
AWS_AMPLIFY_API
#define AWS_AMPLIFY_API
Definition: Amplify_EXPORTS.h:28