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/TimeZone.h>
13#include <aws/geo-places/model/MatchScoreDetails.h>
14#include <aws/geo-places/model/PostalCodeDetails.h>
15#include <aws/geo-places/model/Category.h>
16#include <aws/geo-places/model/FoodType.h>
17#include <aws/geo-places/model/AccessPoint.h>
58 inline void SetPlaceId(
const char* value) { m_placeIdHasBeenSet =
true; m_placeId.assign(value); }
86 inline void SetTitle(
const char* value) { m_titleHasBeenSet =
true; m_title.assign(value); }
98 inline void SetAddress(
const Address& value) { m_addressHasBeenSet =
true; m_address = value; }
99 inline void SetAddress(
Address&& value) { m_addressHasBeenSet =
true; m_address = std::move(value); }
147 inline void SetDistance(
long long value) { m_distanceHasBeenSet =
true; m_distance = value; }
231 inline void SetPoliticalView(
const char* value) { m_politicalViewHasBeenSet =
true; m_politicalView.assign(value); }
252 bool m_placeIdHasBeenSet =
false;
255 bool m_placeTypeHasBeenSet =
false;
258 bool m_titleHasBeenSet =
false;
261 bool m_addressHasBeenSet =
false;
263 bool m_addressNumberCorrected;
264 bool m_addressNumberCorrectedHasBeenSet =
false;
267 bool m_postalCodeDetailsHasBeenSet =
false;
270 bool m_positionHasBeenSet =
false;
272 long long m_distance;
273 bool m_distanceHasBeenSet =
false;
276 bool m_mapViewHasBeenSet =
false;
279 bool m_categoriesHasBeenSet =
false;
282 bool m_foodTypesHasBeenSet =
false;
285 bool m_accessPointsHasBeenSet =
false;
288 bool m_timeZoneHasBeenSet =
false;
291 bool m_politicalViewHasBeenSet =
false;
294 bool m_matchScoresHasBeenSet =
false;
const Aws::Vector< PostalCodeDetails > & GetPostalCodeDetails() const
GeocodeResultItem & WithPosition(const Aws::Vector< double > &value)
const Aws::Vector< double > & GetPosition() const
GeocodeResultItem & WithAddress(const Address &value)
void SetPlaceId(const char *value)
GeocodeResultItem & WithAddressNumberCorrected(bool value)
void SetTitle(const Aws::String &value)
GeocodeResultItem & WithTimeZone(const TimeZone &value)
GeocodeResultItem & WithCategories(const Aws::Vector< Category > &value)
void SetAddress(const Address &value)
GeocodeResultItem & WithPosition(Aws::Vector< double > &&value)
GeocodeResultItem & AddAccessPoints(const AccessPoint &value)
GeocodeResultItem & WithPostalCodeDetails(Aws::Vector< PostalCodeDetails > &&value)
GeocodeResultItem & WithTitle(Aws::String &&value)
void SetTitle(const char *value)
void SetTitle(Aws::String &&value)
GeocodeResultItem & WithAddress(Address &&value)
void SetMatchScores(const MatchScoreDetails &value)
AWS_GEOPLACES_API GeocodeResultItem(Aws::Utils::Json::JsonView jsonValue)
void SetPostalCodeDetails(Aws::Vector< PostalCodeDetails > &&value)
AWS_GEOPLACES_API GeocodeResultItem & operator=(Aws::Utils::Json::JsonView jsonValue)
void SetPlaceType(const PlaceType &value)
GeocodeResultItem & WithPlaceType(PlaceType &&value)
bool CategoriesHasBeenSet() const
const Aws::Vector< Category > & GetCategories() const
bool MapViewHasBeenSet() const
GeocodeResultItem & WithCategories(Aws::Vector< Category > &&value)
AWS_GEOPLACES_API GeocodeResultItem()
void SetMatchScores(MatchScoreDetails &&value)
const Aws::String & GetPlaceId() const
void SetMapView(Aws::Vector< double > &&value)
GeocodeResultItem & WithTimeZone(TimeZone &&value)
void SetAddress(Address &&value)
const MatchScoreDetails & GetMatchScores() const
bool MatchScoresHasBeenSet() const
GeocodeResultItem & AddCategories(Category &&value)
const Address & GetAddress() const
GeocodeResultItem & AddPostalCodeDetails(PostalCodeDetails &&value)
void SetTimeZone(TimeZone &&value)
GeocodeResultItem & WithPlaceId(const char *value)
GeocodeResultItem & WithTitle(const Aws::String &value)
void SetAccessPoints(const Aws::Vector< AccessPoint > &value)
bool PositionHasBeenSet() const
GeocodeResultItem & AddPostalCodeDetails(const PostalCodeDetails &value)
void SetPostalCodeDetails(const Aws::Vector< PostalCodeDetails > &value)
const TimeZone & GetTimeZone() const
GeocodeResultItem & WithPoliticalView(const char *value)
void SetTimeZone(const TimeZone &value)
GeocodeResultItem & WithPostalCodeDetails(const Aws::Vector< PostalCodeDetails > &value)
bool FoodTypesHasBeenSet() const
bool TimeZoneHasBeenSet() const
GeocodeResultItem & WithMapView(Aws::Vector< double > &&value)
void SetAddressNumberCorrected(bool value)
bool AddressHasBeenSet() const
GeocodeResultItem & AddFoodTypes(const FoodType &value)
void SetPoliticalView(const Aws::String &value)
const Aws::String & GetPoliticalView() const
GeocodeResultItem & WithFoodTypes(const Aws::Vector< FoodType > &value)
GeocodeResultItem & WithPlaceId(Aws::String &&value)
GeocodeResultItem & AddPosition(double value)
GeocodeResultItem & WithPoliticalView(const Aws::String &value)
long long GetDistance() const
bool PoliticalViewHasBeenSet() const
bool PostalCodeDetailsHasBeenSet() const
bool DistanceHasBeenSet() const
GeocodeResultItem & AddMapView(double value)
void SetAccessPoints(Aws::Vector< AccessPoint > &&value)
AWS_GEOPLACES_API Aws::Utils::Json::JsonValue Jsonize() const
void SetPlaceId(const Aws::String &value)
GeocodeResultItem & WithPoliticalView(Aws::String &&value)
void SetPoliticalView(Aws::String &&value)
GeocodeResultItem & WithPlaceType(const PlaceType &value)
const Aws::Vector< FoodType > & GetFoodTypes() const
GeocodeResultItem & WithMapView(const Aws::Vector< double > &value)
void SetMapView(const Aws::Vector< double > &value)
void SetPlaceType(PlaceType &&value)
GeocodeResultItem & WithAccessPoints(const Aws::Vector< AccessPoint > &value)
void SetPosition(Aws::Vector< double > &&value)
const Aws::Vector< AccessPoint > & GetAccessPoints() const
void SetFoodTypes(const Aws::Vector< FoodType > &value)
void SetPosition(const Aws::Vector< double > &value)
const Aws::String & GetTitle() const
GeocodeResultItem & WithMatchScores(MatchScoreDetails &&value)
bool TitleHasBeenSet() const
bool GetAddressNumberCorrected() const
GeocodeResultItem & AddCategories(const Category &value)
bool PlaceIdHasBeenSet() const
bool AddressNumberCorrectedHasBeenSet() const
GeocodeResultItem & WithMatchScores(const MatchScoreDetails &value)
GeocodeResultItem & WithFoodTypes(Aws::Vector< FoodType > &&value)
GeocodeResultItem & WithPlaceId(const Aws::String &value)
void SetFoodTypes(Aws::Vector< FoodType > &&value)
bool PlaceTypeHasBeenSet() const
void SetPoliticalView(const char *value)
void SetPlaceId(Aws::String &&value)
void SetDistance(long long value)
GeocodeResultItem & WithAccessPoints(Aws::Vector< AccessPoint > &&value)
GeocodeResultItem & WithTitle(const char *value)
GeocodeResultItem & AddAccessPoints(AccessPoint &&value)
bool AccessPointsHasBeenSet() const
const PlaceType & GetPlaceType() const
GeocodeResultItem & AddFoodTypes(FoodType &&value)
GeocodeResultItem & WithDistance(long long value)
void SetCategories(const Aws::Vector< Category > &value)
const Aws::Vector< double > & GetMapView() const
void SetCategories(Aws::Vector< Category > &&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