/**
* Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
* SPDX-License-Identifier: Apache-2.0.
*/
#pragma once
#include Describes an asset hierarchy that contains a hierarchy's name and
* ID.See Also:
AWS
* API Reference
The ID of the hierarchy. This ID is a hierarchyId
.
The ID of the hierarchy. This ID is a hierarchyId
.
The ID of the hierarchy. This ID is a hierarchyId
.
The ID of the hierarchy. This ID is a hierarchyId
.
The ID of the hierarchy. This ID is a hierarchyId
.
The ID of the hierarchy. This ID is a hierarchyId
.
The ID of the hierarchy. This ID is a hierarchyId
.
The ID of the hierarchy. This ID is a hierarchyId
.
The hierarchy name provided in the CreateAssetModel * or UpdateAssetModel * API operation.
*/ inline const Aws::String& GetName() const{ return m_name; } /** *The hierarchy name provided in the CreateAssetModel * or UpdateAssetModel * API operation.
*/ inline bool NameHasBeenSet() const { return m_nameHasBeenSet; } /** *The hierarchy name provided in the CreateAssetModel * or UpdateAssetModel * API operation.
*/ inline void SetName(const Aws::String& value) { m_nameHasBeenSet = true; m_name = value; } /** *The hierarchy name provided in the CreateAssetModel * or UpdateAssetModel * API operation.
*/ inline void SetName(Aws::String&& value) { m_nameHasBeenSet = true; m_name = std::move(value); } /** *The hierarchy name provided in the CreateAssetModel * or UpdateAssetModel * API operation.
*/ inline void SetName(const char* value) { m_nameHasBeenSet = true; m_name.assign(value); } /** *The hierarchy name provided in the CreateAssetModel * or UpdateAssetModel * API operation.
*/ inline AssetHierarchy& WithName(const Aws::String& value) { SetName(value); return *this;} /** *The hierarchy name provided in the CreateAssetModel * or UpdateAssetModel * API operation.
*/ inline AssetHierarchy& WithName(Aws::String&& value) { SetName(std::move(value)); return *this;} /** *The hierarchy name provided in the CreateAssetModel * or UpdateAssetModel * API operation.
*/ inline AssetHierarchy& WithName(const char* value) { SetName(value); return *this;} private: Aws::String m_id; bool m_idHasBeenSet = false; Aws::String m_name; bool m_nameHasBeenSet = false; }; } // namespace Model } // namespace IoTSiteWise } // namespace Aws