7#include <aws/cloudsearch/CloudSearch_EXPORTS.h>
8#include <aws/core/utils/memory/stl/AWSStreamFwd.h>
9#include <aws/core/utils/memory/stl/AWSString.h>
10#include <aws/cloudsearch/model/SuggesterFuzzyMatching.h>
51 inline void SetSourceField(
const char* value) { m_sourceFieldHasBeenSet =
true; m_sourceField.assign(value); }
87 inline void SetSortExpression(
const char* value) { m_sortExpressionHasBeenSet =
true; m_sortExpression.assign(value); }
95 bool m_sourceFieldHasBeenSet =
false;
98 bool m_fuzzyMatchingHasBeenSet =
false;
101 bool m_sortExpressionHasBeenSet =
false;
void SetSortExpression(const Aws::String &value)
void SetSourceField(const Aws::String &value)
AWS_CLOUDSEARCH_API DocumentSuggesterOptions(const Aws::Utils::Xml::XmlNode &xmlNode)
void SetFuzzyMatching(const SuggesterFuzzyMatching &value)
DocumentSuggesterOptions & WithSourceField(const char *value)
DocumentSuggesterOptions & WithSortExpression(const Aws::String &value)
void SetSortExpression(Aws::String &&value)
DocumentSuggesterOptions & WithFuzzyMatching(const SuggesterFuzzyMatching &value)
void SetSourceField(const char *value)
DocumentSuggesterOptions & WithSourceField(Aws::String &&value)
bool SourceFieldHasBeenSet() const
const SuggesterFuzzyMatching & GetFuzzyMatching() const
DocumentSuggesterOptions & WithFuzzyMatching(SuggesterFuzzyMatching &&value)
const Aws::String & GetSourceField() const
bool FuzzyMatchingHasBeenSet() const
void SetSortExpression(const char *value)
DocumentSuggesterOptions & WithSortExpression(const char *value)
AWS_CLOUDSEARCH_API DocumentSuggesterOptions & operator=(const Aws::Utils::Xml::XmlNode &xmlNode)
DocumentSuggesterOptions & WithSortExpression(Aws::String &&value)
void SetSourceField(Aws::String &&value)
const Aws::String & GetSortExpression() const
AWS_CLOUDSEARCH_API void OutputToStream(Aws::OStream &oStream, const char *location) const
AWS_CLOUDSEARCH_API void OutputToStream(Aws::OStream &ostream, const char *location, unsigned index, const char *locationValue) const
DocumentSuggesterOptions & WithSourceField(const Aws::String &value)
void SetFuzzyMatching(SuggesterFuzzyMatching &&value)
AWS_CLOUDSEARCH_API DocumentSuggesterOptions()
bool SortExpressionHasBeenSet() const
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
std::basic_ostream< char, std::char_traits< char > > OStream