AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
DescribeAssetResult.h
1
6#pragma once
7#include <aws/iotsitewise/IoTSiteWise_EXPORTS.h>
8#include <aws/core/utils/memory/stl/AWSString.h>
9#include <aws/core/utils/memory/stl/AWSVector.h>
10#include <aws/core/utils/DateTime.h>
11#include <aws/iotsitewise/model/AssetStatus.h>
12#include <aws/iotsitewise/model/AssetProperty.h>
13#include <aws/iotsitewise/model/AssetHierarchy.h>
14#include <aws/iotsitewise/model/AssetCompositeModel.h>
15#include <aws/iotsitewise/model/AssetCompositeModelSummary.h>
16#include <utility>
17
18namespace Aws
19{
20template<typename RESULT_TYPE>
21class AmazonWebServiceResult;
22
23namespace Utils
24{
25namespace Json
26{
27 class JsonValue;
28} // namespace Json
29} // namespace Utils
30namespace IoTSiteWise
31{
32namespace Model
33{
35 {
36 public:
37 AWS_IOTSITEWISE_API DescribeAssetResult();
40
41
43
46 inline const Aws::String& GetAssetId() const{ return m_assetId; }
47 inline void SetAssetId(const Aws::String& value) { m_assetId = value; }
48 inline void SetAssetId(Aws::String&& value) { m_assetId = std::move(value); }
49 inline void SetAssetId(const char* value) { m_assetId.assign(value); }
50 inline DescribeAssetResult& WithAssetId(const Aws::String& value) { SetAssetId(value); return *this;}
51 inline DescribeAssetResult& WithAssetId(Aws::String&& value) { SetAssetId(std::move(value)); return *this;}
52 inline DescribeAssetResult& WithAssetId(const char* value) { SetAssetId(value); return *this;}
54
56
63 inline const Aws::String& GetAssetArn() const{ return m_assetArn; }
64 inline void SetAssetArn(const Aws::String& value) { m_assetArn = value; }
65 inline void SetAssetArn(Aws::String&& value) { m_assetArn = std::move(value); }
66 inline void SetAssetArn(const char* value) { m_assetArn.assign(value); }
67 inline DescribeAssetResult& WithAssetArn(const Aws::String& value) { SetAssetArn(value); return *this;}
68 inline DescribeAssetResult& WithAssetArn(Aws::String&& value) { SetAssetArn(std::move(value)); return *this;}
69 inline DescribeAssetResult& WithAssetArn(const char* value) { SetAssetArn(value); return *this;}
71
73
76 inline const Aws::String& GetAssetName() const{ return m_assetName; }
77 inline void SetAssetName(const Aws::String& value) { m_assetName = value; }
78 inline void SetAssetName(Aws::String&& value) { m_assetName = std::move(value); }
79 inline void SetAssetName(const char* value) { m_assetName.assign(value); }
80 inline DescribeAssetResult& WithAssetName(const Aws::String& value) { SetAssetName(value); return *this;}
81 inline DescribeAssetResult& WithAssetName(Aws::String&& value) { SetAssetName(std::move(value)); return *this;}
82 inline DescribeAssetResult& WithAssetName(const char* value) { SetAssetName(value); return *this;}
84
86
89 inline const Aws::String& GetAssetModelId() const{ return m_assetModelId; }
90 inline void SetAssetModelId(const Aws::String& value) { m_assetModelId = value; }
91 inline void SetAssetModelId(Aws::String&& value) { m_assetModelId = std::move(value); }
92 inline void SetAssetModelId(const char* value) { m_assetModelId.assign(value); }
93 inline DescribeAssetResult& WithAssetModelId(const Aws::String& value) { SetAssetModelId(value); return *this;}
94 inline DescribeAssetResult& WithAssetModelId(Aws::String&& value) { SetAssetModelId(std::move(value)); return *this;}
95 inline DescribeAssetResult& WithAssetModelId(const char* value) { SetAssetModelId(value); return *this;}
97
99
104 inline const Aws::Vector<AssetProperty>& GetAssetProperties() const{ return m_assetProperties; }
105 inline void SetAssetProperties(const Aws::Vector<AssetProperty>& value) { m_assetProperties = value; }
106 inline void SetAssetProperties(Aws::Vector<AssetProperty>&& value) { m_assetProperties = std::move(value); }
109 inline DescribeAssetResult& AddAssetProperties(const AssetProperty& value) { m_assetProperties.push_back(value); return *this; }
110 inline DescribeAssetResult& AddAssetProperties(AssetProperty&& value) { m_assetProperties.push_back(std::move(value)); return *this; }
112
114
118 inline const Aws::Vector<AssetHierarchy>& GetAssetHierarchies() const{ return m_assetHierarchies; }
119 inline void SetAssetHierarchies(const Aws::Vector<AssetHierarchy>& value) { m_assetHierarchies = value; }
120 inline void SetAssetHierarchies(Aws::Vector<AssetHierarchy>&& value) { m_assetHierarchies = std::move(value); }
123 inline DescribeAssetResult& AddAssetHierarchies(const AssetHierarchy& value) { m_assetHierarchies.push_back(value); return *this; }
124 inline DescribeAssetResult& AddAssetHierarchies(AssetHierarchy&& value) { m_assetHierarchies.push_back(std::move(value)); return *this; }
126
128
131 inline const Aws::Vector<AssetCompositeModel>& GetAssetCompositeModels() const{ return m_assetCompositeModels; }
132 inline void SetAssetCompositeModels(const Aws::Vector<AssetCompositeModel>& value) { m_assetCompositeModels = value; }
133 inline void SetAssetCompositeModels(Aws::Vector<AssetCompositeModel>&& value) { m_assetCompositeModels = std::move(value); }
136 inline DescribeAssetResult& AddAssetCompositeModels(const AssetCompositeModel& value) { m_assetCompositeModels.push_back(value); return *this; }
137 inline DescribeAssetResult& AddAssetCompositeModels(AssetCompositeModel&& value) { m_assetCompositeModels.push_back(std::move(value)); return *this; }
139
141
144 inline const Aws::Utils::DateTime& GetAssetCreationDate() const{ return m_assetCreationDate; }
145 inline void SetAssetCreationDate(const Aws::Utils::DateTime& value) { m_assetCreationDate = value; }
146 inline void SetAssetCreationDate(Aws::Utils::DateTime&& value) { m_assetCreationDate = std::move(value); }
148 inline DescribeAssetResult& WithAssetCreationDate(Aws::Utils::DateTime&& value) { SetAssetCreationDate(std::move(value)); return *this;}
150
152
155 inline const Aws::Utils::DateTime& GetAssetLastUpdateDate() const{ return m_assetLastUpdateDate; }
156 inline void SetAssetLastUpdateDate(const Aws::Utils::DateTime& value) { m_assetLastUpdateDate = value; }
157 inline void SetAssetLastUpdateDate(Aws::Utils::DateTime&& value) { m_assetLastUpdateDate = std::move(value); }
161
163
167 inline const AssetStatus& GetAssetStatus() const{ return m_assetStatus; }
168 inline void SetAssetStatus(const AssetStatus& value) { m_assetStatus = value; }
169 inline void SetAssetStatus(AssetStatus&& value) { m_assetStatus = std::move(value); }
170 inline DescribeAssetResult& WithAssetStatus(const AssetStatus& value) { SetAssetStatus(value); return *this;}
171 inline DescribeAssetResult& WithAssetStatus(AssetStatus&& value) { SetAssetStatus(std::move(value)); return *this;}
173
175
178 inline const Aws::String& GetAssetDescription() const{ return m_assetDescription; }
179 inline void SetAssetDescription(const Aws::String& value) { m_assetDescription = value; }
180 inline void SetAssetDescription(Aws::String&& value) { m_assetDescription = std::move(value); }
181 inline void SetAssetDescription(const char* value) { m_assetDescription.assign(value); }
182 inline DescribeAssetResult& WithAssetDescription(const Aws::String& value) { SetAssetDescription(value); return *this;}
183 inline DescribeAssetResult& WithAssetDescription(Aws::String&& value) { SetAssetDescription(std::move(value)); return *this;}
184 inline DescribeAssetResult& WithAssetDescription(const char* value) { SetAssetDescription(value); return *this;}
186
188
192 inline const Aws::Vector<AssetCompositeModelSummary>& GetAssetCompositeModelSummaries() const{ return m_assetCompositeModelSummaries; }
193 inline void SetAssetCompositeModelSummaries(const Aws::Vector<AssetCompositeModelSummary>& value) { m_assetCompositeModelSummaries = value; }
194 inline void SetAssetCompositeModelSummaries(Aws::Vector<AssetCompositeModelSummary>&& value) { m_assetCompositeModelSummaries = std::move(value); }
197 inline DescribeAssetResult& AddAssetCompositeModelSummaries(const AssetCompositeModelSummary& value) { m_assetCompositeModelSummaries.push_back(value); return *this; }
198 inline DescribeAssetResult& AddAssetCompositeModelSummaries(AssetCompositeModelSummary&& value) { m_assetCompositeModelSummaries.push_back(std::move(value)); return *this; }
200
202
205 inline const Aws::String& GetAssetExternalId() const{ return m_assetExternalId; }
206 inline void SetAssetExternalId(const Aws::String& value) { m_assetExternalId = value; }
207 inline void SetAssetExternalId(Aws::String&& value) { m_assetExternalId = std::move(value); }
208 inline void SetAssetExternalId(const char* value) { m_assetExternalId.assign(value); }
209 inline DescribeAssetResult& WithAssetExternalId(const Aws::String& value) { SetAssetExternalId(value); return *this;}
210 inline DescribeAssetResult& WithAssetExternalId(Aws::String&& value) { SetAssetExternalId(std::move(value)); return *this;}
211 inline DescribeAssetResult& WithAssetExternalId(const char* value) { SetAssetExternalId(value); return *this;}
213
215
216 inline const Aws::String& GetRequestId() const{ return m_requestId; }
217 inline void SetRequestId(const Aws::String& value) { m_requestId = value; }
218 inline void SetRequestId(Aws::String&& value) { m_requestId = std::move(value); }
219 inline void SetRequestId(const char* value) { m_requestId.assign(value); }
220 inline DescribeAssetResult& WithRequestId(const Aws::String& value) { SetRequestId(value); return *this;}
221 inline DescribeAssetResult& WithRequestId(Aws::String&& value) { SetRequestId(std::move(value)); return *this;}
222 inline DescribeAssetResult& WithRequestId(const char* value) { SetRequestId(value); return *this;}
224 private:
225
226 Aws::String m_assetId;
227
228 Aws::String m_assetArn;
229
230 Aws::String m_assetName;
231
232 Aws::String m_assetModelId;
233
234 Aws::Vector<AssetProperty> m_assetProperties;
235
236 Aws::Vector<AssetHierarchy> m_assetHierarchies;
237
238 Aws::Vector<AssetCompositeModel> m_assetCompositeModels;
239
240 Aws::Utils::DateTime m_assetCreationDate;
241
242 Aws::Utils::DateTime m_assetLastUpdateDate;
243
244 AssetStatus m_assetStatus;
245
246 Aws::String m_assetDescription;
247
248 Aws::Vector<AssetCompositeModelSummary> m_assetCompositeModelSummaries;
249
250 Aws::String m_assetExternalId;
251
252 Aws::String m_requestId;
253 };
254
255} // namespace Model
256} // namespace IoTSiteWise
257} // namespace Aws
DescribeAssetResult & AddAssetCompositeModels(AssetCompositeModel &&value)
DescribeAssetResult & WithAssetModelId(const char *value)
DescribeAssetResult & WithRequestId(const Aws::String &value)
DescribeAssetResult & WithAssetCreationDate(const Aws::Utils::DateTime &value)
DescribeAssetResult & AddAssetHierarchies(const AssetHierarchy &value)
void SetAssetHierarchies(Aws::Vector< AssetHierarchy > &&value)
AWS_IOTSITEWISE_API DescribeAssetResult & operator=(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
DescribeAssetResult & WithAssetCompositeModels(Aws::Vector< AssetCompositeModel > &&value)
DescribeAssetResult & WithAssetExternalId(Aws::String &&value)
AWS_IOTSITEWISE_API DescribeAssetResult(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
void SetAssetProperties(const Aws::Vector< AssetProperty > &value)
DescribeAssetResult & WithAssetStatus(AssetStatus &&value)
DescribeAssetResult & AddAssetHierarchies(AssetHierarchy &&value)
const Aws::Vector< AssetCompositeModel > & GetAssetCompositeModels() const
void SetAssetCreationDate(Aws::Utils::DateTime &&value)
DescribeAssetResult & WithAssetExternalId(const char *value)
void SetAssetCompositeModels(Aws::Vector< AssetCompositeModel > &&value)
DescribeAssetResult & WithAssetArn(const Aws::String &value)
void SetAssetDescription(const Aws::String &value)
void SetAssetModelId(const Aws::String &value)
void SetAssetLastUpdateDate(const Aws::Utils::DateTime &value)
DescribeAssetResult & WithAssetExternalId(const Aws::String &value)
DescribeAssetResult & AddAssetProperties(const AssetProperty &value)
DescribeAssetResult & WithAssetLastUpdateDate(const Aws::Utils::DateTime &value)
DescribeAssetResult & AddAssetCompositeModels(const AssetCompositeModel &value)
DescribeAssetResult & WithAssetId(const Aws::String &value)
DescribeAssetResult & WithAssetCompositeModels(const Aws::Vector< AssetCompositeModel > &value)
const Aws::Utils::DateTime & GetAssetCreationDate() const
DescribeAssetResult & WithAssetHierarchies(Aws::Vector< AssetHierarchy > &&value)
DescribeAssetResult & WithAssetDescription(Aws::String &&value)
DescribeAssetResult & WithAssetDescription(const Aws::String &value)
DescribeAssetResult & AddAssetProperties(AssetProperty &&value)
const Aws::Vector< AssetProperty > & GetAssetProperties() const
DescribeAssetResult & WithAssetName(const Aws::String &value)
const Aws::Vector< AssetHierarchy > & GetAssetHierarchies() const
DescribeAssetResult & WithAssetProperties(Aws::Vector< AssetProperty > &&value)
const Aws::Vector< AssetCompositeModelSummary > & GetAssetCompositeModelSummaries() const
void SetAssetLastUpdateDate(Aws::Utils::DateTime &&value)
void SetAssetCompositeModels(const Aws::Vector< AssetCompositeModel > &value)
DescribeAssetResult & WithAssetModelId(Aws::String &&value)
DescribeAssetResult & WithAssetArn(Aws::String &&value)
DescribeAssetResult & WithAssetCompositeModelSummaries(Aws::Vector< AssetCompositeModelSummary > &&value)
DescribeAssetResult & WithAssetName(const char *value)
void SetAssetProperties(Aws::Vector< AssetProperty > &&value)
DescribeAssetResult & WithAssetModelId(const Aws::String &value)
DescribeAssetResult & WithRequestId(Aws::String &&value)
DescribeAssetResult & WithAssetStatus(const AssetStatus &value)
DescribeAssetResult & WithAssetArn(const char *value)
void SetAssetCompositeModelSummaries(const Aws::Vector< AssetCompositeModelSummary > &value)
DescribeAssetResult & WithAssetLastUpdateDate(Aws::Utils::DateTime &&value)
DescribeAssetResult & WithAssetDescription(const char *value)
void SetAssetCreationDate(const Aws::Utils::DateTime &value)
DescribeAssetResult & WithAssetProperties(const Aws::Vector< AssetProperty > &value)
DescribeAssetResult & WithAssetName(Aws::String &&value)
DescribeAssetResult & WithAssetCompositeModelSummaries(const Aws::Vector< AssetCompositeModelSummary > &value)
const Aws::Utils::DateTime & GetAssetLastUpdateDate() const
void SetAssetCompositeModelSummaries(Aws::Vector< AssetCompositeModelSummary > &&value)
DescribeAssetResult & AddAssetCompositeModelSummaries(AssetCompositeModelSummary &&value)
DescribeAssetResult & WithRequestId(const char *value)
DescribeAssetResult & AddAssetCompositeModelSummaries(const AssetCompositeModelSummary &value)
DescribeAssetResult & WithAssetId(const char *value)
DescribeAssetResult & WithAssetHierarchies(const Aws::Vector< AssetHierarchy > &value)
void SetAssetExternalId(const Aws::String &value)
DescribeAssetResult & WithAssetId(Aws::String &&value)
void SetAssetHierarchies(const Aws::Vector< AssetHierarchy > &value)
DescribeAssetResult & WithAssetCreationDate(Aws::Utils::DateTime &&value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
std::vector< T, Aws::Allocator< T > > Vector
Aws::Utils::Json::JsonValue JsonValue