/** * Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. * SPDX-License-Identifier: Apache-2.0. */ #pragma once #include #include #include namespace Aws { namespace Utils { namespace Json { class JsonValue; class JsonView; } // namespace Json } // namespace Utils namespace IoTSiteWise { namespace Model { /** *

Contains an asset attribute property. For more information, see Attributes * in the IoT SiteWise User Guide.

See Also:

AWS * API Reference

*/ class Attribute { public: AWS_IOTSITEWISE_API Attribute(); AWS_IOTSITEWISE_API Attribute(Aws::Utils::Json::JsonView jsonValue); AWS_IOTSITEWISE_API Attribute& operator=(Aws::Utils::Json::JsonView jsonValue); AWS_IOTSITEWISE_API Aws::Utils::Json::JsonValue Jsonize() const; /** *

The default value of the asset model property attribute. All assets that you * create from the asset model contain this attribute value. You can update an * attribute's value after you create an asset. For more information, see Updating * attribute values in the IoT SiteWise User Guide.

*/ inline const Aws::String& GetDefaultValue() const{ return m_defaultValue; } /** *

The default value of the asset model property attribute. All assets that you * create from the asset model contain this attribute value. You can update an * attribute's value after you create an asset. For more information, see Updating * attribute values in the IoT SiteWise User Guide.

*/ inline bool DefaultValueHasBeenSet() const { return m_defaultValueHasBeenSet; } /** *

The default value of the asset model property attribute. All assets that you * create from the asset model contain this attribute value. You can update an * attribute's value after you create an asset. For more information, see Updating * attribute values in the IoT SiteWise User Guide.

*/ inline void SetDefaultValue(const Aws::String& value) { m_defaultValueHasBeenSet = true; m_defaultValue = value; } /** *

The default value of the asset model property attribute. All assets that you * create from the asset model contain this attribute value. You can update an * attribute's value after you create an asset. For more information, see Updating * attribute values in the IoT SiteWise User Guide.

*/ inline void SetDefaultValue(Aws::String&& value) { m_defaultValueHasBeenSet = true; m_defaultValue = std::move(value); } /** *

The default value of the asset model property attribute. All assets that you * create from the asset model contain this attribute value. You can update an * attribute's value after you create an asset. For more information, see Updating * attribute values in the IoT SiteWise User Guide.

*/ inline void SetDefaultValue(const char* value) { m_defaultValueHasBeenSet = true; m_defaultValue.assign(value); } /** *

The default value of the asset model property attribute. All assets that you * create from the asset model contain this attribute value. You can update an * attribute's value after you create an asset. For more information, see Updating * attribute values in the IoT SiteWise User Guide.

*/ inline Attribute& WithDefaultValue(const Aws::String& value) { SetDefaultValue(value); return *this;} /** *

The default value of the asset model property attribute. All assets that you * create from the asset model contain this attribute value. You can update an * attribute's value after you create an asset. For more information, see Updating * attribute values in the IoT SiteWise User Guide.

*/ inline Attribute& WithDefaultValue(Aws::String&& value) { SetDefaultValue(std::move(value)); return *this;} /** *

The default value of the asset model property attribute. All assets that you * create from the asset model contain this attribute value. You can update an * attribute's value after you create an asset. For more information, see Updating * attribute values in the IoT SiteWise User Guide.

*/ inline Attribute& WithDefaultValue(const char* value) { SetDefaultValue(value); return *this;} private: Aws::String m_defaultValue; bool m_defaultValueHasBeenSet = false; }; } // namespace Model } // namespace IoTSiteWise } // namespace Aws