/** * 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 { /** *

See Also:

AWS * API Reference

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

The group type.

*/ inline PropertyGroupRequest& 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 PropertyGroupRequest& WithPropertyNames(const Aws::Vector& value) { SetPropertyNames(value); return *this;} /** *

The names of properties.

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

The names of properties.

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

The names of properties.

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

The names of properties.

*/ inline PropertyGroupRequest& AddPropertyNames(const char* value) { m_propertyNamesHasBeenSet = true; m_propertyNames.push_back(value); return *this; } private: GroupType m_groupType; bool m_groupTypeHasBeenSet = false; Aws::Vector m_propertyNames; bool m_propertyNamesHasBeenSet = false; }; } // namespace Model } // namespace IoTTwinMaker } // namespace Aws