/**
* Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
* SPDX-License-Identifier: Apache-2.0.
*/
#pragma once
#include Information to define the hierarchy for which documents users should have
* access to. See Also:
AWS
* API Reference
A list of principal * lists that define the hierarchy for which documents users should have access to. * Each hierarchical list specifies which user or group has allow or deny access * for each document.
*/ inline const Aws::VectorA list of principal * lists that define the hierarchy for which documents users should have access to. * Each hierarchical list specifies which user or group has allow or deny access * for each document.
*/ inline bool PrincipalListHasBeenSet() const { return m_principalListHasBeenSet; } /** *A list of principal * lists that define the hierarchy for which documents users should have access to. * Each hierarchical list specifies which user or group has allow or deny access * for each document.
*/ inline void SetPrincipalList(const Aws::VectorA list of principal * lists that define the hierarchy for which documents users should have access to. * Each hierarchical list specifies which user or group has allow or deny access * for each document.
*/ inline void SetPrincipalList(Aws::VectorA list of principal * lists that define the hierarchy for which documents users should have access to. * Each hierarchical list specifies which user or group has allow or deny access * for each document.
*/ inline HierarchicalPrincipal& WithPrincipalList(const Aws::VectorA list of principal * lists that define the hierarchy for which documents users should have access to. * Each hierarchical list specifies which user or group has allow or deny access * for each document.
*/ inline HierarchicalPrincipal& WithPrincipalList(Aws::VectorA list of principal * lists that define the hierarchy for which documents users should have access to. * Each hierarchical list specifies which user or group has allow or deny access * for each document.
*/ inline HierarchicalPrincipal& AddPrincipalList(const Principal& value) { m_principalListHasBeenSet = true; m_principalList.push_back(value); return *this; } /** *A list of principal * lists that define the hierarchy for which documents users should have access to. * Each hierarchical list specifies which user or group has allow or deny access * for each document.
*/ inline HierarchicalPrincipal& AddPrincipalList(Principal&& value) { m_principalListHasBeenSet = true; m_principalList.push_back(std::move(value)); return *this; } private: Aws::Vector