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); }
65 inline void SetSourceField(
const char* value) { m_sourceFieldHasBeenSet =
true; m_sourceField.assign(value); }
77 inline void SetFacetEnabled(
bool value) { m_facetEnabledHasBeenSet =
true; m_facetEnabled = value; }
87 inline void SetSearchEnabled(
bool value) { m_searchEnabledHasBeenSet =
true; m_searchEnabled = value; }
97 inline void SetReturnEnabled(
bool value) { m_returnEnabledHasBeenSet =
true; m_returnEnabled = value; }
107 inline void SetSortEnabled(
bool value) { m_sortEnabledHasBeenSet =
true; m_sortEnabled = value; }
113 bool m_defaultValueHasBeenSet =
false;
116 bool m_sourceFieldHasBeenSet =
false;
119 bool m_facetEnabledHasBeenSet =
false;
121 bool m_searchEnabled;
122 bool m_searchEnabledHasBeenSet =
false;
124 bool m_returnEnabled;
125 bool m_returnEnabledHasBeenSet =
false;
128 bool m_sortEnabledHasBeenSet =
false;
DateOptions & WithFacetEnabled(bool value)
DateOptions & WithSourceField(const Aws::String &value)
DateOptions & WithSourceField(const char *value)
void SetFacetEnabled(bool value)
bool SourceFieldHasBeenSet() const
void SetReturnEnabled(bool value)
void SetSortEnabled(bool value)
bool GetReturnEnabled() const
bool ReturnEnabledHasBeenSet() const
DateOptions & WithDefaultValue(Aws::String &&value)
bool GetSortEnabled() const
AWS_CLOUDSEARCH_API void OutputToStream(Aws::OStream &ostream, const char *location, unsigned index, const char *locationValue) const
bool FacetEnabledHasBeenSet() const
void SetSearchEnabled(bool value)
bool SearchEnabledHasBeenSet() const
const Aws::String & GetDefaultValue() const
void SetDefaultValue(const char *value)
const Aws::String & GetSourceField() const
AWS_CLOUDSEARCH_API DateOptions(const Aws::Utils::Xml::XmlNode &xmlNode)
void SetDefaultValue(const Aws::String &value)
DateOptions & WithSourceField(Aws::String &&value)
bool SortEnabledHasBeenSet() const
DateOptions & WithReturnEnabled(bool value)
DateOptions & WithDefaultValue(const Aws::String &value)
void SetSourceField(const Aws::String &value)
bool GetSearchEnabled() const
void SetDefaultValue(Aws::String &&value)
DateOptions & WithDefaultValue(const char *value)
AWS_CLOUDSEARCH_API DateOptions()
AWS_CLOUDSEARCH_API void OutputToStream(Aws::OStream &oStream, const char *location) const
DateOptions & WithSearchEnabled(bool value)
bool DefaultValueHasBeenSet() const
void SetSourceField(const char *value)
bool GetFacetEnabled() const
void SetSourceField(Aws::String &&value)
DateOptions & WithSortEnabled(bool value)
AWS_CLOUDSEARCH_API DateOptions & 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