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>
19namespace CloudSearch {
47 m_defaultValueHasBeenSet =
true;
48 m_defaultValue = value;
62 template <
typename SourceFieldT = Aws::String>
64 m_sourceFieldHasBeenSet =
true;
65 m_sourceField = std::forward<SourceFieldT>(value);
67 template <
typename SourceFieldT = Aws::String>
81 m_facetEnabledHasBeenSet =
true;
82 m_facetEnabled = value;
97 m_searchEnabledHasBeenSet =
true;
98 m_searchEnabled = value;
113 m_returnEnabledHasBeenSet =
true;
114 m_returnEnabled = value;
129 m_sortEnabledHasBeenSet =
true;
130 m_sortEnabled = value;
138 double m_defaultValue{0.0};
142 bool m_facetEnabled{
false};
144 bool m_searchEnabled{
false};
146 bool m_returnEnabled{
false};
148 bool m_sortEnabled{
false};
149 bool m_defaultValueHasBeenSet =
false;
150 bool m_sourceFieldHasBeenSet =
false;
151 bool m_facetEnabledHasBeenSet =
false;
152 bool m_searchEnabledHasBeenSet =
false;
153 bool m_returnEnabledHasBeenSet =
false;
154 bool m_sortEnabledHasBeenSet =
false;
AWS_CLOUDSEARCH_API DoubleOptions & operator=(const Aws::Utils::Xml::XmlNode &xmlNode)
bool SortEnabledHasBeenSet() const
bool DefaultValueHasBeenSet() const
DoubleOptions & WithFacetEnabled(bool value)
AWS_CLOUDSEARCH_API void OutputToStream(Aws::OStream &oStream, const char *location) const
AWS_CLOUDSEARCH_API DoubleOptions(const Aws::Utils::Xml::XmlNode &xmlNode)
double GetDefaultValue() const
void SetReturnEnabled(bool value)
DoubleOptions & WithSearchEnabled(bool value)
DoubleOptions & WithSortEnabled(bool value)
bool ReturnEnabledHasBeenSet() const
void SetDefaultValue(double value)
bool SearchEnabledHasBeenSet() const
void SetSortEnabled(bool value)
bool GetFacetEnabled() const
AWS_CLOUDSEARCH_API void OutputToStream(Aws::OStream &ostream, const char *location, unsigned index, const char *locationValue) const
bool GetReturnEnabled() const
bool GetSearchEnabled() const
bool SourceFieldHasBeenSet() const
DoubleOptions & WithDefaultValue(double value)
DoubleOptions & WithReturnEnabled(bool value)
void SetFacetEnabled(bool value)
bool FacetEnabledHasBeenSet() const
bool GetSortEnabled() const
void SetSearchEnabled(bool value)
AWS_CLOUDSEARCH_API DoubleOptions()=default
const Aws::String & GetSourceField() const
void SetSourceField(SourceFieldT &&value)
DoubleOptions & WithSourceField(SourceFieldT &&value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
std::basic_ostream< char, std::char_traits< char > > OStream