/* * Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. * * Licensed under the Apache License, Version 2.0 (the "License"). * You may not use this file except in compliance with the License. * A copy of the License is located at * * http://aws.amazon.com/apache2.0 * * or in the "license" file accompanying this file. This file is distributed * on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either * express or implied. See the License for the specific language governing * permissions and limitations under the License. */ /* * Do not modify this file. This file is generated from the kendra-2019-02-03.normal.json service model. */ using System; using System.Collections.Generic; using System.Xml.Serialization; using System.Text; using System.IO; using System.Net; using Amazon.Runtime; using Amazon.Runtime.Internal; namespace Amazon.Kendra.Model { /// /// This is the response object from the DescribeAccessControlConfiguration operation. /// public partial class DescribeAccessControlConfigurationResponse : AmazonWebServiceResponse { private List _accessControlList = new List(); private string _description; private string _errorMessage; private List _hierarchicalAccessControlList = new List(); private string _name; /// /// Gets and sets the property AccessControlList. /// /// Information on principals (users and/or groups) and which documents they should have /// access to. This is useful for user context filtering, where search results are filtered /// based on the user or their group access to documents. /// /// public List AccessControlList { get { return this._accessControlList; } set { this._accessControlList = value; } } // Check to see if AccessControlList property is set internal bool IsSetAccessControlList() { return this._accessControlList != null && this._accessControlList.Count > 0; } /// /// Gets and sets the property Description. /// /// The description for the access control configuration. /// /// [AWSProperty(Min=0, Max=1000)] public string Description { get { return this._description; } set { this._description = value; } } // Check to see if Description property is set internal bool IsSetDescription() { return this._description != null; } /// /// Gets and sets the property ErrorMessage. /// /// The error message containing details if there are issues processing the access control /// configuration. /// /// [AWSProperty(Min=1, Max=2048)] public string ErrorMessage { get { return this._errorMessage; } set { this._errorMessage = value; } } // Check to see if ErrorMessage property is set internal bool IsSetErrorMessage() { return this._errorMessage != null; } /// /// Gets and sets the property HierarchicalAccessControlList. /// /// The list of principal /// lists that define the hierarchy for which documents users should have access to. /// /// [AWSProperty(Min=1, Max=30)] public List HierarchicalAccessControlList { get { return this._hierarchicalAccessControlList; } set { this._hierarchicalAccessControlList = value; } } // Check to see if HierarchicalAccessControlList property is set internal bool IsSetHierarchicalAccessControlList() { return this._hierarchicalAccessControlList != null && this._hierarchicalAccessControlList.Count > 0; } /// /// Gets and sets the property Name. /// /// The name for the access control configuration. /// /// [AWSProperty(Required=true, Min=1, Max=200)] public string Name { get { return this._name; } set { this._name = value; } } // Check to see if Name property is set internal bool IsSetName() { return this._name != null; } } }