7#include <aws/customer-profiles/CustomerProfiles_EXPORTS.h>
8#include <aws/customer-profiles/model/ProfileDimension.h>
21namespace CustomerProfiles
47 template<
typename CityT = ProfileDimension>
48 void SetCity(CityT&& value) { m_cityHasBeenSet =
true; m_city = std::forward<CityT>(value); }
49 template<
typename CityT = ProfileDimension>
59 template<
typename CountryT = ProfileDimension>
60 void SetCountry(CountryT&& value) { m_countryHasBeenSet =
true; m_country = std::forward<CountryT>(value); }
61 template<
typename CountryT = ProfileDimension>
71 template<
typename CountyT = ProfileDimension>
72 void SetCounty(CountyT&& value) { m_countyHasBeenSet =
true; m_county = std::forward<CountyT>(value); }
73 template<
typename CountyT = ProfileDimension>
83 template<
typename PostalCodeT = ProfileDimension>
84 void SetPostalCode(PostalCodeT&& value) { m_postalCodeHasBeenSet =
true; m_postalCode = std::forward<PostalCodeT>(value); }
85 template<
typename PostalCodeT = ProfileDimension>
95 template<
typename ProvinceT = ProfileDimension>
96 void SetProvince(ProvinceT&& value) { m_provinceHasBeenSet =
true; m_province = std::forward<ProvinceT>(value); }
97 template<
typename ProvinceT = ProfileDimension>
107 template<
typename StateT = ProfileDimension>
108 void SetState(StateT&& value) { m_stateHasBeenSet =
true; m_state = std::forward<StateT>(value); }
109 template<
typename StateT = ProfileDimension>
115 bool m_cityHasBeenSet =
false;
118 bool m_countryHasBeenSet =
false;
121 bool m_countyHasBeenSet =
false;
124 bool m_postalCodeHasBeenSet =
false;
127 bool m_provinceHasBeenSet =
false;
130 bool m_stateHasBeenSet =
false;
AWS_CUSTOMERPROFILES_API AddressDimension(Aws::Utils::Json::JsonView jsonValue)
AddressDimension & WithState(StateT &&value)
const ProfileDimension & GetProvince() const
bool ProvinceHasBeenSet() const
bool CityHasBeenSet() const
void SetProvince(ProvinceT &&value)
const ProfileDimension & GetCountry() const
bool CountryHasBeenSet() const
AddressDimension & WithCity(CityT &&value)
void SetPostalCode(PostalCodeT &&value)
const ProfileDimension & GetState() const
bool CountyHasBeenSet() const
AWS_CUSTOMERPROFILES_API AddressDimension()=default
void SetCounty(CountyT &&value)
AddressDimension & WithProvince(ProvinceT &&value)
AddressDimension & WithPostalCode(PostalCodeT &&value)
AWS_CUSTOMERPROFILES_API Aws::Utils::Json::JsonValue Jsonize() const
bool StateHasBeenSet() const
const ProfileDimension & GetCity() const
void SetCountry(CountryT &&value)
const ProfileDimension & GetCounty() const
void SetState(StateT &&value)
bool PostalCodeHasBeenSet() const
const ProfileDimension & GetPostalCode() const
AWS_CUSTOMERPROFILES_API AddressDimension & operator=(Aws::Utils::Json::JsonView jsonValue)
AddressDimension & WithCounty(CountyT &&value)
AddressDimension & WithCountry(CountryT &&value)
void SetCity(CityT &&value)
Aws::Utils::Json::JsonValue JsonValue