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>
52 inline void SetDefaultValue(
const char* value) { m_defaultValueHasBeenSet =
true; m_defaultValue.assign(value); }
64 inline void SetSourceField(
const char* value) { m_sourceFieldHasBeenSet =
true; m_sourceField.assign(value); }
76 inline void SetReturnEnabled(
bool value) { m_returnEnabledHasBeenSet =
true; m_returnEnabled = value; }
86 inline void SetSortEnabled(
bool value) { m_sortEnabledHasBeenSet =
true; m_sortEnabled = value; }
96 inline void SetHighlightEnabled(
bool value) { m_highlightEnabledHasBeenSet =
true; m_highlightEnabled = value; }
108 inline void SetAnalysisScheme(
const char* value) { m_analysisSchemeHasBeenSet =
true; m_analysisScheme.assign(value); }
116 bool m_defaultValueHasBeenSet =
false;
119 bool m_sourceFieldHasBeenSet =
false;
121 bool m_returnEnabled;
122 bool m_returnEnabledHasBeenSet =
false;
125 bool m_sortEnabledHasBeenSet =
false;
127 bool m_highlightEnabled;
128 bool m_highlightEnabledHasBeenSet =
false;
131 bool m_analysisSchemeHasBeenSet =
false;
void SetSourceField(const char *value)
AWS_CLOUDSEARCH_API TextOptions(const Aws::Utils::Xml::XmlNode &xmlNode)
TextOptions & WithSourceField(const char *value)
const Aws::String & GetDefaultValue() const
TextOptions & WithDefaultValue(Aws::String &&value)
TextOptions & WithSortEnabled(bool value)
TextOptions & WithAnalysisScheme(Aws::String &&value)
void SetDefaultValue(Aws::String &&value)
bool GetSortEnabled() const
TextOptions & WithDefaultValue(const char *value)
AWS_CLOUDSEARCH_API TextOptions & operator=(const Aws::Utils::Xml::XmlNode &xmlNode)
bool SourceFieldHasBeenSet() const
bool GetHighlightEnabled() const
void SetAnalysisScheme(const char *value)
bool GetReturnEnabled() const
bool DefaultValueHasBeenSet() const
void SetDefaultValue(const char *value)
const Aws::String & GetAnalysisScheme() const
bool ReturnEnabledHasBeenSet() const
TextOptions & WithDefaultValue(const Aws::String &value)
void SetAnalysisScheme(const Aws::String &value)
void SetSourceField(const Aws::String &value)
void SetReturnEnabled(bool value)
void SetSortEnabled(bool value)
void SetHighlightEnabled(bool value)
const Aws::String & GetSourceField() const
TextOptions & WithAnalysisScheme(const Aws::String &value)
TextOptions & WithHighlightEnabled(bool value)
TextOptions & WithAnalysisScheme(const char *value)
bool SortEnabledHasBeenSet() const
AWS_CLOUDSEARCH_API void OutputToStream(Aws::OStream &oStream, const char *location) const
AWS_CLOUDSEARCH_API TextOptions()
void SetSourceField(Aws::String &&value)
void SetAnalysisScheme(Aws::String &&value)
bool AnalysisSchemeHasBeenSet() const
AWS_CLOUDSEARCH_API void OutputToStream(Aws::OStream &ostream, const char *location, unsigned index, const char *locationValue) const
TextOptions & WithSourceField(const Aws::String &value)
TextOptions & WithSourceField(Aws::String &&value)
bool HighlightEnabledHasBeenSet() const
void SetDefaultValue(const Aws::String &value)
TextOptions & WithReturnEnabled(bool value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
std::basic_ostream< char, std::char_traits< char > > OStream