7#include <aws/geo-places/GeoPlaces_EXPORTS.h>
8#include <aws/core/utils/memory/stl/AWSString.h>
9#include <aws/geo-places/model/PlaceType.h>
10#include <aws/geo-places/model/Address.h>
11#include <aws/core/utils/memory/stl/AWSVector.h>
12#include <aws/geo-places/model/Contacts.h>
13#include <aws/geo-places/model/TimeZone.h>
14#include <aws/geo-places/model/PhonemeDetails.h>
15#include <aws/geo-places/model/Category.h>
16#include <aws/geo-places/model/FoodType.h>
17#include <aws/geo-places/model/BusinessChain.h>
18#include <aws/geo-places/model/OpeningHours.h>
19#include <aws/geo-places/model/AccessPoint.h>
20#include <aws/geo-places/model/AccessRestriction.h>
61 inline void SetPlaceId(
const char* value) { m_placeIdHasBeenSet =
true; m_placeId.assign(value); }
88 inline void SetTitle(
const char* value) { m_titleHasBeenSet =
true; m_title.assign(value); }
101 inline void SetAddress(
Address&& value) { m_addressHasBeenSet =
true; m_address = std::move(value); }
135 inline void SetDistance(
long long value) { m_distanceHasBeenSet =
true; m_distance = value; }
275 inline void SetPoliticalView(
const char* value) { m_politicalViewHasBeenSet =
true; m_politicalView.assign(value); }
296 bool m_placeIdHasBeenSet =
false;
299 bool m_placeTypeHasBeenSet =
false;
302 bool m_titleHasBeenSet =
false;
305 bool m_addressHasBeenSet =
false;
307 bool m_addressNumberCorrected;
308 bool m_addressNumberCorrectedHasBeenSet =
false;
311 bool m_positionHasBeenSet =
false;
313 long long m_distance;
314 bool m_distanceHasBeenSet =
false;
317 bool m_mapViewHasBeenSet =
false;
320 bool m_categoriesHasBeenSet =
false;
323 bool m_foodTypesHasBeenSet =
false;
326 bool m_businessChainsHasBeenSet =
false;
329 bool m_contactsHasBeenSet =
false;
332 bool m_openingHoursHasBeenSet =
false;
335 bool m_accessPointsHasBeenSet =
false;
338 bool m_accessRestrictionsHasBeenSet =
false;
341 bool m_timeZoneHasBeenSet =
false;
344 bool m_politicalViewHasBeenSet =
false;
347 bool m_phonemesHasBeenSet =
false;
SearchTextResultItem & WithTitle(const char *value)
void SetPhonemes(const PhonemeDetails &value)
SearchTextResultItem & WithOpeningHours(Aws::Vector< OpeningHours > &&value)
SearchTextResultItem & WithContacts(const Contacts &value)
void SetAccessRestrictions(const Aws::Vector< AccessRestriction > &value)
SearchTextResultItem & WithAddress(const Address &value)
const PhonemeDetails & GetPhonemes() const
void SetPoliticalView(Aws::String &&value)
const Aws::Vector< AccessRestriction > & GetAccessRestrictions() const
const Aws::Vector< Category > & GetCategories() const
SearchTextResultItem & WithBusinessChains(const Aws::Vector< BusinessChain > &value)
SearchTextResultItem & AddAccessPoints(const AccessPoint &value)
const Aws::Vector< BusinessChain > & GetBusinessChains() const
void SetCategories(Aws::Vector< Category > &&value)
SearchTextResultItem & WithAccessPoints(Aws::Vector< AccessPoint > &&value)
SearchTextResultItem & WithPlaceType(PlaceType &&value)
bool PlaceTypeHasBeenSet() const
const Aws::String & GetPoliticalView() const
SearchTextResultItem & WithOpeningHours(const Aws::Vector< OpeningHours > &value)
void SetPoliticalView(const char *value)
SearchTextResultItem & WithAddressNumberCorrected(bool value)
void SetTimeZone(const TimeZone &value)
AWS_GEOPLACES_API Aws::Utils::Json::JsonValue Jsonize() const
SearchTextResultItem & WithCategories(const Aws::Vector< Category > &value)
const Contacts & GetContacts() const
SearchTextResultItem & WithMapView(Aws::Vector< double > &&value)
AWS_GEOPLACES_API SearchTextResultItem()
bool ContactsHasBeenSet() const
SearchTextResultItem & AddBusinessChains(const BusinessChain &value)
SearchTextResultItem & WithPosition(Aws::Vector< double > &&value)
SearchTextResultItem & WithPoliticalView(Aws::String &&value)
SearchTextResultItem & WithCategories(Aws::Vector< Category > &&value)
const Aws::Vector< FoodType > & GetFoodTypes() const
SearchTextResultItem & AddOpeningHours(OpeningHours &&value)
const Address & GetAddress() const
void SetTitle(const Aws::String &value)
const Aws::Vector< double > & GetMapView() const
bool BusinessChainsHasBeenSet() const
void SetTitle(const char *value)
void SetCategories(const Aws::Vector< Category > &value)
void SetOpeningHours(Aws::Vector< OpeningHours > &&value)
SearchTextResultItem & AddAccessRestrictions(AccessRestriction &&value)
SearchTextResultItem & WithPosition(const Aws::Vector< double > &value)
AWS_GEOPLACES_API SearchTextResultItem(Aws::Utils::Json::JsonView jsonValue)
bool PhonemesHasBeenSet() const
void SetAddressNumberCorrected(bool value)
SearchTextResultItem & WithDistance(long long value)
void SetContacts(const Contacts &value)
const Aws::String & GetPlaceId() const
SearchTextResultItem & WithFoodTypes(Aws::Vector< FoodType > &&value)
SearchTextResultItem & WithTitle(const Aws::String &value)
void SetPhonemes(PhonemeDetails &&value)
SearchTextResultItem & WithAccessRestrictions(Aws::Vector< AccessRestriction > &&value)
AWS_GEOPLACES_API SearchTextResultItem & operator=(Aws::Utils::Json::JsonView jsonValue)
void SetPlaceType(PlaceType &&value)
bool FoodTypesHasBeenSet() const
void SetAddress(Address &&value)
const Aws::Vector< OpeningHours > & GetOpeningHours() const
bool MapViewHasBeenSet() const
void SetPosition(Aws::Vector< double > &&value)
void SetPosition(const Aws::Vector< double > &value)
bool CategoriesHasBeenSet() const
SearchTextResultItem & WithAccessPoints(const Aws::Vector< AccessPoint > &value)
bool TitleHasBeenSet() const
void SetBusinessChains(const Aws::Vector< BusinessChain > &value)
SearchTextResultItem & WithPlaceId(const char *value)
void SetMapView(const Aws::Vector< double > &value)
SearchTextResultItem & WithAddress(Address &&value)
void SetPlaceType(const PlaceType &value)
void SetPlaceId(const Aws::String &value)
void SetOpeningHours(const Aws::Vector< OpeningHours > &value)
SearchTextResultItem & AddCategories(const Category &value)
SearchTextResultItem & WithPoliticalView(const Aws::String &value)
void SetFoodTypes(Aws::Vector< FoodType > &&value)
void SetAccessPoints(Aws::Vector< AccessPoint > &&value)
void SetAccessPoints(const Aws::Vector< AccessPoint > &value)
void SetBusinessChains(Aws::Vector< BusinessChain > &&value)
bool GetAddressNumberCorrected() const
long long GetDistance() const
void SetPoliticalView(const Aws::String &value)
SearchTextResultItem & AddPosition(double value)
SearchTextResultItem & AddCategories(Category &&value)
SearchTextResultItem & WithBusinessChains(Aws::Vector< BusinessChain > &&value)
void SetFoodTypes(const Aws::Vector< FoodType > &value)
void SetContacts(Contacts &&value)
bool AccessPointsHasBeenSet() const
SearchTextResultItem & WithTimeZone(const TimeZone &value)
bool PoliticalViewHasBeenSet() const
const PlaceType & GetPlaceType() const
SearchTextResultItem & AddOpeningHours(const OpeningHours &value)
SearchTextResultItem & AddMapView(double value)
void SetPlaceId(const char *value)
SearchTextResultItem & WithFoodTypes(const Aws::Vector< FoodType > &value)
void SetTitle(Aws::String &&value)
SearchTextResultItem & WithTitle(Aws::String &&value)
bool PlaceIdHasBeenSet() const
bool PositionHasBeenSet() const
SearchTextResultItem & WithContacts(Contacts &&value)
const Aws::String & GetTitle() const
void SetAddress(const Address &value)
const Aws::Vector< double > & GetPosition() const
SearchTextResultItem & WithPlaceType(const PlaceType &value)
SearchTextResultItem & WithMapView(const Aws::Vector< double > &value)
SearchTextResultItem & AddAccessRestrictions(const AccessRestriction &value)
SearchTextResultItem & WithPhonemes(PhonemeDetails &&value)
bool OpeningHoursHasBeenSet() const
bool AddressHasBeenSet() const
void SetPlaceId(Aws::String &&value)
SearchTextResultItem & AddBusinessChains(BusinessChain &&value)
SearchTextResultItem & AddAccessPoints(AccessPoint &&value)
bool DistanceHasBeenSet() const
void SetTimeZone(TimeZone &&value)
bool AddressNumberCorrectedHasBeenSet() const
const Aws::Vector< AccessPoint > & GetAccessPoints() const
SearchTextResultItem & AddFoodTypes(const FoodType &value)
SearchTextResultItem & AddFoodTypes(FoodType &&value)
SearchTextResultItem & WithTimeZone(TimeZone &&value)
void SetAccessRestrictions(Aws::Vector< AccessRestriction > &&value)
void SetDistance(long long value)
SearchTextResultItem & WithPoliticalView(const char *value)
const TimeZone & GetTimeZone() const
bool TimeZoneHasBeenSet() const
SearchTextResultItem & WithPlaceId(const Aws::String &value)
bool AccessRestrictionsHasBeenSet() const
SearchTextResultItem & WithAccessRestrictions(const Aws::Vector< AccessRestriction > &value)
SearchTextResultItem & WithPhonemes(const PhonemeDetails &value)
SearchTextResultItem & WithPlaceId(Aws::String &&value)
void SetMapView(Aws::Vector< double > &&value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
std::vector< T, Aws::Allocator< T > > Vector
Aws::Utils::Json::JsonValue JsonValue