7#include <aws/cloudsearchdomain/CloudSearchDomain_EXPORTS.h>
8#include <aws/cloudsearchdomain/model/SuggestionMatch.h>
9#include <aws/core/utils/memory/stl/AWSString.h>
10#include <aws/core/utils/memory/stl/AWSVector.h>
21namespace CloudSearchDomain {
43 template <
typename QueryT = Aws::String>
45 m_queryHasBeenSet =
true;
46 m_query = std::forward<QueryT>(value);
48 template <
typename QueryT = Aws::String>
50 SetQuery(std::forward<QueryT>(value));
59 inline long long GetFound()
const {
return m_found; }
62 m_foundHasBeenSet =
true;
77 template <
typename SuggestionsT = Aws::Vector<SuggestionMatch>>
79 m_suggestionsHasBeenSet =
true;
80 m_suggestions = std::forward<SuggestionsT>(value);
82 template <
typename SuggestionsT = Aws::Vector<SuggestionMatch>>
87 template <
typename SuggestionsT = SuggestionMatch>
89 m_suggestionsHasBeenSet =
true;
90 m_suggestions.emplace_back(std::forward<SuggestionsT>(value));
100 bool m_queryHasBeenSet =
false;
101 bool m_foundHasBeenSet =
false;
102 bool m_suggestionsHasBeenSet =
false;
const Aws::Vector< SuggestionMatch > & GetSuggestions() const
void SetQuery(QueryT &&value)
bool SuggestionsHasBeenSet() const
SuggestModel & WithSuggestions(SuggestionsT &&value)
AWS_CLOUDSEARCHDOMAIN_API Aws::Utils::Json::JsonValue Jsonize() const
bool FoundHasBeenSet() const
SuggestModel & WithQuery(QueryT &&value)
void SetFound(long long value)
bool QueryHasBeenSet() const
SuggestModel & WithFound(long long value)
void SetSuggestions(SuggestionsT &&value)
SuggestModel & AddSuggestions(SuggestionsT &&value)
AWS_CLOUDSEARCHDOMAIN_API SuggestModel & operator=(Aws::Utils::Json::JsonView jsonValue)
const Aws::String & GetQuery() const
long long GetFound() const
AWS_CLOUDSEARCHDOMAIN_API SuggestModel()=default
AWS_CLOUDSEARCHDOMAIN_API SuggestModel(Aws::Utils::Json::JsonView jsonValue)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
std::vector< T, Aws::Allocator< T > > Vector
Aws::Utils::Json::JsonValue JsonValue