AWS SDK for C++

AWS SDK for C++ Version 1.11.682

Loading...
Searching...
No Matches
NumberValidateResponse.h
1
6#pragma once
7#include <aws/core/utils/memory/stl/AWSString.h>
8#include <aws/pinpoint/Pinpoint_EXPORTS.h>
9
10#include <utility>
11
12namespace Aws {
13namespace Utils {
14namespace Json {
15class JsonValue;
16class JsonView;
17} // namespace Json
18} // namespace Utils
19namespace Pinpoint {
20namespace Model {
21
28 public:
29 AWS_PINPOINT_API NumberValidateResponse() = default;
32 AWS_PINPOINT_API Aws::Utils::Json::JsonValue Jsonize() const;
33
35
40 inline const Aws::String& GetCarrier() const { return m_carrier; }
41 inline bool CarrierHasBeenSet() const { return m_carrierHasBeenSet; }
42 template <typename CarrierT = Aws::String>
43 void SetCarrier(CarrierT&& value) {
44 m_carrierHasBeenSet = true;
45 m_carrier = std::forward<CarrierT>(value);
46 }
47 template <typename CarrierT = Aws::String>
49 SetCarrier(std::forward<CarrierT>(value));
50 return *this;
51 }
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) {
62 m_cityHasBeenSet = true;
63 m_city = std::forward<CityT>(value);
64 }
65 template <typename CityT = Aws::String>
67 SetCity(std::forward<CityT>(value));
68 return *this;
69 }
71
73
77 inline const Aws::String& GetCleansedPhoneNumberE164() const { return m_cleansedPhoneNumberE164; }
78 inline bool CleansedPhoneNumberE164HasBeenSet() const { return m_cleansedPhoneNumberE164HasBeenSet; }
79 template <typename CleansedPhoneNumberE164T = Aws::String>
80 void SetCleansedPhoneNumberE164(CleansedPhoneNumberE164T&& value) {
81 m_cleansedPhoneNumberE164HasBeenSet = true;
82 m_cleansedPhoneNumberE164 = std::forward<CleansedPhoneNumberE164T>(value);
83 }
84 template <typename CleansedPhoneNumberE164T = Aws::String>
85 NumberValidateResponse& WithCleansedPhoneNumberE164(CleansedPhoneNumberE164T&& value) {
86 SetCleansedPhoneNumberE164(std::forward<CleansedPhoneNumberE164T>(value));
87 return *this;
88 }
90
92
96 inline const Aws::String& GetCleansedPhoneNumberNational() const { return m_cleansedPhoneNumberNational; }
97 inline bool CleansedPhoneNumberNationalHasBeenSet() const { return m_cleansedPhoneNumberNationalHasBeenSet; }
98 template <typename CleansedPhoneNumberNationalT = Aws::String>
99 void SetCleansedPhoneNumberNational(CleansedPhoneNumberNationalT&& value) {
100 m_cleansedPhoneNumberNationalHasBeenSet = true;
101 m_cleansedPhoneNumberNational = std::forward<CleansedPhoneNumberNationalT>(value);
102 }
103 template <typename CleansedPhoneNumberNationalT = Aws::String>
104 NumberValidateResponse& WithCleansedPhoneNumberNational(CleansedPhoneNumberNationalT&& value) {
105 SetCleansedPhoneNumberNational(std::forward<CleansedPhoneNumberNationalT>(value));
106 return *this;
107 }
109
111
115 inline const Aws::String& GetCountry() const { return m_country; }
116 inline bool CountryHasBeenSet() const { return m_countryHasBeenSet; }
117 template <typename CountryT = Aws::String>
118 void SetCountry(CountryT&& value) {
119 m_countryHasBeenSet = true;
120 m_country = std::forward<CountryT>(value);
121 }
122 template <typename CountryT = Aws::String>
124 SetCountry(std::forward<CountryT>(value));
125 return *this;
126 }
128
130
134 inline const Aws::String& GetCountryCodeIso2() const { return m_countryCodeIso2; }
135 inline bool CountryCodeIso2HasBeenSet() const { return m_countryCodeIso2HasBeenSet; }
136 template <typename CountryCodeIso2T = Aws::String>
137 void SetCountryCodeIso2(CountryCodeIso2T&& value) {
138 m_countryCodeIso2HasBeenSet = true;
139 m_countryCodeIso2 = std::forward<CountryCodeIso2T>(value);
140 }
141 template <typename CountryCodeIso2T = Aws::String>
142 NumberValidateResponse& WithCountryCodeIso2(CountryCodeIso2T&& value) {
143 SetCountryCodeIso2(std::forward<CountryCodeIso2T>(value));
144 return *this;
145 }
147
149
153 inline const Aws::String& GetCountryCodeNumeric() const { return m_countryCodeNumeric; }
154 inline bool CountryCodeNumericHasBeenSet() const { return m_countryCodeNumericHasBeenSet; }
155 template <typename CountryCodeNumericT = Aws::String>
156 void SetCountryCodeNumeric(CountryCodeNumericT&& value) {
157 m_countryCodeNumericHasBeenSet = true;
158 m_countryCodeNumeric = std::forward<CountryCodeNumericT>(value);
159 }
160 template <typename CountryCodeNumericT = Aws::String>
161 NumberValidateResponse& WithCountryCodeNumeric(CountryCodeNumericT&& value) {
162 SetCountryCodeNumeric(std::forward<CountryCodeNumericT>(value));
163 return *this;
164 }
166
168
171 inline const Aws::String& GetCounty() const { return m_county; }
172 inline bool CountyHasBeenSet() const { return m_countyHasBeenSet; }
173 template <typename CountyT = Aws::String>
174 void SetCounty(CountyT&& value) {
175 m_countyHasBeenSet = true;
176 m_county = std::forward<CountyT>(value);
177 }
178 template <typename CountyT = Aws::String>
180 SetCounty(std::forward<CountyT>(value));
181 return *this;
182 }
184
186
190 inline const Aws::String& GetOriginalCountryCodeIso2() const { return m_originalCountryCodeIso2; }
191 inline bool OriginalCountryCodeIso2HasBeenSet() const { return m_originalCountryCodeIso2HasBeenSet; }
192 template <typename OriginalCountryCodeIso2T = Aws::String>
193 void SetOriginalCountryCodeIso2(OriginalCountryCodeIso2T&& value) {
194 m_originalCountryCodeIso2HasBeenSet = true;
195 m_originalCountryCodeIso2 = std::forward<OriginalCountryCodeIso2T>(value);
196 }
197 template <typename OriginalCountryCodeIso2T = Aws::String>
198 NumberValidateResponse& WithOriginalCountryCodeIso2(OriginalCountryCodeIso2T&& value) {
199 SetOriginalCountryCodeIso2(std::forward<OriginalCountryCodeIso2T>(value));
200 return *this;
201 }
203
205
208 inline const Aws::String& GetOriginalPhoneNumber() const { return m_originalPhoneNumber; }
209 inline bool OriginalPhoneNumberHasBeenSet() const { return m_originalPhoneNumberHasBeenSet; }
210 template <typename OriginalPhoneNumberT = Aws::String>
211 void SetOriginalPhoneNumber(OriginalPhoneNumberT&& value) {
212 m_originalPhoneNumberHasBeenSet = true;
213 m_originalPhoneNumber = std::forward<OriginalPhoneNumberT>(value);
214 }
215 template <typename OriginalPhoneNumberT = Aws::String>
216 NumberValidateResponse& WithOriginalPhoneNumber(OriginalPhoneNumberT&& value) {
217 SetOriginalPhoneNumber(std::forward<OriginalPhoneNumberT>(value));
218 return *this;
219 }
221
223
228 inline const Aws::String& GetPhoneType() const { return m_phoneType; }
229 inline bool PhoneTypeHasBeenSet() const { return m_phoneTypeHasBeenSet; }
230 template <typename PhoneTypeT = Aws::String>
231 void SetPhoneType(PhoneTypeT&& value) {
232 m_phoneTypeHasBeenSet = true;
233 m_phoneType = std::forward<PhoneTypeT>(value);
234 }
235 template <typename PhoneTypeT = Aws::String>
237 SetPhoneType(std::forward<PhoneTypeT>(value));
238 return *this;
239 }
241
243
247 inline int GetPhoneTypeCode() const { return m_phoneTypeCode; }
248 inline bool PhoneTypeCodeHasBeenSet() const { return m_phoneTypeCodeHasBeenSet; }
249 inline void SetPhoneTypeCode(int value) {
250 m_phoneTypeCodeHasBeenSet = true;
251 m_phoneTypeCode = value;
252 }
254 SetPhoneTypeCode(value);
255 return *this;
256 }
258
260
264 inline const Aws::String& GetTimezone() const { return m_timezone; }
265 inline bool TimezoneHasBeenSet() const { return m_timezoneHasBeenSet; }
266 template <typename TimezoneT = Aws::String>
267 void SetTimezone(TimezoneT&& value) {
268 m_timezoneHasBeenSet = true;
269 m_timezone = std::forward<TimezoneT>(value);
270 }
271 template <typename TimezoneT = Aws::String>
273 SetTimezone(std::forward<TimezoneT>(value));
274 return *this;
275 }
277
279
283 inline const Aws::String& GetZipCode() const { return m_zipCode; }
284 inline bool ZipCodeHasBeenSet() const { return m_zipCodeHasBeenSet; }
285 template <typename ZipCodeT = Aws::String>
286 void SetZipCode(ZipCodeT&& value) {
287 m_zipCodeHasBeenSet = true;
288 m_zipCode = std::forward<ZipCodeT>(value);
289 }
290 template <typename ZipCodeT = Aws::String>
292 SetZipCode(std::forward<ZipCodeT>(value));
293 return *this;
294 }
296 private:
297 Aws::String m_carrier;
298 bool m_carrierHasBeenSet = false;
299
300 Aws::String m_city;
301 bool m_cityHasBeenSet = false;
302
303 Aws::String m_cleansedPhoneNumberE164;
304 bool m_cleansedPhoneNumberE164HasBeenSet = false;
305
306 Aws::String m_cleansedPhoneNumberNational;
307 bool m_cleansedPhoneNumberNationalHasBeenSet = false;
308
309 Aws::String m_country;
310 bool m_countryHasBeenSet = false;
311
312 Aws::String m_countryCodeIso2;
313 bool m_countryCodeIso2HasBeenSet = false;
314
315 Aws::String m_countryCodeNumeric;
316 bool m_countryCodeNumericHasBeenSet = false;
317
318 Aws::String m_county;
319 bool m_countyHasBeenSet = false;
320
321 Aws::String m_originalCountryCodeIso2;
322 bool m_originalCountryCodeIso2HasBeenSet = false;
323
324 Aws::String m_originalPhoneNumber;
325 bool m_originalPhoneNumberHasBeenSet = false;
326
327 Aws::String m_phoneType;
328 bool m_phoneTypeHasBeenSet = false;
329
330 int m_phoneTypeCode{0};
331 bool m_phoneTypeCodeHasBeenSet = false;
332
333 Aws::String m_timezone;
334 bool m_timezoneHasBeenSet = false;
335
336 Aws::String m_zipCode;
337 bool m_zipCodeHasBeenSet = false;
338};
339
340} // namespace Model
341} // namespace Pinpoint
342} // 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