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 SetFacetEnabled(
bool value) { m_facetEnabledHasBeenSet =
true; m_facetEnabled = value; }
89 inline void SetSearchEnabled(
bool value) { m_searchEnabledHasBeenSet =
true; m_searchEnabled = value; }
99 inline void SetReturnEnabled(
bool value) { m_returnEnabledHasBeenSet =
true; m_returnEnabled = value; }
105 bool m_defaultValueHasBeenSet =
false;
108 bool m_sourceFieldsHasBeenSet =
false;
111 bool m_facetEnabledHasBeenSet =
false;
113 bool m_searchEnabled;
114 bool m_searchEnabledHasBeenSet =
false;
116 bool m_returnEnabled;
117 bool m_returnEnabledHasBeenSet =
false;
const Aws::String & GetSourceFields() const
LiteralArrayOptions & WithDefaultValue(const char *value)
AWS_CLOUDSEARCH_API LiteralArrayOptions & operator=(const Aws::Utils::Xml::XmlNode &xmlNode)
bool GetFacetEnabled() const
LiteralArrayOptions & WithDefaultValue(const Aws::String &value)
bool GetSearchEnabled() const
AWS_CLOUDSEARCH_API LiteralArrayOptions(const Aws::Utils::Xml::XmlNode &xmlNode)
bool DefaultValueHasBeenSet() const
bool SourceFieldsHasBeenSet() const
LiteralArrayOptions & WithSourceFields(const Aws::String &value)
AWS_CLOUDSEARCH_API void OutputToStream(Aws::OStream &ostream, const char *location, unsigned index, const char *locationValue) const
LiteralArrayOptions & WithDefaultValue(Aws::String &&value)
LiteralArrayOptions & WithSourceFields(const char *value)
bool FacetEnabledHasBeenSet() const
void SetSourceFields(const char *value)
void SetDefaultValue(const Aws::String &value)
const Aws::String & GetDefaultValue() const
bool GetReturnEnabled() const
LiteralArrayOptions & WithSearchEnabled(bool value)
void SetSearchEnabled(bool value)
void SetSourceFields(const Aws::String &value)
void SetFacetEnabled(bool value)
void SetSourceFields(Aws::String &&value)
bool ReturnEnabledHasBeenSet() const
void SetReturnEnabled(bool value)
LiteralArrayOptions & WithReturnEnabled(bool value)
AWS_CLOUDSEARCH_API LiteralArrayOptions()
bool SearchEnabledHasBeenSet() const
LiteralArrayOptions & WithSourceFields(Aws::String &&value)
AWS_CLOUDSEARCH_API void OutputToStream(Aws::OStream &oStream, const char *location) const
void SetDefaultValue(Aws::String &&value)
void SetDefaultValue(const char *value)
LiteralArrayOptions & WithFacetEnabled(bool value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
std::basic_ostream< char, std::char_traits< char > > OStream