7#include <aws/core/utils/memory/stl/AWSString.h>
8#include <aws/core/utils/memory/stl/AWSVector.h>
9#include <aws/location/LocationService_EXPORTS.h>
10#include <aws/location/model/PlaceGeometry.h>
11#include <aws/location/model/TimeZone.h>
22namespace LocationService {
34 AWS_LOCATIONSERVICE_API
Place() =
default;
46 template <
typename LabelT = Aws::String>
48 m_labelHasBeenSet =
true;
49 m_label = std::forward<LabelT>(value);
51 template <
typename LabelT = Aws::String>
53 SetLabel(std::forward<LabelT>(value));
62 template <
typename GeometryT = PlaceGeometry>
64 m_geometryHasBeenSet =
true;
65 m_geometry = std::forward<GeometryT>(value);
67 template <
typename GeometryT = PlaceGeometry>
80 template <
typename AddressNumberT = Aws::String>
82 m_addressNumberHasBeenSet =
true;
83 m_addressNumber = std::forward<AddressNumberT>(value);
85 template <
typename AddressNumberT = Aws::String>
99 template <
typename StreetT = Aws::String>
101 m_streetHasBeenSet =
true;
102 m_street = std::forward<StreetT>(value);
104 template <
typename StreetT = Aws::String>
117 template <
typename NeighborhoodT = Aws::String>
119 m_neighborhoodHasBeenSet =
true;
120 m_neighborhood = std::forward<NeighborhoodT>(value);
122 template <
typename NeighborhoodT = Aws::String>
136 template <
typename MunicipalityT = Aws::String>
138 m_municipalityHasBeenSet =
true;
139 m_municipality = std::forward<MunicipalityT>(value);
141 template <
typename MunicipalityT = Aws::String>
155 template <
typename SubRegionT = Aws::String>
157 m_subRegionHasBeenSet =
true;
158 m_subRegion = std::forward<SubRegionT>(value);
160 template <
typename SubRegionT = Aws::String>
174 template <
typename RegionT = Aws::String>
176 m_regionHasBeenSet =
true;
177 m_region = std::forward<RegionT>(value);
179 template <
typename RegionT = Aws::String>
194 template <
typename CountryT = Aws::String>
196 m_countryHasBeenSet =
true;
197 m_country = std::forward<CountryT>(value);
199 template <
typename CountryT = Aws::String>
213 template <
typename PostalCodeT = Aws::String>
215 m_postalCodeHasBeenSet =
true;
216 m_postalCode = std::forward<PostalCodeT>(value);
218 template <
typename PostalCodeT = Aws::String>
238 m_interpolatedHasBeenSet =
true;
239 m_interpolated = value;
254 template <
typename TimeZoneT = TimeZone>
256 m_timeZoneHasBeenSet =
true;
257 m_timeZone = std::forward<TimeZoneT>(value);
259 template <
typename TimeZoneT = TimeZone>
274 template <
typename UnitTypeT = Aws::String>
276 m_unitTypeHasBeenSet =
true;
277 m_unitType = std::forward<UnitTypeT>(value);
279 template <
typename UnitTypeT = Aws::String>
295 template <
typename UnitNumberT = Aws::String>
297 m_unitNumberHasBeenSet =
true;
298 m_unitNumber = std::forward<UnitNumberT>(value);
300 template <
typename UnitNumberT = Aws::String>
317 template <
typename CategoriesT = Aws::Vector<Aws::String>>
319 m_categoriesHasBeenSet =
true;
320 m_categories = std::forward<CategoriesT>(value);
322 template <
typename CategoriesT = Aws::Vector<Aws::String>>
327 template <
typename CategoriesT = Aws::String>
329 m_categoriesHasBeenSet =
true;
330 m_categories.emplace_back(std::forward<CategoriesT>(value));
342 template <
typename SupplementalCategoriesT = Aws::Vector<Aws::String>>
344 m_supplementalCategoriesHasBeenSet =
true;
345 m_supplementalCategories = std::forward<SupplementalCategoriesT>(value);
347 template <
typename SupplementalCategoriesT = Aws::Vector<Aws::String>>
352 template <
typename SupplementalCategoriesT = Aws::String>
354 m_supplementalCategoriesHasBeenSet =
true;
355 m_supplementalCategories.emplace_back(std::forward<SupplementalCategoriesT>(value));
370 template <
typename SubMunicipalityT = Aws::String>
372 m_subMunicipalityHasBeenSet =
true;
373 m_subMunicipality = std::forward<SubMunicipalityT>(value);
375 template <
typename SubMunicipalityT = Aws::String>
402 bool m_interpolated{
false};
415 bool m_labelHasBeenSet =
false;
416 bool m_geometryHasBeenSet =
false;
417 bool m_addressNumberHasBeenSet =
false;
418 bool m_streetHasBeenSet =
false;
419 bool m_neighborhoodHasBeenSet =
false;
420 bool m_municipalityHasBeenSet =
false;
421 bool m_subRegionHasBeenSet =
false;
422 bool m_regionHasBeenSet =
false;
423 bool m_countryHasBeenSet =
false;
424 bool m_postalCodeHasBeenSet =
false;
425 bool m_interpolatedHasBeenSet =
false;
426 bool m_timeZoneHasBeenSet =
false;
427 bool m_unitTypeHasBeenSet =
false;
428 bool m_unitNumberHasBeenSet =
false;
429 bool m_categoriesHasBeenSet =
false;
430 bool m_supplementalCategoriesHasBeenSet =
false;
431 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