7#include <aws/geo-places/GeoPlaces_EXPORTS.h>
8#include <aws/core/utils/memory/stl/AWSString.h>
9#include <aws/geo-places/model/Country.h>
10#include <aws/geo-places/model/Region.h>
11#include <aws/geo-places/model/SubRegion.h>
12#include <aws/core/utils/memory/stl/AWSVector.h>
13#include <aws/geo-places/model/StreetComponents.h>
14#include <aws/geo-places/model/SecondaryAddressComponent.h>
53 template<
typename LabelT = Aws::String>
54 void SetLabel(LabelT&& value) { m_labelHasBeenSet =
true; m_label = std::forward<LabelT>(value); }
55 template<
typename LabelT = Aws::String>
65 template<
typename CountryT = Country>
66 void SetCountry(CountryT&& value) { m_countryHasBeenSet =
true; m_country = std::forward<CountryT>(value); }
67 template<
typename CountryT = Country>
78 template<
typename RegionT = Region>
79 void SetRegion(RegionT&& value) { m_regionHasBeenSet =
true; m_region = std::forward<RegionT>(value); }
80 template<
typename RegionT = Region>
90 template<
typename SubRegionT = SubRegion>
91 void SetSubRegion(SubRegionT&& value) { m_subRegionHasBeenSet =
true; m_subRegion = std::forward<SubRegionT>(value); }
92 template<
typename SubRegionT = SubRegion>
103 template<
typename LocalityT = Aws::String>
104 void SetLocality(LocalityT&& value) { m_localityHasBeenSet =
true; m_locality = std::forward<LocalityT>(value); }
105 template<
typename LocalityT = Aws::String>
115 template<
typename DistrictT = Aws::String>
116 void SetDistrict(DistrictT&& value) { m_districtHasBeenSet =
true; m_district = std::forward<DistrictT>(value); }
117 template<
typename DistrictT = Aws::String>
128 template<
typename SubDistrictT = Aws::String>
129 void SetSubDistrict(SubDistrictT&& value) { m_subDistrictHasBeenSet =
true; m_subDistrict = std::forward<SubDistrictT>(value); }
130 template<
typename SubDistrictT = Aws::String>
142 template<
typename PostalCodeT = Aws::String>
143 void SetPostalCode(PostalCodeT&& value) { m_postalCodeHasBeenSet =
true; m_postalCode = std::forward<PostalCodeT>(value); }
144 template<
typename PostalCodeT = Aws::String>
155 template<
typename BlockT = Aws::String>
156 void SetBlock(BlockT&& value) { m_blockHasBeenSet =
true; m_block = std::forward<BlockT>(value); }
157 template<
typename BlockT = Aws::String>
168 template<
typename SubBlockT = Aws::String>
169 void SetSubBlock(SubBlockT&& value) { m_subBlockHasBeenSet =
true; m_subBlock = std::forward<SubBlockT>(value); }
170 template<
typename SubBlockT = Aws::String>
181 template<
typename IntersectionT = Aws::Vector<Aws::String>>
182 void SetIntersection(IntersectionT&& value) { m_intersectionHasBeenSet =
true; m_intersection = std::forward<IntersectionT>(value); }
183 template<
typename IntersectionT = Aws::Vector<Aws::String>>
185 template<
typename IntersectionT = Aws::String>
186 Address&
AddIntersection(IntersectionT&& value) { m_intersectionHasBeenSet =
true; m_intersection.emplace_back(std::forward<IntersectionT>(value));
return *
this; }
195 template<
typename StreetT = Aws::String>
196 void SetStreet(StreetT&& value) { m_streetHasBeenSet =
true; m_street = std::forward<StreetT>(value); }
197 template<
typename StreetT = Aws::String>
208 template<
typename StreetComponentsT = Aws::Vector<StreetComponents>>
209 void SetStreetComponents(StreetComponentsT&& value) { m_streetComponentsHasBeenSet =
true; m_streetComponents = std::forward<StreetComponentsT>(value); }
210 template<
typename StreetComponentsT = Aws::Vector<StreetComponents>>
212 template<
typename StreetComponentsT = StreetComponents>
213 Address&
AddStreetComponents(StreetComponentsT&& value) { m_streetComponentsHasBeenSet =
true; m_streetComponents.emplace_back(std::forward<StreetComponentsT>(value));
return *
this; }
222 template<
typename AddressNumberT = Aws::String>
223 void SetAddressNumber(AddressNumberT&& value) { m_addressNumberHasBeenSet =
true; m_addressNumber = std::forward<AddressNumberT>(value); }
224 template<
typename AddressNumberT = Aws::String>
234 template<
typename BuildingT = Aws::String>
235 void SetBuilding(BuildingT&& value) { m_buildingHasBeenSet =
true; m_building = std::forward<BuildingT>(value); }
236 template<
typename BuildingT = Aws::String>
248 template<
typename SecondaryAddressComponentsT = Aws::Vector<SecondaryAddressComponent>>
249 void SetSecondaryAddressComponents(SecondaryAddressComponentsT&& value) { m_secondaryAddressComponentsHasBeenSet =
true; m_secondaryAddressComponents = std::forward<SecondaryAddressComponentsT>(value); }
250 template<
typename SecondaryAddressComponentsT = Aws::Vector<SecondaryAddressComponent>>
252 template<
typename SecondaryAddressComponentsT = SecondaryAddressComponent>
253 Address&
AddSecondaryAddressComponents(SecondaryAddressComponentsT&& value) { m_secondaryAddressComponentsHasBeenSet =
true; m_secondaryAddressComponents.emplace_back(std::forward<SecondaryAddressComponentsT>(value));
return *
this; }
258 bool m_labelHasBeenSet =
false;
261 bool m_countryHasBeenSet =
false;
264 bool m_regionHasBeenSet =
false;
267 bool m_subRegionHasBeenSet =
false;
270 bool m_localityHasBeenSet =
false;
273 bool m_districtHasBeenSet =
false;
276 bool m_subDistrictHasBeenSet =
false;
279 bool m_postalCodeHasBeenSet =
false;
282 bool m_blockHasBeenSet =
false;
285 bool m_subBlockHasBeenSet =
false;
288 bool m_intersectionHasBeenSet =
false;
291 bool m_streetHasBeenSet =
false;
294 bool m_streetComponentsHasBeenSet =
false;
297 bool m_addressNumberHasBeenSet =
false;
300 bool m_buildingHasBeenSet =
false;
303 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