/**
* Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
* SPDX-License-Identifier: Apache-2.0.
*/
#pragma once
#include Contains information about a composite model in an asset. This object
* contains the asset's properties that you define in the composite
* model.See Also:
AWS
* API Reference
The name of the composite model.
*/ inline const Aws::String& GetName() const{ return m_name; } /** *The name of the composite model.
*/ inline bool NameHasBeenSet() const { return m_nameHasBeenSet; } /** *The name of the composite model.
*/ inline void SetName(const Aws::String& value) { m_nameHasBeenSet = true; m_name = value; } /** *The name of the composite model.
*/ inline void SetName(Aws::String&& value) { m_nameHasBeenSet = true; m_name = std::move(value); } /** *The name of the composite model.
*/ inline void SetName(const char* value) { m_nameHasBeenSet = true; m_name.assign(value); } /** *The name of the composite model.
*/ inline AssetCompositeModel& WithName(const Aws::String& value) { SetName(value); return *this;} /** *The name of the composite model.
*/ inline AssetCompositeModel& WithName(Aws::String&& value) { SetName(std::move(value)); return *this;} /** *The name of the composite model.
*/ inline AssetCompositeModel& WithName(const char* value) { SetName(value); return *this;} /** *The description of the composite model.
*/ inline const Aws::String& GetDescription() const{ return m_description; } /** *The description of the composite model.
*/ inline bool DescriptionHasBeenSet() const { return m_descriptionHasBeenSet; } /** *The description of the composite model.
*/ inline void SetDescription(const Aws::String& value) { m_descriptionHasBeenSet = true; m_description = value; } /** *The description of the composite model.
*/ inline void SetDescription(Aws::String&& value) { m_descriptionHasBeenSet = true; m_description = std::move(value); } /** *The description of the composite model.
*/ inline void SetDescription(const char* value) { m_descriptionHasBeenSet = true; m_description.assign(value); } /** *The description of the composite model.
*/ inline AssetCompositeModel& WithDescription(const Aws::String& value) { SetDescription(value); return *this;} /** *The description of the composite model.
*/ inline AssetCompositeModel& WithDescription(Aws::String&& value) { SetDescription(std::move(value)); return *this;} /** *The description of the composite model.
*/ inline AssetCompositeModel& WithDescription(const char* value) { SetDescription(value); return *this;} /** *The type of the composite model. For alarm composite models, this type is
* AWS/ALARM
.
The type of the composite model. For alarm composite models, this type is
* AWS/ALARM
.
The type of the composite model. For alarm composite models, this type is
* AWS/ALARM
.
The type of the composite model. For alarm composite models, this type is
* AWS/ALARM
.
The type of the composite model. For alarm composite models, this type is
* AWS/ALARM
.
The type of the composite model. For alarm composite models, this type is
* AWS/ALARM
.
The type of the composite model. For alarm composite models, this type is
* AWS/ALARM
.
The type of the composite model. For alarm composite models, this type is
* AWS/ALARM
.
The asset properties that this composite model defines.
*/ inline const Aws::VectorThe asset properties that this composite model defines.
*/ inline bool PropertiesHasBeenSet() const { return m_propertiesHasBeenSet; } /** *The asset properties that this composite model defines.
*/ inline void SetProperties(const Aws::VectorThe asset properties that this composite model defines.
*/ inline void SetProperties(Aws::VectorThe asset properties that this composite model defines.
*/ inline AssetCompositeModel& WithProperties(const Aws::VectorThe asset properties that this composite model defines.
*/ inline AssetCompositeModel& WithProperties(Aws::VectorThe asset properties that this composite model defines.
*/ inline AssetCompositeModel& AddProperties(const AssetProperty& value) { m_propertiesHasBeenSet = true; m_properties.push_back(value); return *this; } /** *The asset properties that this composite model defines.
*/ inline AssetCompositeModel& AddProperties(AssetProperty&& value) { m_propertiesHasBeenSet = true; m_properties.push_back(std::move(value)); return *this; } /** *The ID of the asset composite model.
*/ inline const Aws::String& GetId() const{ return m_id; } /** *The ID of the asset composite model.
*/ inline bool IdHasBeenSet() const { return m_idHasBeenSet; } /** *The ID of the asset composite model.
*/ inline void SetId(const Aws::String& value) { m_idHasBeenSet = true; m_id = value; } /** *The ID of the asset composite model.
*/ inline void SetId(Aws::String&& value) { m_idHasBeenSet = true; m_id = std::move(value); } /** *The ID of the asset composite model.
*/ inline void SetId(const char* value) { m_idHasBeenSet = true; m_id.assign(value); } /** *The ID of the asset composite model.
*/ inline AssetCompositeModel& WithId(const Aws::String& value) { SetId(value); return *this;} /** *The ID of the asset composite model.
*/ inline AssetCompositeModel& WithId(Aws::String&& value) { SetId(std::move(value)); return *this;} /** *The ID of the asset composite model.
*/ inline AssetCompositeModel& WithId(const char* value) { SetId(value); return *this;} private: Aws::String m_name; bool m_nameHasBeenSet = false; Aws::String m_description; bool m_descriptionHasBeenSet = false; Aws::String m_type; bool m_typeHasBeenSet = false; Aws::Vector