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 {
46 m_defaultValueHasBeenSet =
true;
47 m_defaultValue = value;
61 template <
typename SourceFieldsT = Aws::String>
63 m_sourceFieldsHasBeenSet =
true;
64 m_sourceFields = std::forward<SourceFieldsT>(value);
66 template <
typename SourceFieldsT = Aws::String>
80 m_facetEnabledHasBeenSet =
true;
81 m_facetEnabled = value;
96 m_searchEnabledHasBeenSet =
true;
97 m_searchEnabled = value;
112 m_returnEnabledHasBeenSet =
true;
113 m_returnEnabled = value;
121 double m_defaultValue{0.0};
125 bool m_facetEnabled{
false};
127 bool m_searchEnabled{
false};
129 bool m_returnEnabled{
false};
130 bool m_defaultValueHasBeenSet =
false;
131 bool m_sourceFieldsHasBeenSet =
false;
132 bool m_facetEnabledHasBeenSet =
false;
133 bool m_searchEnabledHasBeenSet =
false;
134 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