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

The unique identifiers for a resource group.

See Also:

AWS * API Reference

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

The name of the resource group.

*/ inline const Aws::String& GetGroupName() const{ return m_groupName; } /** *

The name of the resource group.

*/ inline bool GroupNameHasBeenSet() const { return m_groupNameHasBeenSet; } /** *

The name of the resource group.

*/ inline void SetGroupName(const Aws::String& value) { m_groupNameHasBeenSet = true; m_groupName = value; } /** *

The name of the resource group.

*/ inline void SetGroupName(Aws::String&& value) { m_groupNameHasBeenSet = true; m_groupName = std::move(value); } /** *

The name of the resource group.

*/ inline void SetGroupName(const char* value) { m_groupNameHasBeenSet = true; m_groupName.assign(value); } /** *

The name of the resource group.

*/ inline GroupIdentifier& WithGroupName(const Aws::String& value) { SetGroupName(value); return *this;} /** *

The name of the resource group.

*/ inline GroupIdentifier& WithGroupName(Aws::String&& value) { SetGroupName(std::move(value)); return *this;} /** *

The name of the resource group.

*/ inline GroupIdentifier& WithGroupName(const char* value) { SetGroupName(value); return *this;} /** *

The ARN of the resource group.

*/ inline const Aws::String& GetGroupArn() const{ return m_groupArn; } /** *

The ARN of the resource group.

*/ inline bool GroupArnHasBeenSet() const { return m_groupArnHasBeenSet; } /** *

The ARN of the resource group.

*/ inline void SetGroupArn(const Aws::String& value) { m_groupArnHasBeenSet = true; m_groupArn = value; } /** *

The ARN of the resource group.

*/ inline void SetGroupArn(Aws::String&& value) { m_groupArnHasBeenSet = true; m_groupArn = std::move(value); } /** *

The ARN of the resource group.

*/ inline void SetGroupArn(const char* value) { m_groupArnHasBeenSet = true; m_groupArn.assign(value); } /** *

The ARN of the resource group.

*/ inline GroupIdentifier& WithGroupArn(const Aws::String& value) { SetGroupArn(value); return *this;} /** *

The ARN of the resource group.

*/ inline GroupIdentifier& WithGroupArn(Aws::String&& value) { SetGroupArn(std::move(value)); return *this;} /** *

The ARN of the resource group.

*/ inline GroupIdentifier& WithGroupArn(const char* value) { SetGroupArn(value); return *this;} private: Aws::String m_groupName; bool m_groupNameHasBeenSet = false; Aws::String m_groupArn; bool m_groupArnHasBeenSet = false; }; } // namespace Model } // namespace ResourceGroups } // namespace Aws