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; }
62 template<
typename SourceFieldT = Aws::String>
63 void SetSourceField(SourceFieldT&& value) { m_sourceFieldHasBeenSet =
true; m_sourceField = std::forward<SourceFieldT>(value); }
64 template<
typename SourceFieldT = Aws::String>
74 inline void SetFacetEnabled(
bool value) { m_facetEnabledHasBeenSet =
true; m_facetEnabled = value; }
84 inline void SetSearchEnabled(
bool value) { m_searchEnabledHasBeenSet =
true; m_searchEnabled = value; }
94 inline void SetReturnEnabled(
bool value) { m_returnEnabledHasBeenSet =
true; m_returnEnabled = value; }
104 inline void SetSortEnabled(
bool value) { m_sortEnabledHasBeenSet =
true; m_sortEnabled = value; }
109 long long m_defaultValue{0};
110 bool m_defaultValueHasBeenSet =
false;
113 bool m_sourceFieldHasBeenSet =
false;
115 bool m_facetEnabled{
false};
116 bool m_facetEnabledHasBeenSet =
false;
118 bool m_searchEnabled{
false};
119 bool m_searchEnabledHasBeenSet =
false;
121 bool m_returnEnabled{
false};
122 bool m_returnEnabledHasBeenSet =
false;
124 bool m_sortEnabled{
false};
125 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