7#include <aws/cloudsearchdomain/CloudSearchDomain_EXPORTS.h>
8#include <aws/core/utils/memory/stl/AWSString.h>
21namespace CloudSearchDomain
48 template<
typename SuggestionT = Aws::String>
49 void SetSuggestion(SuggestionT&& value) { m_suggestionHasBeenSet =
true; m_suggestion = std::forward<SuggestionT>(value); }
50 template<
typename SuggestionT = Aws::String>
58 inline long long GetScore()
const {
return m_score; }
60 inline void SetScore(
long long value) { m_scoreHasBeenSet =
true; m_score = value; }
70 template<
typename IdT = Aws::String>
71 void SetId(IdT&& value) { m_idHasBeenSet =
true; m_id = std::forward<IdT>(value); }
72 template<
typename IdT = Aws::String>
78 bool m_suggestionHasBeenSet =
false;
81 bool m_scoreHasBeenSet =
false;
84 bool m_idHasBeenSet =
false;
void SetSuggestion(SuggestionT &&value)
const Aws::String & GetSuggestion() const
void SetScore(long long value)
AWS_CLOUDSEARCHDOMAIN_API Aws::Utils::Json::JsonValue Jsonize() const
SuggestionMatch & WithSuggestion(SuggestionT &&value)
bool IdHasBeenSet() const
AWS_CLOUDSEARCHDOMAIN_API SuggestionMatch()=default
bool SuggestionHasBeenSet() const
SuggestionMatch & WithScore(long long value)
SuggestionMatch & WithId(IdT &&value)
long long GetScore() const
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
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue