AWS SDK for C++

AWS SDK for C++ Version 1.11.608

Loading...
Searching...
No Matches
NumberValidateResponse.h
1
6#pragma once
7#include <aws/pinpoint/Pinpoint_EXPORTS.h>
8#include <aws/core/utils/memory/stl/AWSString.h>
9#include <utility>
10
11namespace Aws
12{
13namespace Utils
14{
15namespace Json
16{
17 class JsonValue;
18 class JsonView;
19} // namespace Json
20} // namespace Utils
21namespace Pinpoint
22{
23namespace Model
24{
25
32 {
33 public:
34 AWS_PINPOINT_API NumberValidateResponse() = default;
37 AWS_PINPOINT_API Aws::Utils::Json::JsonValue Jsonize() const;
38
39
41
46 inline const Aws::String& GetCarrier() const { return m_carrier; }
47 inline bool CarrierHasBeenSet() const { return m_carrierHasBeenSet; }
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>
51 NumberValidateResponse& WithCarrier(CarrierT&& value) { SetCarrier(std::forward<CarrierT>(value)); return *this;}
53
55
58 inline const Aws::String& GetCity() const { return m_city; }
59 inline bool CityHasBeenSet() const { return m_cityHasBeenSet; }
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>
63 NumberValidateResponse& WithCity(CityT&& value) { SetCity(std::forward<CityT>(value)); return *this;}
65
67
71 inline const Aws::String& GetCleansedPhoneNumberE164() const { return m_cleansedPhoneNumberE164; }
72 inline bool CleansedPhoneNumberE164HasBeenSet() const { return m_cleansedPhoneNumberE164HasBeenSet; }
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>
76 NumberValidateResponse& WithCleansedPhoneNumberE164(CleansedPhoneNumberE164T&& value) { SetCleansedPhoneNumberE164(std::forward<CleansedPhoneNumberE164T>(value)); return *this;}
78
80
84 inline const Aws::String& GetCleansedPhoneNumberNational() const { return m_cleansedPhoneNumberNational; }
85 inline bool CleansedPhoneNumberNationalHasBeenSet() const { return m_cleansedPhoneNumberNationalHasBeenSet; }
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>
89 NumberValidateResponse& WithCleansedPhoneNumberNational(CleansedPhoneNumberNationalT&& value) { SetCleansedPhoneNumberNational(std::forward<CleansedPhoneNumberNationalT>(value)); return *this;}
91
93
97 inline const Aws::String& GetCountry() const { return m_country; }
98 inline bool CountryHasBeenSet() const { return m_countryHasBeenSet; }
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>
102 NumberValidateResponse& WithCountry(CountryT&& value) { SetCountry(std::forward<CountryT>(value)); return *this;}
104
106
110 inline const Aws::String& GetCountryCodeIso2() const { return m_countryCodeIso2; }
111 inline bool CountryCodeIso2HasBeenSet() const { return m_countryCodeIso2HasBeenSet; }
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>
115 NumberValidateResponse& WithCountryCodeIso2(CountryCodeIso2T&& value) { SetCountryCodeIso2(std::forward<CountryCodeIso2T>(value)); return *this;}
117
119
123 inline const Aws::String& GetCountryCodeNumeric() const { return m_countryCodeNumeric; }
124 inline bool CountryCodeNumericHasBeenSet() const { return m_countryCodeNumericHasBeenSet; }
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>
128 NumberValidateResponse& WithCountryCodeNumeric(CountryCodeNumericT&& value) { SetCountryCodeNumeric(std::forward<CountryCodeNumericT>(value)); return *this;}
130
132
135 inline const Aws::String& GetCounty() const { return m_county; }
136 inline bool CountyHasBeenSet() const { return m_countyHasBeenSet; }
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>
140 NumberValidateResponse& WithCounty(CountyT&& value) { SetCounty(std::forward<CountyT>(value)); return *this;}
142
144
148 inline const Aws::String& GetOriginalCountryCodeIso2() const { return m_originalCountryCodeIso2; }
149 inline bool OriginalCountryCodeIso2HasBeenSet() const { return m_originalCountryCodeIso2HasBeenSet; }
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>
153 NumberValidateResponse& WithOriginalCountryCodeIso2(OriginalCountryCodeIso2T&& value) { SetOriginalCountryCodeIso2(std::forward<OriginalCountryCodeIso2T>(value)); return *this;}
155
157
160 inline const Aws::String& GetOriginalPhoneNumber() const { return m_originalPhoneNumber; }
161 inline bool OriginalPhoneNumberHasBeenSet() const { return m_originalPhoneNumberHasBeenSet; }
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>
165 NumberValidateResponse& WithOriginalPhoneNumber(OriginalPhoneNumberT&& value) { SetOriginalPhoneNumber(std::forward<OriginalPhoneNumberT>(value)); return *this;}
167
169
174 inline const Aws::String& GetPhoneType() const { return m_phoneType; }
175 inline bool PhoneTypeHasBeenSet() const { return m_phoneTypeHasBeenSet; }
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>
179 NumberValidateResponse& WithPhoneType(PhoneTypeT&& value) { SetPhoneType(std::forward<PhoneTypeT>(value)); return *this;}
181
183
187 inline int GetPhoneTypeCode() const { return m_phoneTypeCode; }
188 inline bool PhoneTypeCodeHasBeenSet() const { return m_phoneTypeCodeHasBeenSet; }
189 inline void SetPhoneTypeCode(int value) { m_phoneTypeCodeHasBeenSet = true; m_phoneTypeCode = value; }
190 inline NumberValidateResponse& WithPhoneTypeCode(int value) { SetPhoneTypeCode(value); return *this;}
192
194
198 inline const Aws::String& GetTimezone() const { return m_timezone; }
199 inline bool TimezoneHasBeenSet() const { return m_timezoneHasBeenSet; }
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>
203 NumberValidateResponse& WithTimezone(TimezoneT&& value) { SetTimezone(std::forward<TimezoneT>(value)); return *this;}
205
207
211 inline const Aws::String& GetZipCode() const { return m_zipCode; }
212 inline bool ZipCodeHasBeenSet() const { return m_zipCodeHasBeenSet; }
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>
216 NumberValidateResponse& WithZipCode(ZipCodeT&& value) { SetZipCode(std::forward<ZipCodeT>(value)); return *this;}
218 private:
219
220 Aws::String m_carrier;
221 bool m_carrierHasBeenSet = false;
222
223 Aws::String m_city;
224 bool m_cityHasBeenSet = false;
225
226 Aws::String m_cleansedPhoneNumberE164;
227 bool m_cleansedPhoneNumberE164HasBeenSet = false;
228
229 Aws::String m_cleansedPhoneNumberNational;
230 bool m_cleansedPhoneNumberNationalHasBeenSet = false;
231
232 Aws::String m_country;
233 bool m_countryHasBeenSet = false;
234
235 Aws::String m_countryCodeIso2;
236 bool m_countryCodeIso2HasBeenSet = false;
237
238 Aws::String m_countryCodeNumeric;
239 bool m_countryCodeNumericHasBeenSet = false;
240
241 Aws::String m_county;
242 bool m_countyHasBeenSet = false;
243
244 Aws::String m_originalCountryCodeIso2;
245 bool m_originalCountryCodeIso2HasBeenSet = false;
246
247 Aws::String m_originalPhoneNumber;
248 bool m_originalPhoneNumberHasBeenSet = false;
249
250 Aws::String m_phoneType;
251 bool m_phoneTypeHasBeenSet = false;
252
253 int m_phoneTypeCode{0};
254 bool m_phoneTypeCodeHasBeenSet = false;
255
256 Aws::String m_timezone;
257 bool m_timezoneHasBeenSet = false;
258
259 Aws::String m_zipCode;
260 bool m_zipCodeHasBeenSet = false;
261 };
262
263} // namespace Model
264} // namespace Pinpoint
265} // namespace Aws
NumberValidateResponse & WithCleansedPhoneNumberNational(CleansedPhoneNumberNationalT &&value)
NumberValidateResponse & WithCountry(CountryT &&value)
NumberValidateResponse & WithTimezone(TimezoneT &&value)
NumberValidateResponse & WithCounty(CountyT &&value)
NumberValidateResponse & WithZipCode(ZipCodeT &&value)
NumberValidateResponse & WithCity(CityT &&value)
NumberValidateResponse & WithOriginalPhoneNumber(OriginalPhoneNumberT &&value)
void SetCleansedPhoneNumberE164(CleansedPhoneNumberE164T &&value)
void SetCleansedPhoneNumberNational(CleansedPhoneNumberNationalT &&value)
NumberValidateResponse & WithOriginalCountryCodeIso2(OriginalCountryCodeIso2T &&value)
AWS_PINPOINT_API Aws::Utils::Json::JsonValue Jsonize() const
NumberValidateResponse & WithPhoneTypeCode(int value)
void SetOriginalCountryCodeIso2(OriginalCountryCodeIso2T &&value)
NumberValidateResponse & WithCountryCodeNumeric(CountryCodeNumericT &&value)
NumberValidateResponse & WithCleansedPhoneNumberE164(CleansedPhoneNumberE164T &&value)
NumberValidateResponse & WithCarrier(CarrierT &&value)
void SetOriginalPhoneNumber(OriginalPhoneNumberT &&value)
NumberValidateResponse & WithCountryCodeIso2(CountryCodeIso2T &&value)
AWS_PINPOINT_API NumberValidateResponse & operator=(Aws::Utils::Json::JsonView jsonValue)
AWS_PINPOINT_API NumberValidateResponse()=default
AWS_PINPOINT_API NumberValidateResponse(Aws::Utils::Json::JsonView jsonValue)
void SetCountryCodeNumeric(CountryCodeNumericT &&value)
const Aws::String & GetCleansedPhoneNumberNational() const
NumberValidateResponse & WithPhoneType(PhoneTypeT &&value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue