/**
* Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
* SPDX-License-Identifier: Apache-2.0.
*/
#pragma once
#include Provides configuration information for the
* AMAZON.KendraSearchIntent
intent. When you use this intent, Amazon
* Lex searches the specified Amazon Kendra index and returns documents from the
* index that match the user's utterance.See Also:
AWS
* API Reference
The Amazon Resource Name (ARN) of the Amazon Kendra index that you want the
* AMAZON.KendraSearchIntent
intent to search. The index must be in
* the same account and Region as the Amazon Lex bot.
The Amazon Resource Name (ARN) of the Amazon Kendra index that you want the
* AMAZON.KendraSearchIntent
intent to search. The index must be in
* the same account and Region as the Amazon Lex bot.
The Amazon Resource Name (ARN) of the Amazon Kendra index that you want the
* AMAZON.KendraSearchIntent
intent to search. The index must be in
* the same account and Region as the Amazon Lex bot.
The Amazon Resource Name (ARN) of the Amazon Kendra index that you want the
* AMAZON.KendraSearchIntent
intent to search. The index must be in
* the same account and Region as the Amazon Lex bot.
The Amazon Resource Name (ARN) of the Amazon Kendra index that you want the
* AMAZON.KendraSearchIntent
intent to search. The index must be in
* the same account and Region as the Amazon Lex bot.
The Amazon Resource Name (ARN) of the Amazon Kendra index that you want the
* AMAZON.KendraSearchIntent
intent to search. The index must be in
* the same account and Region as the Amazon Lex bot.
The Amazon Resource Name (ARN) of the Amazon Kendra index that you want the
* AMAZON.KendraSearchIntent
intent to search. The index must be in
* the same account and Region as the Amazon Lex bot.
The Amazon Resource Name (ARN) of the Amazon Kendra index that you want the
* AMAZON.KendraSearchIntent
intent to search. The index must be in
* the same account and Region as the Amazon Lex bot.
Determines whether the AMAZON.KendraSearchIntent
intent uses a
* custom query string to query the Amazon Kendra index.
Determines whether the AMAZON.KendraSearchIntent
intent uses a
* custom query string to query the Amazon Kendra index.
Determines whether the AMAZON.KendraSearchIntent
intent uses a
* custom query string to query the Amazon Kendra index.
Determines whether the AMAZON.KendraSearchIntent
intent uses a
* custom query string to query the Amazon Kendra index.
A query filter that Amazon Lex sends to Amazon Kendra to filter the response * from a query. The filter is in the format defined by Amazon Kendra. For more * information, see Filtering * queries.
*/ inline const Aws::String& GetQueryFilterString() const{ return m_queryFilterString; } /** *A query filter that Amazon Lex sends to Amazon Kendra to filter the response * from a query. The filter is in the format defined by Amazon Kendra. For more * information, see Filtering * queries.
*/ inline bool QueryFilterStringHasBeenSet() const { return m_queryFilterStringHasBeenSet; } /** *A query filter that Amazon Lex sends to Amazon Kendra to filter the response * from a query. The filter is in the format defined by Amazon Kendra. For more * information, see Filtering * queries.
*/ inline void SetQueryFilterString(const Aws::String& value) { m_queryFilterStringHasBeenSet = true; m_queryFilterString = value; } /** *A query filter that Amazon Lex sends to Amazon Kendra to filter the response * from a query. The filter is in the format defined by Amazon Kendra. For more * information, see Filtering * queries.
*/ inline void SetQueryFilterString(Aws::String&& value) { m_queryFilterStringHasBeenSet = true; m_queryFilterString = std::move(value); } /** *A query filter that Amazon Lex sends to Amazon Kendra to filter the response * from a query. The filter is in the format defined by Amazon Kendra. For more * information, see Filtering * queries.
*/ inline void SetQueryFilterString(const char* value) { m_queryFilterStringHasBeenSet = true; m_queryFilterString.assign(value); } /** *A query filter that Amazon Lex sends to Amazon Kendra to filter the response * from a query. The filter is in the format defined by Amazon Kendra. For more * information, see Filtering * queries.
*/ inline KendraConfiguration& WithQueryFilterString(const Aws::String& value) { SetQueryFilterString(value); return *this;} /** *A query filter that Amazon Lex sends to Amazon Kendra to filter the response * from a query. The filter is in the format defined by Amazon Kendra. For more * information, see Filtering * queries.
*/ inline KendraConfiguration& WithQueryFilterString(Aws::String&& value) { SetQueryFilterString(std::move(value)); return *this;} /** *A query filter that Amazon Lex sends to Amazon Kendra to filter the response * from a query. The filter is in the format defined by Amazon Kendra. For more * information, see Filtering * queries.
*/ inline KendraConfiguration& WithQueryFilterString(const char* value) { SetQueryFilterString(value); return *this;} private: Aws::String m_kendraIndex; bool m_kendraIndexHasBeenSet = false; bool m_queryFilterStringEnabled; bool m_queryFilterStringEnabledHasBeenSet = false; Aws::String m_queryFilterString; bool m_queryFilterStringHasBeenSet = false; }; } // namespace Model } // namespace LexModelsV2 } // namespace Aws