AWS SDK for C++  1.9.153
AWS SDK for C++
DescribeAssetResult.h
Go to the documentation of this file.
1 
6 #pragma once
15 #include <utility>
16 
17 namespace Aws
18 {
19 template<typename RESULT_TYPE>
20 class AmazonWebServiceResult;
21 
22 namespace Utils
23 {
24 namespace Json
25 {
26  class JsonValue;
27 } // namespace Json
28 } // namespace Utils
29 namespace IoTSiteWise
30 {
31 namespace Model
32 {
34  {
35  public:
39 
40 
44  inline const Aws::String& GetAssetId() const{ return m_assetId; }
45 
49  inline void SetAssetId(const Aws::String& value) { m_assetId = value; }
50 
54  inline void SetAssetId(Aws::String&& value) { m_assetId = std::move(value); }
55 
59  inline void SetAssetId(const char* value) { m_assetId.assign(value); }
60 
64  inline DescribeAssetResult& WithAssetId(const Aws::String& value) { SetAssetId(value); return *this;}
65 
69  inline DescribeAssetResult& WithAssetId(Aws::String&& value) { SetAssetId(std::move(value)); return *this;}
70 
74  inline DescribeAssetResult& WithAssetId(const char* value) { SetAssetId(value); return *this;}
75 
76 
84  inline const Aws::String& GetAssetArn() const{ return m_assetArn; }
85 
93  inline void SetAssetArn(const Aws::String& value) { m_assetArn = value; }
94 
102  inline void SetAssetArn(Aws::String&& value) { m_assetArn = std::move(value); }
103 
111  inline void SetAssetArn(const char* value) { m_assetArn.assign(value); }
112 
120  inline DescribeAssetResult& WithAssetArn(const Aws::String& value) { SetAssetArn(value); return *this;}
121 
129  inline DescribeAssetResult& WithAssetArn(Aws::String&& value) { SetAssetArn(std::move(value)); return *this;}
130 
138  inline DescribeAssetResult& WithAssetArn(const char* value) { SetAssetArn(value); return *this;}
139 
140 
144  inline const Aws::String& GetAssetName() const{ return m_assetName; }
145 
149  inline void SetAssetName(const Aws::String& value) { m_assetName = value; }
150 
154  inline void SetAssetName(Aws::String&& value) { m_assetName = std::move(value); }
155 
159  inline void SetAssetName(const char* value) { m_assetName.assign(value); }
160 
164  inline DescribeAssetResult& WithAssetName(const Aws::String& value) { SetAssetName(value); return *this;}
165 
169  inline DescribeAssetResult& WithAssetName(Aws::String&& value) { SetAssetName(std::move(value)); return *this;}
170 
174  inline DescribeAssetResult& WithAssetName(const char* value) { SetAssetName(value); return *this;}
175 
176 
180  inline const Aws::String& GetAssetModelId() const{ return m_assetModelId; }
181 
185  inline void SetAssetModelId(const Aws::String& value) { m_assetModelId = value; }
186 
190  inline void SetAssetModelId(Aws::String&& value) { m_assetModelId = std::move(value); }
191 
195  inline void SetAssetModelId(const char* value) { m_assetModelId.assign(value); }
196 
200  inline DescribeAssetResult& WithAssetModelId(const Aws::String& value) { SetAssetModelId(value); return *this;}
201 
205  inline DescribeAssetResult& WithAssetModelId(Aws::String&& value) { SetAssetModelId(std::move(value)); return *this;}
206 
210  inline DescribeAssetResult& WithAssetModelId(const char* value) { SetAssetModelId(value); return *this;}
211 
212 
218  inline const Aws::Vector<AssetProperty>& GetAssetProperties() const{ return m_assetProperties; }
219 
225  inline void SetAssetProperties(const Aws::Vector<AssetProperty>& value) { m_assetProperties = value; }
226 
232  inline void SetAssetProperties(Aws::Vector<AssetProperty>&& value) { m_assetProperties = std::move(value); }
233 
239  inline DescribeAssetResult& WithAssetProperties(const Aws::Vector<AssetProperty>& value) { SetAssetProperties(value); return *this;}
240 
246  inline DescribeAssetResult& WithAssetProperties(Aws::Vector<AssetProperty>&& value) { SetAssetProperties(std::move(value)); return *this;}
247 
253  inline DescribeAssetResult& AddAssetProperties(const AssetProperty& value) { m_assetProperties.push_back(value); return *this; }
254 
260  inline DescribeAssetResult& AddAssetProperties(AssetProperty&& value) { m_assetProperties.push_back(std::move(value)); return *this; }
261 
262 
267  inline const Aws::Vector<AssetHierarchy>& GetAssetHierarchies() const{ return m_assetHierarchies; }
268 
273  inline void SetAssetHierarchies(const Aws::Vector<AssetHierarchy>& value) { m_assetHierarchies = value; }
274 
279  inline void SetAssetHierarchies(Aws::Vector<AssetHierarchy>&& value) { m_assetHierarchies = std::move(value); }
280 
285  inline DescribeAssetResult& WithAssetHierarchies(const Aws::Vector<AssetHierarchy>& value) { SetAssetHierarchies(value); return *this;}
286 
291  inline DescribeAssetResult& WithAssetHierarchies(Aws::Vector<AssetHierarchy>&& value) { SetAssetHierarchies(std::move(value)); return *this;}
292 
297  inline DescribeAssetResult& AddAssetHierarchies(const AssetHierarchy& value) { m_assetHierarchies.push_back(value); return *this; }
298 
303  inline DescribeAssetResult& AddAssetHierarchies(AssetHierarchy&& value) { m_assetHierarchies.push_back(std::move(value)); return *this; }
304 
305 
309  inline const Aws::Vector<AssetCompositeModel>& GetAssetCompositeModels() const{ return m_assetCompositeModels; }
310 
314  inline void SetAssetCompositeModels(const Aws::Vector<AssetCompositeModel>& value) { m_assetCompositeModels = value; }
315 
319  inline void SetAssetCompositeModels(Aws::Vector<AssetCompositeModel>&& value) { m_assetCompositeModels = std::move(value); }
320 
324  inline DescribeAssetResult& WithAssetCompositeModels(const Aws::Vector<AssetCompositeModel>& value) { SetAssetCompositeModels(value); return *this;}
325 
329  inline DescribeAssetResult& WithAssetCompositeModels(Aws::Vector<AssetCompositeModel>&& value) { SetAssetCompositeModels(std::move(value)); return *this;}
330 
334  inline DescribeAssetResult& AddAssetCompositeModels(const AssetCompositeModel& value) { m_assetCompositeModels.push_back(value); return *this; }
335 
339  inline DescribeAssetResult& AddAssetCompositeModels(AssetCompositeModel&& value) { m_assetCompositeModels.push_back(std::move(value)); return *this; }
340 
341 
345  inline const Aws::Utils::DateTime& GetAssetCreationDate() const{ return m_assetCreationDate; }
346 
350  inline void SetAssetCreationDate(const Aws::Utils::DateTime& value) { m_assetCreationDate = value; }
351 
355  inline void SetAssetCreationDate(Aws::Utils::DateTime&& value) { m_assetCreationDate = std::move(value); }
356 
360  inline DescribeAssetResult& WithAssetCreationDate(const Aws::Utils::DateTime& value) { SetAssetCreationDate(value); return *this;}
361 
365  inline DescribeAssetResult& WithAssetCreationDate(Aws::Utils::DateTime&& value) { SetAssetCreationDate(std::move(value)); return *this;}
366 
367 
371  inline const Aws::Utils::DateTime& GetAssetLastUpdateDate() const{ return m_assetLastUpdateDate; }
372 
376  inline void SetAssetLastUpdateDate(const Aws::Utils::DateTime& value) { m_assetLastUpdateDate = value; }
377 
381  inline void SetAssetLastUpdateDate(Aws::Utils::DateTime&& value) { m_assetLastUpdateDate = std::move(value); }
382 
386  inline DescribeAssetResult& WithAssetLastUpdateDate(const Aws::Utils::DateTime& value) { SetAssetLastUpdateDate(value); return *this;}
387 
391  inline DescribeAssetResult& WithAssetLastUpdateDate(Aws::Utils::DateTime&& value) { SetAssetLastUpdateDate(std::move(value)); return *this;}
392 
393 
398  inline const AssetStatus& GetAssetStatus() const{ return m_assetStatus; }
399 
404  inline void SetAssetStatus(const AssetStatus& value) { m_assetStatus = value; }
405 
410  inline void SetAssetStatus(AssetStatus&& value) { m_assetStatus = std::move(value); }
411 
416  inline DescribeAssetResult& WithAssetStatus(const AssetStatus& value) { SetAssetStatus(value); return *this;}
417 
422  inline DescribeAssetResult& WithAssetStatus(AssetStatus&& value) { SetAssetStatus(std::move(value)); return *this;}
423 
424  private:
425 
426  Aws::String m_assetId;
427 
428  Aws::String m_assetArn;
429 
430  Aws::String m_assetName;
431 
432  Aws::String m_assetModelId;
433 
434  Aws::Vector<AssetProperty> m_assetProperties;
435 
436  Aws::Vector<AssetHierarchy> m_assetHierarchies;
437 
438  Aws::Vector<AssetCompositeModel> m_assetCompositeModels;
439 
440  Aws::Utils::DateTime m_assetCreationDate;
441 
442  Aws::Utils::DateTime m_assetLastUpdateDate;
443 
444  AssetStatus m_assetStatus;
445  };
446 
447 } // namespace Model
448 } // namespace IoTSiteWise
449 } // namespace Aws
Aws::Utils::DateTime
Definition: DateTime.h:55
Aws::IoTSiteWise::Model::DescribeAssetResult::GetAssetProperties
const Aws::Vector< AssetProperty > & GetAssetProperties() const
Definition: DescribeAssetResult.h:218
Aws::IoTSiteWise::Model::DescribeAssetResult::GetAssetArn
const Aws::String & GetAssetArn() const
Definition: DescribeAssetResult.h:84
Aws::AmazonWebServiceResult
Definition: AmazonWebServiceResult.h:19
Aws::IoTSiteWise::Model::DescribeAssetResult::SetAssetCreationDate
void SetAssetCreationDate(Aws::Utils::DateTime &&value)
Definition: DescribeAssetResult.h:355
Aws::IoTSiteWise::Model::DescribeAssetResult::SetAssetLastUpdateDate
void SetAssetLastUpdateDate(Aws::Utils::DateTime &&value)
Definition: DescribeAssetResult.h:381
AssetCompositeModel.h
Aws::IoTSiteWise::Model::DescribeAssetResult::SetAssetLastUpdateDate
void SetAssetLastUpdateDate(const Aws::Utils::DateTime &value)
Definition: DescribeAssetResult.h:376
Aws::IoTSiteWise::Model::DescribeAssetResult
Definition: DescribeAssetResult.h:34
Aws::IoTSiteWise::Model::DescribeAssetResult::WithAssetArn
DescribeAssetResult & WithAssetArn(const char *value)
Definition: DescribeAssetResult.h:138
Aws::IoTSiteWise::Model::DescribeAssetResult::WithAssetCreationDate
DescribeAssetResult & WithAssetCreationDate(Aws::Utils::DateTime &&value)
Definition: DescribeAssetResult.h:365
Aws::IoTSiteWise::Model::DescribeAssetResult::WithAssetName
DescribeAssetResult & WithAssetName(const char *value)
Definition: DescribeAssetResult.h:174
Aws::IoTSiteWise::Model::DescribeAssetResult::WithAssetProperties
DescribeAssetResult & WithAssetProperties(const Aws::Vector< AssetProperty > &value)
Definition: DescribeAssetResult.h:239
Aws::IoTSiteWise::Model::DescribeAssetResult::GetAssetCreationDate
const Aws::Utils::DateTime & GetAssetCreationDate() const
Definition: DescribeAssetResult.h:345
IoTSiteWise_EXPORTS.h
Aws::IoTSiteWise::Model::DescribeAssetResult::AddAssetCompositeModels
DescribeAssetResult & AddAssetCompositeModels(AssetCompositeModel &&value)
Definition: DescribeAssetResult.h:339
Aws::IoTSiteWise::Model::DescribeAssetResult::SetAssetId
void SetAssetId(const char *value)
Definition: DescribeAssetResult.h:59
Aws::IoTSiteWise::Model::DescribeAssetResult::WithAssetArn
DescribeAssetResult & WithAssetArn(Aws::String &&value)
Definition: DescribeAssetResult.h:129
AssetStatus.h
Aws::IoTSiteWise::Model::DescribeAssetResult::operator=
DescribeAssetResult & operator=(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
DateTime.h
AWS_IOTSITEWISE_API
#define AWS_IOTSITEWISE_API
Definition: IoTSiteWise_EXPORTS.h:28
Aws::IoTSiteWise::Model::DescribeAssetResult::WithAssetHierarchies
DescribeAssetResult & WithAssetHierarchies(const Aws::Vector< AssetHierarchy > &value)
Definition: DescribeAssetResult.h:285
Aws::IoTSiteWise::Model::DescribeAssetResult::SetAssetModelId
void SetAssetModelId(const Aws::String &value)
Definition: DescribeAssetResult.h:185
Aws::IoTSiteWise::Model::DescribeAssetResult::SetAssetName
void SetAssetName(const char *value)
Definition: DescribeAssetResult.h:159
Aws::IoTSiteWise::Model::DescribeAssetResult::SetAssetHierarchies
void SetAssetHierarchies(const Aws::Vector< AssetHierarchy > &value)
Definition: DescribeAssetResult.h:273
Aws::IoTSiteWise::Model::DescribeAssetResult::WithAssetLastUpdateDate
DescribeAssetResult & WithAssetLastUpdateDate(Aws::Utils::DateTime &&value)
Definition: DescribeAssetResult.h:391
Aws::IoTSiteWise::Model::DescribeAssetResult::WithAssetId
DescribeAssetResult & WithAssetId(Aws::String &&value)
Definition: DescribeAssetResult.h:69
Aws::Vector
std::vector< T, Aws::Allocator< T > > Vector
Definition: AWSVector.h:17
Aws::IoTSiteWise::Model::DescribeAssetResult::SetAssetCreationDate
void SetAssetCreationDate(const Aws::Utils::DateTime &value)
Definition: DescribeAssetResult.h:350
Aws::IoTSiteWise::Model::DescribeAssetResult::DescribeAssetResult
DescribeAssetResult(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
AWSVector.h
Aws::IoTSiteWise::Model::DescribeAssetResult::AddAssetCompositeModels
DescribeAssetResult & AddAssetCompositeModels(const AssetCompositeModel &value)
Definition: DescribeAssetResult.h:334
Aws::IoTSiteWise::Model::DescribeAssetResult::SetAssetCompositeModels
void SetAssetCompositeModels(const Aws::Vector< AssetCompositeModel > &value)
Definition: DescribeAssetResult.h:314
AssetHierarchy.h
Aws::IoTSiteWise::Model::DescribeAssetResult::SetAssetName
void SetAssetName(Aws::String &&value)
Definition: DescribeAssetResult.h:154
Aws::IoTSiteWise::Model::DescribeAssetResult::SetAssetStatus
void SetAssetStatus(AssetStatus &&value)
Definition: DescribeAssetResult.h:410
Aws::IoTSiteWise::Model::DescribeAssetResult::SetAssetStatus
void SetAssetStatus(const AssetStatus &value)
Definition: DescribeAssetResult.h:404
Aws::IoTSiteWise::Model::DescribeAssetResult::WithAssetName
DescribeAssetResult & WithAssetName(const Aws::String &value)
Definition: DescribeAssetResult.h:164
Aws::IoTSiteWise::Model::DescribeAssetResult::SetAssetModelId
void SetAssetModelId(const char *value)
Definition: DescribeAssetResult.h:195
Aws::IoTSiteWise::Model::DescribeAssetResult::GetAssetLastUpdateDate
const Aws::Utils::DateTime & GetAssetLastUpdateDate() const
Definition: DescribeAssetResult.h:371
Aws::IoTSiteWise::Model::DescribeAssetResult::SetAssetId
void SetAssetId(Aws::String &&value)
Definition: DescribeAssetResult.h:54
Aws::IoTSiteWise::Model::DescribeAssetResult::AddAssetHierarchies
DescribeAssetResult & AddAssetHierarchies(const AssetHierarchy &value)
Definition: DescribeAssetResult.h:297
Aws::IoTSiteWise::Model::DescribeAssetResult::SetAssetHierarchies
void SetAssetHierarchies(Aws::Vector< AssetHierarchy > &&value)
Definition: DescribeAssetResult.h:279
Aws::IoTSiteWise::Model::DescribeAssetResult::SetAssetProperties
void SetAssetProperties(const Aws::Vector< AssetProperty > &value)
Definition: DescribeAssetResult.h:225
Aws::IoTSiteWise::Model::DescribeAssetResult::SetAssetModelId
void SetAssetModelId(Aws::String &&value)
Definition: DescribeAssetResult.h:190
Aws::IoTSiteWise::Model::DescribeAssetResult::WithAssetStatus
DescribeAssetResult & WithAssetStatus(AssetStatus &&value)
Definition: DescribeAssetResult.h:422
Aws::IoTSiteWise::Model::DescribeAssetResult::SetAssetCompositeModels
void SetAssetCompositeModels(Aws::Vector< AssetCompositeModel > &&value)
Definition: DescribeAssetResult.h:319
Aws::IoTSiteWise::Model::DescribeAssetResult::SetAssetArn
void SetAssetArn(const Aws::String &value)
Definition: DescribeAssetResult.h:93
AWSString.h
Aws::IoTSiteWise::Model::DescribeAssetResult::WithAssetId
DescribeAssetResult & WithAssetId(const char *value)
Definition: DescribeAssetResult.h:74
Aws::IoTSiteWise::Model::DescribeAssetResult::SetAssetName
void SetAssetName(const Aws::String &value)
Definition: DescribeAssetResult.h:149
Aws::IoTSiteWise::Model::DescribeAssetResult::WithAssetModelId
DescribeAssetResult & WithAssetModelId(const char *value)
Definition: DescribeAssetResult.h:210
Aws::IoTSiteWise::Model::DescribeAssetResult::GetAssetStatus
const AssetStatus & GetAssetStatus() const
Definition: DescribeAssetResult.h:398
Aws::IoTSiteWise::Model::DescribeAssetResult::GetAssetId
const Aws::String & GetAssetId() const
Definition: DescribeAssetResult.h:44
Aws::IoTSiteWise::Model::DescribeAssetResult::WithAssetLastUpdateDate
DescribeAssetResult & WithAssetLastUpdateDate(const Aws::Utils::DateTime &value)
Definition: DescribeAssetResult.h:386
Aws::IoTSiteWise::Model::AssetCompositeModel
Definition: AssetCompositeModel.h:36
Aws::IoTSiteWise::Model::DescribeAssetResult::WithAssetArn
DescribeAssetResult & WithAssetArn(const Aws::String &value)
Definition: DescribeAssetResult.h:120
Aws::IoTSiteWise::Model::DescribeAssetResult::AddAssetProperties
DescribeAssetResult & AddAssetProperties(AssetProperty &&value)
Definition: DescribeAssetResult.h:260
Aws::IoTSiteWise::Model::DescribeAssetResult::GetAssetHierarchies
const Aws::Vector< AssetHierarchy > & GetAssetHierarchies() const
Definition: DescribeAssetResult.h:267
Aws::IoTSiteWise::Model::DescribeAssetResult::AddAssetHierarchies
DescribeAssetResult & AddAssetHierarchies(AssetHierarchy &&value)
Definition: DescribeAssetResult.h:303
Aws::IoTSiteWise::Model::DescribeAssetResult::SetAssetProperties
void SetAssetProperties(Aws::Vector< AssetProperty > &&value)
Definition: DescribeAssetResult.h:232
Aws::IoTSiteWise::Model::AssetProperty
Definition: AssetProperty.h:34
AssetProperty.h
Aws::MigrationHubStrategyRecommendations::Model::OutputFormat::NOT_SET
@ NOT_SET
Aws::IoTSiteWise::Model::DescribeAssetResult::WithAssetModelId
DescribeAssetResult & WithAssetModelId(Aws::String &&value)
Definition: DescribeAssetResult.h:205
Aws
Definition: AccessManagementClient.h:15
Aws::IoTSiteWise::Model::DescribeAssetResult::GetAssetName
const Aws::String & GetAssetName() const
Definition: DescribeAssetResult.h:144
Aws::IoTSiteWise::Model::AssetStatus
Definition: AssetStatus.h:37
Aws::IoTSiteWise::Model::AssetHierarchy
Definition: AssetHierarchy.h:33
Aws::IoTSiteWise::Model::DescribeAssetResult::GetAssetCompositeModels
const Aws::Vector< AssetCompositeModel > & GetAssetCompositeModels() const
Definition: DescribeAssetResult.h:309
Aws::IoTSiteWise::Model::DescribeAssetResult::WithAssetCompositeModels
DescribeAssetResult & WithAssetCompositeModels(Aws::Vector< AssetCompositeModel > &&value)
Definition: DescribeAssetResult.h:329
Aws::IoTSiteWise::Model::DescribeAssetResult::WithAssetCreationDate
DescribeAssetResult & WithAssetCreationDate(const Aws::Utils::DateTime &value)
Definition: DescribeAssetResult.h:360
Aws::IoTSiteWise::Model::DescribeAssetResult::SetAssetId
void SetAssetId(const Aws::String &value)
Definition: DescribeAssetResult.h:49
Aws::IoTSiteWise::Model::DescribeAssetResult::SetAssetArn
void SetAssetArn(const char *value)
Definition: DescribeAssetResult.h:111
Aws::IoTSiteWise::Model::DescribeAssetResult::GetAssetModelId
const Aws::String & GetAssetModelId() const
Definition: DescribeAssetResult.h:180
Aws::String
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Definition: AWSString.h:97
Aws::IoTSiteWise::Model::DescribeAssetResult::AddAssetProperties
DescribeAssetResult & AddAssetProperties(const AssetProperty &value)
Definition: DescribeAssetResult.h:253
Aws::IoTSiteWise::Model::DescribeAssetResult::WithAssetStatus
DescribeAssetResult & WithAssetStatus(const AssetStatus &value)
Definition: DescribeAssetResult.h:416
Aws::IoTSiteWise::Model::DescribeAssetResult::WithAssetName
DescribeAssetResult & WithAssetName(Aws::String &&value)
Definition: DescribeAssetResult.h:169
Aws::IoTSiteWise::Model::DescribeAssetResult::DescribeAssetResult
DescribeAssetResult()
Aws::IoTSiteWise::Model::DescribeAssetResult::WithAssetId
DescribeAssetResult & WithAssetId(const Aws::String &value)
Definition: DescribeAssetResult.h:64
Aws::IoTSiteWise::Model::DescribeAssetResult::SetAssetArn
void SetAssetArn(Aws::String &&value)
Definition: DescribeAssetResult.h:102
Aws::IoTSiteWise::Model::DescribeAssetResult::WithAssetHierarchies
DescribeAssetResult & WithAssetHierarchies(Aws::Vector< AssetHierarchy > &&value)
Definition: DescribeAssetResult.h:291
Aws::IoTSiteWise::Model::DescribeAssetResult::WithAssetCompositeModels
DescribeAssetResult & WithAssetCompositeModels(const Aws::Vector< AssetCompositeModel > &value)
Definition: DescribeAssetResult.h:324
Aws::IoTSiteWise::Model::DescribeAssetResult::WithAssetModelId
DescribeAssetResult & WithAssetModelId(const Aws::String &value)
Definition: DescribeAssetResult.h:200
Aws::IoTSiteWise::Model::DescribeAssetResult::WithAssetProperties
DescribeAssetResult & WithAssetProperties(Aws::Vector< AssetProperty > &&value)
Definition: DescribeAssetResult.h:246