AWS SDK for C++  1.9.155
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 IoTSiteWise
24 {
25 namespace Model
26 {
28  {
29  public:
33 
34 
38  inline const Aws::String& GetProjectId() const{ return m_projectId; }
39 
43  inline void SetProjectId(const Aws::String& value) { m_projectId = value; }
44 
48  inline void SetProjectId(Aws::String&& value) { m_projectId = std::move(value); }
49 
53  inline void SetProjectId(const char* value) { m_projectId.assign(value); }
54 
58  inline CreateProjectResult& WithProjectId(const Aws::String& value) { SetProjectId(value); return *this;}
59 
63  inline CreateProjectResult& WithProjectId(Aws::String&& value) { SetProjectId(std::move(value)); return *this;}
64 
68  inline CreateProjectResult& WithProjectId(const char* value) { SetProjectId(value); return *this;}
69 
70 
78  inline const Aws::String& GetProjectArn() const{ return m_projectArn; }
79 
87  inline void SetProjectArn(const Aws::String& value) { m_projectArn = value; }
88 
96  inline void SetProjectArn(Aws::String&& value) { m_projectArn = std::move(value); }
97 
105  inline void SetProjectArn(const char* value) { m_projectArn.assign(value); }
106 
114  inline CreateProjectResult& WithProjectArn(const Aws::String& value) { SetProjectArn(value); return *this;}
115 
123  inline CreateProjectResult& WithProjectArn(Aws::String&& value) { SetProjectArn(std::move(value)); return *this;}
124 
132  inline CreateProjectResult& WithProjectArn(const char* value) { SetProjectArn(value); return *this;}
133 
134  private:
135 
136  Aws::String m_projectId;
137 
138  Aws::String m_projectArn;
139  };
140 
141 } // namespace Model
142 } // namespace IoTSiteWise
143 } // namespace Aws
Aws::IoTSiteWise::Model::CreateProjectResult::operator=
CreateProjectResult & operator=(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
Aws::IoTSiteWise::Model::CreateProjectResult::WithProjectId
CreateProjectResult & WithProjectId(const char *value)
Definition: CreateProjectResult.h:68
Aws::AmazonWebServiceResult
Definition: AmazonWebServiceResult.h:19
IoTSiteWise_EXPORTS.h
AWS_IOTSITEWISE_API
#define AWS_IOTSITEWISE_API
Definition: IoTSiteWise_EXPORTS.h:28
Aws::IoTSiteWise::Model::CreateProjectResult::GetProjectArn
const Aws::String & GetProjectArn() const
Definition: CreateProjectResult.h:78
Aws::IoTSiteWise::Model::CreateProjectResult::WithProjectArn
CreateProjectResult & WithProjectArn(const char *value)
Definition: CreateProjectResult.h:132
Aws::IoTSiteWise::Model::CreateProjectResult::SetProjectId
void SetProjectId(Aws::String &&value)
Definition: CreateProjectResult.h:48
AWSString.h
Aws::IoTSiteWise::Model::CreateProjectResult::GetProjectId
const Aws::String & GetProjectId() const
Definition: CreateProjectResult.h:38
Aws::IoTSiteWise::Model::CreateProjectResult::WithProjectArn
CreateProjectResult & WithProjectArn(Aws::String &&value)
Definition: CreateProjectResult.h:123
Aws::IoTSiteWise::Model::CreateProjectResult::WithProjectArn
CreateProjectResult & WithProjectArn(const Aws::String &value)
Definition: CreateProjectResult.h:114
Aws::IoTSiteWise::Model::CreateProjectResult::WithProjectId
CreateProjectResult & WithProjectId(const Aws::String &value)
Definition: CreateProjectResult.h:58
Aws::IoTSiteWise::Model::CreateProjectResult::SetProjectArn
void SetProjectArn(Aws::String &&value)
Definition: CreateProjectResult.h:96
Aws::MigrationHubStrategyRecommendations::Model::OutputFormat::NOT_SET
@ NOT_SET
Aws
Definition: AccessManagementClient.h:15
Aws::String
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Definition: AWSString.h:97
Aws::IoTSiteWise::Model::CreateProjectResult::SetProjectArn
void SetProjectArn(const char *value)
Definition: CreateProjectResult.h:105
Aws::IoTSiteWise::Model::CreateProjectResult::SetProjectArn
void SetProjectArn(const Aws::String &value)
Definition: CreateProjectResult.h:87
Aws::IoTSiteWise::Model::CreateProjectResult
Definition: CreateProjectResult.h:28
Aws::IoTSiteWise::Model::CreateProjectResult::WithProjectId
CreateProjectResult & WithProjectId(Aws::String &&value)
Definition: CreateProjectResult.h:63
Aws::IoTSiteWise::Model::CreateProjectResult::SetProjectId
void SetProjectId(const char *value)
Definition: CreateProjectResult.h:53
Aws::IoTSiteWise::Model::CreateProjectResult::CreateProjectResult
CreateProjectResult(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
Aws::IoTSiteWise::Model::CreateProjectResult::CreateProjectResult
CreateProjectResult()
Aws::IoTSiteWise::Model::CreateProjectResult::SetProjectId
void SetProjectId(const Aws::String &value)
Definition: CreateProjectResult.h:43