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;
SearchNearbyResultItem & WithFoodTypes(const Aws::Vector< FoodType > &value)
const Aws::String & GetPlaceId() const
SearchNearbyResultItem & AddPosition(double value)
const Aws::Vector< double > & GetPosition() const
SearchNearbyResultItem & AddAccessRestrictions(const AccessRestriction &value)
SearchNearbyResultItem & AddCategories(const Category &value)
SearchNearbyResultItem & WithAddress(const Address &value)
SearchNearbyResultItem & WithPosition(const Aws::Vector< double > &value)
SearchNearbyResultItem & WithTitle(Aws::String &&value)
void SetAccessPoints(Aws::Vector< AccessPoint > &&value)
bool ContactsHasBeenSet() const
SearchNearbyResultItem & AddOpeningHours(OpeningHours &&value)
SearchNearbyResultItem & WithPoliticalView(Aws::String &&value)
void SetMapView(Aws::Vector< double > &&value)
const Contacts & GetContacts() const
void SetFoodTypes(Aws::Vector< FoodType > &&value)
void SetAccessRestrictions(const Aws::Vector< AccessRestriction > &value)
SearchNearbyResultItem & WithBusinessChains(const Aws::Vector< BusinessChain > &value)
const PhonemeDetails & GetPhonemes() const
void SetAddressNumberCorrected(bool value)
void SetTimeZone(const TimeZone &value)
void SetContacts(Contacts &&value)
SearchNearbyResultItem & WithAccessPoints(const Aws::Vector< AccessPoint > &value)
void SetDistance(long long value)
const Aws::Vector< BusinessChain > & GetBusinessChains() const
void SetPosition(const Aws::Vector< double > &value)
SearchNearbyResultItem & WithPlaceId(Aws::String &&value)
const Aws::String & GetPoliticalView() const
bool PositionHasBeenSet() const
const Aws::Vector< OpeningHours > & GetOpeningHours() const
bool AddressHasBeenSet() const
void SetPlaceId(Aws::String &&value)
void SetAccessPoints(const Aws::Vector< AccessPoint > &value)
SearchNearbyResultItem & WithOpeningHours(Aws::Vector< OpeningHours > &&value)
bool TimeZoneHasBeenSet() const
SearchNearbyResultItem & WithPlaceType(PlaceType &&value)
SearchNearbyResultItem & AddAccessPoints(const AccessPoint &value)
SearchNearbyResultItem & WithDistance(long long value)
bool PhonemesHasBeenSet() const
void SetTitle(const Aws::String &value)
void SetPlaceId(const char *value)
void SetPoliticalView(const Aws::String &value)
SearchNearbyResultItem & WithContacts(const Contacts &value)
SearchNearbyResultItem & WithPoliticalView(const char *value)
bool AddressNumberCorrectedHasBeenSet() const
bool TitleHasBeenSet() const
SearchNearbyResultItem & WithOpeningHours(const Aws::Vector< OpeningHours > &value)
SearchNearbyResultItem & WithPhonemes(PhonemeDetails &&value)
SearchNearbyResultItem & WithBusinessChains(Aws::Vector< BusinessChain > &&value)
void SetCategories(const Aws::Vector< Category > &value)
bool AccessRestrictionsHasBeenSet() const
bool OpeningHoursHasBeenSet() const
void SetTitle(Aws::String &&value)
SearchNearbyResultItem & AddMapView(double value)
void SetPlaceType(const PlaceType &value)
SearchNearbyResultItem & WithPosition(Aws::Vector< double > &&value)
const Address & GetAddress() const
void SetPoliticalView(Aws::String &&value)
SearchNearbyResultItem & WithPlaceType(const PlaceType &value)
void SetAccessRestrictions(Aws::Vector< AccessRestriction > &&value)
void SetPosition(Aws::Vector< double > &&value)
const PlaceType & GetPlaceType() const
const TimeZone & GetTimeZone() const
SearchNearbyResultItem & WithPlaceId(const char *value)
SearchNearbyResultItem & WithFoodTypes(Aws::Vector< FoodType > &&value)
SearchNearbyResultItem & WithTitle(const Aws::String &value)
bool AccessPointsHasBeenSet() const
SearchNearbyResultItem & WithPoliticalView(const Aws::String &value)
AWS_GEOPLACES_API SearchNearbyResultItem(Aws::Utils::Json::JsonView jsonValue)
SearchNearbyResultItem & WithContacts(Contacts &&value)
SearchNearbyResultItem & AddAccessRestrictions(AccessRestriction &&value)
void SetAddress(Address &&value)
bool PlaceTypeHasBeenSet() const
void SetPlaceType(PlaceType &&value)
void SetPhonemes(PhonemeDetails &&value)
SearchNearbyResultItem & AddBusinessChains(const BusinessChain &value)
SearchNearbyResultItem & WithAccessPoints(Aws::Vector< AccessPoint > &&value)
SearchNearbyResultItem & WithAccessRestrictions(Aws::Vector< AccessRestriction > &&value)
SearchNearbyResultItem & WithAccessRestrictions(const Aws::Vector< AccessRestriction > &value)
bool FoodTypesHasBeenSet() const
void SetBusinessChains(const Aws::Vector< BusinessChain > &value)
bool PlaceIdHasBeenSet() const
SearchNearbyResultItem & WithPhonemes(const PhonemeDetails &value)
bool GetAddressNumberCorrected() const
long long GetDistance() const
void SetAddress(const Address &value)
SearchNearbyResultItem & AddCategories(Category &&value)
bool CategoriesHasBeenSet() const
SearchNearbyResultItem & WithTimeZone(TimeZone &&value)
SearchNearbyResultItem & WithPlaceId(const Aws::String &value)
void SetFoodTypes(const Aws::Vector< FoodType > &value)
void SetPlaceId(const Aws::String &value)
SearchNearbyResultItem & AddFoodTypes(const FoodType &value)
AWS_GEOPLACES_API SearchNearbyResultItem()
void SetCategories(Aws::Vector< Category > &&value)
AWS_GEOPLACES_API Aws::Utils::Json::JsonValue Jsonize() const
const Aws::Vector< AccessRestriction > & GetAccessRestrictions() const
void SetTitle(const char *value)
SearchNearbyResultItem & WithMapView(const Aws::Vector< double > &value)
SearchNearbyResultItem & WithMapView(Aws::Vector< double > &&value)
void SetMapView(const Aws::Vector< double > &value)
void SetOpeningHours(const Aws::Vector< OpeningHours > &value)
void SetPhonemes(const PhonemeDetails &value)
SearchNearbyResultItem & WithAddress(Address &&value)
SearchNearbyResultItem & WithCategories(const Aws::Vector< Category > &value)
void SetPoliticalView(const char *value)
void SetBusinessChains(Aws::Vector< BusinessChain > &&value)
SearchNearbyResultItem & AddBusinessChains(BusinessChain &&value)
SearchNearbyResultItem & AddAccessPoints(AccessPoint &&value)
void SetTimeZone(TimeZone &&value)
AWS_GEOPLACES_API SearchNearbyResultItem & operator=(Aws::Utils::Json::JsonView jsonValue)
const Aws::String & GetTitle() const
bool PoliticalViewHasBeenSet() const
const Aws::Vector< Category > & GetCategories() const
const Aws::Vector< double > & GetMapView() const
void SetOpeningHours(Aws::Vector< OpeningHours > &&value)
const Aws::Vector< AccessPoint > & GetAccessPoints() const
bool MapViewHasBeenSet() const
SearchNearbyResultItem & WithAddressNumberCorrected(bool value)
bool BusinessChainsHasBeenSet() const
SearchNearbyResultItem & AddOpeningHours(const OpeningHours &value)
const Aws::Vector< FoodType > & GetFoodTypes() const
SearchNearbyResultItem & AddFoodTypes(FoodType &&value)
SearchNearbyResultItem & WithCategories(Aws::Vector< Category > &&value)
bool DistanceHasBeenSet() const
SearchNearbyResultItem & WithTitle(const char *value)
void SetContacts(const Contacts &value)
SearchNearbyResultItem & WithTimeZone(const TimeZone &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