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

The component property group response.

See Also:

AWS * API Reference

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

The group type.

*/ inline const GroupType& GetGroupType() const{ return m_groupType; } /** *

The group type.

*/ inline bool GroupTypeHasBeenSet() const { return m_groupTypeHasBeenSet; } /** *

The group type.

*/ inline void SetGroupType(const GroupType& value) { m_groupTypeHasBeenSet = true; m_groupType = value; } /** *

The group type.

*/ inline void SetGroupType(GroupType&& value) { m_groupTypeHasBeenSet = true; m_groupType = std::move(value); } /** *

The group type.

*/ inline ComponentPropertyGroupResponse& WithGroupType(const GroupType& value) { SetGroupType(value); return *this;} /** *

The group type.

*/ inline ComponentPropertyGroupResponse& WithGroupType(GroupType&& value) { SetGroupType(std::move(value)); return *this;} /** *

The names of properties

*/ inline const Aws::Vector& GetPropertyNames() const{ return m_propertyNames; } /** *

The names of properties

*/ inline bool PropertyNamesHasBeenSet() const { return m_propertyNamesHasBeenSet; } /** *

The names of properties

*/ inline void SetPropertyNames(const Aws::Vector& value) { m_propertyNamesHasBeenSet = true; m_propertyNames = value; } /** *

The names of properties

*/ inline void SetPropertyNames(Aws::Vector&& value) { m_propertyNamesHasBeenSet = true; m_propertyNames = std::move(value); } /** *

The names of properties

*/ inline ComponentPropertyGroupResponse& WithPropertyNames(const Aws::Vector& value) { SetPropertyNames(value); return *this;} /** *

The names of properties

*/ inline ComponentPropertyGroupResponse& WithPropertyNames(Aws::Vector&& value) { SetPropertyNames(std::move(value)); return *this;} /** *

The names of properties

*/ inline ComponentPropertyGroupResponse& AddPropertyNames(const Aws::String& value) { m_propertyNamesHasBeenSet = true; m_propertyNames.push_back(value); return *this; } /** *

The names of properties

*/ inline ComponentPropertyGroupResponse& AddPropertyNames(Aws::String&& value) { m_propertyNamesHasBeenSet = true; m_propertyNames.push_back(std::move(value)); return *this; } /** *

The names of properties

*/ inline ComponentPropertyGroupResponse& AddPropertyNames(const char* value) { m_propertyNamesHasBeenSet = true; m_propertyNames.push_back(value); return *this; } /** *

A Boolean value that specifies whether the property group is inherited from a * parent entity

*/ inline bool GetIsInherited() const{ return m_isInherited; } /** *

A Boolean value that specifies whether the property group is inherited from a * parent entity

*/ inline bool IsInheritedHasBeenSet() const { return m_isInheritedHasBeenSet; } /** *

A Boolean value that specifies whether the property group is inherited from a * parent entity

*/ inline void SetIsInherited(bool value) { m_isInheritedHasBeenSet = true; m_isInherited = value; } /** *

A Boolean value that specifies whether the property group is inherited from a * parent entity

*/ inline ComponentPropertyGroupResponse& WithIsInherited(bool value) { SetIsInherited(value); return *this;} private: GroupType m_groupType; bool m_groupTypeHasBeenSet = false; Aws::Vector m_propertyNames; bool m_propertyNamesHasBeenSet = false; bool m_isInherited; bool m_isInheritedHasBeenSet = false; }; } // namespace Model } // namespace IoTTwinMaker } // namespace Aws