/**
* Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
* SPDX-License-Identifier: Apache-2.0.
*/
#pragma once
#include Updates the configuration information for the document fields/attributes that
* you want to base query suggestions on. To deactivate using documents
* fields for query suggestions, set the mode to INACTIVE
. You must
* also set SuggestionTypes
as either QUERY
or
* DOCUMENT_ATTRIBUTES
and then call GetQuerySuggestions.
* If you set to QUERY
, then Amazon Kendra uses the query history to
* base suggestions on. If you set to DOCUMENT_ATTRIBUTES
, then Amazon
* Kendra uses the contents of document fields to base suggestions
* on.See Also:
AWS
* API Reference
The list of fields/attributes that you want to set as suggestible for query * suggestions.
*/ inline const Aws::VectorThe list of fields/attributes that you want to set as suggestible for query * suggestions.
*/ inline bool SuggestableConfigListHasBeenSet() const { return m_suggestableConfigListHasBeenSet; } /** *The list of fields/attributes that you want to set as suggestible for query * suggestions.
*/ inline void SetSuggestableConfigList(const Aws::VectorThe list of fields/attributes that you want to set as suggestible for query * suggestions.
*/ inline void SetSuggestableConfigList(Aws::VectorThe list of fields/attributes that you want to set as suggestible for query * suggestions.
*/ inline AttributeSuggestionsUpdateConfig& WithSuggestableConfigList(const Aws::VectorThe list of fields/attributes that you want to set as suggestible for query * suggestions.
*/ inline AttributeSuggestionsUpdateConfig& WithSuggestableConfigList(Aws::VectorThe list of fields/attributes that you want to set as suggestible for query * suggestions.
*/ inline AttributeSuggestionsUpdateConfig& AddSuggestableConfigList(const SuggestableConfig& value) { m_suggestableConfigListHasBeenSet = true; m_suggestableConfigList.push_back(value); return *this; } /** *The list of fields/attributes that you want to set as suggestible for query * suggestions.
*/ inline AttributeSuggestionsUpdateConfig& AddSuggestableConfigList(SuggestableConfig&& value) { m_suggestableConfigListHasBeenSet = true; m_suggestableConfigList.push_back(std::move(value)); return *this; } /** *You can set the mode to ACTIVE
or INACTIVE
. You
* must also set SuggestionTypes
as either QUERY
or
* DOCUMENT_ATTRIBUTES
and then call GetQuerySuggestions.
* If Mode
to use 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.
You can set the mode to ACTIVE
or INACTIVE
. You
* must also set SuggestionTypes
as either QUERY
or
* DOCUMENT_ATTRIBUTES
and then call GetQuerySuggestions.
* If Mode
to use 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.
You can set the mode to ACTIVE
or INACTIVE
. You
* must also set SuggestionTypes
as either QUERY
or
* DOCUMENT_ATTRIBUTES
and then call GetQuerySuggestions.
* If Mode
to use 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.
You can set the mode to ACTIVE
or INACTIVE
. You
* must also set SuggestionTypes
as either QUERY
or
* DOCUMENT_ATTRIBUTES
and then call GetQuerySuggestions.
* If Mode
to use 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.
You can set the mode to ACTIVE
or INACTIVE
. You
* must also set SuggestionTypes
as either QUERY
or
* DOCUMENT_ATTRIBUTES
and then call GetQuerySuggestions.
* If Mode
to use 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.
You can set the mode to ACTIVE
or INACTIVE
. You
* must also set SuggestionTypes
as either QUERY
or
* DOCUMENT_ATTRIBUTES
and then call GetQuerySuggestions.
* If Mode
to use 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.