7#include <aws/cloudsearchdomain/CloudSearchDomain_EXPORTS.h>
8#include <aws/core/utils/memory/stl/AWSString.h>
9#include <aws/core/utils/memory/stl/AWSMap.h>
10#include <aws/core/utils/memory/stl/AWSVector.h>
23namespace CloudSearchDomain
37 AWS_CLOUDSEARCHDOMAIN_API
Hit();
50 inline void SetId(
Aws::String&& value) { m_idHasBeenSet =
true; m_id = std::move(value); }
51 inline void SetId(
const char* value) { m_idHasBeenSet =
true; m_id.assign(value); }
89 inline Hit&
AddExprs(
const char* key,
Aws::String&& value) { m_exprsHasBeenSet =
true; m_exprs.emplace(key, std::move(value));
return *
this; }
90 inline Hit&
AddExprs(
Aws::String&& key,
const char* value) { m_exprsHasBeenSet =
true; m_exprs.emplace(std::move(key), value);
return *
this; }
91 inline Hit&
AddExprs(
const char* key,
const char* value) { m_exprsHasBeenSet =
true; m_exprs.emplace(key, value);
return *
this; }
108 inline Hit&
AddHighlights(
const char* key,
Aws::String&& value) { m_highlightsHasBeenSet =
true; m_highlights.emplace(key, std::move(value));
return *
this; }
109 inline Hit&
AddHighlights(
Aws::String&& key,
const char* value) { m_highlightsHasBeenSet =
true; m_highlights.emplace(std::move(key), value);
return *
this; }
110 inline Hit&
AddHighlights(
const char* key,
const char* value) { m_highlightsHasBeenSet =
true; m_highlights.emplace(key, value);
return *
this; }
115 bool m_idHasBeenSet =
false;
118 bool m_fieldsHasBeenSet =
false;
121 bool m_exprsHasBeenSet =
false;
124 bool m_highlightsHasBeenSet =
false;
void SetId(Aws::String &&value)
Hit & WithFields(Aws::Map< Aws::String, Aws::Vector< Aws::String > > &&value)
Hit & AddHighlights(const char *key, Aws::String &&value)
Hit & AddHighlights(Aws::String &&key, const char *value)
Hit & AddHighlights(const Aws::String &key, const Aws::String &value)
bool HighlightsHasBeenSet() const
Hit & WithExprs(const Aws::Map< Aws::String, Aws::String > &value)
void SetExprs(const Aws::Map< Aws::String, Aws::String > &value)
const Aws::String & GetId() const
AWS_CLOUDSEARCHDOMAIN_API Hit & operator=(Aws::Utils::Json::JsonView jsonValue)
Hit & AddExprs(const char *key, Aws::String &&value)
Hit & WithHighlights(Aws::Map< Aws::String, Aws::String > &&value)
void SetId(const Aws::String &value)
Hit & AddExprs(Aws::String &&key, const char *value)
AWS_CLOUDSEARCHDOMAIN_API Hit()
Hit & AddFields(const char *key, Aws::Vector< Aws::String > &&value)
Hit & AddHighlights(const Aws::String &key, Aws::String &&value)
Hit & WithExprs(Aws::Map< Aws::String, Aws::String > &&value)
bool ExprsHasBeenSet() const
const Aws::Map< Aws::String, Aws::String > & GetHighlights() const
Hit & AddFields(const char *key, const Aws::Vector< Aws::String > &value)
Hit & AddExprs(Aws::String &&key, const Aws::String &value)
AWS_CLOUDSEARCHDOMAIN_API Aws::Utils::Json::JsonValue Jsonize() const
const Aws::Map< Aws::String, Aws::String > & GetExprs() const
bool FieldsHasBeenSet() const
Hit & AddExprs(const Aws::String &key, const Aws::String &value)
Hit & WithId(const Aws::String &value)
Hit & AddHighlights(const char *key, const char *value)
Hit & AddExprs(Aws::String &&key, Aws::String &&value)
Hit & AddFields(const Aws::String &key, const Aws::Vector< Aws::String > &value)
Hit & WithFields(const Aws::Map< Aws::String, Aws::Vector< Aws::String > > &value)
void SetHighlights(const Aws::Map< Aws::String, Aws::String > &value)
void SetHighlights(Aws::Map< Aws::String, Aws::String > &&value)
Hit & AddHighlights(Aws::String &&key, Aws::String &&value)
void SetFields(Aws::Map< Aws::String, Aws::Vector< Aws::String > > &&value)
Hit & AddFields(const Aws::String &key, Aws::Vector< Aws::String > &&value)
void SetId(const char *value)
Hit & AddFields(Aws::String &&key, Aws::Vector< Aws::String > &&value)
AWS_CLOUDSEARCHDOMAIN_API Hit(Aws::Utils::Json::JsonView jsonValue)
Hit & AddExprs(const Aws::String &key, Aws::String &&value)
Hit & WithId(Aws::String &&value)
void SetExprs(Aws::Map< Aws::String, Aws::String > &&value)
Hit & AddHighlights(Aws::String &&key, const Aws::String &value)
Hit & AddFields(Aws::String &&key, const Aws::Vector< Aws::String > &value)
Hit & WithId(const char *value)
Hit & WithHighlights(const Aws::Map< Aws::String, Aws::String > &value)
void SetFields(const Aws::Map< Aws::String, Aws::Vector< Aws::String > > &value)
const Aws::Map< Aws::String, Aws::Vector< Aws::String > > & GetFields() const
Hit & AddExprs(const char *key, const char *value)
bool IdHasBeenSet() const
std::map< K, V, std::less< K >, Aws::Allocator< std::pair< const K, V > > > Map
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
std::vector< T, Aws::Allocator< T > > Vector
Aws::Utils::Json::JsonValue JsonValue