7#include <aws/cloudsearchdomain/CloudSearchDomain_EXPORTS.h>
8#include <aws/core/utils/memory/stl/AWSString.h>
21namespace CloudSearchDomain
50 inline void SetSuggestion(
const char* value) { m_suggestionHasBeenSet =
true; m_suggestion.assign(value); }
60 inline long long GetScore()
const{
return m_score; }
62 inline void SetScore(
long long value) { m_scoreHasBeenSet =
true; m_score = value; }
73 inline void SetId(
Aws::String&& value) { m_idHasBeenSet =
true; m_id = std::move(value); }
74 inline void SetId(
const char* value) { m_idHasBeenSet =
true; m_id.assign(value); }
82 bool m_suggestionHasBeenSet =
false;
85 bool m_scoreHasBeenSet =
false;
88 bool m_idHasBeenSet =
false;
void SetSuggestion(const Aws::String &value)
SuggestionMatch & WithSuggestion(Aws::String &&value)
SuggestionMatch & WithId(const char *value)
void SetSuggestion(Aws::String &&value)
const Aws::String & GetSuggestion() const
SuggestionMatch & WithSuggestion(const Aws::String &value)
void SetId(Aws::String &&value)
void SetScore(long long value)
AWS_CLOUDSEARCHDOMAIN_API SuggestionMatch()
void SetSuggestion(const char *value)
AWS_CLOUDSEARCHDOMAIN_API Aws::Utils::Json::JsonValue Jsonize() const
SuggestionMatch & WithId(Aws::String &&value)
void SetId(const char *value)
void SetId(const Aws::String &value)
bool IdHasBeenSet() const
bool SuggestionHasBeenSet() const
SuggestionMatch & WithScore(long long value)
long long GetScore() const
SuggestionMatch & WithSuggestion(const char *value)
AWS_CLOUDSEARCHDOMAIN_API SuggestionMatch(Aws::Utils::Json::JsonView jsonValue)
bool ScoreHasBeenSet() const
AWS_CLOUDSEARCHDOMAIN_API SuggestionMatch & operator=(Aws::Utils::Json::JsonView jsonValue)
const Aws::String & GetId() const
SuggestionMatch & WithId(const Aws::String &value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue