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>
49 template<
typename SourceFieldT = Aws::String>
50 void SetSourceField(SourceFieldT&& value) { m_sourceFieldHasBeenSet =
true; m_sourceField = std::forward<SourceFieldT>(value); }
51 template<
typename SourceFieldT = Aws::String>
81 template<
typename SortExpressionT = Aws::String>
82 void SetSortExpression(SortExpressionT&& value) { m_sortExpressionHasBeenSet =
true; m_sortExpression = std::forward<SortExpressionT>(value); }
83 template<
typename SortExpressionT = Aws::String>
89 bool m_sourceFieldHasBeenSet =
false;
92 bool m_fuzzyMatchingHasBeenSet =
false;
95 bool m_sortExpressionHasBeenSet =
false;
AWS_CLOUDSEARCH_API DocumentSuggesterOptions(const Aws::Utils::Xml::XmlNode &xmlNode)
AWS_CLOUDSEARCH_API DocumentSuggesterOptions()=default
bool SourceFieldHasBeenSet() const
const Aws::String & GetSourceField() const
bool FuzzyMatchingHasBeenSet() const
DocumentSuggesterOptions & WithSortExpression(SortExpressionT &&value)
AWS_CLOUDSEARCH_API DocumentSuggesterOptions & operator=(const Aws::Utils::Xml::XmlNode &xmlNode)
void SetSortExpression(SortExpressionT &&value)
SuggesterFuzzyMatching GetFuzzyMatching() const
const Aws::String & GetSortExpression() const
void SetFuzzyMatching(SuggesterFuzzyMatching value)
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
void SetSourceField(SourceFieldT &&value)
DocumentSuggesterOptions & WithSourceField(SourceFieldT &&value)
bool SortExpressionHasBeenSet() const
DocumentSuggesterOptions & WithFuzzyMatching(SuggesterFuzzyMatching value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
std::basic_ostream< char, std::char_traits< char > > OStream