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 SetFacetEnabled(
bool value) { m_facetEnabledHasBeenSet =
true; m_facetEnabled = value; }
86 inline void SetSearchEnabled(
bool value) { m_searchEnabledHasBeenSet =
true; m_searchEnabled = value; }
96 inline void SetReturnEnabled(
bool value) { m_returnEnabledHasBeenSet =
true; m_returnEnabled = value; }
106 inline void SetSortEnabled(
bool value) { m_sortEnabledHasBeenSet =
true; m_sortEnabled = value; }
112 bool m_defaultValueHasBeenSet =
false;
115 bool m_sourceFieldHasBeenSet =
false;
118 bool m_facetEnabledHasBeenSet =
false;
120 bool m_searchEnabled;
121 bool m_searchEnabledHasBeenSet =
false;
123 bool m_returnEnabled;
124 bool m_returnEnabledHasBeenSet =
false;
127 bool m_sortEnabledHasBeenSet =
false;
LiteralOptions & WithSortEnabled(bool value)
AWS_CLOUDSEARCH_API void OutputToStream(Aws::OStream &ostream, const char *location, unsigned index, const char *locationValue) const
LiteralOptions & WithSourceField(const char *value)
bool GetFacetEnabled() const
bool ReturnEnabledHasBeenSet() const
bool GetSearchEnabled() const
void SetDefaultValue(Aws::String &&value)
void SetSearchEnabled(bool value)
LiteralOptions & WithDefaultValue(Aws::String &&value)
AWS_CLOUDSEARCH_API LiteralOptions()
LiteralOptions & WithDefaultValue(const char *value)
LiteralOptions & WithReturnEnabled(bool value)
void SetReturnEnabled(bool value)
LiteralOptions & WithFacetEnabled(bool value)
void SetSourceField(const char *value)
LiteralOptions & WithSearchEnabled(bool value)
bool GetReturnEnabled() const
LiteralOptions & WithSourceField(Aws::String &&value)
void SetDefaultValue(const char *value)
AWS_CLOUDSEARCH_API void OutputToStream(Aws::OStream &oStream, const char *location) const
AWS_CLOUDSEARCH_API LiteralOptions(const Aws::Utils::Xml::XmlNode &xmlNode)
void SetSourceField(const Aws::String &value)
LiteralOptions & WithDefaultValue(const Aws::String &value)
bool SortEnabledHasBeenSet() const
bool DefaultValueHasBeenSet() const
void SetFacetEnabled(bool value)
void SetDefaultValue(const Aws::String &value)
void SetSourceField(Aws::String &&value)
LiteralOptions & WithSourceField(const Aws::String &value)
bool SearchEnabledHasBeenSet() const
const Aws::String & GetSourceField() const
AWS_CLOUDSEARCH_API LiteralOptions & operator=(const Aws::Utils::Xml::XmlNode &xmlNode)
bool SourceFieldHasBeenSet() const
bool GetSortEnabled() const
void SetSortEnabled(bool value)
const Aws::String & GetDefaultValue() const
bool FacetEnabledHasBeenSet() const
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
std::basic_ostream< char, std::char_traits< char > > OStream