7#include <aws/core/utils/memory/stl/AWSString.h>
8#include <aws/geo-places/GeoPlaces_EXPORTS.h>
9#include <aws/geo-places/model/SuggestHighlights.h>
10#include <aws/geo-places/model/SuggestPlaceResult.h>
11#include <aws/geo-places/model/SuggestQueryResult.h>
12#include <aws/geo-places/model/SuggestResultItemType.h>
45 template <
typename TitleT = Aws::String>
47 m_titleHasBeenSet =
true;
48 m_title = std::forward<TitleT>(value);
50 template <
typename TitleT = Aws::String>
52 SetTitle(std::forward<TitleT>(value));
66 m_suggestResultItemTypeHasBeenSet =
true;
67 m_suggestResultItemType = value;
81 template <
typename PlaceT = SuggestPlaceResult>
83 m_placeHasBeenSet =
true;
84 m_place = std::forward<PlaceT>(value);
86 template <
typename PlaceT = SuggestPlaceResult>
88 SetPlace(std::forward<PlaceT>(value));
97 template <
typename QueryT = SuggestQueryResult>
99 m_queryHasBeenSet =
true;
100 m_query = std::forward<QueryT>(value);
102 template <
typename QueryT = SuggestQueryResult>
104 SetQuery(std::forward<QueryT>(value));
116 template <
typename HighlightsT = SuggestHighlights>
118 m_highlightsHasBeenSet =
true;
119 m_highlights = std::forward<HighlightsT>(value);
121 template <
typename HighlightsT = SuggestHighlights>
132 SuggestPlaceResult m_place;
134 SuggestQueryResult m_query;
136 SuggestHighlights m_highlights;
137 bool m_titleHasBeenSet =
false;
138 bool m_suggestResultItemTypeHasBeenSet =
false;
139 bool m_placeHasBeenSet =
false;
140 bool m_queryHasBeenSet =
false;
141 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