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>
51 template<
typename DefaultValueT = Aws::String>
52 void SetDefaultValue(DefaultValueT&& value) { m_defaultValueHasBeenSet =
true; m_defaultValue = std::forward<DefaultValueT>(value); }
53 template<
typename DefaultValueT = Aws::String>
61 template<
typename SourceFieldT = Aws::String>
62 void SetSourceField(SourceFieldT&& value) { m_sourceFieldHasBeenSet =
true; m_sourceField = std::forward<SourceFieldT>(value); }
63 template<
typename SourceFieldT = Aws::String>
73 inline void SetFacetEnabled(
bool value) { m_facetEnabledHasBeenSet =
true; m_facetEnabled = value; }
83 inline void SetSearchEnabled(
bool value) { m_searchEnabledHasBeenSet =
true; m_searchEnabled = value; }
93 inline void SetReturnEnabled(
bool value) { m_returnEnabledHasBeenSet =
true; m_returnEnabled = value; }
103 inline void SetSortEnabled(
bool value) { m_sortEnabledHasBeenSet =
true; m_sortEnabled = value; }
109 bool m_defaultValueHasBeenSet =
false;
112 bool m_sourceFieldHasBeenSet =
false;
114 bool m_facetEnabled{
false};
115 bool m_facetEnabledHasBeenSet =
false;
117 bool m_searchEnabled{
false};
118 bool m_searchEnabledHasBeenSet =
false;
120 bool m_returnEnabled{
false};
121 bool m_returnEnabledHasBeenSet =
false;
123 bool m_sortEnabled{
false};
124 bool m_sortEnabledHasBeenSet =
false;
bool GetSearchEnabled() const
bool SearchEnabledHasBeenSet() const
bool GetReturnEnabled() const
LatLonOptions & WithReturnEnabled(bool value)
const Aws::String & GetSourceField() const
void SetSearchEnabled(bool value)
AWS_CLOUDSEARCH_API LatLonOptions()=default
bool FacetEnabledHasBeenSet() const
LatLonOptions & WithSearchEnabled(bool value)
const Aws::String & GetDefaultValue() const
LatLonOptions & WithDefaultValue(DefaultValueT &&value)
bool ReturnEnabledHasBeenSet() const
bool SortEnabledHasBeenSet() const
bool GetFacetEnabled() const
bool GetSortEnabled() const
void SetFacetEnabled(bool value)
AWS_CLOUDSEARCH_API void OutputToStream(Aws::OStream &ostream, const char *location, unsigned index, const char *locationValue) const
bool SourceFieldHasBeenSet() const
void SetSortEnabled(bool value)
AWS_CLOUDSEARCH_API LatLonOptions & operator=(const Aws::Utils::Xml::XmlNode &xmlNode)
void SetSourceField(SourceFieldT &&value)
void SetReturnEnabled(bool value)
LatLonOptions & WithSourceField(SourceFieldT &&value)
bool DefaultValueHasBeenSet() const
AWS_CLOUDSEARCH_API void OutputToStream(Aws::OStream &oStream, const char *location) const
LatLonOptions & WithFacetEnabled(bool value)
LatLonOptions & WithSortEnabled(bool value)
AWS_CLOUDSEARCH_API LatLonOptions(const Aws::Utils::Xml::XmlNode &xmlNode)
void SetDefaultValue(DefaultValueT &&value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
std::basic_ostream< char, std::char_traits< char > > OStream