/** * 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 SSM { namespace Model { /** *

The inventory item result attribute.

See Also:

AWS * API Reference

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

Name of the inventory item type. Valid value: * AWS:InstanceInformation. Default Value: * AWS:InstanceInformation.

*/ inline const Aws::String& GetTypeName() const{ return m_typeName; } /** *

Name of the inventory item type. Valid value: * AWS:InstanceInformation. Default Value: * AWS:InstanceInformation.

*/ inline bool TypeNameHasBeenSet() const { return m_typeNameHasBeenSet; } /** *

Name of the inventory item type. Valid value: * AWS:InstanceInformation. Default Value: * AWS:InstanceInformation.

*/ inline void SetTypeName(const Aws::String& value) { m_typeNameHasBeenSet = true; m_typeName = value; } /** *

Name of the inventory item type. Valid value: * AWS:InstanceInformation. Default Value: * AWS:InstanceInformation.

*/ inline void SetTypeName(Aws::String&& value) { m_typeNameHasBeenSet = true; m_typeName = std::move(value); } /** *

Name of the inventory item type. Valid value: * AWS:InstanceInformation. Default Value: * AWS:InstanceInformation.

*/ inline void SetTypeName(const char* value) { m_typeNameHasBeenSet = true; m_typeName.assign(value); } /** *

Name of the inventory item type. Valid value: * AWS:InstanceInformation. Default Value: * AWS:InstanceInformation.

*/ inline ResultAttribute& WithTypeName(const Aws::String& value) { SetTypeName(value); return *this;} /** *

Name of the inventory item type. Valid value: * AWS:InstanceInformation. Default Value: * AWS:InstanceInformation.

*/ inline ResultAttribute& WithTypeName(Aws::String&& value) { SetTypeName(std::move(value)); return *this;} /** *

Name of the inventory item type. Valid value: * AWS:InstanceInformation. Default Value: * AWS:InstanceInformation.

*/ inline ResultAttribute& WithTypeName(const char* value) { SetTypeName(value); return *this;} private: Aws::String m_typeName; bool m_typeNameHasBeenSet = false; }; } // namespace Model } // namespace SSM } // namespace Aws