/**
* Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
* SPDX-License-Identifier: Apache-2.0.
*/
#pragma once
#include A query with suggested spell corrections. See Also:
AWS
* API Reference
The query with the suggested spell corrections.
*/ inline const Aws::String& GetSuggestedQueryText() const{ return m_suggestedQueryText; } /** *The query with the suggested spell corrections.
*/ inline bool SuggestedQueryTextHasBeenSet() const { return m_suggestedQueryTextHasBeenSet; } /** *The query with the suggested spell corrections.
*/ inline void SetSuggestedQueryText(const Aws::String& value) { m_suggestedQueryTextHasBeenSet = true; m_suggestedQueryText = value; } /** *The query with the suggested spell corrections.
*/ inline void SetSuggestedQueryText(Aws::String&& value) { m_suggestedQueryTextHasBeenSet = true; m_suggestedQueryText = std::move(value); } /** *The query with the suggested spell corrections.
*/ inline void SetSuggestedQueryText(const char* value) { m_suggestedQueryTextHasBeenSet = true; m_suggestedQueryText.assign(value); } /** *The query with the suggested spell corrections.
*/ inline SpellCorrectedQuery& WithSuggestedQueryText(const Aws::String& value) { SetSuggestedQueryText(value); return *this;} /** *The query with the suggested spell corrections.
*/ inline SpellCorrectedQuery& WithSuggestedQueryText(Aws::String&& value) { SetSuggestedQueryText(std::move(value)); return *this;} /** *The query with the suggested spell corrections.
*/ inline SpellCorrectedQuery& WithSuggestedQueryText(const char* value) { SetSuggestedQueryText(value); return *this;} /** *The corrected misspelled word or words in a query.
*/ inline const Aws::VectorThe corrected misspelled word or words in a query.
*/ inline bool CorrectionsHasBeenSet() const { return m_correctionsHasBeenSet; } /** *The corrected misspelled word or words in a query.
*/ inline void SetCorrections(const Aws::VectorThe corrected misspelled word or words in a query.
*/ inline void SetCorrections(Aws::VectorThe corrected misspelled word or words in a query.
*/ inline SpellCorrectedQuery& WithCorrections(const Aws::VectorThe corrected misspelled word or words in a query.
*/ inline SpellCorrectedQuery& WithCorrections(Aws::VectorThe corrected misspelled word or words in a query.
*/ inline SpellCorrectedQuery& AddCorrections(const Correction& value) { m_correctionsHasBeenSet = true; m_corrections.push_back(value); return *this; } /** *The corrected misspelled word or words in a query.
*/ inline SpellCorrectedQuery& AddCorrections(Correction&& value) { m_correctionsHasBeenSet = true; m_corrections.push_back(std::move(value)); return *this; } private: Aws::String m_suggestedQueryText; bool m_suggestedQueryTextHasBeenSet = false; Aws::Vector