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 {
45 template <
typename DefaultValueT = Aws::String>
47 m_defaultValueHasBeenSet =
true;
48 m_defaultValue = std::forward<DefaultValueT>(value);
50 template <
typename DefaultValueT = Aws::String>
61 template <
typename SourceFieldT = Aws::String>
63 m_sourceFieldHasBeenSet =
true;
64 m_sourceField = std::forward<SourceFieldT>(value);
66 template <
typename SourceFieldT = 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;
128 m_sortEnabledHasBeenSet =
true;
129 m_sortEnabled = value;
141 bool m_facetEnabled{
false};
143 bool m_searchEnabled{
false};
145 bool m_returnEnabled{
false};
147 bool m_sortEnabled{
false};
148 bool m_defaultValueHasBeenSet =
false;
149 bool m_sourceFieldHasBeenSet =
false;
150 bool m_facetEnabledHasBeenSet =
false;
151 bool m_searchEnabledHasBeenSet =
false;
152 bool m_returnEnabledHasBeenSet =
false;
153 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