7#include <aws/core/utils/memory/stl/AWSString.h>
8#include <aws/pinpoint/Pinpoint_EXPORTS.h>
42 template <
typename CarrierT = Aws::String>
44 m_carrierHasBeenSet =
true;
45 m_carrier = std::forward<CarrierT>(value);
47 template <
typename CarrierT = Aws::String>
60 template <
typename CityT = Aws::String>
62 m_cityHasBeenSet =
true;
63 m_city = std::forward<CityT>(value);
65 template <
typename CityT = Aws::String>
67 SetCity(std::forward<CityT>(value));
79 template <
typename CleansedPhoneNumberE164T = Aws::String>
81 m_cleansedPhoneNumberE164HasBeenSet =
true;
82 m_cleansedPhoneNumberE164 = std::forward<CleansedPhoneNumberE164T>(value);
84 template <
typename CleansedPhoneNumberE164T = Aws::String>
98 template <
typename CleansedPhoneNumberNationalT = Aws::String>
100 m_cleansedPhoneNumberNationalHasBeenSet =
true;
101 m_cleansedPhoneNumberNational = std::forward<CleansedPhoneNumberNationalT>(value);
103 template <
typename CleansedPhoneNumberNationalT = Aws::String>
117 template <
typename CountryT = Aws::String>
119 m_countryHasBeenSet =
true;
120 m_country = std::forward<CountryT>(value);
122 template <
typename CountryT = Aws::String>
136 template <
typename CountryCodeIso2T = Aws::String>
138 m_countryCodeIso2HasBeenSet =
true;
139 m_countryCodeIso2 = std::forward<CountryCodeIso2T>(value);
141 template <
typename CountryCodeIso2T = Aws::String>
155 template <
typename CountryCodeNumericT = Aws::String>
157 m_countryCodeNumericHasBeenSet =
true;
158 m_countryCodeNumeric = std::forward<CountryCodeNumericT>(value);
160 template <
typename CountryCodeNumericT = Aws::String>
173 template <
typename CountyT = Aws::String>
175 m_countyHasBeenSet =
true;
176 m_county = std::forward<CountyT>(value);
178 template <
typename CountyT = Aws::String>
192 template <
typename OriginalCountryCodeIso2T = Aws::String>
194 m_originalCountryCodeIso2HasBeenSet =
true;
195 m_originalCountryCodeIso2 = std::forward<OriginalCountryCodeIso2T>(value);
197 template <
typename OriginalCountryCodeIso2T = Aws::String>
210 template <
typename OriginalPhoneNumberT = Aws::String>
212 m_originalPhoneNumberHasBeenSet =
true;
213 m_originalPhoneNumber = std::forward<OriginalPhoneNumberT>(value);
215 template <
typename OriginalPhoneNumberT = Aws::String>
230 template <
typename PhoneTypeT = Aws::String>
232 m_phoneTypeHasBeenSet =
true;
233 m_phoneType = std::forward<PhoneTypeT>(value);
235 template <
typename PhoneTypeT = Aws::String>
250 m_phoneTypeCodeHasBeenSet =
true;
251 m_phoneTypeCode = value;
266 template <
typename TimezoneT = Aws::String>
268 m_timezoneHasBeenSet =
true;
269 m_timezone = std::forward<TimezoneT>(value);
271 template <
typename TimezoneT = Aws::String>
285 template <
typename ZipCodeT = Aws::String>
287 m_zipCodeHasBeenSet =
true;
288 m_zipCode = std::forward<ZipCodeT>(value);
290 template <
typename ZipCodeT = Aws::String>
298 bool m_carrierHasBeenSet =
false;
301 bool m_cityHasBeenSet =
false;
304 bool m_cleansedPhoneNumberE164HasBeenSet =
false;
307 bool m_cleansedPhoneNumberNationalHasBeenSet =
false;
310 bool m_countryHasBeenSet =
false;
313 bool m_countryCodeIso2HasBeenSet =
false;
316 bool m_countryCodeNumericHasBeenSet =
false;
319 bool m_countyHasBeenSet =
false;
322 bool m_originalCountryCodeIso2HasBeenSet =
false;
325 bool m_originalPhoneNumberHasBeenSet =
false;
328 bool m_phoneTypeHasBeenSet =
false;
330 int m_phoneTypeCode{0};
331 bool m_phoneTypeCodeHasBeenSet =
false;
334 bool m_timezoneHasBeenSet =
false;
337 bool m_zipCodeHasBeenSet =
false;
void SetZipCode(ZipCodeT &&value)
int GetPhoneTypeCode() const
bool CountyHasBeenSet() const
NumberValidateResponse & WithCleansedPhoneNumberNational(CleansedPhoneNumberNationalT &&value)
const Aws::String & GetCountry() const
const Aws::String & GetCarrier() const
NumberValidateResponse & WithCountry(CountryT &&value)
NumberValidateResponse & WithTimezone(TimezoneT &&value)
NumberValidateResponse & WithCounty(CountyT &&value)
NumberValidateResponse & WithZipCode(ZipCodeT &&value)
const Aws::String & GetOriginalPhoneNumber() const
const Aws::String & GetCountryCodeIso2() const
NumberValidateResponse & WithCity(CityT &&value)
bool CleansedPhoneNumberE164HasBeenSet() const
bool PhoneTypeHasBeenSet() const
bool TimezoneHasBeenSet() const
bool ZipCodeHasBeenSet() const
bool OriginalCountryCodeIso2HasBeenSet() const
NumberValidateResponse & WithOriginalPhoneNumber(OriginalPhoneNumberT &&value)
const Aws::String & GetCleansedPhoneNumberE164() const
bool CarrierHasBeenSet() const
void SetCleansedPhoneNumberE164(CleansedPhoneNumberE164T &&value)
bool CountryCodeIso2HasBeenSet() const
void SetCleansedPhoneNumberNational(CleansedPhoneNumberNationalT &&value)
void SetPhoneTypeCode(int value)
NumberValidateResponse & WithOriginalCountryCodeIso2(OriginalCountryCodeIso2T &&value)
AWS_PINPOINT_API Aws::Utils::Json::JsonValue Jsonize() const
const Aws::String & GetCounty() const
const Aws::String & GetCountryCodeNumeric() const
bool CityHasBeenSet() const
NumberValidateResponse & WithPhoneTypeCode(int value)
void SetCounty(CountyT &&value)
void SetOriginalCountryCodeIso2(OriginalCountryCodeIso2T &&value)
NumberValidateResponse & WithCountryCodeNumeric(CountryCodeNumericT &&value)
bool PhoneTypeCodeHasBeenSet() const
const Aws::String & GetTimezone() const
const Aws::String & GetZipCode() const
void SetCity(CityT &&value)
void SetCarrier(CarrierT &&value)
NumberValidateResponse & WithCleansedPhoneNumberE164(CleansedPhoneNumberE164T &&value)
bool OriginalPhoneNumberHasBeenSet() const
NumberValidateResponse & WithCarrier(CarrierT &&value)
void SetOriginalPhoneNumber(OriginalPhoneNumberT &&value)
const Aws::String & GetOriginalCountryCodeIso2() const
NumberValidateResponse & WithCountryCodeIso2(CountryCodeIso2T &&value)
bool CleansedPhoneNumberNationalHasBeenSet() const
const Aws::String & GetPhoneType() const
const Aws::String & GetCity() const
void SetCountry(CountryT &&value)
AWS_PINPOINT_API NumberValidateResponse & operator=(Aws::Utils::Json::JsonView jsonValue)
void SetTimezone(TimezoneT &&value)
void SetPhoneType(PhoneTypeT &&value)
AWS_PINPOINT_API NumberValidateResponse()=default
bool CountryCodeNumericHasBeenSet() const
AWS_PINPOINT_API NumberValidateResponse(Aws::Utils::Json::JsonView jsonValue)
void SetCountryCodeNumeric(CountryCodeNumericT &&value)
const Aws::String & GetCleansedPhoneNumberNational() const
bool CountryHasBeenSet() const
void SetCountryCodeIso2(CountryCodeIso2T &&value)
NumberValidateResponse & WithPhoneType(PhoneTypeT &&value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue