7#include <aws/cloudsearch/CloudSearch_EXPORTS.h>
8#include <aws/cloudsearch/model/SuggesterFuzzyMatching.h>
9#include <aws/core/utils/memory/stl/AWSStreamFwd.h>
10#include <aws/core/utils/memory/stl/AWSString.h>
20namespace CloudSearch {
43 template <
typename SourceFieldT = Aws::String>
45 m_sourceFieldHasBeenSet =
true;
46 m_sourceField = std::forward<SourceFieldT>(value);
48 template <
typename SourceFieldT = Aws::String>
66 m_fuzzyMatchingHasBeenSet =
true;
67 m_fuzzyMatching = value;
87 template <
typename SortExpressionT = Aws::String>
89 m_sortExpressionHasBeenSet =
true;
90 m_sortExpression = std::forward<SortExpressionT>(value);
92 template <
typename SortExpressionT = Aws::String>
104 bool m_sourceFieldHasBeenSet =
false;
105 bool m_fuzzyMatchingHasBeenSet =
false;
106 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