AWS SDK for C++  1.9.153
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 SageMaker
24 {
25 namespace Model
26 {
28  {
29  public:
33 
34 
38  inline const Aws::String& GetProjectArn() const{ return m_projectArn; }
39 
43  inline void SetProjectArn(const Aws::String& value) { m_projectArn = value; }
44 
48  inline void SetProjectArn(Aws::String&& value) { m_projectArn = std::move(value); }
49 
53  inline void SetProjectArn(const char* value) { m_projectArn.assign(value); }
54 
58  inline CreateProjectResult& WithProjectArn(const Aws::String& value) { SetProjectArn(value); return *this;}
59 
63  inline CreateProjectResult& WithProjectArn(Aws::String&& value) { SetProjectArn(std::move(value)); return *this;}
64 
68  inline CreateProjectResult& WithProjectArn(const char* value) { SetProjectArn(value); return *this;}
69 
70 
74  inline const Aws::String& GetProjectId() const{ return m_projectId; }
75 
79  inline void SetProjectId(const Aws::String& value) { m_projectId = value; }
80 
84  inline void SetProjectId(Aws::String&& value) { m_projectId = std::move(value); }
85 
89  inline void SetProjectId(const char* value) { m_projectId.assign(value); }
90 
94  inline CreateProjectResult& WithProjectId(const Aws::String& value) { SetProjectId(value); return *this;}
95 
99  inline CreateProjectResult& WithProjectId(Aws::String&& value) { SetProjectId(std::move(value)); return *this;}
100 
104  inline CreateProjectResult& WithProjectId(const char* value) { SetProjectId(value); return *this;}
105 
106  private:
107 
108  Aws::String m_projectArn;
109 
110  Aws::String m_projectId;
111  };
112 
113 } // namespace Model
114 } // namespace SageMaker
115 } // namespace Aws
Aws::SavingsPlans::Model::SavingsPlanProductType::NOT_SET
@ NOT_SET
Aws::SageMaker::Model::CreateProjectResult::SetProjectId
void SetProjectId(Aws::String &&value)
Definition: CreateProjectResult.h:84
Aws::AmazonWebServiceResult
Definition: AmazonWebServiceResult.h:19
SageMaker_EXPORTS.h
Aws::SageMaker::Model::CreateProjectResult::GetProjectId
const Aws::String & GetProjectId() const
Definition: CreateProjectResult.h:74
Aws::SageMaker::Model::CreateProjectResult::SetProjectArn
void SetProjectArn(const char *value)
Definition: CreateProjectResult.h:53
Aws::SageMaker::Model::CreateProjectResult::WithProjectArn
CreateProjectResult & WithProjectArn(const Aws::String &value)
Definition: CreateProjectResult.h:58
Aws::SageMaker::Model::CreateProjectResult::CreateProjectResult
CreateProjectResult()
Aws::SageMaker::Model::CreateProjectResult::WithProjectId
CreateProjectResult & WithProjectId(const Aws::String &value)
Definition: CreateProjectResult.h:94
Aws::SageMaker::Model::CreateProjectResult::WithProjectArn
CreateProjectResult & WithProjectArn(Aws::String &&value)
Definition: CreateProjectResult.h:63
Aws::SageMaker::Model::CreateProjectResult::GetProjectArn
const Aws::String & GetProjectArn() const
Definition: CreateProjectResult.h:38
Aws::SageMaker::Model::CreateProjectResult::SetProjectId
void SetProjectId(const Aws::String &value)
Definition: CreateProjectResult.h:79
Aws::SageMaker::Model::CreateProjectResult::WithProjectArn
CreateProjectResult & WithProjectArn(const char *value)
Definition: CreateProjectResult.h:68
AWS_SAGEMAKER_API
#define AWS_SAGEMAKER_API
Definition: SageMaker_EXPORTS.h:28
AWSString.h
Aws::SageMaker::Model::CreateProjectResult
Definition: CreateProjectResult.h:28
Aws::SageMaker::Model::CreateProjectResult::WithProjectId
CreateProjectResult & WithProjectId(const char *value)
Definition: CreateProjectResult.h:104
Aws::SageMaker::Model::CreateProjectResult::SetProjectArn
void SetProjectArn(const Aws::String &value)
Definition: CreateProjectResult.h:43
Aws::MigrationHubStrategyRecommendations::Model::OutputFormat::NOT_SET
@ NOT_SET
Aws
Definition: AccessManagementClient.h:15
Aws::SageMaker::Model::CreateProjectResult::CreateProjectResult
CreateProjectResult(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
Aws::SageMaker::Model::CreateProjectResult::operator=
CreateProjectResult & operator=(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
Aws::String
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Definition: AWSString.h:97
Aws::SageMaker::Model::CreateProjectResult::SetProjectArn
void SetProjectArn(Aws::String &&value)
Definition: CreateProjectResult.h:48
Aws::SageMaker::Model::CreateProjectResult::WithProjectId
CreateProjectResult & WithProjectId(Aws::String &&value)
Definition: CreateProjectResult.h:99
Aws::SageMaker::Model::CreateProjectResult::SetProjectId
void SetProjectId(const char *value)
Definition: CreateProjectResult.h:89