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 long long m_defaultValue{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;
AWS_CLOUDSEARCH_API IntArrayOptions & operator=(const Aws::Utils::Xml::XmlNode &xmlNode)
IntArrayOptions & WithReturnEnabled(bool value)
IntArrayOptions & WithFacetEnabled(bool value)
IntArrayOptions & WithSearchEnabled(bool value)
AWS_CLOUDSEARCH_API IntArrayOptions(const Aws::Utils::Xml::XmlNode &xmlNode)
IntArrayOptions & WithSourceFields(SourceFieldsT &&value)
long long GetDefaultValue() const
bool SourceFieldsHasBeenSet() const
void SetReturnEnabled(bool value)
void SetSearchEnabled(bool value)
bool GetFacetEnabled() const
const Aws::String & GetSourceFields() const
bool ReturnEnabledHasBeenSet() const
bool SearchEnabledHasBeenSet() const
void SetFacetEnabled(bool value)
AWS_CLOUDSEARCH_API IntArrayOptions()=default
bool GetReturnEnabled() const
bool DefaultValueHasBeenSet() const
void SetDefaultValue(long long value)
void SetSourceFields(SourceFieldsT &&value)
bool GetSearchEnabled() const
IntArrayOptions & WithDefaultValue(long long value)
AWS_CLOUDSEARCH_API void OutputToStream(Aws::OStream &ostream, const char *location, unsigned index, const char *locationValue) const
bool FacetEnabledHasBeenSet() const
AWS_CLOUDSEARCH_API void OutputToStream(Aws::OStream &oStream, const char *location) const
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
std::basic_ostream< char, std::char_traits< char > > OStream