7#include <aws/core/utils/memory/stl/AWSString.h>
8#include <aws/customer-profiles/CustomerProfiles_EXPORTS.h>
19namespace CustomerProfiles {
30 AWS_CUSTOMERPROFILES_API
Address() =
default;
41 template <
typename Address1T = Aws::String>
43 m_address1HasBeenSet =
true;
44 m_address1 = std::forward<Address1T>(value);
46 template <
typename Address1T = Aws::String>
59 template <
typename Address2T = Aws::String>
61 m_address2HasBeenSet =
true;
62 m_address2 = std::forward<Address2T>(value);
64 template <
typename Address2T = Aws::String>
77 template <
typename Address3T = Aws::String>
79 m_address3HasBeenSet =
true;
80 m_address3 = std::forward<Address3T>(value);
82 template <
typename Address3T = Aws::String>
95 template <
typename Address4T = Aws::String>
97 m_address4HasBeenSet =
true;
98 m_address4 = std::forward<Address4T>(value);
100 template <
typename Address4T = Aws::String>
113 template <
typename CityT = Aws::String>
115 m_cityHasBeenSet =
true;
116 m_city = std::forward<CityT>(value);
118 template <
typename CityT = Aws::String>
120 SetCity(std::forward<CityT>(value));
131 template <
typename CountyT = Aws::String>
133 m_countyHasBeenSet =
true;
134 m_county = std::forward<CountyT>(value);
136 template <
typename CountyT = Aws::String>
149 template <
typename StateT = Aws::String>
151 m_stateHasBeenSet =
true;
152 m_state = std::forward<StateT>(value);
154 template <
typename StateT = Aws::String>
156 SetState(std::forward<StateT>(value));
167 template <
typename ProvinceT = Aws::String>
169 m_provinceHasBeenSet =
true;
170 m_province = std::forward<ProvinceT>(value);
172 template <
typename ProvinceT = Aws::String>
185 template <
typename CountryT = Aws::String>
187 m_countryHasBeenSet =
true;
188 m_country = std::forward<CountryT>(value);
190 template <
typename CountryT = Aws::String>
203 template <
typename PostalCodeT = Aws::String>
205 m_postalCodeHasBeenSet =
true;
206 m_postalCode = std::forward<PostalCodeT>(value);
208 template <
typename PostalCodeT = Aws::String>
234 bool m_address1HasBeenSet =
false;
235 bool m_address2HasBeenSet =
false;
236 bool m_address3HasBeenSet =
false;
237 bool m_address4HasBeenSet =
false;
238 bool m_cityHasBeenSet =
false;
239 bool m_countyHasBeenSet =
false;
240 bool m_stateHasBeenSet =
false;
241 bool m_provinceHasBeenSet =
false;
242 bool m_countryHasBeenSet =
false;
243 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