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();
54 inline void SetLabel(
const char* value) { m_labelHasBeenSet =
true; m_label.assign(value); }
78 inline void SetAddressNumber(
const char* value) { m_addressNumberHasBeenSet =
true; m_addressNumber.assign(value); }
93 inline void SetStreet(
const char* value) { m_streetHasBeenSet =
true; m_street.assign(value); }
107 inline void SetNeighborhood(
const char* value) { m_neighborhoodHasBeenSet =
true; m_neighborhood.assign(value); }
122 inline void SetMunicipality(
const char* value) { m_municipalityHasBeenSet =
true; m_municipality.assign(value); }
137 inline void SetSubRegion(
const char* value) { m_subRegionHasBeenSet =
true; m_subRegion.assign(value); }
152 inline void SetRegion(
const char* value) { m_regionHasBeenSet =
true; m_region.assign(value); }
168 inline void SetCountry(
const char* value) { m_countryHasBeenSet =
true; m_country.assign(value); }
183 inline void SetPostalCode(
const char* value) { m_postalCodeHasBeenSet =
true; m_postalCode.assign(value); }
201 inline void SetInterpolated(
bool value) { m_interpolatedHasBeenSet =
true; m_interpolated = value; }
228 inline void SetUnitType(
const char* value) { m_unitTypeHasBeenSet =
true; m_unitType.assign(value); }
245 inline void SetUnitNumber(
const char* value) { m_unitNumberHasBeenSet =
true; m_unitNumber.assign(value); }
267 inline Place&
AddCategories(
const char* value) { m_categoriesHasBeenSet =
true; m_categories.push_back(value);
return *
this; }
283 inline Place&
AddSupplementalCategories(
const char* value) { m_supplementalCategoriesHasBeenSet =
true; m_supplementalCategories.push_back(value);
return *
this; }
298 inline void SetSubMunicipality(
const char* value) { m_subMunicipalityHasBeenSet =
true; m_subMunicipality.assign(value); }
306 bool m_labelHasBeenSet =
false;
309 bool m_geometryHasBeenSet =
false;
312 bool m_addressNumberHasBeenSet =
false;
315 bool m_streetHasBeenSet =
false;
318 bool m_neighborhoodHasBeenSet =
false;
321 bool m_municipalityHasBeenSet =
false;
324 bool m_subRegionHasBeenSet =
false;
327 bool m_regionHasBeenSet =
false;
330 bool m_countryHasBeenSet =
false;
333 bool m_postalCodeHasBeenSet =
false;
336 bool m_interpolatedHasBeenSet =
false;
339 bool m_timeZoneHasBeenSet =
false;
342 bool m_unitTypeHasBeenSet =
false;
345 bool m_unitNumberHasBeenSet =
false;
348 bool m_categoriesHasBeenSet =
false;
351 bool m_supplementalCategoriesHasBeenSet =
false;
354 bool m_subMunicipalityHasBeenSet =
false;
bool PostalCodeHasBeenSet() const
void SetSupplementalCategories(const Aws::Vector< Aws::String > &value)
Place & WithUnitNumber(const char *value)
Place & WithCategories(const Aws::Vector< Aws::String > &value)
void SetSupplementalCategories(Aws::Vector< Aws::String > &&value)
Place & WithSubMunicipality(const char *value)
Place & WithUnitNumber(Aws::String &&value)
Place & WithTimeZone(const TimeZone &value)
Place & WithPostalCode(const char *value)
bool GetInterpolated() const
const Aws::String & GetPostalCode() const
Place & WithCountry(const Aws::String &value)
void SetAddressNumber(const Aws::String &value)
bool InterpolatedHasBeenSet() const
void SetStreet(const Aws::String &value)
Place & WithRegion(Aws::String &&value)
Place & WithLabel(const char *value)
void SetUnitNumber(const Aws::String &value)
void SetUnitType(const char *value)
bool LabelHasBeenSet() const
Place & WithCountry(Aws::String &&value)
bool SubMunicipalityHasBeenSet() const
AWS_LOCATIONSERVICE_API Place()
AWS_LOCATIONSERVICE_API Place & operator=(Aws::Utils::Json::JsonView jsonValue)
void SetLabel(const char *value)
const Aws::String & GetSubRegion() const
void SetLabel(Aws::String &&value)
Place & WithStreet(Aws::String &&value)
const Aws::String & GetLabel() const
void SetTimeZone(const TimeZone &value)
Place & WithUnitType(const char *value)
void SetLabel(const Aws::String &value)
Place & WithMunicipality(Aws::String &&value)
void SetSubMunicipality(const char *value)
void SetCategories(const Aws::Vector< Aws::String > &value)
Place & WithSupplementalCategories(const Aws::Vector< Aws::String > &value)
Place & WithSubRegion(Aws::String &&value)
void SetRegion(const char *value)
bool StreetHasBeenSet() const
Place & AddSupplementalCategories(Aws::String &&value)
void SetStreet(Aws::String &&value)
bool CategoriesHasBeenSet() const
bool TimeZoneHasBeenSet() const
void SetSubMunicipality(Aws::String &&value)
void SetPostalCode(Aws::String &&value)
Place & WithSubRegion(const Aws::String &value)
Place & WithAddressNumber(Aws::String &&value)
const Aws::String & GetCountry() const
Place & WithPostalCode(const Aws::String &value)
void SetPostalCode(const char *value)
void SetPostalCode(const Aws::String &value)
Place & AddCategories(const char *value)
Place & WithUnitType(const Aws::String &value)
Place & WithMunicipality(const Aws::String &value)
void SetNeighborhood(Aws::String &&value)
Place & WithUnitNumber(const Aws::String &value)
Place & WithUnitType(Aws::String &&value)
const Aws::Vector< Aws::String > & GetCategories() const
Place & WithSubMunicipality(Aws::String &&value)
Place & WithCountry(const char *value)
void SetSubRegion(Aws::String &&value)
void SetRegion(const Aws::String &value)
const TimeZone & GetTimeZone() const
Place & WithCategories(Aws::Vector< Aws::String > &&value)
const Aws::String & GetAddressNumber() const
void SetSubRegion(const char *value)
bool SupplementalCategoriesHasBeenSet() const
void SetCategories(Aws::Vector< Aws::String > &&value)
void SetGeometry(const PlaceGeometry &value)
Place & WithNeighborhood(Aws::String &&value)
Place & WithNeighborhood(const Aws::String &value)
void SetInterpolated(bool value)
const PlaceGeometry & GetGeometry() const
bool MunicipalityHasBeenSet() const
const Aws::String & GetSubMunicipality() const
void SetNeighborhood(const Aws::String &value)
const Aws::String & GetUnitType() const
void SetStreet(const char *value)
void SetUnitType(Aws::String &&value)
Place & AddSupplementalCategories(const Aws::String &value)
Place & WithPostalCode(Aws::String &&value)
Place & AddSupplementalCategories(const char *value)
void SetAddressNumber(Aws::String &&value)
Place & WithAddressNumber(const char *value)
Place & WithGeometry(const PlaceGeometry &value)
Place & WithAddressNumber(const Aws::String &value)
void SetSubMunicipality(const Aws::String &value)
Place & AddCategories(const Aws::String &value)
Place & WithMunicipality(const char *value)
void SetMunicipality(const char *value)
void SetCountry(const char *value)
void SetAddressNumber(const char *value)
void SetGeometry(PlaceGeometry &&value)
Place & WithTimeZone(TimeZone &&value)
Place & WithStreet(const char *value)
Place & WithSupplementalCategories(Aws::Vector< Aws::String > &&value)
bool UnitNumberHasBeenSet() const
Place & WithNeighborhood(const char *value)
void SetCountry(Aws::String &&value)
void SetNeighborhood(const char *value)
Place & WithLabel(Aws::String &&value)
bool GeometryHasBeenSet() const
const Aws::String & GetNeighborhood() const
Place & WithStreet(const Aws::String &value)
AWS_LOCATIONSERVICE_API Place(Aws::Utils::Json::JsonView jsonValue)
const Aws::String & GetMunicipality() const
void SetUnitNumber(const char *value)
AWS_LOCATIONSERVICE_API Aws::Utils::Json::JsonValue Jsonize() const
void SetRegion(Aws::String &&value)
Place & WithInterpolated(bool value)
bool CountryHasBeenSet() const
Place & WithSubRegion(const char *value)
void SetTimeZone(TimeZone &&value)
Place & WithSubMunicipality(const Aws::String &value)
void SetMunicipality(Aws::String &&value)
bool AddressNumberHasBeenSet() const
Place & WithGeometry(PlaceGeometry &&value)
bool UnitTypeHasBeenSet() const
bool RegionHasBeenSet() const
void SetSubRegion(const Aws::String &value)
void SetUnitType(const Aws::String &value)
void SetMunicipality(const Aws::String &value)
void SetUnitNumber(Aws::String &&value)
void SetCountry(const Aws::String &value)
Place & WithLabel(const Aws::String &value)
const Aws::Vector< Aws::String > & GetSupplementalCategories() const
const Aws::String & GetStreet() const
Place & AddCategories(Aws::String &&value)
bool SubRegionHasBeenSet() const
Place & WithRegion(const Aws::String &value)
const Aws::String & GetRegion() const
const Aws::String & GetUnitNumber() const
bool NeighborhoodHasBeenSet() const
Place & WithRegion(const char *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