AWS SDK for C++  1.9.155
AWS SDK for C++
StartJobResult.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 {
33  {
34  public:
38 
39 
43  inline const JobSummary& GetJobSummary() const{ return m_jobSummary; }
44 
48  inline void SetJobSummary(const JobSummary& value) { m_jobSummary = value; }
49 
53  inline void SetJobSummary(JobSummary&& value) { m_jobSummary = std::move(value); }
54 
58  inline StartJobResult& WithJobSummary(const JobSummary& value) { SetJobSummary(value); return *this;}
59 
63  inline StartJobResult& WithJobSummary(JobSummary&& value) { SetJobSummary(std::move(value)); return *this;}
64 
65  private:
66 
67  JobSummary m_jobSummary;
68  };
69 
70 } // namespace Model
71 } // namespace Amplify
72 } // namespace Aws
Amplify_EXPORTS.h
Aws::AmazonWebServiceResult
Definition: AmazonWebServiceResult.h:19
Aws::Amplify::Model::StartJobResult::WithJobSummary
StartJobResult & WithJobSummary(const JobSummary &value)
Definition: StartJobResult.h:58
Aws::Amplify::Model::StartJobResult::GetJobSummary
const JobSummary & GetJobSummary() const
Definition: StartJobResult.h:43
Aws::Amplify::Model::StartJobResult::WithJobSummary
StartJobResult & WithJobSummary(JobSummary &&value)
Definition: StartJobResult.h:63
JobSummary.h
Aws::Amplify::Model::StartJobResult::operator=
StartJobResult & operator=(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
Aws::Amplify::Model::StartJobResult::SetJobSummary
void SetJobSummary(JobSummary &&value)
Definition: StartJobResult.h:53
Aws::Amplify::Model::StartJobResult::StartJobResult
StartJobResult()
Aws::Amplify::Model::JobSummary
Definition: JobSummary.h:36
Aws::MigrationHubStrategyRecommendations::Model::OutputFormat::NOT_SET
@ NOT_SET
Aws
Definition: AccessManagementClient.h:15
Aws::Amplify::Model::StartJobResult
Definition: StartJobResult.h:33
Aws::Amplify::Model::StartJobResult::StartJobResult
StartJobResult(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
AWS_AMPLIFY_API
#define AWS_AMPLIFY_API
Definition: Amplify_EXPORTS.h:28
Aws::Amplify::Model::StartJobResult::SetJobSummary
void SetJobSummary(const JobSummary &value)
Definition: StartJobResult.h:48