7#include <aws/core/utils/memory/stl/AWSVector.h>
8#include <aws/geo-places/GeoPlaces_EXPORTS.h>
9#include <aws/geo-places/model/CountryHighlights.h>
10#include <aws/geo-places/model/Highlight.h>
11#include <aws/geo-places/model/RegionHighlights.h>
12#include <aws/geo-places/model/SubRegionHighlights.h>
49 template <
typename LabelT = Aws::Vector<Highlight>>
51 m_labelHasBeenSet =
true;
52 m_label = std::forward<LabelT>(value);
54 template <
typename LabelT = Aws::Vector<Highlight>>
56 SetLabel(std::forward<LabelT>(value));
59 template <
typename LabelT = Highlight>
61 m_labelHasBeenSet =
true;
62 m_label.emplace_back(std::forward<LabelT>(value));
74 template <
typename CountryT = CountryHighlights>
76 m_countryHasBeenSet =
true;
77 m_country = std::forward<CountryT>(value);
79 template <
typename CountryT = CountryHighlights>
93 template <
typename RegionT = RegionHighlights>
95 m_regionHasBeenSet =
true;
96 m_region = std::forward<RegionT>(value);
98 template <
typename RegionT = RegionHighlights>
111 template <
typename SubRegionT = SubRegionHighlights>
113 m_subRegionHasBeenSet =
true;
114 m_subRegion = std::forward<SubRegionT>(value);
116 template <
typename SubRegionT = SubRegionHighlights>
130 template <
typename LocalityT = Aws::Vector<Highlight>>
132 m_localityHasBeenSet =
true;
133 m_locality = std::forward<LocalityT>(value);
135 template <
typename LocalityT = Aws::Vector<Highlight>>
140 template <
typename LocalityT = Highlight>
142 m_localityHasBeenSet =
true;
143 m_locality.emplace_back(std::forward<LocalityT>(value));
154 template <
typename DistrictT = Aws::Vector<Highlight>>
156 m_districtHasBeenSet =
true;
157 m_district = std::forward<DistrictT>(value);
159 template <
typename DistrictT = Aws::Vector<Highlight>>
164 template <
typename DistrictT = Highlight>
166 m_districtHasBeenSet =
true;
167 m_district.emplace_back(std::forward<DistrictT>(value));
179 template <
typename SubDistrictT = Aws::Vector<Highlight>>
181 m_subDistrictHasBeenSet =
true;
182 m_subDistrict = std::forward<SubDistrictT>(value);
184 template <
typename SubDistrictT = Aws::Vector<Highlight>>
189 template <
typename SubDistrictT = Highlight>
191 m_subDistrictHasBeenSet =
true;
192 m_subDistrict.emplace_back(std::forward<SubDistrictT>(value));
203 template <
typename StreetT = Aws::Vector<Highlight>>
205 m_streetHasBeenSet =
true;
206 m_street = std::forward<StreetT>(value);
208 template <
typename StreetT = Aws::Vector<Highlight>>
213 template <
typename StreetT = Highlight>
215 m_streetHasBeenSet =
true;
216 m_street.emplace_back(std::forward<StreetT>(value));
228 template <
typename BlockT = Aws::Vector<Highlight>>
230 m_blockHasBeenSet =
true;
231 m_block = std::forward<BlockT>(value);
233 template <
typename BlockT = Aws::Vector<Highlight>>
235 SetBlock(std::forward<BlockT>(value));
238 template <
typename BlockT = Highlight>
240 m_blockHasBeenSet =
true;
241 m_block.emplace_back(std::forward<BlockT>(value));
253 template <
typename SubBlockT = Aws::Vector<Highlight>>
255 m_subBlockHasBeenSet =
true;
256 m_subBlock = std::forward<SubBlockT>(value);
258 template <
typename SubBlockT = Aws::Vector<Highlight>>
263 template <
typename SubBlockT = Highlight>
265 m_subBlockHasBeenSet =
true;
266 m_subBlock.emplace_back(std::forward<SubBlockT>(value));
278 template <
typename IntersectionT = Aws::Vector<Aws::Vector<Highlight>>>
280 m_intersectionHasBeenSet =
true;
281 m_intersection = std::forward<IntersectionT>(value);
283 template <
typename IntersectionT = Aws::Vector<Aws::Vector<Highlight>>>
288 template <
typename IntersectionT = Aws::Vector<Highlight>>
290 m_intersectionHasBeenSet =
true;
291 m_intersection.emplace_back(std::forward<IntersectionT>(value));
304 template <
typename PostalCodeT = Aws::Vector<Highlight>>
306 m_postalCodeHasBeenSet =
true;
307 m_postalCode = std::forward<PostalCodeT>(value);
309 template <
typename PostalCodeT = Aws::Vector<Highlight>>
314 template <
typename PostalCodeT = Highlight>
316 m_postalCodeHasBeenSet =
true;
317 m_postalCode.emplace_back(std::forward<PostalCodeT>(value));
328 template <
typename AddressNumberT = Aws::Vector<Highlight>>
330 m_addressNumberHasBeenSet =
true;
331 m_addressNumber = std::forward<AddressNumberT>(value);
333 template <
typename AddressNumberT = Aws::Vector<Highlight>>
338 template <
typename AddressNumberT = Highlight>
340 m_addressNumberHasBeenSet =
true;
341 m_addressNumber.emplace_back(std::forward<AddressNumberT>(value));
352 template <
typename BuildingT = Aws::Vector<Highlight>>
354 m_buildingHasBeenSet =
true;
355 m_building = std::forward<BuildingT>(value);
357 template <
typename BuildingT = Aws::Vector<Highlight>>
362 template <
typename BuildingT = Highlight>
364 m_buildingHasBeenSet =
true;
365 m_building.emplace_back(std::forward<BuildingT>(value));
371 bool m_labelHasBeenSet =
false;
374 bool m_countryHasBeenSet =
false;
377 bool m_regionHasBeenSet =
false;
380 bool m_subRegionHasBeenSet =
false;
383 bool m_localityHasBeenSet =
false;
386 bool m_districtHasBeenSet =
false;
389 bool m_subDistrictHasBeenSet =
false;
392 bool m_streetHasBeenSet =
false;
395 bool m_blockHasBeenSet =
false;
398 bool m_subBlockHasBeenSet =
false;
401 bool m_intersectionHasBeenSet =
false;
404 bool m_postalCodeHasBeenSet =
false;
407 bool m_addressNumberHasBeenSet =
false;
410 bool m_buildingHasBeenSet =
false;
const Aws::Vector< Highlight > & GetBuilding() const
const Aws::Vector< Highlight > & GetDistrict() const
const Aws::Vector< Highlight > & GetPostalCode() const
bool SubBlockHasBeenSet() const
AutocompleteAddressHighlights & WithSubRegion(SubRegionT &&value)
AutocompleteAddressHighlights & WithDistrict(DistrictT &&value)
const Aws::Vector< Highlight > & GetLabel() const
AutocompleteAddressHighlights & WithAddressNumber(AddressNumberT &&value)
AutocompleteAddressHighlights & AddPostalCode(PostalCodeT &&value)
void SetSubRegion(SubRegionT &&value)
AutocompleteAddressHighlights & WithSubBlock(SubBlockT &&value)
const Aws::Vector< Highlight > & GetSubDistrict() const
void SetStreet(StreetT &&value)
void SetBuilding(BuildingT &&value)
void SetPostalCode(PostalCodeT &&value)
AutocompleteAddressHighlights & AddIntersection(IntersectionT &&value)
bool BuildingHasBeenSet() const
bool SubDistrictHasBeenSet() const
AutocompleteAddressHighlights & AddStreet(StreetT &&value)
void SetSubBlock(SubBlockT &&value)
void SetSubDistrict(SubDistrictT &&value)
const CountryHighlights & GetCountry() const
AutocompleteAddressHighlights & WithSubDistrict(SubDistrictT &&value)
AutocompleteAddressHighlights & WithBlock(BlockT &&value)
AWS_GEOPLACES_API AutocompleteAddressHighlights & operator=(Aws::Utils::Json::JsonView jsonValue)
bool AddressNumberHasBeenSet() const
const RegionHighlights & GetRegion() const
const Aws::Vector< Highlight > & GetLocality() const
AutocompleteAddressHighlights & AddAddressNumber(AddressNumberT &&value)
AutocompleteAddressHighlights & AddBuilding(BuildingT &&value)
const SubRegionHighlights & GetSubRegion() const
void SetLabel(LabelT &&value)
AutocompleteAddressHighlights & AddLabel(LabelT &&value)
const Aws::Vector< Aws::Vector< Highlight > > & GetIntersection() const
void SetCountry(CountryT &&value)
AutocompleteAddressHighlights & WithLocality(LocalityT &&value)
AutocompleteAddressHighlights & WithCountry(CountryT &&value)
void SetDistrict(DistrictT &&value)
bool LocalityHasBeenSet() const
AWS_GEOPLACES_API Aws::Utils::Json::JsonValue Jsonize() const
AWS_GEOPLACES_API AutocompleteAddressHighlights(Aws::Utils::Json::JsonView jsonValue)
AWS_GEOPLACES_API AutocompleteAddressHighlights()=default
void SetLocality(LocalityT &&value)
const Aws::Vector< Highlight > & GetBlock() const
AutocompleteAddressHighlights & WithStreet(StreetT &&value)
AutocompleteAddressHighlights & AddLocality(LocalityT &&value)
const Aws::Vector< Highlight > & GetStreet() const
const Aws::Vector< Highlight > & GetSubBlock() const
bool LabelHasBeenSet() const
AutocompleteAddressHighlights & WithIntersection(IntersectionT &&value)
AutocompleteAddressHighlights & AddBlock(BlockT &&value)
const Aws::Vector< Highlight > & GetAddressNumber() const
bool StreetHasBeenSet() const
void SetBlock(BlockT &&value)
bool SubRegionHasBeenSet() const
AutocompleteAddressHighlights & WithRegion(RegionT &&value)
bool DistrictHasBeenSet() const
bool CountryHasBeenSet() const
bool IntersectionHasBeenSet() const
void SetRegion(RegionT &&value)
AutocompleteAddressHighlights & WithLabel(LabelT &&value)
AutocompleteAddressHighlights & AddDistrict(DistrictT &&value)
AutocompleteAddressHighlights & WithPostalCode(PostalCodeT &&value)
AutocompleteAddressHighlights & WithBuilding(BuildingT &&value)
bool BlockHasBeenSet() const
void SetIntersection(IntersectionT &&value)
bool PostalCodeHasBeenSet() const
AutocompleteAddressHighlights & AddSubDistrict(SubDistrictT &&value)
AutocompleteAddressHighlights & AddSubBlock(SubBlockT &&value)
void SetAddressNumber(AddressNumberT &&value)
bool RegionHasBeenSet() const
std::vector< T, Aws::Allocator< T > > Vector
Aws::Utils::Json::JsonValue JsonValue