7#include <aws/geo-places/GeoPlaces_EXPORTS.h>
8#include <aws/core/utils/memory/stl/AWSString.h>
49 template<
typename CountryT = Aws::String>
50 void SetCountry(CountryT&& value) { m_countryHasBeenSet =
true; m_country = std::forward<CountryT>(value); }
51 template<
typename CountryT = Aws::String>
62 template<
typename RegionT = Aws::String>
63 void SetRegion(RegionT&& value) { m_regionHasBeenSet =
true; m_region = std::forward<RegionT>(value); }
64 template<
typename RegionT = Aws::String>
74 template<
typename SubRegionT = Aws::String>
75 void SetSubRegion(SubRegionT&& value) { m_subRegionHasBeenSet =
true; m_subRegion = std::forward<SubRegionT>(value); }
76 template<
typename SubRegionT = Aws::String>
87 template<
typename LocalityT = Aws::String>
88 void SetLocality(LocalityT&& value) { m_localityHasBeenSet =
true; m_locality = std::forward<LocalityT>(value); }
89 template<
typename LocalityT = Aws::String>
99 template<
typename DistrictT = Aws::String>
100 void SetDistrict(DistrictT&& value) { m_districtHasBeenSet =
true; m_district = std::forward<DistrictT>(value); }
101 template<
typename DistrictT = Aws::String>
111 template<
typename StreetT = Aws::String>
112 void SetStreet(StreetT&& value) { m_streetHasBeenSet =
true; m_street = std::forward<StreetT>(value); }
113 template<
typename StreetT = Aws::String>
123 template<
typename AddressNumberT = Aws::String>
124 void SetAddressNumber(AddressNumberT&& value) { m_addressNumberHasBeenSet =
true; m_addressNumber = std::forward<AddressNumberT>(value); }
125 template<
typename AddressNumberT = Aws::String>
137 template<
typename PostalCodeT = Aws::String>
138 void SetPostalCode(PostalCodeT&& value) { m_postalCodeHasBeenSet =
true; m_postalCode = std::forward<PostalCodeT>(value); }
139 template<
typename PostalCodeT = Aws::String>
145 bool m_countryHasBeenSet =
false;
148 bool m_regionHasBeenSet =
false;
151 bool m_subRegionHasBeenSet =
false;
154 bool m_localityHasBeenSet =
false;
157 bool m_districtHasBeenSet =
false;
160 bool m_streetHasBeenSet =
false;
163 bool m_addressNumberHasBeenSet =
false;
166 bool m_postalCodeHasBeenSet =
false;
const Aws::String & GetPostalCode() const
GeocodeQueryComponents & WithDistrict(DistrictT &&value)
const Aws::String & GetSubRegion() const
void SetStreet(StreetT &&value)
GeocodeQueryComponents & WithStreet(StreetT &&value)
const Aws::String & GetAddressNumber() const
AWS_GEOPLACES_API GeocodeQueryComponents()=default
bool LocalityHasBeenSet() const
const Aws::String & GetStreet() const
bool StreetHasBeenSet() const
GeocodeQueryComponents & WithPostalCode(PostalCodeT &&value)
const Aws::String & GetLocality() const
AWS_GEOPLACES_API GeocodeQueryComponents & operator=(Aws::Utils::Json::JsonView jsonValue)
GeocodeQueryComponents & WithAddressNumber(AddressNumberT &&value)
bool AddressNumberHasBeenSet() const
const Aws::String & GetDistrict() const
bool RegionHasBeenSet() const
GeocodeQueryComponents & WithLocality(LocalityT &&value)
const Aws::String & GetRegion() const
void SetCountry(CountryT &&value)
void SetRegion(RegionT &&value)
void SetAddressNumber(AddressNumberT &&value)
GeocodeQueryComponents & WithRegion(RegionT &&value)
GeocodeQueryComponents & WithCountry(CountryT &&value)
AWS_GEOPLACES_API Aws::Utils::Json::JsonValue Jsonize() const
void SetLocality(LocalityT &&value)
void SetSubRegion(SubRegionT &&value)
void SetDistrict(DistrictT &&value)
void SetPostalCode(PostalCodeT &&value)
bool SubRegionHasBeenSet() const
bool PostalCodeHasBeenSet() const
const Aws::String & GetCountry() const
GeocodeQueryComponents & WithSubRegion(SubRegionT &&value)
AWS_GEOPLACES_API GeocodeQueryComponents(Aws::Utils::Json::JsonView jsonValue)
bool DistrictHasBeenSet() const
bool CountryHasBeenSet() const
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue