7#include <aws/core/utils/memory/stl/AWSVector.h>
8#include <aws/geo-places/GeoPlaces_EXPORTS.h>
9#include <aws/geo-places/model/ParsedQueryComponent.h>
10#include <aws/geo-places/model/ParsedQuerySecondaryAddressComponent.h>
44 template <
typename CountryT = Aws::Vector<ParsedQueryComponent>>
46 m_countryHasBeenSet =
true;
47 m_country = std::forward<CountryT>(value);
49 template <
typename CountryT = Aws::Vector<ParsedQueryComponent>>
54 template <
typename CountryT = ParsedQueryComponent>
56 m_countryHasBeenSet =
true;
57 m_country.emplace_back(std::forward<CountryT>(value));
69 template <
typename RegionT = Aws::Vector<ParsedQueryComponent>>
71 m_regionHasBeenSet =
true;
72 m_region = std::forward<RegionT>(value);
74 template <
typename RegionT = Aws::Vector<ParsedQueryComponent>>
79 template <
typename RegionT = ParsedQueryComponent>
81 m_regionHasBeenSet =
true;
82 m_region.emplace_back(std::forward<RegionT>(value));
93 template <
typename SubRegionT = Aws::Vector<ParsedQueryComponent>>
95 m_subRegionHasBeenSet =
true;
96 m_subRegion = std::forward<SubRegionT>(value);
98 template <
typename SubRegionT = Aws::Vector<ParsedQueryComponent>>
103 template <
typename SubRegionT = ParsedQueryComponent>
105 m_subRegionHasBeenSet =
true;
106 m_subRegion.emplace_back(std::forward<SubRegionT>(value));
118 template <
typename LocalityT = Aws::Vector<ParsedQueryComponent>>
120 m_localityHasBeenSet =
true;
121 m_locality = std::forward<LocalityT>(value);
123 template <
typename LocalityT = Aws::Vector<ParsedQueryComponent>>
128 template <
typename LocalityT = ParsedQueryComponent>
130 m_localityHasBeenSet =
true;
131 m_locality.emplace_back(std::forward<LocalityT>(value));
142 template <
typename DistrictT = Aws::Vector<ParsedQueryComponent>>
144 m_districtHasBeenSet =
true;
145 m_district = std::forward<DistrictT>(value);
147 template <
typename DistrictT = Aws::Vector<ParsedQueryComponent>>
152 template <
typename DistrictT = ParsedQueryComponent>
154 m_districtHasBeenSet =
true;
155 m_district.emplace_back(std::forward<DistrictT>(value));
167 template <
typename SubDistrictT = Aws::Vector<ParsedQueryComponent>>
169 m_subDistrictHasBeenSet =
true;
170 m_subDistrict = std::forward<SubDistrictT>(value);
172 template <
typename SubDistrictT = Aws::Vector<ParsedQueryComponent>>
177 template <
typename SubDistrictT = ParsedQueryComponent>
179 m_subDistrictHasBeenSet =
true;
180 m_subDistrict.emplace_back(std::forward<SubDistrictT>(value));
193 template <
typename PostalCodeT = Aws::Vector<ParsedQueryComponent>>
195 m_postalCodeHasBeenSet =
true;
196 m_postalCode = std::forward<PostalCodeT>(value);
198 template <
typename PostalCodeT = Aws::Vector<ParsedQueryComponent>>
203 template <
typename PostalCodeT = ParsedQueryComponent>
205 m_postalCodeHasBeenSet =
true;
206 m_postalCode.emplace_back(std::forward<PostalCodeT>(value));
218 template <
typename BlockT = Aws::Vector<ParsedQueryComponent>>
220 m_blockHasBeenSet =
true;
221 m_block = std::forward<BlockT>(value);
223 template <
typename BlockT = Aws::Vector<ParsedQueryComponent>>
225 SetBlock(std::forward<BlockT>(value));
228 template <
typename BlockT = ParsedQueryComponent>
230 m_blockHasBeenSet =
true;
231 m_block.emplace_back(std::forward<BlockT>(value));
243 template <
typename SubBlockT = Aws::Vector<ParsedQueryComponent>>
245 m_subBlockHasBeenSet =
true;
246 m_subBlock = std::forward<SubBlockT>(value);
248 template <
typename SubBlockT = Aws::Vector<ParsedQueryComponent>>
253 template <
typename SubBlockT = ParsedQueryComponent>
255 m_subBlockHasBeenSet =
true;
256 m_subBlock.emplace_back(std::forward<SubBlockT>(value));
267 template <
typename StreetT = Aws::Vector<ParsedQueryComponent>>
269 m_streetHasBeenSet =
true;
270 m_street = std::forward<StreetT>(value);
272 template <
typename StreetT = Aws::Vector<ParsedQueryComponent>>
277 template <
typename StreetT = ParsedQueryComponent>
279 m_streetHasBeenSet =
true;
280 m_street.emplace_back(std::forward<StreetT>(value));
291 template <
typename AddressNumberT = Aws::Vector<ParsedQueryComponent>>
293 m_addressNumberHasBeenSet =
true;
294 m_addressNumber = std::forward<AddressNumberT>(value);
296 template <
typename AddressNumberT = Aws::Vector<ParsedQueryComponent>>
301 template <
typename AddressNumberT = ParsedQueryComponent>
303 m_addressNumberHasBeenSet =
true;
304 m_addressNumber.emplace_back(std::forward<AddressNumberT>(value));
315 template <
typename BuildingT = Aws::Vector<ParsedQueryComponent>>
317 m_buildingHasBeenSet =
true;
318 m_building = std::forward<BuildingT>(value);
320 template <
typename BuildingT = Aws::Vector<ParsedQueryComponent>>
325 template <
typename BuildingT = ParsedQueryComponent>
327 m_buildingHasBeenSet =
true;
328 m_building.emplace_back(std::forward<BuildingT>(value));
341 return m_secondaryAddressComponents;
344 template <
typename SecondaryAddressComponentsT = Aws::Vector<ParsedQuerySecondaryAddressComponent>>
346 m_secondaryAddressComponentsHasBeenSet =
true;
347 m_secondaryAddressComponents = std::forward<SecondaryAddressComponentsT>(value);
349 template <
typename SecondaryAddressComponentsT = Aws::Vector<ParsedQuerySecondaryAddressComponent>>
354 template <
typename SecondaryAddressComponentsT = ParsedQuerySecondaryAddressComponent>
356 m_secondaryAddressComponentsHasBeenSet =
true;
357 m_secondaryAddressComponents.emplace_back(std::forward<SecondaryAddressComponentsT>(value));
387 bool m_countryHasBeenSet =
false;
388 bool m_regionHasBeenSet =
false;
389 bool m_subRegionHasBeenSet =
false;
390 bool m_localityHasBeenSet =
false;
391 bool m_districtHasBeenSet =
false;
392 bool m_subDistrictHasBeenSet =
false;
393 bool m_postalCodeHasBeenSet =
false;
394 bool m_blockHasBeenSet =
false;
395 bool m_subBlockHasBeenSet =
false;
396 bool m_streetHasBeenSet =
false;
397 bool m_addressNumberHasBeenSet =
false;
398 bool m_buildingHasBeenSet =
false;
399 bool m_secondaryAddressComponentsHasBeenSet =
false;
const Aws::Vector< ParsedQueryComponent > & GetSubDistrict() const
void SetSubRegion(SubRegionT &&value)
const Aws::Vector< ParsedQuerySecondaryAddressComponent > & GetSecondaryAddressComponents() const
GeocodeParsedQueryAddressComponents & WithSubRegion(SubRegionT &&value)
GeocodeParsedQueryAddressComponents & WithBuilding(BuildingT &&value)
void SetAddressNumber(AddressNumberT &&value)
GeocodeParsedQueryAddressComponents & AddSubDistrict(SubDistrictT &&value)
bool RegionHasBeenSet() const
const Aws::Vector< ParsedQueryComponent > & GetStreet() const
bool DistrictHasBeenSet() const
void SetSubBlock(SubBlockT &&value)
bool SubDistrictHasBeenSet() const
const Aws::Vector< ParsedQueryComponent > & GetBuilding() const
const Aws::Vector< ParsedQueryComponent > & GetDistrict() const
GeocodeParsedQueryAddressComponents & AddDistrict(DistrictT &&value)
const Aws::Vector< ParsedQueryComponent > & GetCountry() const
bool BuildingHasBeenSet() const
void SetSubDistrict(SubDistrictT &&value)
void SetBlock(BlockT &&value)
GeocodeParsedQueryAddressComponents & AddCountry(CountryT &&value)
GeocodeParsedQueryAddressComponents & WithDistrict(DistrictT &&value)
AWS_GEOPLACES_API GeocodeParsedQueryAddressComponents(Aws::Utils::Json::JsonView jsonValue)
AWS_GEOPLACES_API GeocodeParsedQueryAddressComponents & operator=(Aws::Utils::Json::JsonView jsonValue)
bool BlockHasBeenSet() const
GeocodeParsedQueryAddressComponents & AddPostalCode(PostalCodeT &&value)
GeocodeParsedQueryAddressComponents & AddBlock(BlockT &&value)
GeocodeParsedQueryAddressComponents & AddSubRegion(SubRegionT &&value)
void SetRegion(RegionT &&value)
bool PostalCodeHasBeenSet() const
GeocodeParsedQueryAddressComponents & WithSecondaryAddressComponents(SecondaryAddressComponentsT &&value)
bool SecondaryAddressComponentsHasBeenSet() const
const Aws::Vector< ParsedQueryComponent > & GetSubRegion() const
bool AddressNumberHasBeenSet() const
GeocodeParsedQueryAddressComponents & WithStreet(StreetT &&value)
const Aws::Vector< ParsedQueryComponent > & GetBlock() const
GeocodeParsedQueryAddressComponents & WithCountry(CountryT &&value)
bool StreetHasBeenSet() const
bool SubBlockHasBeenSet() const
GeocodeParsedQueryAddressComponents & WithPostalCode(PostalCodeT &&value)
void SetBuilding(BuildingT &&value)
void SetCountry(CountryT &&value)
void SetStreet(StreetT &&value)
GeocodeParsedQueryAddressComponents & WithLocality(LocalityT &&value)
GeocodeParsedQueryAddressComponents & AddRegion(RegionT &&value)
GeocodeParsedQueryAddressComponents & WithRegion(RegionT &&value)
GeocodeParsedQueryAddressComponents & AddSubBlock(SubBlockT &&value)
void SetPostalCode(PostalCodeT &&value)
void SetLocality(LocalityT &&value)
GeocodeParsedQueryAddressComponents & AddSecondaryAddressComponents(SecondaryAddressComponentsT &&value)
GeocodeParsedQueryAddressComponents & AddStreet(StreetT &&value)
void SetSecondaryAddressComponents(SecondaryAddressComponentsT &&value)
const Aws::Vector< ParsedQueryComponent > & GetPostalCode() const
GeocodeParsedQueryAddressComponents & WithSubDistrict(SubDistrictT &&value)
bool CountryHasBeenSet() const
GeocodeParsedQueryAddressComponents & WithBlock(BlockT &&value)
GeocodeParsedQueryAddressComponents & WithSubBlock(SubBlockT &&value)
const Aws::Vector< ParsedQueryComponent > & GetLocality() const
AWS_GEOPLACES_API Aws::Utils::Json::JsonValue Jsonize() const
GeocodeParsedQueryAddressComponents & AddBuilding(BuildingT &&value)
const Aws::Vector< ParsedQueryComponent > & GetAddressNumber() const
const Aws::Vector< ParsedQueryComponent > & GetRegion() const
AWS_GEOPLACES_API GeocodeParsedQueryAddressComponents()=default
void SetDistrict(DistrictT &&value)
GeocodeParsedQueryAddressComponents & WithAddressNumber(AddressNumberT &&value)
const Aws::Vector< ParsedQueryComponent > & GetSubBlock() const
bool SubRegionHasBeenSet() const
GeocodeParsedQueryAddressComponents & AddLocality(LocalityT &&value)
GeocodeParsedQueryAddressComponents & AddAddressNumber(AddressNumberT &&value)
bool LocalityHasBeenSet() const
std::vector< T, Aws::Allocator< T > > Vector
Aws::Utils::Json::JsonValue JsonValue