7#include <aws/customer-profiles/CustomerProfiles_EXPORTS.h>
8#include <aws/core/utils/memory/stl/AWSString.h>
21namespace CustomerProfiles
35 AWS_CUSTOMERPROFILES_API
Address() =
default;
47 template<
typename Address1T = Aws::String>
48 void SetAddress1(Address1T&& value) { m_address1HasBeenSet =
true; m_address1 = std::forward<Address1T>(value); }
49 template<
typename Address1T = Aws::String>
59 template<
typename Address2T = Aws::String>
60 void SetAddress2(Address2T&& value) { m_address2HasBeenSet =
true; m_address2 = std::forward<Address2T>(value); }
61 template<
typename Address2T = Aws::String>
71 template<
typename Address3T = Aws::String>
72 void SetAddress3(Address3T&& value) { m_address3HasBeenSet =
true; m_address3 = std::forward<Address3T>(value); }
73 template<
typename Address3T = Aws::String>
83 template<
typename Address4T = Aws::String>
84 void SetAddress4(Address4T&& value) { m_address4HasBeenSet =
true; m_address4 = std::forward<Address4T>(value); }
85 template<
typename Address4T = Aws::String>
95 template<
typename CityT = Aws::String>
96 void SetCity(CityT&& value) { m_cityHasBeenSet =
true; m_city = std::forward<CityT>(value); }
97 template<
typename CityT = Aws::String>
107 template<
typename CountyT = Aws::String>
108 void SetCounty(CountyT&& value) { m_countyHasBeenSet =
true; m_county = std::forward<CountyT>(value); }
109 template<
typename CountyT = Aws::String>
119 template<
typename StateT = Aws::String>
120 void SetState(StateT&& value) { m_stateHasBeenSet =
true; m_state = std::forward<StateT>(value); }
121 template<
typename StateT = Aws::String>
131 template<
typename ProvinceT = Aws::String>
132 void SetProvince(ProvinceT&& value) { m_provinceHasBeenSet =
true; m_province = std::forward<ProvinceT>(value); }
133 template<
typename ProvinceT = Aws::String>
143 template<
typename CountryT = Aws::String>
144 void SetCountry(CountryT&& value) { m_countryHasBeenSet =
true; m_country = std::forward<CountryT>(value); }
145 template<
typename CountryT = Aws::String>
155 template<
typename PostalCodeT = Aws::String>
156 void SetPostalCode(PostalCodeT&& value) { m_postalCodeHasBeenSet =
true; m_postalCode = std::forward<PostalCodeT>(value); }
157 template<
typename PostalCodeT = Aws::String>
163 bool m_address1HasBeenSet =
false;
166 bool m_address2HasBeenSet =
false;
169 bool m_address3HasBeenSet =
false;
172 bool m_address4HasBeenSet =
false;
175 bool m_cityHasBeenSet =
false;
178 bool m_countyHasBeenSet =
false;
181 bool m_stateHasBeenSet =
false;
184 bool m_provinceHasBeenSet =
false;
187 bool m_countryHasBeenSet =
false;
190 bool m_postalCodeHasBeenSet =
false;
bool CountryHasBeenSet() const
Address & WithCity(CityT &&value)
Address & WithCountry(CountryT &&value)
Address & WithAddress2(Address2T &&value)
Address & WithAddress1(Address1T &&value)
bool Address4HasBeenSet() const
const Aws::String & GetCity() const
const Aws::String & GetState() const
const Aws::String & GetCountry() const
Address & WithCounty(CountyT &&value)
void SetAddress3(Address3T &&value)
bool PostalCodeHasBeenSet() const
void SetCity(CityT &&value)
bool Address3HasBeenSet() const
Address & WithProvince(ProvinceT &&value)
Address & WithAddress4(Address4T &&value)
bool CountyHasBeenSet() const
bool StateHasBeenSet() const
bool CityHasBeenSet() const
void SetState(StateT &&value)
AWS_CUSTOMERPROFILES_API Address(Aws::Utils::Json::JsonView jsonValue)
void SetAddress2(Address2T &&value)
const Aws::String & GetAddress2() const
void SetCounty(CountyT &&value)
void SetProvince(ProvinceT &&value)
Address & WithPostalCode(PostalCodeT &&value)
const Aws::String & GetAddress3() const
Address & WithState(StateT &&value)
const Aws::String & GetAddress1() const
const Aws::String & GetPostalCode() const
bool Address1HasBeenSet() const
const Aws::String & GetCounty() const
AWS_CUSTOMERPROFILES_API Aws::Utils::Json::JsonValue Jsonize() const
void SetAddress1(Address1T &&value)
Address & WithAddress3(Address3T &&value)
const Aws::String & GetProvince() const
void SetCountry(CountryT &&value)
AWS_CUSTOMERPROFILES_API Address & operator=(Aws::Utils::Json::JsonView jsonValue)
bool ProvinceHasBeenSet() const
bool Address2HasBeenSet() const
void SetPostalCode(PostalCodeT &&value)
const Aws::String & GetAddress4() const
AWS_CUSTOMERPROFILES_API Address()=default
void SetAddress4(Address4T &&value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue