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>
51 template<
typename DefaultValueT = Aws::String>
52 void SetDefaultValue(DefaultValueT&& value) { m_defaultValueHasBeenSet =
true; m_defaultValue = std::forward<DefaultValueT>(value); }
53 template<
typename DefaultValueT = Aws::String>
61 template<
typename SourceFieldT = Aws::String>
62 void SetSourceField(SourceFieldT&& value) { m_sourceFieldHasBeenSet =
true; m_sourceField = std::forward<SourceFieldT>(value); }
63 template<
typename SourceFieldT = Aws::String>
73 inline void SetFacetEnabled(
bool value) { m_facetEnabledHasBeenSet =
true; m_facetEnabled = value; }
83 inline void SetSearchEnabled(
bool value) { m_searchEnabledHasBeenSet =
true; m_searchEnabled = value; }
93 inline void SetReturnEnabled(
bool value) { m_returnEnabledHasBeenSet =
true; m_returnEnabled = value; }
103 inline void SetSortEnabled(
bool value) { m_sortEnabledHasBeenSet =
true; m_sortEnabled = value; }
109 bool m_defaultValueHasBeenSet =
false;
112 bool m_sourceFieldHasBeenSet =
false;
114 bool m_facetEnabled{
false};
115 bool m_facetEnabledHasBeenSet =
false;
117 bool m_searchEnabled{
false};
118 bool m_searchEnabledHasBeenSet =
false;
120 bool m_returnEnabled{
false};
121 bool m_returnEnabledHasBeenSet =
false;
123 bool m_sortEnabled{
false};
124 bool m_sortEnabledHasBeenSet =
false;
DateOptions & WithFacetEnabled(bool value)
void SetFacetEnabled(bool value)
bool SourceFieldHasBeenSet() const
void SetReturnEnabled(bool value)
void SetSortEnabled(bool value)
bool GetReturnEnabled() const
bool ReturnEnabledHasBeenSet() const
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)
void SetSourceField(SourceFieldT &&value)
bool SearchEnabledHasBeenSet() const
const Aws::String & GetDefaultValue() const
DateOptions & WithDefaultValue(DefaultValueT &&value)
const Aws::String & GetSourceField() const
AWS_CLOUDSEARCH_API DateOptions(const Aws::Utils::Xml::XmlNode &xmlNode)
void SetDefaultValue(DefaultValueT &&value)
DateOptions & WithSourceField(SourceFieldT &&value)
bool SortEnabledHasBeenSet() const
DateOptions & WithReturnEnabled(bool value)
bool GetSearchEnabled() const
AWS_CLOUDSEARCH_API void OutputToStream(Aws::OStream &oStream, const char *location) const
DateOptions & WithSearchEnabled(bool value)
bool DefaultValueHasBeenSet() const
bool GetFacetEnabled() const
DateOptions & WithSortEnabled(bool value)
AWS_CLOUDSEARCH_API DateOptions & operator=(const Aws::Utils::Xml::XmlNode &xmlNode)
AWS_CLOUDSEARCH_API DateOptions()=default
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
std::basic_ostream< char, std::char_traits< char > > OStream