7#include <aws/geo-places/GeoPlaces_EXPORTS.h>
8#include <aws/core/utils/memory/stl/AWSVector.h>
9#include <aws/geo-places/model/ParsedQueryComponent.h>
10#include <aws/geo-places/model/ParsedQuerySecondaryAddressComponent.h>
50 template<
typename CountryT = Aws::Vector<ParsedQueryComponent>>
51 void SetCountry(CountryT&& value) { m_countryHasBeenSet =
true; m_country = std::forward<CountryT>(value); }
52 template<
typename CountryT = Aws::Vector<ParsedQueryComponent>>
54 template<
typename CountryT = ParsedQueryComponent>
65 template<
typename RegionT = Aws::Vector<ParsedQueryComponent>>
66 void SetRegion(RegionT&& value) { m_regionHasBeenSet =
true; m_region = std::forward<RegionT>(value); }
67 template<
typename RegionT = Aws::Vector<ParsedQueryComponent>>
69 template<
typename RegionT = ParsedQueryComponent>
79 template<
typename SubRegionT = Aws::Vector<ParsedQueryComponent>>
80 void SetSubRegion(SubRegionT&& value) { m_subRegionHasBeenSet =
true; m_subRegion = std::forward<SubRegionT>(value); }
81 template<
typename SubRegionT = Aws::Vector<ParsedQueryComponent>>
83 template<
typename SubRegionT = ParsedQueryComponent>
94 template<
typename LocalityT = Aws::Vector<ParsedQueryComponent>>
95 void SetLocality(LocalityT&& value) { m_localityHasBeenSet =
true; m_locality = std::forward<LocalityT>(value); }
96 template<
typename LocalityT = Aws::Vector<ParsedQueryComponent>>
98 template<
typename LocalityT = ParsedQueryComponent>
108 template<
typename DistrictT = Aws::Vector<ParsedQueryComponent>>
109 void SetDistrict(DistrictT&& value) { m_districtHasBeenSet =
true; m_district = std::forward<DistrictT>(value); }
110 template<
typename DistrictT = Aws::Vector<ParsedQueryComponent>>
112 template<
typename DistrictT = ParsedQueryComponent>
123 template<
typename SubDistrictT = Aws::Vector<ParsedQueryComponent>>
124 void SetSubDistrict(SubDistrictT&& value) { m_subDistrictHasBeenSet =
true; m_subDistrict = std::forward<SubDistrictT>(value); }
125 template<
typename SubDistrictT = Aws::Vector<ParsedQueryComponent>>
127 template<
typename SubDistrictT = ParsedQueryComponent>
139 template<
typename PostalCodeT = Aws::Vector<ParsedQueryComponent>>
140 void SetPostalCode(PostalCodeT&& value) { m_postalCodeHasBeenSet =
true; m_postalCode = std::forward<PostalCodeT>(value); }
141 template<
typename PostalCodeT = Aws::Vector<ParsedQueryComponent>>
143 template<
typename PostalCodeT = ParsedQueryComponent>
154 template<
typename BlockT = Aws::Vector<ParsedQueryComponent>>
155 void SetBlock(BlockT&& value) { m_blockHasBeenSet =
true; m_block = std::forward<BlockT>(value); }
156 template<
typename BlockT = Aws::Vector<ParsedQueryComponent>>
158 template<
typename BlockT = ParsedQueryComponent>
169 template<
typename SubBlockT = Aws::Vector<ParsedQueryComponent>>
170 void SetSubBlock(SubBlockT&& value) { m_subBlockHasBeenSet =
true; m_subBlock = std::forward<SubBlockT>(value); }
171 template<
typename SubBlockT = Aws::Vector<ParsedQueryComponent>>
173 template<
typename SubBlockT = ParsedQueryComponent>
183 template<
typename StreetT = Aws::Vector<ParsedQueryComponent>>
184 void SetStreet(StreetT&& value) { m_streetHasBeenSet =
true; m_street = std::forward<StreetT>(value); }
185 template<
typename StreetT = Aws::Vector<ParsedQueryComponent>>
187 template<
typename StreetT = ParsedQueryComponent>
197 template<
typename AddressNumberT = Aws::Vector<ParsedQueryComponent>>
198 void SetAddressNumber(AddressNumberT&& value) { m_addressNumberHasBeenSet =
true; m_addressNumber = std::forward<AddressNumberT>(value); }
199 template<
typename AddressNumberT = Aws::Vector<ParsedQueryComponent>>
201 template<
typename AddressNumberT = ParsedQueryComponent>
211 template<
typename BuildingT = Aws::Vector<ParsedQueryComponent>>
212 void SetBuilding(BuildingT&& value) { m_buildingHasBeenSet =
true; m_building = std::forward<BuildingT>(value); }
213 template<
typename BuildingT = Aws::Vector<ParsedQueryComponent>>
215 template<
typename BuildingT = ParsedQueryComponent>
225 template<
typename SecondaryAddressComponentsT = Aws::Vector<ParsedQuerySecondaryAddressComponent>>
226 void SetSecondaryAddressComponents(SecondaryAddressComponentsT&& value) { m_secondaryAddressComponentsHasBeenSet =
true; m_secondaryAddressComponents = std::forward<SecondaryAddressComponentsT>(value); }
227 template<
typename SecondaryAddressComponentsT = Aws::Vector<ParsedQuerySecondaryAddressComponent>>
229 template<
typename SecondaryAddressComponentsT = ParsedQuerySecondaryAddressComponent>
235 bool m_countryHasBeenSet =
false;
238 bool m_regionHasBeenSet =
false;
241 bool m_subRegionHasBeenSet =
false;
244 bool m_localityHasBeenSet =
false;
247 bool m_districtHasBeenSet =
false;
250 bool m_subDistrictHasBeenSet =
false;
253 bool m_postalCodeHasBeenSet =
false;
256 bool m_blockHasBeenSet =
false;
259 bool m_subBlockHasBeenSet =
false;
262 bool m_streetHasBeenSet =
false;
265 bool m_addressNumberHasBeenSet =
false;
268 bool m_buildingHasBeenSet =
false;
271 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