/**
* Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
* SPDX-License-Identifier: Apache-2.0.
*/
#pragma once
#include Contains a summary of an associated asset.See Also:
AWS
* API Reference
The ID of the asset.
*/ inline const Aws::String& GetId() const{ return m_id; } /** *The ID of the asset.
*/ inline bool IdHasBeenSet() const { return m_idHasBeenSet; } /** *The ID of the asset.
*/ inline void SetId(const Aws::String& value) { m_idHasBeenSet = true; m_id = value; } /** *The ID of the asset.
*/ inline void SetId(Aws::String&& value) { m_idHasBeenSet = true; m_id = std::move(value); } /** *The ID of the asset.
*/ inline void SetId(const char* value) { m_idHasBeenSet = true; m_id.assign(value); } /** *The ID of the asset.
*/ inline AssociatedAssetsSummary& WithId(const Aws::String& value) { SetId(value); return *this;} /** *The ID of the asset.
*/ inline AssociatedAssetsSummary& WithId(Aws::String&& value) { SetId(std::move(value)); return *this;} /** *The ID of the asset.
*/ inline AssociatedAssetsSummary& WithId(const char* value) { SetId(value); return *this;} /** *The ARN * of the asset, which has the following format.
* arn:${Partition}:iotsitewise:${Region}:${Account}:asset/${AssetId}
*
The ARN * of the asset, which has the following format.
* arn:${Partition}:iotsitewise:${Region}:${Account}:asset/${AssetId}
*
The ARN * of the asset, which has the following format.
* arn:${Partition}:iotsitewise:${Region}:${Account}:asset/${AssetId}
*
The ARN * of the asset, which has the following format.
* arn:${Partition}:iotsitewise:${Region}:${Account}:asset/${AssetId}
*
The ARN * of the asset, which has the following format.
* arn:${Partition}:iotsitewise:${Region}:${Account}:asset/${AssetId}
*
The ARN * of the asset, which has the following format.
* arn:${Partition}:iotsitewise:${Region}:${Account}:asset/${AssetId}
*
The ARN * of the asset, which has the following format.
* arn:${Partition}:iotsitewise:${Region}:${Account}:asset/${AssetId}
*
The ARN * of the asset, which has the following format.
* arn:${Partition}:iotsitewise:${Region}:${Account}:asset/${AssetId}
*
The name of the asset.
*/ inline const Aws::String& GetName() const{ return m_name; } /** *The name of the asset.
*/ inline bool NameHasBeenSet() const { return m_nameHasBeenSet; } /** *The name of the asset.
*/ inline void SetName(const Aws::String& value) { m_nameHasBeenSet = true; m_name = value; } /** *The name of the asset.
*/ inline void SetName(Aws::String&& value) { m_nameHasBeenSet = true; m_name = std::move(value); } /** *The name of the asset.
*/ inline void SetName(const char* value) { m_nameHasBeenSet = true; m_name.assign(value); } /** *The name of the asset.
*/ inline AssociatedAssetsSummary& WithName(const Aws::String& value) { SetName(value); return *this;} /** *The name of the asset.
*/ inline AssociatedAssetsSummary& WithName(Aws::String&& value) { SetName(std::move(value)); return *this;} /** *The name of the asset.
*/ inline AssociatedAssetsSummary& WithName(const char* value) { SetName(value); return *this;} /** *The ID of the asset model used to create the asset.
*/ inline const Aws::String& GetAssetModelId() const{ return m_assetModelId; } /** *The ID of the asset model used to create the asset.
*/ inline bool AssetModelIdHasBeenSet() const { return m_assetModelIdHasBeenSet; } /** *The ID of the asset model used to create the asset.
*/ inline void SetAssetModelId(const Aws::String& value) { m_assetModelIdHasBeenSet = true; m_assetModelId = value; } /** *The ID of the asset model used to create the asset.
*/ inline void SetAssetModelId(Aws::String&& value) { m_assetModelIdHasBeenSet = true; m_assetModelId = std::move(value); } /** *The ID of the asset model used to create the asset.
*/ inline void SetAssetModelId(const char* value) { m_assetModelIdHasBeenSet = true; m_assetModelId.assign(value); } /** *The ID of the asset model used to create the asset.
*/ inline AssociatedAssetsSummary& WithAssetModelId(const Aws::String& value) { SetAssetModelId(value); return *this;} /** *The ID of the asset model used to create the asset.
*/ inline AssociatedAssetsSummary& WithAssetModelId(Aws::String&& value) { SetAssetModelId(std::move(value)); return *this;} /** *The ID of the asset model used to create the asset.
*/ inline AssociatedAssetsSummary& WithAssetModelId(const char* value) { SetAssetModelId(value); return *this;} /** *The date the asset was created, in Unix epoch time.
*/ inline const Aws::Utils::DateTime& GetCreationDate() const{ return m_creationDate; } /** *The date the asset was created, in Unix epoch time.
*/ inline bool CreationDateHasBeenSet() const { return m_creationDateHasBeenSet; } /** *The date the asset was created, in Unix epoch time.
*/ inline void SetCreationDate(const Aws::Utils::DateTime& value) { m_creationDateHasBeenSet = true; m_creationDate = value; } /** *The date the asset was created, in Unix epoch time.
*/ inline void SetCreationDate(Aws::Utils::DateTime&& value) { m_creationDateHasBeenSet = true; m_creationDate = std::move(value); } /** *The date the asset was created, in Unix epoch time.
*/ inline AssociatedAssetsSummary& WithCreationDate(const Aws::Utils::DateTime& value) { SetCreationDate(value); return *this;} /** *The date the asset was created, in Unix epoch time.
*/ inline AssociatedAssetsSummary& WithCreationDate(Aws::Utils::DateTime&& value) { SetCreationDate(std::move(value)); return *this;} /** *The date the asset was last updated, in Unix epoch time.
*/ inline const Aws::Utils::DateTime& GetLastUpdateDate() const{ return m_lastUpdateDate; } /** *The date the asset was last updated, in Unix epoch time.
*/ inline bool LastUpdateDateHasBeenSet() const { return m_lastUpdateDateHasBeenSet; } /** *The date the asset was last updated, in Unix epoch time.
*/ inline void SetLastUpdateDate(const Aws::Utils::DateTime& value) { m_lastUpdateDateHasBeenSet = true; m_lastUpdateDate = value; } /** *The date the asset was last updated, in Unix epoch time.
*/ inline void SetLastUpdateDate(Aws::Utils::DateTime&& value) { m_lastUpdateDateHasBeenSet = true; m_lastUpdateDate = std::move(value); } /** *The date the asset was last updated, in Unix epoch time.
*/ inline AssociatedAssetsSummary& WithLastUpdateDate(const Aws::Utils::DateTime& value) { SetLastUpdateDate(value); return *this;} /** *The date the asset was last updated, in Unix epoch time.
*/ inline AssociatedAssetsSummary& WithLastUpdateDate(Aws::Utils::DateTime&& value) { SetLastUpdateDate(std::move(value)); return *this;} /** *The current status of the asset.
*/ inline const AssetStatus& GetStatus() const{ return m_status; } /** *The current status of the asset.
*/ inline bool StatusHasBeenSet() const { return m_statusHasBeenSet; } /** *The current status of the asset.
*/ inline void SetStatus(const AssetStatus& value) { m_statusHasBeenSet = true; m_status = value; } /** *The current status of the asset.
*/ inline void SetStatus(AssetStatus&& value) { m_statusHasBeenSet = true; m_status = std::move(value); } /** *The current status of the asset.
*/ inline AssociatedAssetsSummary& WithStatus(const AssetStatus& value) { SetStatus(value); return *this;} /** *The current status of the asset.
*/ inline AssociatedAssetsSummary& WithStatus(AssetStatus&& value) { SetStatus(std::move(value)); return *this;} /** *A list of asset hierarchies that each contain a hierarchyId
. A
* hierarchy specifies allowed parent/child asset relationships.
A list of asset hierarchies that each contain a hierarchyId
. A
* hierarchy specifies allowed parent/child asset relationships.
A list of asset hierarchies that each contain a hierarchyId
. A
* hierarchy specifies allowed parent/child asset relationships.
A list of asset hierarchies that each contain a hierarchyId
. A
* hierarchy specifies allowed parent/child asset relationships.
A list of asset hierarchies that each contain a hierarchyId
. A
* hierarchy specifies allowed parent/child asset relationships.
A list of asset hierarchies that each contain a hierarchyId
. A
* hierarchy specifies allowed parent/child asset relationships.
A list of asset hierarchies that each contain a hierarchyId
. A
* hierarchy specifies allowed parent/child asset relationships.
A list of asset hierarchies that each contain a hierarchyId
. A
* hierarchy specifies allowed parent/child asset relationships.
A description for the asset.
*/ inline const Aws::String& GetDescription() const{ return m_description; } /** *A description for the asset.
*/ inline bool DescriptionHasBeenSet() const { return m_descriptionHasBeenSet; } /** *A description for the asset.
*/ inline void SetDescription(const Aws::String& value) { m_descriptionHasBeenSet = true; m_description = value; } /** *A description for the asset.
*/ inline void SetDescription(Aws::String&& value) { m_descriptionHasBeenSet = true; m_description = std::move(value); } /** *A description for the asset.
*/ inline void SetDescription(const char* value) { m_descriptionHasBeenSet = true; m_description.assign(value); } /** *A description for the asset.
*/ inline AssociatedAssetsSummary& WithDescription(const Aws::String& value) { SetDescription(value); return *this;} /** *A description for the asset.
*/ inline AssociatedAssetsSummary& WithDescription(Aws::String&& value) { SetDescription(std::move(value)); return *this;} /** *A description for the asset.
*/ inline AssociatedAssetsSummary& WithDescription(const char* value) { SetDescription(value); return *this;} private: Aws::String m_id; bool m_idHasBeenSet = false; Aws::String m_arn; bool m_arnHasBeenSet = false; Aws::String m_name; bool m_nameHasBeenSet = false; Aws::String m_assetModelId; bool m_assetModelIdHasBeenSet = false; Aws::Utils::DateTime m_creationDate; bool m_creationDateHasBeenSet = false; Aws::Utils::DateTime m_lastUpdateDate; bool m_lastUpdateDateHasBeenSet = false; AssetStatus m_status; bool m_statusHasBeenSet = false; Aws::Vector