AWS SDK for C++  1.9.159
AWS SDK for C++
AssetSummary.h
Go to the documentation of this file.
1 
6 #pragma once
13 #include <utility>
14 
15 namespace Aws
16 {
17 namespace Utils
18 {
19 namespace Json
20 {
21  class JsonValue;
22  class JsonView;
23 } // namespace Json
24 } // namespace Utils
25 namespace IoTSiteWise
26 {
27 namespace Model
28 {
29 
36  {
37  public:
42 
43 
47  inline const Aws::String& GetId() const{ return m_id; }
48 
52  inline bool IdHasBeenSet() const { return m_idHasBeenSet; }
53 
57  inline void SetId(const Aws::String& value) { m_idHasBeenSet = true; m_id = value; }
58 
62  inline void SetId(Aws::String&& value) { m_idHasBeenSet = true; m_id = std::move(value); }
63 
67  inline void SetId(const char* value) { m_idHasBeenSet = true; m_id.assign(value); }
68 
72  inline AssetSummary& WithId(const Aws::String& value) { SetId(value); return *this;}
73 
77  inline AssetSummary& WithId(Aws::String&& value) { SetId(std::move(value)); return *this;}
78 
82  inline AssetSummary& WithId(const char* value) { SetId(value); return *this;}
83 
84 
92  inline const Aws::String& GetArn() const{ return m_arn; }
93 
101  inline bool ArnHasBeenSet() const { return m_arnHasBeenSet; }
102 
110  inline void SetArn(const Aws::String& value) { m_arnHasBeenSet = true; m_arn = value; }
111 
119  inline void SetArn(Aws::String&& value) { m_arnHasBeenSet = true; m_arn = std::move(value); }
120 
128  inline void SetArn(const char* value) { m_arnHasBeenSet = true; m_arn.assign(value); }
129 
137  inline AssetSummary& WithArn(const Aws::String& value) { SetArn(value); return *this;}
138 
146  inline AssetSummary& WithArn(Aws::String&& value) { SetArn(std::move(value)); return *this;}
147 
155  inline AssetSummary& WithArn(const char* value) { SetArn(value); return *this;}
156 
157 
161  inline const Aws::String& GetName() const{ return m_name; }
162 
166  inline bool NameHasBeenSet() const { return m_nameHasBeenSet; }
167 
171  inline void SetName(const Aws::String& value) { m_nameHasBeenSet = true; m_name = value; }
172 
176  inline void SetName(Aws::String&& value) { m_nameHasBeenSet = true; m_name = std::move(value); }
177 
181  inline void SetName(const char* value) { m_nameHasBeenSet = true; m_name.assign(value); }
182 
186  inline AssetSummary& WithName(const Aws::String& value) { SetName(value); return *this;}
187 
191  inline AssetSummary& WithName(Aws::String&& value) { SetName(std::move(value)); return *this;}
192 
196  inline AssetSummary& WithName(const char* value) { SetName(value); return *this;}
197 
198 
202  inline const Aws::String& GetAssetModelId() const{ return m_assetModelId; }
203 
207  inline bool AssetModelIdHasBeenSet() const { return m_assetModelIdHasBeenSet; }
208 
212  inline void SetAssetModelId(const Aws::String& value) { m_assetModelIdHasBeenSet = true; m_assetModelId = value; }
213 
217  inline void SetAssetModelId(Aws::String&& value) { m_assetModelIdHasBeenSet = true; m_assetModelId = std::move(value); }
218 
222  inline void SetAssetModelId(const char* value) { m_assetModelIdHasBeenSet = true; m_assetModelId.assign(value); }
223 
227  inline AssetSummary& WithAssetModelId(const Aws::String& value) { SetAssetModelId(value); return *this;}
228 
232  inline AssetSummary& WithAssetModelId(Aws::String&& value) { SetAssetModelId(std::move(value)); return *this;}
233 
237  inline AssetSummary& WithAssetModelId(const char* value) { SetAssetModelId(value); return *this;}
238 
239 
243  inline const Aws::Utils::DateTime& GetCreationDate() const{ return m_creationDate; }
244 
248  inline bool CreationDateHasBeenSet() const { return m_creationDateHasBeenSet; }
249 
253  inline void SetCreationDate(const Aws::Utils::DateTime& value) { m_creationDateHasBeenSet = true; m_creationDate = value; }
254 
258  inline void SetCreationDate(Aws::Utils::DateTime&& value) { m_creationDateHasBeenSet = true; m_creationDate = std::move(value); }
259 
263  inline AssetSummary& WithCreationDate(const Aws::Utils::DateTime& value) { SetCreationDate(value); return *this;}
264 
268  inline AssetSummary& WithCreationDate(Aws::Utils::DateTime&& value) { SetCreationDate(std::move(value)); return *this;}
269 
270 
274  inline const Aws::Utils::DateTime& GetLastUpdateDate() const{ return m_lastUpdateDate; }
275 
279  inline bool LastUpdateDateHasBeenSet() const { return m_lastUpdateDateHasBeenSet; }
280 
284  inline void SetLastUpdateDate(const Aws::Utils::DateTime& value) { m_lastUpdateDateHasBeenSet = true; m_lastUpdateDate = value; }
285 
289  inline void SetLastUpdateDate(Aws::Utils::DateTime&& value) { m_lastUpdateDateHasBeenSet = true; m_lastUpdateDate = std::move(value); }
290 
294  inline AssetSummary& WithLastUpdateDate(const Aws::Utils::DateTime& value) { SetLastUpdateDate(value); return *this;}
295 
299  inline AssetSummary& WithLastUpdateDate(Aws::Utils::DateTime&& value) { SetLastUpdateDate(std::move(value)); return *this;}
300 
301 
305  inline const AssetStatus& GetStatus() const{ return m_status; }
306 
310  inline bool StatusHasBeenSet() const { return m_statusHasBeenSet; }
311 
315  inline void SetStatus(const AssetStatus& value) { m_statusHasBeenSet = true; m_status = value; }
316 
320  inline void SetStatus(AssetStatus&& value) { m_statusHasBeenSet = true; m_status = std::move(value); }
321 
325  inline AssetSummary& WithStatus(const AssetStatus& value) { SetStatus(value); return *this;}
326 
330  inline AssetSummary& WithStatus(AssetStatus&& value) { SetStatus(std::move(value)); return *this;}
331 
332 
337  inline const Aws::Vector<AssetHierarchy>& GetHierarchies() const{ return m_hierarchies; }
338 
343  inline bool HierarchiesHasBeenSet() const { return m_hierarchiesHasBeenSet; }
344 
349  inline void SetHierarchies(const Aws::Vector<AssetHierarchy>& value) { m_hierarchiesHasBeenSet = true; m_hierarchies = value; }
350 
355  inline void SetHierarchies(Aws::Vector<AssetHierarchy>&& value) { m_hierarchiesHasBeenSet = true; m_hierarchies = std::move(value); }
356 
361  inline AssetSummary& WithHierarchies(const Aws::Vector<AssetHierarchy>& value) { SetHierarchies(value); return *this;}
362 
367  inline AssetSummary& WithHierarchies(Aws::Vector<AssetHierarchy>&& value) { SetHierarchies(std::move(value)); return *this;}
368 
373  inline AssetSummary& AddHierarchies(const AssetHierarchy& value) { m_hierarchiesHasBeenSet = true; m_hierarchies.push_back(value); return *this; }
374 
379  inline AssetSummary& AddHierarchies(AssetHierarchy&& value) { m_hierarchiesHasBeenSet = true; m_hierarchies.push_back(std::move(value)); return *this; }
380 
381  private:
382 
383  Aws::String m_id;
384  bool m_idHasBeenSet;
385 
386  Aws::String m_arn;
387  bool m_arnHasBeenSet;
388 
389  Aws::String m_name;
390  bool m_nameHasBeenSet;
391 
392  Aws::String m_assetModelId;
393  bool m_assetModelIdHasBeenSet;
394 
395  Aws::Utils::DateTime m_creationDate;
396  bool m_creationDateHasBeenSet;
397 
398  Aws::Utils::DateTime m_lastUpdateDate;
399  bool m_lastUpdateDateHasBeenSet;
400 
401  AssetStatus m_status;
402  bool m_statusHasBeenSet;
403 
404  Aws::Vector<AssetHierarchy> m_hierarchies;
405  bool m_hierarchiesHasBeenSet;
406  };
407 
408 } // namespace Model
409 } // namespace IoTSiteWise
410 } // namespace Aws
Aws::Utils::DateTime
Definition: DateTime.h:55
Aws::IoTSiteWise::Model::AssetSummary::WithName
AssetSummary & WithName(Aws::String &&value)
Definition: AssetSummary.h:191
Aws::IoTSiteWise::Model::AssetSummary::WithArn
AssetSummary & WithArn(Aws::String &&value)
Definition: AssetSummary.h:146
Aws::IoTSiteWise::Model::AssetSummary::SetLastUpdateDate
void SetLastUpdateDate(const Aws::Utils::DateTime &value)
Definition: AssetSummary.h:284
Aws::IoTSiteWise::Model::AssetSummary::SetName
void SetName(const char *value)
Definition: AssetSummary.h:181
Aws::IoTSiteWise::Model::AssetSummary::WithId
AssetSummary & WithId(Aws::String &&value)
Definition: AssetSummary.h:77
Aws::IoTSiteWise::Model::AssetSummary::GetStatus
const AssetStatus & GetStatus() const
Definition: AssetSummary.h:305
Aws::IoTSiteWise::Model::AssetSummary::SetStatus
void SetStatus(AssetStatus &&value)
Definition: AssetSummary.h:320
Aws::IoTSiteWise::Model::AssetSummary::AddHierarchies
AssetSummary & AddHierarchies(const AssetHierarchy &value)
Definition: AssetSummary.h:373
Aws::IoTSiteWise::Model::AssetSummary::SetArn
void SetArn(const Aws::String &value)
Definition: AssetSummary.h:110
IoTSiteWise_EXPORTS.h
AssetStatus.h
Aws::IoTSiteWise::Model::AssetSummary::WithName
AssetSummary & WithName(const char *value)
Definition: AssetSummary.h:196
DateTime.h
AWS_IOTSITEWISE_API
#define AWS_IOTSITEWISE_API
Definition: IoTSiteWise_EXPORTS.h:28
Aws::IoTSiteWise::Model::AssetSummary::WithAssetModelId
AssetSummary & WithAssetModelId(const Aws::String &value)
Definition: AssetSummary.h:227
Aws::IoTSiteWise::Model::AssetSummary::SetHierarchies
void SetHierarchies(const Aws::Vector< AssetHierarchy > &value)
Definition: AssetSummary.h:349
Aws::IoTSiteWise::Model::AssetSummary::SetId
void SetId(const char *value)
Definition: AssetSummary.h:67
Aws::IoTSiteWise::Model::AssetSummary::WithCreationDate
AssetSummary & WithCreationDate(const Aws::Utils::DateTime &value)
Definition: AssetSummary.h:263
Aws::IoTSiteWise::Model::AssetSummary::SetName
void SetName(Aws::String &&value)
Definition: AssetSummary.h:176
Aws::Vector
std::vector< T, Aws::Allocator< T > > Vector
Definition: AWSVector.h:17
Aws::IoTSiteWise::Model::AssetSummary::WithStatus
AssetSummary & WithStatus(const AssetStatus &value)
Definition: AssetSummary.h:325
Aws::IoTSiteWise::Model::AssetSummary::WithArn
AssetSummary & WithArn(const Aws::String &value)
Definition: AssetSummary.h:137
Aws::IoTSiteWise::Model::AssetSummary::AddHierarchies
AssetSummary & AddHierarchies(AssetHierarchy &&value)
Definition: AssetSummary.h:379
Aws::IoTSiteWise::Model::AssetSummary::WithAssetModelId
AssetSummary & WithAssetModelId(Aws::String &&value)
Definition: AssetSummary.h:232
AWSVector.h
Aws::IoTSiteWise::Model::AssetSummary::SetAssetModelId
void SetAssetModelId(Aws::String &&value)
Definition: AssetSummary.h:217
AssetHierarchy.h
Aws::IoTSiteWise::Model::AssetSummary::SetLastUpdateDate
void SetLastUpdateDate(Aws::Utils::DateTime &&value)
Definition: AssetSummary.h:289
Aws::IoTSiteWise::Model::AssetSummary::SetName
void SetName(const Aws::String &value)
Definition: AssetSummary.h:171
Aws::IoTSiteWise::Model::AssetSummary::Jsonize
Aws::Utils::Json::JsonValue Jsonize() const
Aws::IoTSiteWise::Model::AssetSummary::HierarchiesHasBeenSet
bool HierarchiesHasBeenSet() const
Definition: AssetSummary.h:343
Aws::IoTSiteWise::Model::AssetSummary::StatusHasBeenSet
bool StatusHasBeenSet() const
Definition: AssetSummary.h:310
Aws::IoTSiteWise::Model::AssetSummary::WithHierarchies
AssetSummary & WithHierarchies(const Aws::Vector< AssetHierarchy > &value)
Definition: AssetSummary.h:361
Aws::IoTSiteWise::Model::AssetSummary::GetHierarchies
const Aws::Vector< AssetHierarchy > & GetHierarchies() const
Definition: AssetSummary.h:337
Aws::IoTSiteWise::Model::AssetSummary::SetCreationDate
void SetCreationDate(const Aws::Utils::DateTime &value)
Definition: AssetSummary.h:253
Aws::IoTSiteWise::Model::AssetSummary::NameHasBeenSet
bool NameHasBeenSet() const
Definition: AssetSummary.h:166
Aws::IoTSiteWise::Model::AssetSummary
Definition: AssetSummary.h:36
Aws::IoTSiteWise::Model::AssetSummary::SetAssetModelId
void SetAssetModelId(const char *value)
Definition: AssetSummary.h:222
Aws::IoTSiteWise::Model::AssetSummary::SetId
void SetId(Aws::String &&value)
Definition: AssetSummary.h:62
Aws::IoTSiteWise::Model::AssetSummary::GetCreationDate
const Aws::Utils::DateTime & GetCreationDate() const
Definition: AssetSummary.h:243
Aws::IoTSiteWise::Model::AssetSummary::SetArn
void SetArn(const char *value)
Definition: AssetSummary.h:128
Aws::IoTSiteWise::Model::AssetSummary::SetId
void SetId(const Aws::String &value)
Definition: AssetSummary.h:57
Aws::IoTSiteWise::Model::AssetSummary::WithAssetModelId
AssetSummary & WithAssetModelId(const char *value)
Definition: AssetSummary.h:237
Aws::IoTSiteWise::Model::AssetSummary::LastUpdateDateHasBeenSet
bool LastUpdateDateHasBeenSet() const
Definition: AssetSummary.h:279
Aws::IoTSiteWise::Model::AssetSummary::GetArn
const Aws::String & GetArn() const
Definition: AssetSummary.h:92
Aws::IoTSiteWise::Model::AssetSummary::WithId
AssetSummary & WithId(const Aws::String &value)
Definition: AssetSummary.h:72
Aws::Utils::Json::JsonView
Definition: JsonSerializer.h:235
AWSString.h
Aws::IoTSiteWise::Model::AssetSummary::GetId
const Aws::String & GetId() const
Definition: AssetSummary.h:47
Aws::Utils::Json::JsonValue
Definition: JsonSerializer.h:33
Aws::IoTSiteWise::Model::AssetSummary::WithName
AssetSummary & WithName(const Aws::String &value)
Definition: AssetSummary.h:186
Aws::IoTSiteWise::Model::AssetSummary::operator=
AssetSummary & operator=(Aws::Utils::Json::JsonView jsonValue)
Aws::IoTSiteWise::Model::AssetSummary::WithLastUpdateDate
AssetSummary & WithLastUpdateDate(Aws::Utils::DateTime &&value)
Definition: AssetSummary.h:299
Aws::IoTSiteWise::Model::AssetSummary::SetArn
void SetArn(Aws::String &&value)
Definition: AssetSummary.h:119
Aws::IoTSiteWise::Model::AssetSummary::GetName
const Aws::String & GetName() const
Definition: AssetSummary.h:161
Aws::IoTSiteWise::Model::AssetSummary::WithLastUpdateDate
AssetSummary & WithLastUpdateDate(const Aws::Utils::DateTime &value)
Definition: AssetSummary.h:294
Aws::IoTSiteWise::Model::AssetSummary::WithHierarchies
AssetSummary & WithHierarchies(Aws::Vector< AssetHierarchy > &&value)
Definition: AssetSummary.h:367
Aws::MigrationHubStrategyRecommendations::Model::OutputFormat::NOT_SET
@ NOT_SET
Aws
Definition: AccessManagementClient.h:15
Aws::IoTSiteWise::Model::AssetStatus
Definition: AssetStatus.h:37
Aws::IoTSiteWise::Model::AssetHierarchy
Definition: AssetHierarchy.h:33
Aws::IoTSiteWise::Model::AssetSummary::SetCreationDate
void SetCreationDate(Aws::Utils::DateTime &&value)
Definition: AssetSummary.h:258
Aws::IoTSiteWise::Model::AssetSummary::IdHasBeenSet
bool IdHasBeenSet() const
Definition: AssetSummary.h:52
Aws::IoTSiteWise::Model::AssetSummary::SetHierarchies
void SetHierarchies(Aws::Vector< AssetHierarchy > &&value)
Definition: AssetSummary.h:355
Aws::IoTSiteWise::Model::AssetSummary::WithStatus
AssetSummary & WithStatus(AssetStatus &&value)
Definition: AssetSummary.h:330
Aws::String
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Definition: AWSString.h:97
Aws::IoTSiteWise::Model::AssetSummary::AssetSummary
AssetSummary()
Aws::IoTSiteWise::Model::AssetSummary::GetAssetModelId
const Aws::String & GetAssetModelId() const
Definition: AssetSummary.h:202
Aws::IoTSiteWise::Model::AssetSummary::WithId
AssetSummary & WithId(const char *value)
Definition: AssetSummary.h:82
Aws::IoTSiteWise::Model::AssetSummary::SetAssetModelId
void SetAssetModelId(const Aws::String &value)
Definition: AssetSummary.h:212
Aws::IoTSiteWise::Model::AssetSummary::WithCreationDate
AssetSummary & WithCreationDate(Aws::Utils::DateTime &&value)
Definition: AssetSummary.h:268
Aws::IoTSiteWise::Model::AssetSummary::WithArn
AssetSummary & WithArn(const char *value)
Definition: AssetSummary.h:155
Aws::IoTSiteWise::Model::AssetSummary::ArnHasBeenSet
bool ArnHasBeenSet() const
Definition: AssetSummary.h:101
Aws::IoTSiteWise::Model::AssetSummary::AssetModelIdHasBeenSet
bool AssetModelIdHasBeenSet() const
Definition: AssetSummary.h:207
Aws::IoTSiteWise::Model::AssetSummary::AssetSummary
AssetSummary(Aws::Utils::Json::JsonView jsonValue)
Aws::IoTSiteWise::Model::AssetSummary::SetStatus
void SetStatus(const AssetStatus &value)
Definition: AssetSummary.h:315
Aws::IoTSiteWise::Model::AssetSummary::GetLastUpdateDate
const Aws::Utils::DateTime & GetLastUpdateDate() const
Definition: AssetSummary.h:274
Aws::IoTSiteWise::Model::AssetSummary::CreationDateHasBeenSet
bool CreationDateHasBeenSet() const
Definition: AssetSummary.h:248