/** * 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; } inline bool TypeNameHasBeenSet() const { return m_typeNameHasBeenSet; } inline void SetTypeName(const Aws::String& value) { m_typeNameHasBeenSet = true; m_typeName = value; } inline void SetTypeName(Aws::String&& value) { m_typeNameHasBeenSet = true; m_typeName = std::move(value); } inline void SetTypeName(const char* value) { m_typeNameHasBeenSet = true; m_typeName.assign(value); } inline ResultAttribute& WithTypeName(const Aws::String& value) { SetTypeName(value); return *this;} inline ResultAttribute& WithTypeName(Aws::String&& value) { SetTypeName(std::move(value)); return *this;} 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