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 inline void SetDefaultValue(
double value) { m_defaultValueHasBeenSet =
true; m_defaultValue = value; }
61 template<
typename SourceFieldsT = Aws::String>
62 void SetSourceFields(SourceFieldsT&& value) { m_sourceFieldsHasBeenSet =
true; m_sourceFields = std::forward<SourceFieldsT>(value); }
63 template<
typename SourceFieldsT = 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; }
98 double m_defaultValue{0.0};
99 bool m_defaultValueHasBeenSet =
false;
102 bool m_sourceFieldsHasBeenSet =
false;
104 bool m_facetEnabled{
false};
105 bool m_facetEnabledHasBeenSet =
false;
107 bool m_searchEnabled{
false};
108 bool m_searchEnabledHasBeenSet =
false;
110 bool m_returnEnabled{
false};
111 bool m_returnEnabledHasBeenSet =
false;
DoubleArrayOptions & WithDefaultValue(double value)
void SetFacetEnabled(bool value)
bool SearchEnabledHasBeenSet() const
bool GetFacetEnabled() const
void SetSourceFields(SourceFieldsT &&value)
DoubleArrayOptions & WithSourceFields(SourceFieldsT &&value)
DoubleArrayOptions & WithSearchEnabled(bool value)
bool SourceFieldsHasBeenSet() const
bool ReturnEnabledHasBeenSet() const
bool GetSearchEnabled() const
AWS_CLOUDSEARCH_API DoubleArrayOptions()=default
DoubleArrayOptions & WithFacetEnabled(bool value)
AWS_CLOUDSEARCH_API void OutputToStream(Aws::OStream &oStream, const char *location) const
DoubleArrayOptions & WithReturnEnabled(bool value)
AWS_CLOUDSEARCH_API void OutputToStream(Aws::OStream &ostream, const char *location, unsigned index, const char *locationValue) const
void SetReturnEnabled(bool value)
void SetDefaultValue(double value)
const Aws::String & GetSourceFields() const
bool DefaultValueHasBeenSet() const
void SetSearchEnabled(bool value)
double GetDefaultValue() const
bool FacetEnabledHasBeenSet() const
AWS_CLOUDSEARCH_API DoubleArrayOptions(const Aws::Utils::Xml::XmlNode &xmlNode)
bool GetReturnEnabled() const
AWS_CLOUDSEARCH_API DoubleArrayOptions & 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