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