7#include <aws/geo-places/GeoPlaces_EXPORTS.h>
8#include <aws/core/utils/memory/stl/AWSString.h>
9#include <aws/geo-places/model/SuggestResultItemType.h>
10#include <aws/geo-places/model/SuggestPlaceResult.h>
11#include <aws/geo-places/model/SuggestQueryResult.h>
12#include <aws/geo-places/model/SuggestHighlights.h>
51 template<
typename TitleT = Aws::String>
52 void SetTitle(TitleT&& value) { m_titleHasBeenSet =
true; m_title = std::forward<TitleT>(value); }
53 template<
typename TitleT = Aws::String>
75 template<
typename PlaceT = SuggestPlaceResult>
76 void SetPlace(PlaceT&& value) { m_placeHasBeenSet =
true; m_place = std::forward<PlaceT>(value); }
77 template<
typename PlaceT = SuggestPlaceResult>
85 template<
typename QueryT = SuggestQueryResult>
86 void SetQuery(QueryT&& value) { m_queryHasBeenSet =
true; m_query = std::forward<QueryT>(value); }
87 template<
typename QueryT = SuggestQueryResult>
98 template<
typename HighlightsT = SuggestHighlights>
99 void SetHighlights(HighlightsT&& value) { m_highlightsHasBeenSet =
true; m_highlights = std::forward<HighlightsT>(value); }
100 template<
typename HighlightsT = SuggestHighlights>
106 bool m_titleHasBeenSet =
false;
109 bool m_suggestResultItemTypeHasBeenSet =
false;
111 SuggestPlaceResult m_place;
112 bool m_placeHasBeenSet =
false;
114 SuggestQueryResult m_query;
115 bool m_queryHasBeenSet =
false;
117 SuggestHighlights m_highlights;
118 bool m_highlightsHasBeenSet =
false;
void SetSuggestResultItemType(SuggestResultItemType value)
AWS_GEOPLACES_API Aws::Utils::Json::JsonValue Jsonize() const
void SetQuery(QueryT &&value)
bool PlaceHasBeenSet() const
AWS_GEOPLACES_API SuggestResultItem()=default
SuggestResultItem & WithSuggestResultItemType(SuggestResultItemType value)
const SuggestQueryResult & GetQuery() const
bool HighlightsHasBeenSet() const
const Aws::String & GetTitle() const
SuggestResultItem & WithPlace(PlaceT &&value)
const SuggestHighlights & GetHighlights() const
SuggestResultItemType GetSuggestResultItemType() const
AWS_GEOPLACES_API SuggestResultItem & operator=(Aws::Utils::Json::JsonView jsonValue)
SuggestResultItem & WithQuery(QueryT &&value)
SuggestResultItem & WithTitle(TitleT &&value)
void SetTitle(TitleT &&value)
bool SuggestResultItemTypeHasBeenSet() const
void SetHighlights(HighlightsT &&value)
AWS_GEOPLACES_API SuggestResultItem(Aws::Utils::Json::JsonView jsonValue)
bool TitleHasBeenSet() const
bool QueryHasBeenSet() const
void SetPlace(PlaceT &&value)
SuggestResultItem & WithHighlights(HighlightsT &&value)
const SuggestPlaceResult & GetPlace() const
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue