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>
54 inline void SetLabel(
const char* value) { m_labelHasBeenSet =
true; m_label.assign(value); }
66 inline void SetCountry(
const Country& value) { m_countryHasBeenSet =
true; m_country = value; }
67 inline void SetCountry(
Country&& value) { m_countryHasBeenSet =
true; m_country = std::move(value); }
79 inline void SetRegion(
const Region& value) { m_regionHasBeenSet =
true; m_region = value; }
80 inline void SetRegion(
Region&& value) { m_regionHasBeenSet =
true; m_region = std::move(value); }
106 inline void SetLocality(
const char* value) { m_localityHasBeenSet =
true; m_locality.assign(value); }
120 inline void SetDistrict(
const char* value) { m_districtHasBeenSet =
true; m_district.assign(value); }
135 inline void SetSubDistrict(
const char* value) { m_subDistrictHasBeenSet =
true; m_subDistrict.assign(value); }
151 inline void SetPostalCode(
const char* value) { m_postalCodeHasBeenSet =
true; m_postalCode.assign(value); }
166 inline void SetBlock(
const char* value) { m_blockHasBeenSet =
true; m_block.assign(value); }
181 inline void SetSubBlock(
const char* value) { m_subBlockHasBeenSet =
true; m_subBlock.assign(value); }
200 inline Address&
AddIntersection(
const char* value) { m_intersectionHasBeenSet =
true; m_intersection.push_back(value);
return *
this; }
211 inline void SetStreet(
const char* value) { m_streetHasBeenSet =
true; m_street.assign(value); }
240 inline void SetAddressNumber(
const char* value) { m_addressNumberHasBeenSet =
true; m_addressNumber.assign(value); }
254 inline void SetBuilding(
const char* value) { m_buildingHasBeenSet =
true; m_building.assign(value); }
262 bool m_labelHasBeenSet =
false;
265 bool m_countryHasBeenSet =
false;
268 bool m_regionHasBeenSet =
false;
271 bool m_subRegionHasBeenSet =
false;
274 bool m_localityHasBeenSet =
false;
277 bool m_districtHasBeenSet =
false;
280 bool m_subDistrictHasBeenSet =
false;
283 bool m_postalCodeHasBeenSet =
false;
286 bool m_blockHasBeenSet =
false;
289 bool m_subBlockHasBeenSet =
false;
292 bool m_intersectionHasBeenSet =
false;
295 bool m_streetHasBeenSet =
false;
298 bool m_streetComponentsHasBeenSet =
false;
301 bool m_addressNumberHasBeenSet =
false;
304 bool m_buildingHasBeenSet =
false;
void SetDistrict(const Aws::String &value)
Address & WithLabel(Aws::String &&value)
AWS_GEOPLACES_API Address(Aws::Utils::Json::JsonView jsonValue)
bool DistrictHasBeenSet() const
Address & WithAddressNumber(const char *value)
void SetAddressNumber(const Aws::String &value)
void SetRegion(const Region &value)
Address & WithBuilding(const char *value)
const Aws::String & GetLabel() const
Address & WithSubBlock(const char *value)
void SetStreet(const Aws::String &value)
bool LabelHasBeenSet() const
void SetSubDistrict(Aws::String &&value)
Address & AddStreetComponents(const StreetComponents &value)
Address & AddStreetComponents(StreetComponents &&value)
Address & WithSubDistrict(const char *value)
Address & WithCountry(Country &&value)
void SetBuilding(const Aws::String &value)
bool CountryHasBeenSet() const
Address & AddIntersection(Aws::String &&value)
bool RegionHasBeenSet() const
Address & WithCountry(const Country &value)
AWS_GEOPLACES_API Aws::Utils::Json::JsonValue Jsonize() const
void SetSubRegion(SubRegion &&value)
const Aws::Vector< StreetComponents > & GetStreetComponents() const
Address & WithLocality(Aws::String &&value)
Address & WithLocality(const char *value)
Address & WithSubBlock(const Aws::String &value)
AWS_GEOPLACES_API Address()
void SetRegion(Region &&value)
const Aws::String & GetDistrict() const
void SetLocality(Aws::String &&value)
Address & WithSubDistrict(Aws::String &&value)
void SetSubDistrict(const char *value)
Address & WithIntersection(const Aws::Vector< Aws::String > &value)
Address & WithPostalCode(Aws::String &&value)
const Aws::String & GetLocality() const
Address & WithBuilding(const Aws::String &value)
void SetStreetComponents(const Aws::Vector< StreetComponents > &value)
void SetAddressNumber(const char *value)
Address & AddIntersection(const char *value)
void SetPostalCode(const char *value)
void SetLabel(const char *value)
Address & WithDistrict(const Aws::String &value)
Address & WithBlock(const Aws::String &value)
void SetIntersection(Aws::Vector< Aws::String > &&value)
void SetStreet(Aws::String &&value)
void SetPostalCode(Aws::String &&value)
const Aws::Vector< Aws::String > & GetIntersection() const
bool SubDistrictHasBeenSet() const
Address & WithSubRegion(const SubRegion &value)
const Aws::String & GetStreet() const
const Aws::String & GetAddressNumber() const
void SetLocality(const char *value)
Address & AddIntersection(const Aws::String &value)
void SetBuilding(const char *value)
Address & WithRegion(Region &&value)
bool StreetComponentsHasBeenSet() const
Address & WithBlock(Aws::String &&value)
const Aws::String & GetSubBlock() const
Address & WithIntersection(Aws::Vector< Aws::String > &&value)
Address & WithSubRegion(SubRegion &&value)
void SetCountry(const Country &value)
const Region & GetRegion() const
void SetBuilding(Aws::String &&value)
Address & WithLabel(const char *value)
void SetStreet(const char *value)
Address & WithBuilding(Aws::String &&value)
Address & WithStreetComponents(Aws::Vector< StreetComponents > &&value)
Address & WithLocality(const Aws::String &value)
void SetLabel(const Aws::String &value)
void SetDistrict(Aws::String &&value)
void SetSubDistrict(const Aws::String &value)
AWS_GEOPLACES_API Address & operator=(Aws::Utils::Json::JsonView jsonValue)
Address & WithStreet(const char *value)
bool LocalityHasBeenSet() const
const Aws::String & GetSubDistrict() const
const Aws::String & GetBlock() const
const Country & GetCountry() const
void SetLocality(const Aws::String &value)
const Aws::String & GetPostalCode() const
Address & WithAddressNumber(Aws::String &&value)
Address & WithDistrict(const char *value)
void SetSubBlock(Aws::String &&value)
Address & WithStreetComponents(const Aws::Vector< StreetComponents > &value)
void SetBlock(const Aws::String &value)
bool SubRegionHasBeenSet() const
void SetCountry(Country &&value)
bool BlockHasBeenSet() const
Address & WithPostalCode(const char *value)
void SetDistrict(const char *value)
bool BuildingHasBeenSet() const
Address & WithRegion(const Region &value)
void SetSubRegion(const SubRegion &value)
Address & WithStreet(const Aws::String &value)
Address & WithLabel(const Aws::String &value)
Address & WithSubBlock(Aws::String &&value)
bool PostalCodeHasBeenSet() const
void SetPostalCode(const Aws::String &value)
Address & WithAddressNumber(const Aws::String &value)
Address & WithPostalCode(const Aws::String &value)
void SetSubBlock(const char *value)
Address & WithBlock(const char *value)
void SetIntersection(const Aws::Vector< Aws::String > &value)
void SetStreetComponents(Aws::Vector< StreetComponents > &&value)
void SetBlock(Aws::String &&value)
Address & WithStreet(Aws::String &&value)
const Aws::String & GetBuilding() const
bool IntersectionHasBeenSet() const
void SetBlock(const char *value)
bool StreetHasBeenSet() const
Address & WithDistrict(Aws::String &&value)
const SubRegion & GetSubRegion() const
bool SubBlockHasBeenSet() const
void SetLabel(Aws::String &&value)
Address & WithSubDistrict(const Aws::String &value)
void SetAddressNumber(Aws::String &&value)
void SetSubBlock(const Aws::String &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