7#include <aws/cloudsearchdomain/CloudSearchDomain_EXPORTS.h>
8#include <aws/core/utils/memory/stl/AWSString.h>
19namespace CloudSearchDomain {
42 template <
typename SuggestionT = Aws::String>
44 m_suggestionHasBeenSet =
true;
45 m_suggestion = std::forward<SuggestionT>(value);
47 template <
typename SuggestionT = Aws::String>
58 inline long long GetScore()
const {
return m_score; }
61 m_scoreHasBeenSet =
true;
76 template <
typename IdT = Aws::String>
78 m_idHasBeenSet =
true;
79 m_id = std::forward<IdT>(value);
81 template <
typename IdT = Aws::String>
83 SetId(std::forward<IdT>(value));
93 bool m_suggestionHasBeenSet =
false;
94 bool m_scoreHasBeenSet =
false;
95 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