7#include <aws/kendra/Kendra_EXPORTS.h>
8#include <aws/core/utils/memory/stl/AWSString.h>
9#include <aws/core/utils/memory/stl/AWSVector.h>
10#include <aws/kendra/model/Correction.h>
48 template<
typename SuggestedQueryTextT = Aws::String>
49 void SetSuggestedQueryText(SuggestedQueryTextT&& value) { m_suggestedQueryTextHasBeenSet =
true; m_suggestedQueryText = std::forward<SuggestedQueryTextT>(value); }
50 template<
typename SuggestedQueryTextT = Aws::String>
60 template<
typename CorrectionsT = Aws::Vector<Correction>>
61 void SetCorrections(CorrectionsT&& value) { m_correctionsHasBeenSet =
true; m_corrections = std::forward<CorrectionsT>(value); }
62 template<
typename CorrectionsT = Aws::Vector<Correction>>
64 template<
typename CorrectionsT = Correction>
70 bool m_suggestedQueryTextHasBeenSet =
false;
73 bool m_correctionsHasBeenSet =
false;
AWS_KENDRA_API SpellCorrectedQuery()=default
AWS_KENDRA_API Aws::Utils::Json::JsonValue Jsonize() const
void SetSuggestedQueryText(SuggestedQueryTextT &&value)
SpellCorrectedQuery & WithSuggestedQueryText(SuggestedQueryTextT &&value)
bool CorrectionsHasBeenSet() const
SpellCorrectedQuery & AddCorrections(CorrectionsT &&value)
AWS_KENDRA_API SpellCorrectedQuery & operator=(Aws::Utils::Json::JsonView jsonValue)
SpellCorrectedQuery & WithCorrections(CorrectionsT &&value)
bool SuggestedQueryTextHasBeenSet() const
void SetCorrections(CorrectionsT &&value)
const Aws::Vector< Correction > & GetCorrections() const
AWS_KENDRA_API SpellCorrectedQuery(Aws::Utils::Json::JsonView jsonValue)
const Aws::String & GetSuggestedQueryText() const
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
std::vector< T, Aws::Allocator< T > > Vector
Aws::Utils::Json::JsonValue JsonValue