7#include <aws/cloudsearchdomain/CloudSearchDomain_EXPORTS.h>
8#include <aws/core/utils/memory/stl/AWSString.h>
9#include <aws/core/utils/memory/stl/AWSVector.h>
10#include <aws/cloudsearchdomain/model/SuggestionMatch.h>
23namespace CloudSearchDomain
51 inline void SetQuery(
const char* value) { m_queryHasBeenSet =
true; m_query.assign(value); }
61 inline long long GetFound()
const{
return m_found; }
63 inline void SetFound(
long long value) { m_foundHasBeenSet =
true; m_found = value; }
83 bool m_queryHasBeenSet =
false;
86 bool m_foundHasBeenSet =
false;
89 bool m_suggestionsHasBeenSet =
false;
SuggestModel & WithSuggestions(const Aws::Vector< SuggestionMatch > &value)
void SetSuggestions(const Aws::Vector< SuggestionMatch > &value)
void SetQuery(const Aws::String &value)
SuggestModel & WithQuery(const Aws::String &value)
SuggestModel & WithQuery(const char *value)
const Aws::Vector< SuggestionMatch > & GetSuggestions() const
bool SuggestionsHasBeenSet() const
SuggestModel & WithQuery(Aws::String &&value)
void SetQuery(const char *value)
AWS_CLOUDSEARCHDOMAIN_API Aws::Utils::Json::JsonValue Jsonize() const
SuggestModel & WithSuggestions(Aws::Vector< SuggestionMatch > &&value)
AWS_CLOUDSEARCHDOMAIN_API SuggestModel()
bool FoundHasBeenSet() const
void SetFound(long long value)
bool QueryHasBeenSet() const
SuggestModel & AddSuggestions(SuggestionMatch &&value)
SuggestModel & WithFound(long long value)
AWS_CLOUDSEARCHDOMAIN_API SuggestModel & operator=(Aws::Utils::Json::JsonView jsonValue)
const Aws::String & GetQuery() const
long long GetFound() const
SuggestModel & AddSuggestions(const SuggestionMatch &value)
AWS_CLOUDSEARCHDOMAIN_API SuggestModel(Aws::Utils::Json::JsonView jsonValue)
void SetQuery(Aws::String &&value)
void SetSuggestions(Aws::Vector< SuggestionMatch > &&value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
std::vector< T, Aws::Allocator< T > > Vector
Aws::Utils::Json::JsonValue JsonValue