7#include <aws/core/utils/memory/stl/AWSString.h>
8#include <aws/core/utils/memory/stl/AWSVector.h>
9#include <aws/geo-places/GeoPlaces_EXPORTS.h>
10#include <aws/geo-places/model/AccessPoint.h>
11#include <aws/geo-places/model/AccessRestriction.h>
12#include <aws/geo-places/model/Address.h>
13#include <aws/geo-places/model/BusinessChain.h>
14#include <aws/geo-places/model/Category.h>
15#include <aws/geo-places/model/Contacts.h>
16#include <aws/geo-places/model/FoodType.h>
17#include <aws/geo-places/model/OpeningHours.h>
18#include <aws/geo-places/model/PhonemeDetails.h>
19#include <aws/geo-places/model/PlaceType.h>
20#include <aws/geo-places/model/TimeZone.h>
53 template <
typename PlaceIdT = Aws::String>
55 m_placeIdHasBeenSet =
true;
56 m_placeId = std::forward<PlaceIdT>(value);
58 template <
typename PlaceIdT = Aws::String>
73 m_placeTypeHasBeenSet =
true;
88 template <
typename TitleT = Aws::String>
90 m_titleHasBeenSet =
true;
91 m_title = std::forward<TitleT>(value);
93 template <
typename TitleT = Aws::String>
95 SetTitle(std::forward<TitleT>(value));
106 template <
typename AddressT = Address>
108 m_addressHasBeenSet =
true;
109 m_address = std::forward<AddressT>(value);
111 template <
typename AddressT = Address>
125 m_addressNumberCorrectedHasBeenSet =
true;
126 m_addressNumberCorrected = value;
141 template <
typename PositionT = Aws::Vector<
double>>
143 m_positionHasBeenSet =
true;
144 m_position = std::forward<PositionT>(value);
146 template <
typename PositionT = Aws::Vector<
double>>
152 m_positionHasBeenSet =
true;
153 m_position.push_back(value);
165 m_distanceHasBeenSet =
true;
183 template <
typename MapViewT = Aws::Vector<
double>>
185 m_mapViewHasBeenSet =
true;
186 m_mapView = std::forward<MapViewT>(value);
188 template <
typename MapViewT = Aws::Vector<
double>>
194 m_mapViewHasBeenSet =
true;
195 m_mapView.push_back(value);
206 template <
typename CategoriesT = Aws::Vector<Category>>
208 m_categoriesHasBeenSet =
true;
209 m_categories = std::forward<CategoriesT>(value);
211 template <
typename CategoriesT = Aws::Vector<Category>>
216 template <
typename CategoriesT = Category>
218 m_categoriesHasBeenSet =
true;
219 m_categories.emplace_back(std::forward<CategoriesT>(value));
230 template <
typename FoodTypesT = Aws::Vector<FoodType>>
232 m_foodTypesHasBeenSet =
true;
233 m_foodTypes = std::forward<FoodTypesT>(value);
235 template <
typename FoodTypesT = Aws::Vector<FoodType>>
240 template <
typename FoodTypesT = FoodType>
242 m_foodTypesHasBeenSet =
true;
243 m_foodTypes.emplace_back(std::forward<FoodTypesT>(value));
254 template <
typename BusinessChainsT = Aws::Vector<BusinessChain>>
256 m_businessChainsHasBeenSet =
true;
257 m_businessChains = std::forward<BusinessChainsT>(value);
259 template <
typename BusinessChainsT = Aws::Vector<BusinessChain>>
264 template <
typename BusinessChainsT = BusinessChain>
266 m_businessChainsHasBeenSet =
true;
267 m_businessChains.emplace_back(std::forward<BusinessChainsT>(value));
278 template <
typename ContactsT = Contacts>
280 m_contactsHasBeenSet =
true;
281 m_contacts = std::forward<ContactsT>(value);
283 template <
typename ContactsT = Contacts>
296 template <
typename OpeningHoursT = Aws::Vector<OpeningHours>>
298 m_openingHoursHasBeenSet =
true;
299 m_openingHours = std::forward<OpeningHoursT>(value);
301 template <
typename OpeningHoursT = Aws::Vector<OpeningHours>>
306 template <
typename OpeningHoursT = OpeningHours>
308 m_openingHoursHasBeenSet =
true;
309 m_openingHours.emplace_back(std::forward<OpeningHoursT>(value));
321 template <
typename AccessPo
intsT = Aws::Vector<AccessPo
int>>
323 m_accessPointsHasBeenSet =
true;
324 m_accessPoints = std::forward<AccessPointsT>(value);
326 template <
typename AccessPo
intsT = Aws::Vector<AccessPo
int>>
331 template <
typename AccessPo
intsT = AccessPo
int>
333 m_accessPointsHasBeenSet =
true;
334 m_accessPoints.emplace_back(std::forward<AccessPointsT>(value));
347 template <
typename AccessRestrictionsT = Aws::Vector<AccessRestriction>>
349 m_accessRestrictionsHasBeenSet =
true;
350 m_accessRestrictions = std::forward<AccessRestrictionsT>(value);
352 template <
typename AccessRestrictionsT = Aws::Vector<AccessRestriction>>
357 template <
typename AccessRestrictionsT = AccessRestriction>
359 m_accessRestrictionsHasBeenSet =
true;
360 m_accessRestrictions.emplace_back(std::forward<AccessRestrictionsT>(value));
371 template <
typename TimeZoneT = TimeZone>
373 m_timeZoneHasBeenSet =
true;
374 m_timeZone = std::forward<TimeZoneT>(value);
376 template <
typename TimeZoneT = TimeZone>
391 template <
typename PoliticalViewT = Aws::String>
393 m_politicalViewHasBeenSet =
true;
394 m_politicalView = std::forward<PoliticalViewT>(value);
396 template <
typename PoliticalViewT = Aws::String>
410 template <
typename PhonemesT = PhonemeDetails>
412 m_phonemesHasBeenSet =
true;
413 m_phonemes = std::forward<PhonemesT>(value);
415 template <
typename PhonemesT = PhonemeDetails>
430 bool m_addressNumberCorrected{
false};
434 long long m_distance{0};
456 PhonemeDetails m_phonemes;
457 bool m_placeIdHasBeenSet =
false;
458 bool m_placeTypeHasBeenSet =
false;
459 bool m_titleHasBeenSet =
false;
460 bool m_addressHasBeenSet =
false;
461 bool m_addressNumberCorrectedHasBeenSet =
false;
462 bool m_positionHasBeenSet =
false;
463 bool m_distanceHasBeenSet =
false;
464 bool m_mapViewHasBeenSet =
false;
465 bool m_categoriesHasBeenSet =
false;
466 bool m_foodTypesHasBeenSet =
false;
467 bool m_businessChainsHasBeenSet =
false;
468 bool m_contactsHasBeenSet =
false;
469 bool m_openingHoursHasBeenSet =
false;
470 bool m_accessPointsHasBeenSet =
false;
471 bool m_accessRestrictionsHasBeenSet =
false;
472 bool m_timeZoneHasBeenSet =
false;
473 bool m_politicalViewHasBeenSet =
false;
474 bool m_phonemesHasBeenSet =
false;
void SetTimeZone(TimeZoneT &&value)
SearchTextResultItem & AddOpeningHours(OpeningHoursT &&value)
const PhonemeDetails & GetPhonemes() const
const Aws::Vector< AccessRestriction > & GetAccessRestrictions() const
SearchTextResultItem & WithPoliticalView(PoliticalViewT &&value)
const Aws::Vector< Category > & GetCategories() const
const Aws::Vector< BusinessChain > & GetBusinessChains() const
bool PlaceTypeHasBeenSet() const
const Aws::String & GetPoliticalView() const
void SetContacts(ContactsT &&value)
SearchTextResultItem & WithPhonemes(PhonemesT &&value)
SearchTextResultItem & WithAddressNumberCorrected(bool value)
void SetOpeningHours(OpeningHoursT &&value)
AWS_GEOPLACES_API Aws::Utils::Json::JsonValue Jsonize() const
const Contacts & GetContacts() const
bool ContactsHasBeenSet() const
SearchTextResultItem & WithCategories(CategoriesT &&value)
const Aws::Vector< FoodType > & GetFoodTypes() const
const Address & GetAddress() const
SearchTextResultItem & WithPosition(PositionT &&value)
SearchTextResultItem & WithOpeningHours(OpeningHoursT &&value)
SearchTextResultItem & AddCategories(CategoriesT &&value)
void SetBusinessChains(BusinessChainsT &&value)
const Aws::Vector< double > & GetMapView() const
bool BusinessChainsHasBeenSet() const
SearchTextResultItem & WithAccessPoints(AccessPointsT &&value)
SearchTextResultItem & AddBusinessChains(BusinessChainsT &&value)
void SetAddress(AddressT &&value)
AWS_GEOPLACES_API SearchTextResultItem(Aws::Utils::Json::JsonView jsonValue)
bool PhonemesHasBeenSet() const
void SetAddressNumberCorrected(bool value)
void SetPlaceId(PlaceIdT &&value)
SearchTextResultItem & WithDistance(long long value)
const Aws::String & GetPlaceId() const
void SetCategories(CategoriesT &&value)
void SetPosition(PositionT &&value)
AWS_GEOPLACES_API SearchTextResultItem & operator=(Aws::Utils::Json::JsonView jsonValue)
bool FoodTypesHasBeenSet() const
const Aws::Vector< OpeningHours > & GetOpeningHours() const
bool MapViewHasBeenSet() const
PlaceType GetPlaceType() const
void SetAccessPoints(AccessPointsT &&value)
bool CategoriesHasBeenSet() const
bool TitleHasBeenSet() const
void SetFoodTypes(FoodTypesT &&value)
SearchTextResultItem & WithAddress(AddressT &&value)
void SetPoliticalView(PoliticalViewT &&value)
SearchTextResultItem & WithAccessRestrictions(AccessRestrictionsT &&value)
SearchTextResultItem & WithBusinessChains(BusinessChainsT &&value)
void SetPlaceType(PlaceType value)
bool GetAddressNumberCorrected() const
void SetPhonemes(PhonemesT &&value)
SearchTextResultItem & WithPlaceId(PlaceIdT &&value)
long long GetDistance() const
void SetMapView(MapViewT &&value)
SearchTextResultItem & AddPosition(double value)
void SetAccessRestrictions(AccessRestrictionsT &&value)
bool AccessPointsHasBeenSet() const
AWS_GEOPLACES_API SearchTextResultItem()=default
bool PoliticalViewHasBeenSet() const
SearchTextResultItem & AddMapView(double value)
SearchTextResultItem & WithContacts(ContactsT &&value)
SearchTextResultItem & WithTimeZone(TimeZoneT &&value)
void SetTitle(TitleT &&value)
bool PlaceIdHasBeenSet() const
bool PositionHasBeenSet() const
const Aws::String & GetTitle() const
SearchTextResultItem & AddAccessRestrictions(AccessRestrictionsT &&value)
SearchTextResultItem & WithPlaceType(PlaceType value)
const Aws::Vector< double > & GetPosition() const
bool OpeningHoursHasBeenSet() const
SearchTextResultItem & AddFoodTypes(FoodTypesT &&value)
bool AddressHasBeenSet() const
bool DistanceHasBeenSet() const
SearchTextResultItem & AddAccessPoints(AccessPointsT &&value)
bool AddressNumberCorrectedHasBeenSet() const
const Aws::Vector< AccessPoint > & GetAccessPoints() const
SearchTextResultItem & WithFoodTypes(FoodTypesT &&value)
SearchTextResultItem & WithTitle(TitleT &&value)
void SetDistance(long long value)
const TimeZone & GetTimeZone() const
SearchTextResultItem & WithMapView(MapViewT &&value)
bool TimeZoneHasBeenSet() const
bool AccessRestrictionsHasBeenSet() const
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
std::vector< T, Aws::Allocator< T > > Vector
Aws::Utils::Json::JsonValue JsonValue