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>
199 template <
typename BlockT = Aws::String>
201 m_blockHasBeenSet =
true;
202 m_block = std::forward<BlockT>(value);
204 template <
typename BlockT = Aws::String>
206 SetBlock(std::forward<BlockT>(value));
220 template <
typename SubBlockT = Aws::String>
222 m_subBlockHasBeenSet =
true;
223 m_subBlock = std::forward<SubBlockT>(value);
225 template <
typename SubBlockT = Aws::String>
242 template <
typename IntersectionT = Aws::Vector<Aws::String>>
244 m_intersectionHasBeenSet =
true;
245 m_intersection = std::forward<IntersectionT>(value);
247 template <
typename IntersectionT = Aws::Vector<Aws::String>>
252 template <
typename IntersectionT = Aws::String>
254 m_intersectionHasBeenSet =
true;
255 m_intersection.emplace_back(std::forward<IntersectionT>(value));
266 template <
typename StreetT = Aws::String>
268 m_streetHasBeenSet =
true;
269 m_street = std::forward<StreetT>(value);
271 template <
typename StreetT = Aws::String>
287 template <
typename StreetComponentsT = Aws::Vector<StreetComponents>>
289 m_streetComponentsHasBeenSet =
true;
290 m_streetComponents = std::forward<StreetComponentsT>(value);
292 template <
typename StreetComponentsT = Aws::Vector<StreetComponents>>
297 template <
typename StreetComponentsT = StreetComponents>
299 m_streetComponentsHasBeenSet =
true;
300 m_streetComponents.emplace_back(std::forward<StreetComponentsT>(value));
311 template <
typename AddressNumberT = Aws::String>
313 m_addressNumberHasBeenSet =
true;
314 m_addressNumber = std::forward<AddressNumberT>(value);
316 template <
typename AddressNumberT = Aws::String>
332 template <
typename BuildingT = Aws::String>
334 m_buildingHasBeenSet =
true;
335 m_building = std::forward<BuildingT>(value);
337 template <
typename BuildingT = Aws::String>
357 template <
typename SecondaryAddressComponentsT = Aws::Vector<SecondaryAddressComponent>>
359 m_secondaryAddressComponentsHasBeenSet =
true;
360 m_secondaryAddressComponents = std::forward<SecondaryAddressComponentsT>(value);
362 template <
typename SecondaryAddressComponentsT = Aws::Vector<SecondaryAddressComponent>>
367 template <
typename SecondaryAddressComponentsT = SecondaryAddressComponent>
369 m_secondaryAddressComponentsHasBeenSet =
true;
370 m_secondaryAddressComponents.emplace_back(std::forward<SecondaryAddressComponentsT>(value));
406 bool m_labelHasBeenSet =
false;
407 bool m_countryHasBeenSet =
false;
408 bool m_regionHasBeenSet =
false;
409 bool m_subRegionHasBeenSet =
false;
410 bool m_localityHasBeenSet =
false;
411 bool m_districtHasBeenSet =
false;
412 bool m_subDistrictHasBeenSet =
false;
413 bool m_postalCodeHasBeenSet =
false;
414 bool m_blockHasBeenSet =
false;
415 bool m_subBlockHasBeenSet =
false;
416 bool m_intersectionHasBeenSet =
false;
417 bool m_streetHasBeenSet =
false;
418 bool m_streetComponentsHasBeenSet =
false;
419 bool m_addressNumberHasBeenSet =
false;
420 bool m_buildingHasBeenSet =
false;
421 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