/* * 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 { /// /// Gets information on the configuration of document fields/attributes that you want /// to base query suggestions on. To change your configuration, use AttributeSuggestionsUpdateConfig /// and then call UpdateQuerySuggestionsConfig. /// public partial class AttributeSuggestionsDescribeConfig { private AttributeSuggestionsMode _attributeSuggestionsMode; private List _suggestableConfigList = new List(); /// /// Gets and sets the property AttributeSuggestionsMode. /// /// The mode is set to either ACTIVE or INACTIVE. If the Mode /// for query history is set to ENABLED when calling UpdateQuerySuggestionsConfig /// and AttributeSuggestionsMode to use fields/attributes is set to ACTIVE, /// and you haven't set your SuggestionTypes preference to DOCUMENT_ATTRIBUTES, /// then Amazon Kendra uses the query history. /// /// public AttributeSuggestionsMode AttributeSuggestionsMode { get { return this._attributeSuggestionsMode; } set { this._attributeSuggestionsMode = value; } } // Check to see if AttributeSuggestionsMode property is set internal bool IsSetAttributeSuggestionsMode() { return this._attributeSuggestionsMode != null; } /// /// Gets and sets the property SuggestableConfigList. /// /// The list of fields/attributes that you want to set as suggestible for query suggestions. /// /// public List SuggestableConfigList { get { return this._suggestableConfigList; } set { this._suggestableConfigList = value; } } // Check to see if SuggestableConfigList property is set internal bool IsSetSuggestableConfigList() { return this._suggestableConfigList != null && this._suggestableConfigList.Count > 0; } } }