AWS SDK for C++  1.9.159
AWS SDK for C++
GetTestResult.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 {
33  {
34  public:
38 
39 
43  inline const Test& GetTest() const{ return m_test; }
44 
48  inline void SetTest(const Test& value) { m_test = value; }
49 
53  inline void SetTest(Test&& value) { m_test = std::move(value); }
54 
58  inline GetTestResult& WithTest(const Test& value) { SetTest(value); return *this;}
59 
63  inline GetTestResult& WithTest(Test&& value) { SetTest(std::move(value)); return *this;}
64 
65  private:
66 
67  Test m_test;
68  };
69 
70 } // namespace Model
71 } // namespace DeviceFarm
72 } // namespace Aws
Aws::AmazonWebServiceResult
Definition: AmazonWebServiceResult.h:19
Aws::DeviceFarm::Model::GetTestResult::GetTestResult
GetTestResult()
Aws::DeviceFarm::Model::GetTestResult::WithTest
GetTestResult & WithTest(Test &&value)
Definition: GetTestResult.h:63
AWS_DEVICEFARM_API
#define AWS_DEVICEFARM_API
Definition: DeviceFarm_EXPORTS.h:28
Test.h
Aws::DeviceFarm::Model::GetTestResult::SetTest
void SetTest(Test &&value)
Definition: GetTestResult.h:53
Aws::DeviceFarm::Model::GetTestResult
Definition: GetTestResult.h:33
Aws::DeviceFarm::Model::Test
Definition: Test.h:38
Aws::MigrationHubStrategyRecommendations::Model::OutputFormat::NOT_SET
@ NOT_SET
Aws
Definition: AccessManagementClient.h:15
Aws::DeviceFarm::Model::GetTestResult::GetTestResult
GetTestResult(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
DeviceFarm_EXPORTS.h
Aws::DeviceFarm::Model::GetTestResult::operator=
GetTestResult & operator=(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
Aws::DeviceFarm::Model::GetTestResult::GetTest
const Test & GetTest() const
Definition: GetTestResult.h:43
Aws::DeviceFarm::Model::GetTestResult::SetTest
void SetTest(const Test &value)
Definition: GetTestResult.h:48
Aws::DeviceFarm::Model::GetTestResult::WithTest
GetTestResult & WithTest(const Test &value)
Definition: GetTestResult.h:58