AWS SDK for C++  1.9.159
AWS SDK for C++
ScheduleRunResult.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 {
34  {
35  public:
39 
40 
44  inline const Run& GetRun() const{ return m_run; }
45 
49  inline void SetRun(const Run& value) { m_run = value; }
50 
54  inline void SetRun(Run&& value) { m_run = std::move(value); }
55 
59  inline ScheduleRunResult& WithRun(const Run& value) { SetRun(value); return *this;}
60 
64  inline ScheduleRunResult& WithRun(Run&& value) { SetRun(std::move(value)); return *this;}
65 
66  private:
67 
68  Run m_run;
69  };
70 
71 } // namespace Model
72 } // namespace DeviceFarm
73 } // namespace Aws
Aws::AmazonWebServiceResult
Definition: AmazonWebServiceResult.h:19
Aws::DeviceFarm::Model::ScheduleRunResult
Definition: ScheduleRunResult.h:34
Aws::DeviceFarm::Model::Run
Definition: Run.h:47
Aws::DeviceFarm::Model::ScheduleRunResult::WithRun
ScheduleRunResult & WithRun(const Run &value)
Definition: ScheduleRunResult.h:59
Aws::DeviceFarm::Model::ScheduleRunResult::WithRun
ScheduleRunResult & WithRun(Run &&value)
Definition: ScheduleRunResult.h:64
Aws::DeviceFarm::Model::ScheduleRunResult::SetRun
void SetRun(Run &&value)
Definition: ScheduleRunResult.h:54
Aws::DeviceFarm::Model::ScheduleRunResult::ScheduleRunResult
ScheduleRunResult(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
Aws::DeviceFarm::Model::ScheduleRunResult::operator=
ScheduleRunResult & operator=(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
AWS_DEVICEFARM_API
#define AWS_DEVICEFARM_API
Definition: DeviceFarm_EXPORTS.h:28
Run.h
Aws::DeviceFarm::Model::ScheduleRunResult::ScheduleRunResult
ScheduleRunResult()
Aws::DeviceFarm::Model::ScheduleRunResult::GetRun
const Run & GetRun() const
Definition: ScheduleRunResult.h:44
Aws::MigrationHubStrategyRecommendations::Model::OutputFormat::NOT_SET
@ NOT_SET
Aws
Definition: AccessManagementClient.h:15
DeviceFarm_EXPORTS.h
Aws::DeviceFarm::Model::ScheduleRunResult::SetRun
void SetRun(const Run &value)
Definition: ScheduleRunResult.h:49