AWS SDK for C++  1.9.159
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 DeviceFarm
24 {
25 namespace Model
26 {
28  {
29  public:
33 
34 
38  inline const Job& GetJob() const{ return m_job; }
39 
43  inline void SetJob(const Job& value) { m_job = value; }
44 
48  inline void SetJob(Job&& value) { m_job = std::move(value); }
49 
53  inline StopJobResult& WithJob(const Job& value) { SetJob(value); return *this;}
54 
58  inline StopJobResult& WithJob(Job&& value) { SetJob(std::move(value)); return *this;}
59 
60  private:
61 
62  Job m_job;
63  };
64 
65 } // namespace Model
66 } // namespace DeviceFarm
67 } // namespace Aws
Aws::AmazonWebServiceResult
Definition: AmazonWebServiceResult.h:19
Aws::DeviceFarm::Model::StopJobResult::operator=
StopJobResult & operator=(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
Aws::DeviceFarm::Model::StopJobResult
Definition: StopJobResult.h:28
Aws::DeviceFarm::Model::StopJobResult::SetJob
void SetJob(const Job &value)
Definition: StopJobResult.h:43
Aws::DeviceFarm::Model::Job
Definition: Job.h:39
Aws::DeviceFarm::Model::StopJobResult::SetJob
void SetJob(Job &&value)
Definition: StopJobResult.h:48
Aws::DeviceFarm::Model::StopJobResult::WithJob
StopJobResult & WithJob(Job &&value)
Definition: StopJobResult.h:58
Aws::DeviceFarm::Model::StopJobResult::GetJob
const Job & GetJob() const
Definition: StopJobResult.h:38
AWS_DEVICEFARM_API
#define AWS_DEVICEFARM_API
Definition: DeviceFarm_EXPORTS.h:28
Aws::DeviceFarm::Model::StopJobResult::StopJobResult
StopJobResult()
Job.h
Aws::MigrationHubStrategyRecommendations::Model::OutputFormat::NOT_SET
@ NOT_SET
Aws
Definition: AccessManagementClient.h:15
DeviceFarm_EXPORTS.h
Aws::DeviceFarm::Model::StopJobResult::WithJob
StopJobResult & WithJob(const Job &value)
Definition: StopJobResult.h:53
Aws::DeviceFarm::Model::StopJobResult::StopJobResult
StopJobResult(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)