7#include <aws/location/LocationService_EXPORTS.h>
8#include <aws/core/utils/memory/stl/AWSString.h>
9#include <aws/location/model/PlaceGeometry.h>
10#include <aws/location/model/TimeZone.h>
11#include <aws/core/utils/memory/stl/AWSVector.h>
24namespace LocationService
39 AWS_LOCATIONSERVICE_API
Place() =
default;
52 template<
typename LabelT = Aws::String>
53 void SetLabel(LabelT&& value) { m_labelHasBeenSet =
true; m_label = std::forward<LabelT>(value); }
54 template<
typename LabelT = Aws::String>
62 template<
typename GeometryT = PlaceGeometry>
63 void SetGeometry(GeometryT&& value) { m_geometryHasBeenSet =
true; m_geometry = std::forward<GeometryT>(value); }
64 template<
typename GeometryT = PlaceGeometry>
74 template<
typename AddressNumberT = Aws::String>
75 void SetAddressNumber(AddressNumberT&& value) { m_addressNumberHasBeenSet =
true; m_addressNumber = std::forward<AddressNumberT>(value); }
76 template<
typename AddressNumberT = Aws::String>
87 template<
typename StreetT = Aws::String>
88 void SetStreet(StreetT&& value) { m_streetHasBeenSet =
true; m_street = std::forward<StreetT>(value); }
89 template<
typename StreetT = Aws::String>
99 template<
typename NeighborhoodT = Aws::String>
100 void SetNeighborhood(NeighborhoodT&& value) { m_neighborhoodHasBeenSet =
true; m_neighborhood = std::forward<NeighborhoodT>(value); }
101 template<
typename NeighborhoodT = Aws::String>
112 template<
typename MunicipalityT = Aws::String>
113 void SetMunicipality(MunicipalityT&& value) { m_municipalityHasBeenSet =
true; m_municipality = std::forward<MunicipalityT>(value); }
114 template<
typename MunicipalityT = Aws::String>
125 template<
typename SubRegionT = Aws::String>
126 void SetSubRegion(SubRegionT&& value) { m_subRegionHasBeenSet =
true; m_subRegion = std::forward<SubRegionT>(value); }
127 template<
typename SubRegionT = Aws::String>
138 template<
typename RegionT = Aws::String>
139 void SetRegion(RegionT&& value) { m_regionHasBeenSet =
true; m_region = std::forward<RegionT>(value); }
140 template<
typename RegionT = Aws::String>
152 template<
typename CountryT = Aws::String>
153 void SetCountry(CountryT&& value) { m_countryHasBeenSet =
true; m_country = std::forward<CountryT>(value); }
154 template<
typename CountryT = Aws::String>
165 template<
typename PostalCodeT = Aws::String>
166 void SetPostalCode(PostalCodeT&& value) { m_postalCodeHasBeenSet =
true; m_postalCode = std::forward<PostalCodeT>(value); }
167 template<
typename PostalCodeT = Aws::String>
183 inline void SetInterpolated(
bool value) { m_interpolatedHasBeenSet =
true; m_interpolated = value; }
194 template<
typename TimeZoneT = TimeZone>
195 void SetTimeZone(TimeZoneT&& value) { m_timeZoneHasBeenSet =
true; m_timeZone = std::forward<TimeZoneT>(value); }
196 template<
typename TimeZoneT = TimeZone>
208 template<
typename UnitTypeT = Aws::String>
209 void SetUnitType(UnitTypeT&& value) { m_unitTypeHasBeenSet =
true; m_unitType = std::forward<UnitTypeT>(value); }
210 template<
typename UnitTypeT = Aws::String>
223 template<
typename UnitNumberT = Aws::String>
224 void SetUnitNumber(UnitNumberT&& value) { m_unitNumberHasBeenSet =
true; m_unitNumber = std::forward<UnitNumberT>(value); }
225 template<
typename UnitNumberT = Aws::String>
239 template<
typename CategoriesT = Aws::Vector<Aws::String>>
240 void SetCategories(CategoriesT&& value) { m_categoriesHasBeenSet =
true; m_categories = std::forward<CategoriesT>(value); }
241 template<
typename CategoriesT = Aws::Vector<Aws::String>>
243 template<
typename CategoriesT = Aws::String>
244 Place&
AddCategories(CategoriesT&& value) { m_categoriesHasBeenSet =
true; m_categories.emplace_back(std::forward<CategoriesT>(value));
return *
this; }
254 template<
typename SupplementalCategoriesT = Aws::Vector<Aws::String>>
255 void SetSupplementalCategories(SupplementalCategoriesT&& value) { m_supplementalCategoriesHasBeenSet =
true; m_supplementalCategories = std::forward<SupplementalCategoriesT>(value); }
256 template<
typename SupplementalCategoriesT = Aws::Vector<Aws::String>>
258 template<
typename SupplementalCategoriesT = Aws::String>
259 Place&
AddSupplementalCategories(SupplementalCategoriesT&& value) { m_supplementalCategoriesHasBeenSet =
true; m_supplementalCategories.emplace_back(std::forward<SupplementalCategoriesT>(value));
return *
this; }
272 template<
typename SubMunicipalityT = Aws::String>
273 void SetSubMunicipality(SubMunicipalityT&& value) { m_subMunicipalityHasBeenSet =
true; m_subMunicipality = std::forward<SubMunicipalityT>(value); }
274 template<
typename SubMunicipalityT = Aws::String>
280 bool m_labelHasBeenSet =
false;
283 bool m_geometryHasBeenSet =
false;
286 bool m_addressNumberHasBeenSet =
false;
289 bool m_streetHasBeenSet =
false;
292 bool m_neighborhoodHasBeenSet =
false;
295 bool m_municipalityHasBeenSet =
false;
298 bool m_subRegionHasBeenSet =
false;
301 bool m_regionHasBeenSet =
false;
304 bool m_countryHasBeenSet =
false;
307 bool m_postalCodeHasBeenSet =
false;
309 bool m_interpolated{
false};
310 bool m_interpolatedHasBeenSet =
false;
313 bool m_timeZoneHasBeenSet =
false;
316 bool m_unitTypeHasBeenSet =
false;
319 bool m_unitNumberHasBeenSet =
false;
322 bool m_categoriesHasBeenSet =
false;
325 bool m_supplementalCategoriesHasBeenSet =
false;
328 bool m_subMunicipalityHasBeenSet =
false;
bool PostalCodeHasBeenSet() const
void SetAddressNumber(AddressNumberT &&value)
Place & WithStreet(StreetT &&value)
Place & WithNeighborhood(NeighborhoodT &&value)
Place & WithSubMunicipality(SubMunicipalityT &&value)
void SetGeometry(GeometryT &&value)
void SetSubMunicipality(SubMunicipalityT &&value)
bool GetInterpolated() const
const Aws::String & GetPostalCode() const
bool InterpolatedHasBeenSet() const
Place & AddSupplementalCategories(SupplementalCategoriesT &&value)
bool LabelHasBeenSet() const
void SetLabel(LabelT &&value)
Place & WithSubRegion(SubRegionT &&value)
void SetSupplementalCategories(SupplementalCategoriesT &&value)
bool SubMunicipalityHasBeenSet() const
Place & WithCountry(CountryT &&value)
Place & WithUnitType(UnitTypeT &&value)
Place & WithSupplementalCategories(SupplementalCategoriesT &&value)
AWS_LOCATIONSERVICE_API Place & operator=(Aws::Utils::Json::JsonView jsonValue)
void SetStreet(StreetT &&value)
const Aws::String & GetSubRegion() const
Place & WithUnitNumber(UnitNumberT &&value)
const Aws::String & GetLabel() const
bool StreetHasBeenSet() const
void SetPostalCode(PostalCodeT &&value)
bool CategoriesHasBeenSet() const
bool TimeZoneHasBeenSet() const
Place & WithLabel(LabelT &&value)
void SetTimeZone(TimeZoneT &&value)
Place & WithPostalCode(PostalCodeT &&value)
const Aws::String & GetCountry() const
Place & AddCategories(CategoriesT &&value)
void SetCategories(CategoriesT &&value)
const Aws::Vector< Aws::String > & GetCategories() const
const TimeZone & GetTimeZone() const
const Aws::String & GetAddressNumber() const
bool SupplementalCategoriesHasBeenSet() const
void SetUnitNumber(UnitNumberT &&value)
Place & WithAddressNumber(AddressNumberT &&value)
void SetRegion(RegionT &&value)
void SetSubRegion(SubRegionT &&value)
void SetInterpolated(bool value)
Place & WithTimeZone(TimeZoneT &&value)
const PlaceGeometry & GetGeometry() const
bool MunicipalityHasBeenSet() const
const Aws::String & GetSubMunicipality() const
void SetNeighborhood(NeighborhoodT &&value)
Place & WithGeometry(GeometryT &&value)
const Aws::String & GetUnitType() const
AWS_LOCATIONSERVICE_API Place()=default
Place & WithCategories(CategoriesT &&value)
Place & WithMunicipality(MunicipalityT &&value)
bool UnitNumberHasBeenSet() const
bool GeometryHasBeenSet() const
const Aws::String & GetNeighborhood() const
AWS_LOCATIONSERVICE_API Place(Aws::Utils::Json::JsonView jsonValue)
const Aws::String & GetMunicipality() const
AWS_LOCATIONSERVICE_API Aws::Utils::Json::JsonValue Jsonize() const
Place & WithInterpolated(bool value)
bool CountryHasBeenSet() const
bool AddressNumberHasBeenSet() const
Place & WithRegion(RegionT &&value)
bool UnitTypeHasBeenSet() const
bool RegionHasBeenSet() const
void SetMunicipality(MunicipalityT &&value)
void SetCountry(CountryT &&value)
const Aws::Vector< Aws::String > & GetSupplementalCategories() const
const Aws::String & GetStreet() const
bool SubRegionHasBeenSet() const
const Aws::String & GetRegion() const
const Aws::String & GetUnitNumber() const
void SetUnitType(UnitTypeT &&value)
bool NeighborhoodHasBeenSet() 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