/** * Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. * SPDX-License-Identifier: Apache-2.0. */ #pragma once #include #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 request.

See Also:

AWS * API Reference

*/ class ComponentPropertyGroupRequest { public: AWS_IOTTWINMAKER_API ComponentPropertyGroupRequest(); AWS_IOTTWINMAKER_API ComponentPropertyGroupRequest(Aws::Utils::Json::JsonView jsonValue); AWS_IOTTWINMAKER_API ComponentPropertyGroupRequest& 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 ComponentPropertyGroupRequest& WithGroupType(const GroupType& value) { SetGroupType(value); return *this;} /** *

The group type.

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

The property names.

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

The property names.

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

The property names.

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

The property names.

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

The property names.

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

The property names.

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

The property names.

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

The property names.

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

The property names.

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

The update type.

*/ inline const PropertyGroupUpdateType& GetUpdateType() const{ return m_updateType; } /** *

The update type.

*/ inline bool UpdateTypeHasBeenSet() const { return m_updateTypeHasBeenSet; } /** *

The update type.

*/ inline void SetUpdateType(const PropertyGroupUpdateType& value) { m_updateTypeHasBeenSet = true; m_updateType = value; } /** *

The update type.

*/ inline void SetUpdateType(PropertyGroupUpdateType&& value) { m_updateTypeHasBeenSet = true; m_updateType = std::move(value); } /** *

The update type.

*/ inline ComponentPropertyGroupRequest& WithUpdateType(const PropertyGroupUpdateType& value) { SetUpdateType(value); return *this;} /** *

The update type.

*/ inline ComponentPropertyGroupRequest& WithUpdateType(PropertyGroupUpdateType&& value) { SetUpdateType(std::move(value)); return *this;} private: GroupType m_groupType; bool m_groupTypeHasBeenSet = false; Aws::Vector m_propertyNames; bool m_propertyNamesHasBeenSet = false; PropertyGroupUpdateType m_updateType; bool m_updateTypeHasBeenSet = false; }; } // namespace Model } // namespace IoTTwinMaker } // namespace Aws