7#include <aws/core/utils/memory/stl/AWSString.h>
8#include <aws/geo-places/GeoPlaces_EXPORTS.h>
9#include <aws/geo-places/model/Address.h>
10#include <aws/geo-places/model/AutocompleteHighlights.h>
11#include <aws/geo-places/model/PlaceType.h>
44 template <
typename PlaceIdT = Aws::String>
46 m_placeIdHasBeenSet =
true;
47 m_placeId = std::forward<PlaceIdT>(value);
49 template <
typename PlaceIdT = Aws::String>
63 m_placeTypeHasBeenSet =
true;
79 template <
typename TitleT = Aws::String>
81 m_titleHasBeenSet =
true;
82 m_title = std::forward<TitleT>(value);
84 template <
typename TitleT = Aws::String>
86 SetTitle(std::forward<TitleT>(value));
97 template <
typename AddressT = Address>
99 m_addressHasBeenSet =
true;
100 m_address = std::forward<AddressT>(value);
102 template <
typename AddressT = Address>
118 m_distanceHasBeenSet =
true;
137 template <
typename LanguageT = Aws::String>
139 m_languageHasBeenSet =
true;
140 m_language = std::forward<LanguageT>(value);
142 template <
typename LanguageT = Aws::String>
157 template <
typename PoliticalViewT = Aws::String>
159 m_politicalViewHasBeenSet =
true;
160 m_politicalView = std::forward<PoliticalViewT>(value);
162 template <
typename PoliticalViewT = Aws::String>
176 template <
typename HighlightsT = AutocompleteHighlights>
178 m_highlightsHasBeenSet =
true;
179 m_highlights = std::forward<HighlightsT>(value);
181 template <
typename HighlightsT = AutocompleteHighlights>
196 m_estimatedPointAddressHasBeenSet =
true;
197 m_estimatedPointAddress = value;
213 long long m_distance{0};
219 AutocompleteHighlights m_highlights;
221 bool m_estimatedPointAddress{
false};
222 bool m_placeIdHasBeenSet =
false;
223 bool m_placeTypeHasBeenSet =
false;
224 bool m_titleHasBeenSet =
false;
225 bool m_addressHasBeenSet =
false;
226 bool m_distanceHasBeenSet =
false;
227 bool m_languageHasBeenSet =
false;
228 bool m_politicalViewHasBeenSet =
false;
229 bool m_highlightsHasBeenSet =
false;
230 bool m_estimatedPointAddressHasBeenSet =
false;
PlaceType GetPlaceType() const
bool GetEstimatedPointAddress() const
bool TitleHasBeenSet() const
AutocompleteResultItem & WithEstimatedPointAddress(bool value)
AutocompleteResultItem & WithPlaceId(PlaceIdT &&value)
const Address & GetAddress() const
AutocompleteResultItem & WithLanguage(LanguageT &&value)
AutocompleteResultItem & WithDistance(long long value)
AutocompleteResultItem & WithPoliticalView(PoliticalViewT &&value)
AWS_GEOPLACES_API AutocompleteResultItem & operator=(Aws::Utils::Json::JsonView jsonValue)
void SetTitle(TitleT &&value)
const Aws::String & GetLanguage() const
bool PoliticalViewHasBeenSet() const
void SetPlaceId(PlaceIdT &&value)
bool EstimatedPointAddressHasBeenSet() const
bool DistanceHasBeenSet() const
void SetPlaceType(PlaceType value)
void SetPoliticalView(PoliticalViewT &&value)
const Aws::String & GetPoliticalView() const
AutocompleteResultItem & WithHighlights(HighlightsT &&value)
const Aws::String & GetTitle() const
bool LanguageHasBeenSet() const
void SetDistance(long long value)
bool HighlightsHasBeenSet() const
bool AddressHasBeenSet() const
bool PlaceIdHasBeenSet() const
long long GetDistance() const
const Aws::String & GetPlaceId() const
void SetLanguage(LanguageT &&value)
const AutocompleteHighlights & GetHighlights() const
AWS_GEOPLACES_API AutocompleteResultItem()=default
void SetAddress(AddressT &&value)
void SetEstimatedPointAddress(bool value)
void SetHighlights(HighlightsT &&value)
AutocompleteResultItem & WithAddress(AddressT &&value)
AutocompleteResultItem & WithTitle(TitleT &&value)
AWS_GEOPLACES_API Aws::Utils::Json::JsonValue Jsonize() const
AutocompleteResultItem & WithPlaceType(PlaceType value)
AWS_GEOPLACES_API AutocompleteResultItem(Aws::Utils::Json::JsonView jsonValue)
bool PlaceTypeHasBeenSet() const
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue