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

A group in Amazon QuickSight consists of a set of users. You can use * groups to make it easier to manage access and security.

See * Also:

AWS * API Reference

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

The Amazon Resource Name (ARN) for the group.

*/ inline const Aws::String& GetArn() const{ return m_arn; } /** *

The Amazon Resource Name (ARN) for the group.

*/ inline bool ArnHasBeenSet() const { return m_arnHasBeenSet; } /** *

The Amazon Resource Name (ARN) for the group.

*/ inline void SetArn(const Aws::String& value) { m_arnHasBeenSet = true; m_arn = value; } /** *

The Amazon Resource Name (ARN) for the group.

*/ inline void SetArn(Aws::String&& value) { m_arnHasBeenSet = true; m_arn = std::move(value); } /** *

The Amazon Resource Name (ARN) for the group.

*/ inline void SetArn(const char* value) { m_arnHasBeenSet = true; m_arn.assign(value); } /** *

The Amazon Resource Name (ARN) for the group.

*/ inline Group& WithArn(const Aws::String& value) { SetArn(value); return *this;} /** *

The Amazon Resource Name (ARN) for the group.

*/ inline Group& WithArn(Aws::String&& value) { SetArn(std::move(value)); return *this;} /** *

The Amazon Resource Name (ARN) for the group.

*/ inline Group& WithArn(const char* value) { SetArn(value); return *this;} /** *

The name of the group.

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

The name of the group.

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

The name of the group.

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

The name of the group.

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

The name of the group.

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

The name of the group.

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

The name of the group.

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

The name of the group.

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

The group description.

*/ inline const Aws::String& GetDescription() const{ return m_description; } /** *

The group description.

*/ inline bool DescriptionHasBeenSet() const { return m_descriptionHasBeenSet; } /** *

The group description.

*/ inline void SetDescription(const Aws::String& value) { m_descriptionHasBeenSet = true; m_description = value; } /** *

The group description.

*/ inline void SetDescription(Aws::String&& value) { m_descriptionHasBeenSet = true; m_description = std::move(value); } /** *

The group description.

*/ inline void SetDescription(const char* value) { m_descriptionHasBeenSet = true; m_description.assign(value); } /** *

The group description.

*/ inline Group& WithDescription(const Aws::String& value) { SetDescription(value); return *this;} /** *

The group description.

*/ inline Group& WithDescription(Aws::String&& value) { SetDescription(std::move(value)); return *this;} /** *

The group description.

*/ inline Group& WithDescription(const char* value) { SetDescription(value); return *this;} /** *

The principal ID of the group.

*/ inline const Aws::String& GetPrincipalId() const{ return m_principalId; } /** *

The principal ID of the group.

*/ inline bool PrincipalIdHasBeenSet() const { return m_principalIdHasBeenSet; } /** *

The principal ID of the group.

*/ inline void SetPrincipalId(const Aws::String& value) { m_principalIdHasBeenSet = true; m_principalId = value; } /** *

The principal ID of the group.

*/ inline void SetPrincipalId(Aws::String&& value) { m_principalIdHasBeenSet = true; m_principalId = std::move(value); } /** *

The principal ID of the group.

*/ inline void SetPrincipalId(const char* value) { m_principalIdHasBeenSet = true; m_principalId.assign(value); } /** *

The principal ID of the group.

*/ inline Group& WithPrincipalId(const Aws::String& value) { SetPrincipalId(value); return *this;} /** *

The principal ID of the group.

*/ inline Group& WithPrincipalId(Aws::String&& value) { SetPrincipalId(std::move(value)); return *this;} /** *

The principal ID of the group.

*/ inline Group& WithPrincipalId(const char* value) { SetPrincipalId(value); return *this;} private: Aws::String m_arn; bool m_arnHasBeenSet = false; Aws::String m_groupName; bool m_groupNameHasBeenSet = false; Aws::String m_description; bool m_descriptionHasBeenSet = false; Aws::String m_principalId; bool m_principalIdHasBeenSet = false; }; } // namespace Model } // namespace QuickSight } // namespace Aws