AWS SDK for C++  1.9.156
AWS SDK for C++
AssociatedAssetsSummary.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 AssociatedAssetsSummary& WithId(const Aws::String& value) { SetId(value); return *this;}
73 
77  inline AssociatedAssetsSummary& WithId(Aws::String&& value) { SetId(std::move(value)); return *this;}
78 
82  inline AssociatedAssetsSummary& 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 AssociatedAssetsSummary& WithArn(const Aws::String& value) { SetArn(value); return *this;}
138 
146  inline AssociatedAssetsSummary& WithArn(Aws::String&& value) { SetArn(std::move(value)); return *this;}
147 
155  inline AssociatedAssetsSummary& 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 AssociatedAssetsSummary& WithName(const Aws::String& value) { SetName(value); return *this;}
187 
191  inline AssociatedAssetsSummary& WithName(Aws::String&& value) { SetName(std::move(value)); return *this;}
192 
196  inline AssociatedAssetsSummary& 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 AssociatedAssetsSummary& WithAssetModelId(const Aws::String& value) { SetAssetModelId(value); return *this;}
228 
232  inline AssociatedAssetsSummary& WithAssetModelId(Aws::String&& value) { SetAssetModelId(std::move(value)); return *this;}
233 
237  inline AssociatedAssetsSummary& 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 AssociatedAssetsSummary& WithCreationDate(const Aws::Utils::DateTime& value) { SetCreationDate(value); return *this;}
264 
268  inline AssociatedAssetsSummary& 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 AssociatedAssetsSummary& WithLastUpdateDate(const Aws::Utils::DateTime& value) { SetLastUpdateDate(value); return *this;}
295 
299  inline AssociatedAssetsSummary& 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 AssociatedAssetsSummary& WithStatus(const AssetStatus& value) { SetStatus(value); return *this;}
326 
330  inline AssociatedAssetsSummary& 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 AssociatedAssetsSummary& WithHierarchies(const Aws::Vector<AssetHierarchy>& value) { SetHierarchies(value); return *this;}
362 
367  inline AssociatedAssetsSummary& WithHierarchies(Aws::Vector<AssetHierarchy>&& value) { SetHierarchies(std::move(value)); return *this;}
368 
373  inline AssociatedAssetsSummary& AddHierarchies(const AssetHierarchy& value) { m_hierarchiesHasBeenSet = true; m_hierarchies.push_back(value); return *this; }
374 
379  inline AssociatedAssetsSummary& 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::AssociatedAssetsSummary::SetName
void SetName(const char *value)
Definition: AssociatedAssetsSummary.h:181
Aws::IoTSiteWise::Model::AssociatedAssetsSummary::WithStatus
AssociatedAssetsSummary & WithStatus(AssetStatus &&value)
Definition: AssociatedAssetsSummary.h:330
Aws::IoTSiteWise::Model::AssociatedAssetsSummary::HierarchiesHasBeenSet
bool HierarchiesHasBeenSet() const
Definition: AssociatedAssetsSummary.h:343
Aws::IoTSiteWise::Model::AssociatedAssetsSummary::WithId
AssociatedAssetsSummary & WithId(const Aws::String &value)
Definition: AssociatedAssetsSummary.h:72
Aws::IoTSiteWise::Model::AssociatedAssetsSummary::WithLastUpdateDate
AssociatedAssetsSummary & WithLastUpdateDate(Aws::Utils::DateTime &&value)
Definition: AssociatedAssetsSummary.h:299
Aws::IoTSiteWise::Model::AssociatedAssetsSummary::SetArn
void SetArn(const Aws::String &value)
Definition: AssociatedAssetsSummary.h:110
Aws::IoTSiteWise::Model::AssociatedAssetsSummary::SetAssetModelId
void SetAssetModelId(Aws::String &&value)
Definition: AssociatedAssetsSummary.h:217
IoTSiteWise_EXPORTS.h
Aws::IoTSiteWise::Model::AssociatedAssetsSummary::AddHierarchies
AssociatedAssetsSummary & AddHierarchies(const AssetHierarchy &value)
Definition: AssociatedAssetsSummary.h:373
AssetStatus.h
DateTime.h
AWS_IOTSITEWISE_API
#define AWS_IOTSITEWISE_API
Definition: IoTSiteWise_EXPORTS.h:28
Aws::IoTSiteWise::Model::AssociatedAssetsSummary::Jsonize
Aws::Utils::Json::JsonValue Jsonize() const
Aws::IoTSiteWise::Model::AssociatedAssetsSummary::AddHierarchies
AssociatedAssetsSummary & AddHierarchies(AssetHierarchy &&value)
Definition: AssociatedAssetsSummary.h:379
Aws::IoTSiteWise::Model::AssociatedAssetsSummary::GetCreationDate
const Aws::Utils::DateTime & GetCreationDate() const
Definition: AssociatedAssetsSummary.h:243
Aws::IoTSiteWise::Model::AssociatedAssetsSummary::CreationDateHasBeenSet
bool CreationDateHasBeenSet() const
Definition: AssociatedAssetsSummary.h:248
Aws::IoTSiteWise::Model::AssociatedAssetsSummary::SetLastUpdateDate
void SetLastUpdateDate(Aws::Utils::DateTime &&value)
Definition: AssociatedAssetsSummary.h:289
Aws::Vector
std::vector< T, Aws::Allocator< T > > Vector
Definition: AWSVector.h:17
Aws::IoTSiteWise::Model::AssociatedAssetsSummary::WithId
AssociatedAssetsSummary & WithId(const char *value)
Definition: AssociatedAssetsSummary.h:82
Aws::IoTSiteWise::Model::AssociatedAssetsSummary::WithId
AssociatedAssetsSummary & WithId(Aws::String &&value)
Definition: AssociatedAssetsSummary.h:77
Aws::IoTSiteWise::Model::AssociatedAssetsSummary::WithArn
AssociatedAssetsSummary & WithArn(Aws::String &&value)
Definition: AssociatedAssetsSummary.h:146
AWSVector.h
AssetHierarchy.h
Aws::IoTSiteWise::Model::AssociatedAssetsSummary::WithCreationDate
AssociatedAssetsSummary & WithCreationDate(Aws::Utils::DateTime &&value)
Definition: AssociatedAssetsSummary.h:268
Aws::IoTSiteWise::Model::AssociatedAssetsSummary::SetCreationDate
void SetCreationDate(const Aws::Utils::DateTime &value)
Definition: AssociatedAssetsSummary.h:253
Aws::IoTSiteWise::Model::AssociatedAssetsSummary::SetId
void SetId(const Aws::String &value)
Definition: AssociatedAssetsSummary.h:57
Aws::IoTSiteWise::Model::AssociatedAssetsSummary::WithCreationDate
AssociatedAssetsSummary & WithCreationDate(const Aws::Utils::DateTime &value)
Definition: AssociatedAssetsSummary.h:263
Aws::IoTSiteWise::Model::AssociatedAssetsSummary::IdHasBeenSet
bool IdHasBeenSet() const
Definition: AssociatedAssetsSummary.h:52
Aws::IoTSiteWise::Model::AssociatedAssetsSummary::SetLastUpdateDate
void SetLastUpdateDate(const Aws::Utils::DateTime &value)
Definition: AssociatedAssetsSummary.h:284
Aws::IoTSiteWise::Model::AssociatedAssetsSummary
Definition: AssociatedAssetsSummary.h:36
Aws::IoTSiteWise::Model::AssociatedAssetsSummary::WithAssetModelId
AssociatedAssetsSummary & WithAssetModelId(const char *value)
Definition: AssociatedAssetsSummary.h:237
Aws::IoTSiteWise::Model::AssociatedAssetsSummary::SetId
void SetId(const char *value)
Definition: AssociatedAssetsSummary.h:67
Aws::IoTSiteWise::Model::AssociatedAssetsSummary::operator=
AssociatedAssetsSummary & operator=(Aws::Utils::Json::JsonView jsonValue)
Aws::IoTSiteWise::Model::AssociatedAssetsSummary::GetName
const Aws::String & GetName() const
Definition: AssociatedAssetsSummary.h:161
Aws::IoTSiteWise::Model::AssociatedAssetsSummary::SetArn
void SetArn(const char *value)
Definition: AssociatedAssetsSummary.h:128
Aws::IoTSiteWise::Model::AssociatedAssetsSummary::WithName
AssociatedAssetsSummary & WithName(const char *value)
Definition: AssociatedAssetsSummary.h:196
Aws::IoTSiteWise::Model::AssociatedAssetsSummary::SetCreationDate
void SetCreationDate(Aws::Utils::DateTime &&value)
Definition: AssociatedAssetsSummary.h:258
Aws::IoTSiteWise::Model::AssociatedAssetsSummary::SetName
void SetName(const Aws::String &value)
Definition: AssociatedAssetsSummary.h:171
Aws::IoTSiteWise::Model::AssociatedAssetsSummary::NameHasBeenSet
bool NameHasBeenSet() const
Definition: AssociatedAssetsSummary.h:166
Aws::IoTSiteWise::Model::AssociatedAssetsSummary::SetArn
void SetArn(Aws::String &&value)
Definition: AssociatedAssetsSummary.h:119
Aws::IoTSiteWise::Model::AssociatedAssetsSummary::WithStatus
AssociatedAssetsSummary & WithStatus(const AssetStatus &value)
Definition: AssociatedAssetsSummary.h:325
Aws::IoTSiteWise::Model::AssociatedAssetsSummary::AssociatedAssetsSummary
AssociatedAssetsSummary()
Aws::Utils::Json::JsonView
Definition: JsonSerializer.h:235
AWSString.h
Aws::IoTSiteWise::Model::AssociatedAssetsSummary::StatusHasBeenSet
bool StatusHasBeenSet() const
Definition: AssociatedAssetsSummary.h:310
Aws::Utils::Json::JsonValue
Definition: JsonSerializer.h:33
Aws::IoTSiteWise::Model::AssociatedAssetsSummary::SetName
void SetName(Aws::String &&value)
Definition: AssociatedAssetsSummary.h:176
Aws::IoTSiteWise::Model::AssociatedAssetsSummary::AssociatedAssetsSummary
AssociatedAssetsSummary(Aws::Utils::Json::JsonView jsonValue)
Aws::IoTSiteWise::Model::AssociatedAssetsSummary::SetStatus
void SetStatus(AssetStatus &&value)
Definition: AssociatedAssetsSummary.h:320
Aws::IoTSiteWise::Model::AssociatedAssetsSummary::GetArn
const Aws::String & GetArn() const
Definition: AssociatedAssetsSummary.h:92
Aws::IoTSiteWise::Model::AssociatedAssetsSummary::SetId
void SetId(Aws::String &&value)
Definition: AssociatedAssetsSummary.h:62
Aws::IoTSiteWise::Model::AssociatedAssetsSummary::WithName
AssociatedAssetsSummary & WithName(const Aws::String &value)
Definition: AssociatedAssetsSummary.h:186
Aws::IoTSiteWise::Model::AssociatedAssetsSummary::ArnHasBeenSet
bool ArnHasBeenSet() const
Definition: AssociatedAssetsSummary.h:101
Aws::IoTSiteWise::Model::AssociatedAssetsSummary::WithArn
AssociatedAssetsSummary & WithArn(const Aws::String &value)
Definition: AssociatedAssetsSummary.h:137
Aws::MigrationHubStrategyRecommendations::Model::OutputFormat::NOT_SET
@ NOT_SET
Aws::IoTSiteWise::Model::AssociatedAssetsSummary::SetHierarchies
void SetHierarchies(Aws::Vector< AssetHierarchy > &&value)
Definition: AssociatedAssetsSummary.h:355
Aws
Definition: AccessManagementClient.h:15
Aws::IoTSiteWise::Model::AssetStatus
Definition: AssetStatus.h:37
Aws::IoTSiteWise::Model::AssociatedAssetsSummary::WithAssetModelId
AssociatedAssetsSummary & WithAssetModelId(const Aws::String &value)
Definition: AssociatedAssetsSummary.h:227
Aws::IoTSiteWise::Model::AssociatedAssetsSummary::WithAssetModelId
AssociatedAssetsSummary & WithAssetModelId(Aws::String &&value)
Definition: AssociatedAssetsSummary.h:232
Aws::IoTSiteWise::Model::AssetHierarchy
Definition: AssetHierarchy.h:33
Aws::IoTSiteWise::Model::AssociatedAssetsSummary::GetLastUpdateDate
const Aws::Utils::DateTime & GetLastUpdateDate() const
Definition: AssociatedAssetsSummary.h:274
Aws::IoTSiteWise::Model::AssociatedAssetsSummary::AssetModelIdHasBeenSet
bool AssetModelIdHasBeenSet() const
Definition: AssociatedAssetsSummary.h:207
Aws::IoTSiteWise::Model::AssociatedAssetsSummary::WithHierarchies
AssociatedAssetsSummary & WithHierarchies(const Aws::Vector< AssetHierarchy > &value)
Definition: AssociatedAssetsSummary.h:361
Aws::IoTSiteWise::Model::AssociatedAssetsSummary::WithName
AssociatedAssetsSummary & WithName(Aws::String &&value)
Definition: AssociatedAssetsSummary.h:191
Aws::String
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Definition: AWSString.h:97
Aws::IoTSiteWise::Model::AssociatedAssetsSummary::GetStatus
const AssetStatus & GetStatus() const
Definition: AssociatedAssetsSummary.h:305
Aws::IoTSiteWise::Model::AssociatedAssetsSummary::SetHierarchies
void SetHierarchies(const Aws::Vector< AssetHierarchy > &value)
Definition: AssociatedAssetsSummary.h:349
Aws::IoTSiteWise::Model::AssociatedAssetsSummary::WithLastUpdateDate
AssociatedAssetsSummary & WithLastUpdateDate(const Aws::Utils::DateTime &value)
Definition: AssociatedAssetsSummary.h:294
Aws::IoTSiteWise::Model::AssociatedAssetsSummary::GetId
const Aws::String & GetId() const
Definition: AssociatedAssetsSummary.h:47
Aws::IoTSiteWise::Model::AssociatedAssetsSummary::GetHierarchies
const Aws::Vector< AssetHierarchy > & GetHierarchies() const
Definition: AssociatedAssetsSummary.h:337
Aws::IoTSiteWise::Model::AssociatedAssetsSummary::WithArn
AssociatedAssetsSummary & WithArn(const char *value)
Definition: AssociatedAssetsSummary.h:155
Aws::IoTSiteWise::Model::AssociatedAssetsSummary::GetAssetModelId
const Aws::String & GetAssetModelId() const
Definition: AssociatedAssetsSummary.h:202
Aws::IoTSiteWise::Model::AssociatedAssetsSummary::SetAssetModelId
void SetAssetModelId(const char *value)
Definition: AssociatedAssetsSummary.h:222
Aws::IoTSiteWise::Model::AssociatedAssetsSummary::LastUpdateDateHasBeenSet
bool LastUpdateDateHasBeenSet() const
Definition: AssociatedAssetsSummary.h:279
Aws::IoTSiteWise::Model::AssociatedAssetsSummary::SetStatus
void SetStatus(const AssetStatus &value)
Definition: AssociatedAssetsSummary.h:315
Aws::IoTSiteWise::Model::AssociatedAssetsSummary::SetAssetModelId
void SetAssetModelId(const Aws::String &value)
Definition: AssociatedAssetsSummary.h:212
Aws::IoTSiteWise::Model::AssociatedAssetsSummary::WithHierarchies
AssociatedAssetsSummary & WithHierarchies(Aws::Vector< AssetHierarchy > &&value)
Definition: AssociatedAssetsSummary.h:367