/**
* Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
* SPDX-License-Identifier: Apache-2.0.
*/
#pragma once
#include Attributes are the entries within the inventory item content. It contains
* name and value.See Also:
AWS
* API Reference
Name of the inventory item attribute.
*/ inline const Aws::String& GetName() const{ return m_name; } /** *Name of the inventory item attribute.
*/ inline bool NameHasBeenSet() const { return m_nameHasBeenSet; } /** *Name of the inventory item attribute.
*/ inline void SetName(const Aws::String& value) { m_nameHasBeenSet = true; m_name = value; } /** *Name of the inventory item attribute.
*/ inline void SetName(Aws::String&& value) { m_nameHasBeenSet = true; m_name = std::move(value); } /** *Name of the inventory item attribute.
*/ inline void SetName(const char* value) { m_nameHasBeenSet = true; m_name.assign(value); } /** *Name of the inventory item attribute.
*/ inline InventoryItemAttribute& WithName(const Aws::String& value) { SetName(value); return *this;} /** *Name of the inventory item attribute.
*/ inline InventoryItemAttribute& WithName(Aws::String&& value) { SetName(std::move(value)); return *this;} /** *Name of the inventory item attribute.
*/ inline InventoryItemAttribute& WithName(const char* value) { SetName(value); return *this;} /** *The data type of the inventory item attribute.
*/ inline const InventoryAttributeDataType& GetDataType() const{ return m_dataType; } /** *The data type of the inventory item attribute.
*/ inline bool DataTypeHasBeenSet() const { return m_dataTypeHasBeenSet; } /** *The data type of the inventory item attribute.
*/ inline void SetDataType(const InventoryAttributeDataType& value) { m_dataTypeHasBeenSet = true; m_dataType = value; } /** *The data type of the inventory item attribute.
*/ inline void SetDataType(InventoryAttributeDataType&& value) { m_dataTypeHasBeenSet = true; m_dataType = std::move(value); } /** *The data type of the inventory item attribute.
*/ inline InventoryItemAttribute& WithDataType(const InventoryAttributeDataType& value) { SetDataType(value); return *this;} /** *The data type of the inventory item attribute.
*/ inline InventoryItemAttribute& WithDataType(InventoryAttributeDataType&& value) { SetDataType(std::move(value)); return *this;} private: Aws::String m_name; bool m_nameHasBeenSet = false; InventoryAttributeDataType m_dataType; bool m_dataTypeHasBeenSet = false; }; } // namespace Model } // namespace SSM } // namespace Aws