/**
* Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
* SPDX-License-Identifier: Apache-2.0.
*/
#pragma once
#include The row-level security configuration for the dataset.See
* Also:
AWS
* API Reference
The namespace associated with the row-level permissions dataset.
*/ inline const Aws::String& GetNamespace() const{ return m_namespace; } /** *The namespace associated with the row-level permissions dataset.
*/ inline bool NamespaceHasBeenSet() const { return m_namespaceHasBeenSet; } /** *The namespace associated with the row-level permissions dataset.
*/ inline void SetNamespace(const Aws::String& value) { m_namespaceHasBeenSet = true; m_namespace = value; } /** *The namespace associated with the row-level permissions dataset.
*/ inline void SetNamespace(Aws::String&& value) { m_namespaceHasBeenSet = true; m_namespace = std::move(value); } /** *The namespace associated with the row-level permissions dataset.
*/ inline void SetNamespace(const char* value) { m_namespaceHasBeenSet = true; m_namespace.assign(value); } /** *The namespace associated with the row-level permissions dataset.
*/ inline RowLevelPermissionDataSet& WithNamespace(const Aws::String& value) { SetNamespace(value); return *this;} /** *The namespace associated with the row-level permissions dataset.
*/ inline RowLevelPermissionDataSet& WithNamespace(Aws::String&& value) { SetNamespace(std::move(value)); return *this;} /** *The namespace associated with the row-level permissions dataset.
*/ inline RowLevelPermissionDataSet& WithNamespace(const char* value) { SetNamespace(value); return *this;} /** *The Amazon Resource Name (ARN) of the permission dataset.
*/ inline const Aws::String& GetArn() const{ return m_arn; } /** *The Amazon Resource Name (ARN) of the permission dataset.
*/ inline bool ArnHasBeenSet() const { return m_arnHasBeenSet; } /** *The Amazon Resource Name (ARN) of the permission dataset.
*/ inline void SetArn(const Aws::String& value) { m_arnHasBeenSet = true; m_arn = value; } /** *The Amazon Resource Name (ARN) of the permission dataset.
*/ inline void SetArn(Aws::String&& value) { m_arnHasBeenSet = true; m_arn = std::move(value); } /** *The Amazon Resource Name (ARN) of the permission dataset.
*/ inline void SetArn(const char* value) { m_arnHasBeenSet = true; m_arn.assign(value); } /** *The Amazon Resource Name (ARN) of the permission dataset.
*/ inline RowLevelPermissionDataSet& WithArn(const Aws::String& value) { SetArn(value); return *this;} /** *The Amazon Resource Name (ARN) of the permission dataset.
*/ inline RowLevelPermissionDataSet& WithArn(Aws::String&& value) { SetArn(std::move(value)); return *this;} /** *The Amazon Resource Name (ARN) of the permission dataset.
*/ inline RowLevelPermissionDataSet& WithArn(const char* value) { SetArn(value); return *this;} /** *Permission policy.
*/ inline const RowLevelPermissionPolicy& GetPermissionPolicy() const{ return m_permissionPolicy; } /** *Permission policy.
*/ inline bool PermissionPolicyHasBeenSet() const { return m_permissionPolicyHasBeenSet; } /** *Permission policy.
*/ inline void SetPermissionPolicy(const RowLevelPermissionPolicy& value) { m_permissionPolicyHasBeenSet = true; m_permissionPolicy = value; } /** *Permission policy.
*/ inline void SetPermissionPolicy(RowLevelPermissionPolicy&& value) { m_permissionPolicyHasBeenSet = true; m_permissionPolicy = std::move(value); } /** *Permission policy.
*/ inline RowLevelPermissionDataSet& WithPermissionPolicy(const RowLevelPermissionPolicy& value) { SetPermissionPolicy(value); return *this;} /** *Permission policy.
*/ inline RowLevelPermissionDataSet& WithPermissionPolicy(RowLevelPermissionPolicy&& value) { SetPermissionPolicy(std::move(value)); return *this;} private: Aws::String m_namespace; bool m_namespaceHasBeenSet; Aws::String m_arn; bool m_arnHasBeenSet; RowLevelPermissionPolicy m_permissionPolicy; bool m_permissionPolicyHasBeenSet; }; } // namespace Model } // namespace QuickSight } // namespace Aws