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 long long m_defaultValue{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;
bool SourceFieldHasBeenSet() const
AWS_CLOUDSEARCH_API IntOptions(const Aws::Utils::Xml::XmlNode &xmlNode)
IntOptions & WithSourceField(SourceFieldT &&value)
IntOptions & WithReturnEnabled(bool value)
bool ReturnEnabledHasBeenSet() const
AWS_CLOUDSEARCH_API void OutputToStream(Aws::OStream &ostream, const char *location, unsigned index, const char *locationValue) const
bool SortEnabledHasBeenSet() const
bool GetSortEnabled() const
void SetDefaultValue(long long value)
void SetSourceField(SourceFieldT &&value)
long long GetDefaultValue() const
IntOptions & WithSortEnabled(bool value)
IntOptions & WithDefaultValue(long long value)
const Aws::String & GetSourceField() const
void SetSortEnabled(bool value)
bool GetSearchEnabled() const
IntOptions & WithSearchEnabled(bool value)
AWS_CLOUDSEARCH_API IntOptions & operator=(const Aws::Utils::Xml::XmlNode &xmlNode)
AWS_CLOUDSEARCH_API IntOptions()=default
AWS_CLOUDSEARCH_API void OutputToStream(Aws::OStream &oStream, const char *location) const
IntOptions & WithFacetEnabled(bool value)
bool FacetEnabledHasBeenSet() const
bool DefaultValueHasBeenSet() const
bool SearchEnabledHasBeenSet() const
bool GetFacetEnabled() const
void SetSearchEnabled(bool value)
void SetReturnEnabled(bool value)
void SetFacetEnabled(bool value)
bool GetReturnEnabled() const
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
std::basic_ostream< char, std::char_traits< char > > OStream