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>
53 inline void SetDefaultValue(
const char* value) { m_defaultValueHasBeenSet =
true; m_defaultValue.assign(value); }
67 inline void SetSourceFields(
const char* value) { m_sourceFieldsHasBeenSet =
true; m_sourceFields.assign(value); }
79 inline void SetReturnEnabled(
bool value) { m_returnEnabledHasBeenSet =
true; m_returnEnabled = value; }
89 inline void SetHighlightEnabled(
bool value) { m_highlightEnabledHasBeenSet =
true; m_highlightEnabled = value; }
101 inline void SetAnalysisScheme(
const char* value) { m_analysisSchemeHasBeenSet =
true; m_analysisScheme.assign(value); }
109 bool m_defaultValueHasBeenSet =
false;
112 bool m_sourceFieldsHasBeenSet =
false;
114 bool m_returnEnabled;
115 bool m_returnEnabledHasBeenSet =
false;
117 bool m_highlightEnabled;
118 bool m_highlightEnabledHasBeenSet =
false;
121 bool m_analysisSchemeHasBeenSet =
false;
void SetAnalysisScheme(const Aws::String &value)
void SetSourceFields(const char *value)
bool ReturnEnabledHasBeenSet() const
TextArrayOptions & WithSourceFields(Aws::String &&value)
TextArrayOptions & WithReturnEnabled(bool value)
TextArrayOptions & WithDefaultValue(Aws::String &&value)
AWS_CLOUDSEARCH_API TextArrayOptions(const Aws::Utils::Xml::XmlNode &xmlNode)
void SetDefaultValue(const char *value)
void SetAnalysisScheme(const char *value)
void SetDefaultValue(Aws::String &&value)
TextArrayOptions & WithSourceFields(const Aws::String &value)
bool GetReturnEnabled() const
AWS_CLOUDSEARCH_API void OutputToStream(Aws::OStream &ostream, const char *location, unsigned index, const char *locationValue) const
void SetSourceFields(const Aws::String &value)
void SetReturnEnabled(bool value)
void SetDefaultValue(const Aws::String &value)
const Aws::String & GetSourceFields() const
TextArrayOptions & WithAnalysisScheme(const Aws::String &value)
TextArrayOptions & WithSourceFields(const char *value)
AWS_CLOUDSEARCH_API void OutputToStream(Aws::OStream &oStream, const char *location) const
const Aws::String & GetDefaultValue() const
bool GetHighlightEnabled() const
TextArrayOptions & WithDefaultValue(const Aws::String &value)
AWS_CLOUDSEARCH_API TextArrayOptions()
void SetAnalysisScheme(Aws::String &&value)
void SetSourceFields(Aws::String &&value)
TextArrayOptions & WithHighlightEnabled(bool value)
bool AnalysisSchemeHasBeenSet() const
bool SourceFieldsHasBeenSet() const
bool DefaultValueHasBeenSet() const
TextArrayOptions & WithAnalysisScheme(const char *value)
TextArrayOptions & WithAnalysisScheme(Aws::String &&value)
const Aws::String & GetAnalysisScheme() const
bool HighlightEnabledHasBeenSet() const
TextArrayOptions & WithDefaultValue(const char *value)
void SetHighlightEnabled(bool value)
AWS_CLOUDSEARCH_API TextArrayOptions & operator=(const Aws::Utils::Xml::XmlNode &xmlNode)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
std::basic_ostream< char, std::char_traits< char > > OStream