AWS SDK for C++  1.9.159
AWS SDK for C++
CreateAssetResult.h
Go to the documentation of this file.
1 
6 #pragma once
10 #include <utility>
11 
12 namespace Aws
13 {
14 template<typename RESULT_TYPE>
15 class AmazonWebServiceResult;
16 
17 namespace Utils
18 {
19 namespace Json
20 {
21  class JsonValue;
22 } // namespace Json
23 } // namespace Utils
24 namespace IoTSiteWise
25 {
26 namespace Model
27 {
29  {
30  public:
34 
35 
40  inline const Aws::String& GetAssetId() const{ return m_assetId; }
41 
46  inline void SetAssetId(const Aws::String& value) { m_assetId = value; }
47 
52  inline void SetAssetId(Aws::String&& value) { m_assetId = std::move(value); }
53 
58  inline void SetAssetId(const char* value) { m_assetId.assign(value); }
59 
64  inline CreateAssetResult& WithAssetId(const Aws::String& value) { SetAssetId(value); return *this;}
65 
70  inline CreateAssetResult& WithAssetId(Aws::String&& value) { SetAssetId(std::move(value)); return *this;}
71 
76  inline CreateAssetResult& WithAssetId(const char* value) { SetAssetId(value); return *this;}
77 
78 
86  inline const Aws::String& GetAssetArn() const{ return m_assetArn; }
87 
95  inline void SetAssetArn(const Aws::String& value) { m_assetArn = value; }
96 
104  inline void SetAssetArn(Aws::String&& value) { m_assetArn = std::move(value); }
105 
113  inline void SetAssetArn(const char* value) { m_assetArn.assign(value); }
114 
122  inline CreateAssetResult& WithAssetArn(const Aws::String& value) { SetAssetArn(value); return *this;}
123 
131  inline CreateAssetResult& WithAssetArn(Aws::String&& value) { SetAssetArn(std::move(value)); return *this;}
132 
140  inline CreateAssetResult& WithAssetArn(const char* value) { SetAssetArn(value); return *this;}
141 
142 
147  inline const AssetStatus& GetAssetStatus() const{ return m_assetStatus; }
148 
153  inline void SetAssetStatus(const AssetStatus& value) { m_assetStatus = value; }
154 
159  inline void SetAssetStatus(AssetStatus&& value) { m_assetStatus = std::move(value); }
160 
165  inline CreateAssetResult& WithAssetStatus(const AssetStatus& value) { SetAssetStatus(value); return *this;}
166 
171  inline CreateAssetResult& WithAssetStatus(AssetStatus&& value) { SetAssetStatus(std::move(value)); return *this;}
172 
173  private:
174 
175  Aws::String m_assetId;
176 
177  Aws::String m_assetArn;
178 
179  AssetStatus m_assetStatus;
180  };
181 
182 } // namespace Model
183 } // namespace IoTSiteWise
184 } // namespace Aws
Aws::IoTSiteWise::Model::CreateAssetResult::WithAssetArn
CreateAssetResult & WithAssetArn(Aws::String &&value)
Definition: CreateAssetResult.h:131
Aws::AmazonWebServiceResult
Definition: AmazonWebServiceResult.h:19
Aws::IoTSiteWise::Model::CreateAssetResult::SetAssetArn
void SetAssetArn(Aws::String &&value)
Definition: CreateAssetResult.h:104
Aws::IoTSiteWise::Model::CreateAssetResult::SetAssetArn
void SetAssetArn(const Aws::String &value)
Definition: CreateAssetResult.h:95
IoTSiteWise_EXPORTS.h
Aws::IoTSiteWise::Model::CreateAssetResult::CreateAssetResult
CreateAssetResult()
Aws::IoTSiteWise::Model::CreateAssetResult::WithAssetArn
CreateAssetResult & WithAssetArn(const Aws::String &value)
Definition: CreateAssetResult.h:122
AssetStatus.h
AWS_IOTSITEWISE_API
#define AWS_IOTSITEWISE_API
Definition: IoTSiteWise_EXPORTS.h:28
Aws::IoTSiteWise::Model::CreateAssetResult::WithAssetId
CreateAssetResult & WithAssetId(const Aws::String &value)
Definition: CreateAssetResult.h:64
Aws::IoTSiteWise::Model::CreateAssetResult::WithAssetArn
CreateAssetResult & WithAssetArn(const char *value)
Definition: CreateAssetResult.h:140
Aws::IoTSiteWise::Model::CreateAssetResult::SetAssetStatus
void SetAssetStatus(const AssetStatus &value)
Definition: CreateAssetResult.h:153
Aws::IoTSiteWise::Model::CreateAssetResult::GetAssetStatus
const AssetStatus & GetAssetStatus() const
Definition: CreateAssetResult.h:147
Aws::IoTSiteWise::Model::CreateAssetResult::CreateAssetResult
CreateAssetResult(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
Aws::IoTSiteWise::Model::CreateAssetResult::SetAssetId
void SetAssetId(Aws::String &&value)
Definition: CreateAssetResult.h:52
Aws::IoTSiteWise::Model::CreateAssetResult::WithAssetStatus
CreateAssetResult & WithAssetStatus(AssetStatus &&value)
Definition: CreateAssetResult.h:171
Aws::IoTSiteWise::Model::CreateAssetResult
Definition: CreateAssetResult.h:29
Aws::IoTSiteWise::Model::CreateAssetResult::operator=
CreateAssetResult & operator=(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
Aws::IoTSiteWise::Model::CreateAssetResult::GetAssetId
const Aws::String & GetAssetId() const
Definition: CreateAssetResult.h:40
Aws::IoTSiteWise::Model::CreateAssetResult::SetAssetStatus
void SetAssetStatus(AssetStatus &&value)
Definition: CreateAssetResult.h:159
AWSString.h
Aws::MigrationHubStrategyRecommendations::Model::OutputFormat::NOT_SET
@ NOT_SET
Aws
Definition: AccessManagementClient.h:15
Aws::IoTSiteWise::Model::AssetStatus
Definition: AssetStatus.h:37
Aws::IoTSiteWise::Model::CreateAssetResult::SetAssetId
void SetAssetId(const char *value)
Definition: CreateAssetResult.h:58
Aws::IoTSiteWise::Model::CreateAssetResult::SetAssetId
void SetAssetId(const Aws::String &value)
Definition: CreateAssetResult.h:46
Aws::String
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Definition: AWSString.h:97
Aws::IoTSiteWise::Model::CreateAssetResult::GetAssetArn
const Aws::String & GetAssetArn() const
Definition: CreateAssetResult.h:86
Aws::IoTSiteWise::Model::CreateAssetResult::WithAssetId
CreateAssetResult & WithAssetId(Aws::String &&value)
Definition: CreateAssetResult.h:70
Aws::IoTSiteWise::Model::CreateAssetResult::WithAssetId
CreateAssetResult & WithAssetId(const char *value)
Definition: CreateAssetResult.h:76
Aws::IoTSiteWise::Model::CreateAssetResult::WithAssetStatus
CreateAssetResult & WithAssetStatus(const AssetStatus &value)
Definition: CreateAssetResult.h:165
Aws::IoTSiteWise::Model::CreateAssetResult::SetAssetArn
void SetAssetArn(const char *value)
Definition: CreateAssetResult.h:113