7#include <aws/geo-places/GeoPlaces_EXPORTS.h>
8#include <aws/core/utils/memory/stl/AWSVector.h>
9#include <aws/geo-places/model/CountryHighlights.h>
10#include <aws/geo-places/model/RegionHighlights.h>
11#include <aws/geo-places/model/SubRegionHighlights.h>
12#include <aws/geo-places/model/Highlight.h>
55 template<
typename LabelT = Aws::Vector<Highlight>>
56 void SetLabel(LabelT&& value) { m_labelHasBeenSet =
true; m_label = std::forward<LabelT>(value); }
57 template<
typename LabelT = Aws::Vector<Highlight>>
59 template<
typename LabelT = Highlight>
70 template<
typename CountryT = CountryHighlights>
71 void SetCountry(CountryT&& value) { m_countryHasBeenSet =
true; m_country = std::forward<CountryT>(value); }
72 template<
typename CountryT = CountryHighlights>
83 template<
typename RegionT = RegionHighlights>
84 void SetRegion(RegionT&& value) { m_regionHasBeenSet =
true; m_region = std::forward<RegionT>(value); }
85 template<
typename RegionT = RegionHighlights>
95 template<
typename SubRegionT = SubRegionHighlights>
96 void SetSubRegion(SubRegionT&& value) { m_subRegionHasBeenSet =
true; m_subRegion = std::forward<SubRegionT>(value); }
97 template<
typename SubRegionT = SubRegionHighlights>
108 template<
typename LocalityT = Aws::Vector<Highlight>>
109 void SetLocality(LocalityT&& value) { m_localityHasBeenSet =
true; m_locality = std::forward<LocalityT>(value); }
110 template<
typename LocalityT = Aws::Vector<Highlight>>
112 template<
typename LocalityT = Highlight>
122 template<
typename DistrictT = Aws::Vector<Highlight>>
123 void SetDistrict(DistrictT&& value) { m_districtHasBeenSet =
true; m_district = std::forward<DistrictT>(value); }
124 template<
typename DistrictT = Aws::Vector<Highlight>>
126 template<
typename DistrictT = Highlight>
137 template<
typename SubDistrictT = Aws::Vector<Highlight>>
138 void SetSubDistrict(SubDistrictT&& value) { m_subDistrictHasBeenSet =
true; m_subDistrict = std::forward<SubDistrictT>(value); }
139 template<
typename SubDistrictT = Aws::Vector<Highlight>>
141 template<
typename SubDistrictT = Highlight>
151 template<
typename StreetT = Aws::Vector<Highlight>>
152 void SetStreet(StreetT&& value) { m_streetHasBeenSet =
true; m_street = std::forward<StreetT>(value); }
153 template<
typename StreetT = Aws::Vector<Highlight>>
155 template<
typename StreetT = Highlight>
166 template<
typename BlockT = Aws::Vector<Highlight>>
167 void SetBlock(BlockT&& value) { m_blockHasBeenSet =
true; m_block = std::forward<BlockT>(value); }
168 template<
typename BlockT = Aws::Vector<Highlight>>
170 template<
typename BlockT = Highlight>
181 template<
typename SubBlockT = Aws::Vector<Highlight>>
182 void SetSubBlock(SubBlockT&& value) { m_subBlockHasBeenSet =
true; m_subBlock = std::forward<SubBlockT>(value); }
183 template<
typename SubBlockT = Aws::Vector<Highlight>>
185 template<
typename SubBlockT = Highlight>
196 template<
typename IntersectionT = Aws::Vector<Aws::Vector<Highlight>>>
197 void SetIntersection(IntersectionT&& value) { m_intersectionHasBeenSet =
true; m_intersection = std::forward<IntersectionT>(value); }
198 template<
typename IntersectionT = Aws::Vector<Aws::Vector<Highlight>>>
200 template<
typename IntersectionT = Aws::Vector<Highlight>>
212 template<
typename PostalCodeT = Aws::Vector<Highlight>>
213 void SetPostalCode(PostalCodeT&& value) { m_postalCodeHasBeenSet =
true; m_postalCode = std::forward<PostalCodeT>(value); }
214 template<
typename PostalCodeT = Aws::Vector<Highlight>>
216 template<
typename PostalCodeT = Highlight>
226 template<
typename AddressNumberT = Aws::Vector<Highlight>>
227 void SetAddressNumber(AddressNumberT&& value) { m_addressNumberHasBeenSet =
true; m_addressNumber = std::forward<AddressNumberT>(value); }
228 template<
typename AddressNumberT = Aws::Vector<Highlight>>
230 template<
typename AddressNumberT = Highlight>
240 template<
typename BuildingT = Aws::Vector<Highlight>>
241 void SetBuilding(BuildingT&& value) { m_buildingHasBeenSet =
true; m_building = std::forward<BuildingT>(value); }
242 template<
typename BuildingT = Aws::Vector<Highlight>>
244 template<
typename BuildingT = Highlight>
250 bool m_labelHasBeenSet =
false;
253 bool m_countryHasBeenSet =
false;
256 bool m_regionHasBeenSet =
false;
259 bool m_subRegionHasBeenSet =
false;
262 bool m_localityHasBeenSet =
false;
265 bool m_districtHasBeenSet =
false;
268 bool m_subDistrictHasBeenSet =
false;
271 bool m_streetHasBeenSet =
false;
274 bool m_blockHasBeenSet =
false;
277 bool m_subBlockHasBeenSet =
false;
280 bool m_intersectionHasBeenSet =
false;
283 bool m_postalCodeHasBeenSet =
false;
286 bool m_addressNumberHasBeenSet =
false;
289 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