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>
52 inline void SetDefaultValue(
long long value) { m_defaultValueHasBeenSet =
true; m_defaultValue = value; }
64 inline void SetSourceField(
const char* value) { m_sourceFieldHasBeenSet =
true; m_sourceField.assign(value); }
76 inline void SetFacetEnabled(
bool value) { m_facetEnabledHasBeenSet =
true; m_facetEnabled = value; }
86 inline void SetSearchEnabled(
bool value) { m_searchEnabledHasBeenSet =
true; m_searchEnabled = value; }
96 inline void SetReturnEnabled(
bool value) { m_returnEnabledHasBeenSet =
true; m_returnEnabled = value; }
106 inline void SetSortEnabled(
bool value) { m_sortEnabledHasBeenSet =
true; m_sortEnabled = value; }
111 long long m_defaultValue;
112 bool m_defaultValueHasBeenSet =
false;
115 bool m_sourceFieldHasBeenSet =
false;
118 bool m_facetEnabledHasBeenSet =
false;
120 bool m_searchEnabled;
121 bool m_searchEnabledHasBeenSet =
false;
123 bool m_returnEnabled;
124 bool m_returnEnabledHasBeenSet =
false;
127 bool m_sortEnabledHasBeenSet =
false;
bool SourceFieldHasBeenSet() const
AWS_CLOUDSEARCH_API IntOptions(const Aws::Utils::Xml::XmlNode &xmlNode)
IntOptions & WithReturnEnabled(bool value)
bool ReturnEnabledHasBeenSet() const
AWS_CLOUDSEARCH_API void OutputToStream(Aws::OStream &ostream, const char *location, unsigned index, const char *locationValue) const
void SetSourceField(Aws::String &&value)
bool SortEnabledHasBeenSet() const
bool GetSortEnabled() const
IntOptions & WithSourceField(Aws::String &&value)
void SetDefaultValue(long long 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 void OutputToStream(Aws::OStream &oStream, const char *location) const
IntOptions & WithFacetEnabled(bool value)
bool FacetEnabledHasBeenSet() const
IntOptions & WithSourceField(const Aws::String &value)
bool DefaultValueHasBeenSet() const
bool SearchEnabledHasBeenSet() const
bool GetFacetEnabled() const
void SetSearchEnabled(bool value)
void SetReturnEnabled(bool value)
void SetFacetEnabled(bool value)
void SetSourceField(const char *value)
IntOptions & WithSourceField(const char *value)
void SetSourceField(const Aws::String &value)
bool GetReturnEnabled() const
AWS_CLOUDSEARCH_API IntOptions()
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
std::basic_ostream< char, std::char_traits< char > > OStream