7#include <aws/core/utils/memory/stl/AWSString.h>
8#include <aws/core/utils/memory/stl/AWSVector.h>
9#include <aws/geo-places/GeoPlaces_EXPORTS.h>
10#include <aws/geo-places/model/Country.h>
11#include <aws/geo-places/model/Region.h>
12#include <aws/geo-places/model/SecondaryAddressComponent.h>
13#include <aws/geo-places/model/StreetComponents.h>
14#include <aws/geo-places/model/SubRegion.h>
47 template <
typename LabelT = Aws::String>
49 m_labelHasBeenSet =
true;
50 m_label = std::forward<LabelT>(value);
52 template <
typename LabelT = Aws::String>
54 SetLabel(std::forward<LabelT>(value));
65 template <
typename CountryT = Country>
67 m_countryHasBeenSet =
true;
68 m_country = std::forward<CountryT>(value);
70 template <
typename CountryT = Country>
84 template <
typename RegionT = Region>
86 m_regionHasBeenSet =
true;
87 m_region = std::forward<RegionT>(value);
89 template <
typename RegionT = Region>
102 template <
typename SubRegionT = SubRegion>
104 m_subRegionHasBeenSet =
true;
105 m_subRegion = std::forward<SubRegionT>(value);
107 template <
typename SubRegionT = SubRegion>
121 template <
typename LocalityT = Aws::String>
123 m_localityHasBeenSet =
true;
124 m_locality = std::forward<LocalityT>(value);
126 template <
typename LocalityT = Aws::String>
139 template <
typename DistrictT = Aws::String>
141 m_districtHasBeenSet =
true;
142 m_district = std::forward<DistrictT>(value);
144 template <
typename DistrictT = Aws::String>
158 template <
typename SubDistrictT = Aws::String>
160 m_subDistrictHasBeenSet =
true;
161 m_subDistrict = std::forward<SubDistrictT>(value);
163 template <
typename SubDistrictT = Aws::String>
178 template <
typename PostalCodeT = Aws::String>
180 m_postalCodeHasBeenSet =
true;
181 m_postalCode = std::forward<PostalCodeT>(value);
183 template <
typename PostalCodeT = Aws::String>
197 template <
typename BlockT = Aws::String>
199 m_blockHasBeenSet =
true;
200 m_block = std::forward<BlockT>(value);
202 template <
typename BlockT = Aws::String>
204 SetBlock(std::forward<BlockT>(value));
216 template <
typename SubBlockT = Aws::String>
218 m_subBlockHasBeenSet =
true;
219 m_subBlock = std::forward<SubBlockT>(value);
221 template <
typename SubBlockT = Aws::String>
235 template <
typename IntersectionT = Aws::Vector<Aws::String>>
237 m_intersectionHasBeenSet =
true;
238 m_intersection = std::forward<IntersectionT>(value);
240 template <
typename IntersectionT = Aws::Vector<Aws::String>>
245 template <
typename IntersectionT = Aws::String>
247 m_intersectionHasBeenSet =
true;
248 m_intersection.emplace_back(std::forward<IntersectionT>(value));
259 template <
typename StreetT = Aws::String>
261 m_streetHasBeenSet =
true;
262 m_street = std::forward<StreetT>(value);
264 template <
typename StreetT = Aws::String>
278 template <
typename StreetComponentsT = Aws::Vector<StreetComponents>>
280 m_streetComponentsHasBeenSet =
true;
281 m_streetComponents = std::forward<StreetComponentsT>(value);
283 template <
typename StreetComponentsT = Aws::Vector<StreetComponents>>
288 template <
typename StreetComponentsT = StreetComponents>
290 m_streetComponentsHasBeenSet =
true;
291 m_streetComponents.emplace_back(std::forward<StreetComponentsT>(value));
302 template <
typename AddressNumberT = Aws::String>
304 m_addressNumberHasBeenSet =
true;
305 m_addressNumber = std::forward<AddressNumberT>(value);
307 template <
typename AddressNumberT = Aws::String>
320 template <
typename BuildingT = Aws::String>
322 m_buildingHasBeenSet =
true;
323 m_building = std::forward<BuildingT>(value);
325 template <
typename BuildingT = Aws::String>
340 template <
typename SecondaryAddressComponentsT = Aws::Vector<SecondaryAddressComponent>>
342 m_secondaryAddressComponentsHasBeenSet =
true;
343 m_secondaryAddressComponents = std::forward<SecondaryAddressComponentsT>(value);
345 template <
typename SecondaryAddressComponentsT = Aws::Vector<SecondaryAddressComponent>>
350 template <
typename SecondaryAddressComponentsT = SecondaryAddressComponent>
352 m_secondaryAddressComponentsHasBeenSet =
true;
353 m_secondaryAddressComponents.emplace_back(std::forward<SecondaryAddressComponentsT>(value));
359 bool m_labelHasBeenSet =
false;
362 bool m_countryHasBeenSet =
false;
365 bool m_regionHasBeenSet =
false;
368 bool m_subRegionHasBeenSet =
false;
371 bool m_localityHasBeenSet =
false;
374 bool m_districtHasBeenSet =
false;
377 bool m_subDistrictHasBeenSet =
false;
380 bool m_postalCodeHasBeenSet =
false;
383 bool m_blockHasBeenSet =
false;
386 bool m_subBlockHasBeenSet =
false;
389 bool m_intersectionHasBeenSet =
false;
392 bool m_streetHasBeenSet =
false;
395 bool m_streetComponentsHasBeenSet =
false;
398 bool m_addressNumberHasBeenSet =
false;
401 bool m_buildingHasBeenSet =
false;
404 bool m_secondaryAddressComponentsHasBeenSet =
false;
AWS_GEOPLACES_API Address(Aws::Utils::Json::JsonView jsonValue)
void SetPostalCode(PostalCodeT &&value)
bool DistrictHasBeenSet() const
const Aws::String & GetLabel() const
bool LabelHasBeenSet() const
Address & AddIntersection(IntersectionT &&value)
Address & WithDistrict(DistrictT &&value)
Address & WithStreet(StreetT &&value)
Address & WithPostalCode(PostalCodeT &&value)
bool CountryHasBeenSet() const
Address & AddStreetComponents(StreetComponentsT &&value)
void SetCountry(CountryT &&value)
bool RegionHasBeenSet() const
AWS_GEOPLACES_API Aws::Utils::Json::JsonValue Jsonize() const
const Aws::Vector< StreetComponents > & GetStreetComponents() const
AWS_GEOPLACES_API Address()=default
void SetRegion(RegionT &&value)
void SetDistrict(DistrictT &&value)
const Aws::String & GetDistrict() const
void SetStreetComponents(StreetComponentsT &&value)
Address & WithRegion(RegionT &&value)
const Aws::Vector< SecondaryAddressComponent > & GetSecondaryAddressComponents() const
const Aws::String & GetLocality() const
Address & WithLocality(LocalityT &&value)
Address & WithSubBlock(SubBlockT &&value)
Address & WithBuilding(BuildingT &&value)
const Aws::Vector< Aws::String > & GetIntersection() const
bool SubDistrictHasBeenSet() const
const Aws::String & GetStreet() const
void SetSecondaryAddressComponents(SecondaryAddressComponentsT &&value)
const Aws::String & GetAddressNumber() const
Address & WithSubRegion(SubRegionT &&value)
Address & WithAddressNumber(AddressNumberT &&value)
Address & WithSecondaryAddressComponents(SecondaryAddressComponentsT &&value)
bool StreetComponentsHasBeenSet() const
void SetSubBlock(SubBlockT &&value)
void SetStreet(StreetT &&value)
const Aws::String & GetSubBlock() const
void SetSubRegion(SubRegionT &&value)
const Region & GetRegion() const
void SetBlock(BlockT &&value)
Address & WithLabel(LabelT &&value)
void SetLocality(LocalityT &&value)
AWS_GEOPLACES_API Address & operator=(Aws::Utils::Json::JsonView jsonValue)
bool LocalityHasBeenSet() const
Address & AddSecondaryAddressComponents(SecondaryAddressComponentsT &&value)
void SetLabel(LabelT &&value)
const Aws::String & GetSubDistrict() const
const Aws::String & GetBlock() const
const Country & GetCountry() const
const Aws::String & GetPostalCode() const
Address & WithCountry(CountryT &&value)
Address & WithBlock(BlockT &&value)
Address & WithSubDistrict(SubDistrictT &&value)
bool SubRegionHasBeenSet() const
bool BlockHasBeenSet() const
bool BuildingHasBeenSet() const
Address & WithStreetComponents(StreetComponentsT &&value)
bool SecondaryAddressComponentsHasBeenSet() const
bool PostalCodeHasBeenSet() const
void SetIntersection(IntersectionT &&value)
void SetSubDistrict(SubDistrictT &&value)
const Aws::String & GetBuilding() const
void SetBuilding(BuildingT &&value)
Address & WithIntersection(IntersectionT &&value)
bool IntersectionHasBeenSet() const
bool StreetHasBeenSet() const
const SubRegion & GetSubRegion() const
bool SubBlockHasBeenSet() const
void SetAddressNumber(AddressNumberT &&value)
bool AddressNumberHasBeenSet() const
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
std::vector< T, Aws::Allocator< T > > Vector
Aws::Utils::Json::JsonValue JsonValue