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/PostalCodeDetails.h>
14#include <aws/geo-places/model/Category.h>
15#include <aws/geo-places/model/FoodType.h>
16#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); }
239 bool m_placeIdHasBeenSet =
false;
242 bool m_placeTypeHasBeenSet =
false;
245 bool m_titleHasBeenSet =
false;
248 bool m_addressHasBeenSet =
false;
250 bool m_addressNumberCorrected;
251 bool m_addressNumberCorrectedHasBeenSet =
false;
254 bool m_postalCodeDetailsHasBeenSet =
false;
257 bool m_positionHasBeenSet =
false;
259 long long m_distance;
260 bool m_distanceHasBeenSet =
false;
263 bool m_mapViewHasBeenSet =
false;
266 bool m_categoriesHasBeenSet =
false;
269 bool m_foodTypesHasBeenSet =
false;
272 bool m_accessPointsHasBeenSet =
false;
275 bool m_timeZoneHasBeenSet =
false;
278 bool m_politicalViewHasBeenSet =
false;
ReverseGeocodeResultItem & WithAddressNumberCorrected(bool value)
bool PlaceIdHasBeenSet() const
bool PostalCodeDetailsHasBeenSet() const
ReverseGeocodeResultItem & WithFoodTypes(const Aws::Vector< FoodType > &value)
const Aws::Vector< PostalCodeDetails > & GetPostalCodeDetails() const
void SetPlaceId(Aws::String &&value)
ReverseGeocodeResultItem & WithPostalCodeDetails(const Aws::Vector< PostalCodeDetails > &value)
ReverseGeocodeResultItem & WithPlaceId(Aws::String &&value)
void SetMapView(const Aws::Vector< double > &value)
ReverseGeocodeResultItem & WithMapView(const Aws::Vector< double > &value)
ReverseGeocodeResultItem & WithAddress(Address &&value)
AWS_GEOPLACES_API ReverseGeocodeResultItem & operator=(Aws::Utils::Json::JsonView jsonValue)
ReverseGeocodeResultItem & WithPlaceId(const Aws::String &value)
ReverseGeocodeResultItem & WithCategories(Aws::Vector< Category > &&value)
ReverseGeocodeResultItem & WithFoodTypes(Aws::Vector< FoodType > &&value)
ReverseGeocodeResultItem & AddCategories(const Category &value)
void SetPlaceId(const Aws::String &value)
bool GetAddressNumberCorrected() const
ReverseGeocodeResultItem & AddPosition(double value)
ReverseGeocodeResultItem & AddMapView(double value)
bool MapViewHasBeenSet() const
ReverseGeocodeResultItem & WithTitle(const Aws::String &value)
void SetPosition(const Aws::Vector< double > &value)
const Address & GetAddress() const
bool AccessPointsHasBeenSet() const
ReverseGeocodeResultItem & WithAddress(const Address &value)
void SetTimeZone(TimeZone &&value)
bool DistanceHasBeenSet() const
ReverseGeocodeResultItem & WithPosition(const Aws::Vector< double > &value)
long long GetDistance() const
void SetAddress(Address &&value)
void SetFoodTypes(Aws::Vector< FoodType > &&value)
void SetMapView(Aws::Vector< double > &&value)
ReverseGeocodeResultItem & WithCategories(const Aws::Vector< Category > &value)
ReverseGeocodeResultItem & WithPoliticalView(const Aws::String &value)
void SetPoliticalView(Aws::String &&value)
void SetPlaceType(PlaceType &&value)
ReverseGeocodeResultItem & WithDistance(long long value)
bool PlaceTypeHasBeenSet() const
ReverseGeocodeResultItem & WithPoliticalView(Aws::String &&value)
ReverseGeocodeResultItem & AddCategories(Category &&value)
ReverseGeocodeResultItem & AddPostalCodeDetails(PostalCodeDetails &&value)
ReverseGeocodeResultItem & WithPoliticalView(const char *value)
ReverseGeocodeResultItem & WithAccessPoints(const Aws::Vector< AccessPoint > &value)
AWS_GEOPLACES_API ReverseGeocodeResultItem(Aws::Utils::Json::JsonView jsonValue)
ReverseGeocodeResultItem & WithTitle(Aws::String &&value)
ReverseGeocodeResultItem & WithPosition(Aws::Vector< double > &&value)
ReverseGeocodeResultItem & WithPlaceType(const PlaceType &value)
bool AddressNumberCorrectedHasBeenSet() const
ReverseGeocodeResultItem & WithPlaceType(PlaceType &&value)
const Aws::Vector< double > & GetMapView() const
bool TitleHasBeenSet() const
ReverseGeocodeResultItem & AddAccessPoints(const AccessPoint &value)
const Aws::Vector< FoodType > & GetFoodTypes() const
const Aws::String & GetPoliticalView() const
void SetFoodTypes(const Aws::Vector< FoodType > &value)
bool FoodTypesHasBeenSet() const
const Aws::Vector< double > & GetPosition() const
void SetTitle(Aws::String &&value)
void SetPostalCodeDetails(const Aws::Vector< PostalCodeDetails > &value)
void SetTitle(const Aws::String &value)
ReverseGeocodeResultItem & WithAccessPoints(Aws::Vector< AccessPoint > &&value)
void SetAccessPoints(Aws::Vector< AccessPoint > &&value)
ReverseGeocodeResultItem & AddFoodTypes(FoodType &&value)
ReverseGeocodeResultItem & WithPlaceId(const char *value)
ReverseGeocodeResultItem & AddAccessPoints(AccessPoint &&value)
ReverseGeocodeResultItem & AddFoodTypes(const FoodType &value)
ReverseGeocodeResultItem & WithTimeZone(const TimeZone &value)
void SetPosition(Aws::Vector< double > &&value)
const Aws::String & GetTitle() const
const Aws::Vector< AccessPoint > & GetAccessPoints() const
ReverseGeocodeResultItem & AddPostalCodeDetails(const PostalCodeDetails &value)
void SetCategories(Aws::Vector< Category > &&value)
void SetAddress(const Address &value)
ReverseGeocodeResultItem & WithPostalCodeDetails(Aws::Vector< PostalCodeDetails > &&value)
const PlaceType & GetPlaceType() const
bool PositionHasBeenSet() const
bool PoliticalViewHasBeenSet() const
void SetDistance(long long value)
ReverseGeocodeResultItem & WithTimeZone(TimeZone &&value)
ReverseGeocodeResultItem & WithTitle(const char *value)
void SetPlaceType(const PlaceType &value)
ReverseGeocodeResultItem & WithMapView(Aws::Vector< double > &&value)
bool CategoriesHasBeenSet() const
void SetAccessPoints(const Aws::Vector< AccessPoint > &value)
AWS_GEOPLACES_API ReverseGeocodeResultItem()
void SetCategories(const Aws::Vector< Category > &value)
void SetAddressNumberCorrected(bool value)
const Aws::String & GetPlaceId() const
void SetPlaceId(const char *value)
bool AddressHasBeenSet() const
void SetPoliticalView(const char *value)
void SetTimeZone(const TimeZone &value)
void SetPoliticalView(const Aws::String &value)
void SetPostalCodeDetails(Aws::Vector< PostalCodeDetails > &&value)
const Aws::Vector< Category > & GetCategories() const
void SetTitle(const char *value)
const TimeZone & GetTimeZone() const
AWS_GEOPLACES_API Aws::Utils::Json::JsonValue Jsonize() const
bool TimeZoneHasBeenSet() 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