/** * 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 { template class AmazonWebServiceResult; namespace Utils { namespace Json { class JsonValue; } // namespace Json } // namespace Utils namespace QuickSight { namespace Model { class DescribeDashboardPermissionsResult { public: AWS_QUICKSIGHT_API DescribeDashboardPermissionsResult(); AWS_QUICKSIGHT_API DescribeDashboardPermissionsResult(const Aws::AmazonWebServiceResult& result); AWS_QUICKSIGHT_API DescribeDashboardPermissionsResult& operator=(const Aws::AmazonWebServiceResult& result); /** *

The ID for the dashboard.

*/ inline const Aws::String& GetDashboardId() const{ return m_dashboardId; } /** *

The ID for the dashboard.

*/ inline void SetDashboardId(const Aws::String& value) { m_dashboardId = value; } /** *

The ID for the dashboard.

*/ inline void SetDashboardId(Aws::String&& value) { m_dashboardId = std::move(value); } /** *

The ID for the dashboard.

*/ inline void SetDashboardId(const char* value) { m_dashboardId.assign(value); } /** *

The ID for the dashboard.

*/ inline DescribeDashboardPermissionsResult& WithDashboardId(const Aws::String& value) { SetDashboardId(value); return *this;} /** *

The ID for the dashboard.

*/ inline DescribeDashboardPermissionsResult& WithDashboardId(Aws::String&& value) { SetDashboardId(std::move(value)); return *this;} /** *

The ID for the dashboard.

*/ inline DescribeDashboardPermissionsResult& WithDashboardId(const char* value) { SetDashboardId(value); return *this;} /** *

The Amazon Resource Name (ARN) of the dashboard.

*/ inline const Aws::String& GetDashboardArn() const{ return m_dashboardArn; } /** *

The Amazon Resource Name (ARN) of the dashboard.

*/ inline void SetDashboardArn(const Aws::String& value) { m_dashboardArn = value; } /** *

The Amazon Resource Name (ARN) of the dashboard.

*/ inline void SetDashboardArn(Aws::String&& value) { m_dashboardArn = std::move(value); } /** *

The Amazon Resource Name (ARN) of the dashboard.

*/ inline void SetDashboardArn(const char* value) { m_dashboardArn.assign(value); } /** *

The Amazon Resource Name (ARN) of the dashboard.

*/ inline DescribeDashboardPermissionsResult& WithDashboardArn(const Aws::String& value) { SetDashboardArn(value); return *this;} /** *

The Amazon Resource Name (ARN) of the dashboard.

*/ inline DescribeDashboardPermissionsResult& WithDashboardArn(Aws::String&& value) { SetDashboardArn(std::move(value)); return *this;} /** *

The Amazon Resource Name (ARN) of the dashboard.

*/ inline DescribeDashboardPermissionsResult& WithDashboardArn(const char* value) { SetDashboardArn(value); return *this;} /** *

A structure that contains the permissions for the dashboard.

*/ inline const Aws::Vector& GetPermissions() const{ return m_permissions; } /** *

A structure that contains the permissions for the dashboard.

*/ inline void SetPermissions(const Aws::Vector& value) { m_permissions = value; } /** *

A structure that contains the permissions for the dashboard.

*/ inline void SetPermissions(Aws::Vector&& value) { m_permissions = std::move(value); } /** *

A structure that contains the permissions for the dashboard.

*/ inline DescribeDashboardPermissionsResult& WithPermissions(const Aws::Vector& value) { SetPermissions(value); return *this;} /** *

A structure that contains the permissions for the dashboard.

*/ inline DescribeDashboardPermissionsResult& WithPermissions(Aws::Vector&& value) { SetPermissions(std::move(value)); return *this;} /** *

A structure that contains the permissions for the dashboard.

*/ inline DescribeDashboardPermissionsResult& AddPermissions(const ResourcePermission& value) { m_permissions.push_back(value); return *this; } /** *

A structure that contains the permissions for the dashboard.

*/ inline DescribeDashboardPermissionsResult& AddPermissions(ResourcePermission&& value) { m_permissions.push_back(std::move(value)); return *this; } /** *

The HTTP status of the request.

*/ inline int GetStatus() const{ return m_status; } /** *

The HTTP status of the request.

*/ inline void SetStatus(int value) { m_status = value; } /** *

The HTTP status of the request.

*/ inline DescribeDashboardPermissionsResult& WithStatus(int value) { SetStatus(value); return *this;} inline const Aws::String& GetRequestId() const{ return m_requestId; } inline void SetRequestId(const Aws::String& value) { m_requestId = value; } inline void SetRequestId(Aws::String&& value) { m_requestId = std::move(value); } inline void SetRequestId(const char* value) { m_requestId.assign(value); } inline DescribeDashboardPermissionsResult& WithRequestId(const Aws::String& value) { SetRequestId(value); return *this;} inline DescribeDashboardPermissionsResult& WithRequestId(Aws::String&& value) { SetRequestId(std::move(value)); return *this;} inline DescribeDashboardPermissionsResult& WithRequestId(const char* value) { SetRequestId(value); return *this;} /** *

A structure that contains the configuration of a shareable link that grants * access to the dashboard. Your users can use the link to view and interact with * the dashboard, if the dashboard has been shared with them. For more information * about sharing dashboards, see Sharing * Dashboards.

*/ inline const LinkSharingConfiguration& GetLinkSharingConfiguration() const{ return m_linkSharingConfiguration; } /** *

A structure that contains the configuration of a shareable link that grants * access to the dashboard. Your users can use the link to view and interact with * the dashboard, if the dashboard has been shared with them. For more information * about sharing dashboards, see Sharing * Dashboards.

*/ inline void SetLinkSharingConfiguration(const LinkSharingConfiguration& value) { m_linkSharingConfiguration = value; } /** *

A structure that contains the configuration of a shareable link that grants * access to the dashboard. Your users can use the link to view and interact with * the dashboard, if the dashboard has been shared with them. For more information * about sharing dashboards, see Sharing * Dashboards.

*/ inline void SetLinkSharingConfiguration(LinkSharingConfiguration&& value) { m_linkSharingConfiguration = std::move(value); } /** *

A structure that contains the configuration of a shareable link that grants * access to the dashboard. Your users can use the link to view and interact with * the dashboard, if the dashboard has been shared with them. For more information * about sharing dashboards, see Sharing * Dashboards.

*/ inline DescribeDashboardPermissionsResult& WithLinkSharingConfiguration(const LinkSharingConfiguration& value) { SetLinkSharingConfiguration(value); return *this;} /** *

A structure that contains the configuration of a shareable link that grants * access to the dashboard. Your users can use the link to view and interact with * the dashboard, if the dashboard has been shared with them. For more information * about sharing dashboards, see Sharing * Dashboards.

*/ inline DescribeDashboardPermissionsResult& WithLinkSharingConfiguration(LinkSharingConfiguration&& value) { SetLinkSharingConfiguration(std::move(value)); return *this;} private: Aws::String m_dashboardId; Aws::String m_dashboardArn; Aws::Vector m_permissions; int m_status; Aws::String m_requestId; LinkSharingConfiguration m_linkSharingConfiguration; }; } // namespace Model } // namespace QuickSight } // namespace Aws