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; }
63 inline void SetSourceFields(
const char* value) { m_sourceFieldsHasBeenSet =
true; m_sourceFields.assign(value); }
75 inline void SetFacetEnabled(
bool value) { m_facetEnabledHasBeenSet =
true; m_facetEnabled = value; }
85 inline void SetSearchEnabled(
bool value) { m_searchEnabledHasBeenSet =
true; m_searchEnabled = value; }
95 inline void SetReturnEnabled(
bool value) { m_returnEnabledHasBeenSet =
true; m_returnEnabled = value; }
100 double m_defaultValue;
101 bool m_defaultValueHasBeenSet =
false;
104 bool m_sourceFieldsHasBeenSet =
false;
107 bool m_facetEnabledHasBeenSet =
false;
109 bool m_searchEnabled;
110 bool m_searchEnabledHasBeenSet =
false;
112 bool m_returnEnabled;
113 bool m_returnEnabledHasBeenSet =
false;
DoubleArrayOptions & WithDefaultValue(double value)
void SetFacetEnabled(bool value)
DoubleArrayOptions & WithSourceFields(const char *value)
bool SearchEnabledHasBeenSet() const
bool GetFacetEnabled() const
DoubleArrayOptions & WithSearchEnabled(bool value)
bool SourceFieldsHasBeenSet() const
bool ReturnEnabledHasBeenSet() const
bool GetSearchEnabled() const
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 SetSourceFields(const char *value)
void SetDefaultValue(double value)
const Aws::String & GetSourceFields() const
void SetSourceFields(const Aws::String &value)
DoubleArrayOptions & WithSourceFields(const Aws::String &value)
bool DefaultValueHasBeenSet() const
DoubleArrayOptions & WithSourceFields(Aws::String &&value)
void SetSearchEnabled(bool value)
double GetDefaultValue() const
bool FacetEnabledHasBeenSet() const
AWS_CLOUDSEARCH_API DoubleArrayOptions()
AWS_CLOUDSEARCH_API DoubleArrayOptions(const Aws::Utils::Xml::XmlNode &xmlNode)
bool GetReturnEnabled() const
void SetSourceFields(Aws::String &&value)
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