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