7#include <aws/pinpoint/Pinpoint_EXPORTS.h>
8#include <aws/core/utils/memory/stl/AWSString.h>
48 template<
typename CarrierT = Aws::String>
49 void SetCarrier(CarrierT&& value) { m_carrierHasBeenSet =
true; m_carrier = std::forward<CarrierT>(value); }
50 template<
typename CarrierT = Aws::String>
60 template<
typename CityT = Aws::String>
61 void SetCity(CityT&& value) { m_cityHasBeenSet =
true; m_city = std::forward<CityT>(value); }
62 template<
typename CityT = Aws::String>
73 template<
typename CleansedPhoneNumberE164T = Aws::String>
74 void SetCleansedPhoneNumberE164(CleansedPhoneNumberE164T&& value) { m_cleansedPhoneNumberE164HasBeenSet =
true; m_cleansedPhoneNumberE164 = std::forward<CleansedPhoneNumberE164T>(value); }
75 template<
typename CleansedPhoneNumberE164T = Aws::String>
86 template<
typename CleansedPhoneNumberNationalT = Aws::String>
87 void SetCleansedPhoneNumberNational(CleansedPhoneNumberNationalT&& value) { m_cleansedPhoneNumberNationalHasBeenSet =
true; m_cleansedPhoneNumberNational = std::forward<CleansedPhoneNumberNationalT>(value); }
88 template<
typename CleansedPhoneNumberNationalT = Aws::String>
99 template<
typename CountryT = Aws::String>
100 void SetCountry(CountryT&& value) { m_countryHasBeenSet =
true; m_country = std::forward<CountryT>(value); }
101 template<
typename CountryT = Aws::String>
112 template<
typename CountryCodeIso2T = Aws::String>
113 void SetCountryCodeIso2(CountryCodeIso2T&& value) { m_countryCodeIso2HasBeenSet =
true; m_countryCodeIso2 = std::forward<CountryCodeIso2T>(value); }
114 template<
typename CountryCodeIso2T = Aws::String>
125 template<
typename CountryCodeNumericT = Aws::String>
126 void SetCountryCodeNumeric(CountryCodeNumericT&& value) { m_countryCodeNumericHasBeenSet =
true; m_countryCodeNumeric = std::forward<CountryCodeNumericT>(value); }
127 template<
typename CountryCodeNumericT = Aws::String>
137 template<
typename CountyT = Aws::String>
138 void SetCounty(CountyT&& value) { m_countyHasBeenSet =
true; m_county = std::forward<CountyT>(value); }
139 template<
typename CountyT = Aws::String>
150 template<
typename OriginalCountryCodeIso2T = Aws::String>
151 void SetOriginalCountryCodeIso2(OriginalCountryCodeIso2T&& value) { m_originalCountryCodeIso2HasBeenSet =
true; m_originalCountryCodeIso2 = std::forward<OriginalCountryCodeIso2T>(value); }
152 template<
typename OriginalCountryCodeIso2T = Aws::String>
162 template<
typename OriginalPhoneNumberT = Aws::String>
163 void SetOriginalPhoneNumber(OriginalPhoneNumberT&& value) { m_originalPhoneNumberHasBeenSet =
true; m_originalPhoneNumber = std::forward<OriginalPhoneNumberT>(value); }
164 template<
typename OriginalPhoneNumberT = Aws::String>
176 template<
typename PhoneTypeT = Aws::String>
177 void SetPhoneType(PhoneTypeT&& value) { m_phoneTypeHasBeenSet =
true; m_phoneType = std::forward<PhoneTypeT>(value); }
178 template<
typename PhoneTypeT = Aws::String>
189 inline void SetPhoneTypeCode(
int value) { m_phoneTypeCodeHasBeenSet =
true; m_phoneTypeCode = value; }
200 template<
typename TimezoneT = Aws::String>
201 void SetTimezone(TimezoneT&& value) { m_timezoneHasBeenSet =
true; m_timezone = std::forward<TimezoneT>(value); }
202 template<
typename TimezoneT = Aws::String>
213 template<
typename ZipCodeT = Aws::String>
214 void SetZipCode(ZipCodeT&& value) { m_zipCodeHasBeenSet =
true; m_zipCode = std::forward<ZipCodeT>(value); }
215 template<
typename ZipCodeT = Aws::String>
221 bool m_carrierHasBeenSet =
false;
224 bool m_cityHasBeenSet =
false;
227 bool m_cleansedPhoneNumberE164HasBeenSet =
false;
230 bool m_cleansedPhoneNumberNationalHasBeenSet =
false;
233 bool m_countryHasBeenSet =
false;
236 bool m_countryCodeIso2HasBeenSet =
false;
239 bool m_countryCodeNumericHasBeenSet =
false;
242 bool m_countyHasBeenSet =
false;
245 bool m_originalCountryCodeIso2HasBeenSet =
false;
248 bool m_originalPhoneNumberHasBeenSet =
false;
251 bool m_phoneTypeHasBeenSet =
false;
253 int m_phoneTypeCode{0};
254 bool m_phoneTypeCodeHasBeenSet =
false;
257 bool m_timezoneHasBeenSet =
false;
260 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