/**
* Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
* SPDX-License-Identifier: Apache-2.0.
*/
#pragma once
#include Permission for the resource.See Also:
AWS
* API Reference
The Amazon Resource Name (ARN) of the principal. This can be one of the * following:
The ARN of an Amazon QuickSight user or group * associated with a data source or dataset. (This is common.)
The ARN of an Amazon QuickSight user, group, or namespace associated with an * analysis, dashboard, template, or theme. (This is common.)
The * ARN of an Amazon Web Services account root: This is an IAM ARN rather than a * QuickSight ARN. Use this option only to share resources (templates) across * Amazon Web Services accounts. (This is less common.)
The Amazon Resource Name (ARN) of the principal. This can be one of the * following:
The ARN of an Amazon QuickSight user or group * associated with a data source or dataset. (This is common.)
The ARN of an Amazon QuickSight user, group, or namespace associated with an * analysis, dashboard, template, or theme. (This is common.)
The * ARN of an Amazon Web Services account root: This is an IAM ARN rather than a * QuickSight ARN. Use this option only to share resources (templates) across * Amazon Web Services accounts. (This is less common.)
The Amazon Resource Name (ARN) of the principal. This can be one of the * following:
The ARN of an Amazon QuickSight user or group * associated with a data source or dataset. (This is common.)
The ARN of an Amazon QuickSight user, group, or namespace associated with an * analysis, dashboard, template, or theme. (This is common.)
The * ARN of an Amazon Web Services account root: This is an IAM ARN rather than a * QuickSight ARN. Use this option only to share resources (templates) across * Amazon Web Services accounts. (This is less common.)
The Amazon Resource Name (ARN) of the principal. This can be one of the * following:
The ARN of an Amazon QuickSight user or group * associated with a data source or dataset. (This is common.)
The ARN of an Amazon QuickSight user, group, or namespace associated with an * analysis, dashboard, template, or theme. (This is common.)
The * ARN of an Amazon Web Services account root: This is an IAM ARN rather than a * QuickSight ARN. Use this option only to share resources (templates) across * Amazon Web Services accounts. (This is less common.)
The Amazon Resource Name (ARN) of the principal. This can be one of the * following:
The ARN of an Amazon QuickSight user or group * associated with a data source or dataset. (This is common.)
The ARN of an Amazon QuickSight user, group, or namespace associated with an * analysis, dashboard, template, or theme. (This is common.)
The * ARN of an Amazon Web Services account root: This is an IAM ARN rather than a * QuickSight ARN. Use this option only to share resources (templates) across * Amazon Web Services accounts. (This is less common.)
The Amazon Resource Name (ARN) of the principal. This can be one of the * following:
The ARN of an Amazon QuickSight user or group * associated with a data source or dataset. (This is common.)
The ARN of an Amazon QuickSight user, group, or namespace associated with an * analysis, dashboard, template, or theme. (This is common.)
The * ARN of an Amazon Web Services account root: This is an IAM ARN rather than a * QuickSight ARN. Use this option only to share resources (templates) across * Amazon Web Services accounts. (This is less common.)
The Amazon Resource Name (ARN) of the principal. This can be one of the * following:
The ARN of an Amazon QuickSight user or group * associated with a data source or dataset. (This is common.)
The ARN of an Amazon QuickSight user, group, or namespace associated with an * analysis, dashboard, template, or theme. (This is common.)
The * ARN of an Amazon Web Services account root: This is an IAM ARN rather than a * QuickSight ARN. Use this option only to share resources (templates) across * Amazon Web Services accounts. (This is less common.)
The Amazon Resource Name (ARN) of the principal. This can be one of the * following:
The ARN of an Amazon QuickSight user or group * associated with a data source or dataset. (This is common.)
The ARN of an Amazon QuickSight user, group, or namespace associated with an * analysis, dashboard, template, or theme. (This is common.)
The * ARN of an Amazon Web Services account root: This is an IAM ARN rather than a * QuickSight ARN. Use this option only to share resources (templates) across * Amazon Web Services accounts. (This is less common.)
The IAM action to grant or revoke permissions on.
*/ inline const Aws::VectorThe IAM action to grant or revoke permissions on.
*/ inline bool ActionsHasBeenSet() const { return m_actionsHasBeenSet; } /** *The IAM action to grant or revoke permissions on.
*/ inline void SetActions(const Aws::VectorThe IAM action to grant or revoke permissions on.
*/ inline void SetActions(Aws::VectorThe IAM action to grant or revoke permissions on.
*/ inline ResourcePermission& WithActions(const Aws::VectorThe IAM action to grant or revoke permissions on.
*/ inline ResourcePermission& WithActions(Aws::VectorThe IAM action to grant or revoke permissions on.
*/ inline ResourcePermission& AddActions(const Aws::String& value) { m_actionsHasBeenSet = true; m_actions.push_back(value); return *this; } /** *The IAM action to grant or revoke permissions on.
*/ inline ResourcePermission& AddActions(Aws::String&& value) { m_actionsHasBeenSet = true; m_actions.push_back(std::move(value)); return *this; } /** *The IAM action to grant or revoke permissions on.
*/ inline ResourcePermission& AddActions(const char* value) { m_actionsHasBeenSet = true; m_actions.push_back(value); return *this; } private: Aws::String m_principal; bool m_principalHasBeenSet = false; Aws::Vector