AWS SDK for C++

AWS SDK for C++ Version 1.11.440

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();
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 inline void SetCarrier(const Aws::String& value) { m_carrierHasBeenSet = true; m_carrier = value; }
49 inline void SetCarrier(Aws::String&& value) { m_carrierHasBeenSet = true; m_carrier = std::move(value); }
50 inline void SetCarrier(const char* value) { m_carrierHasBeenSet = true; m_carrier.assign(value); }
51 inline NumberValidateResponse& WithCarrier(const Aws::String& value) { SetCarrier(value); return *this;}
52 inline NumberValidateResponse& WithCarrier(Aws::String&& value) { SetCarrier(std::move(value)); return *this;}
53 inline NumberValidateResponse& WithCarrier(const char* value) { SetCarrier(value); return *this;}
55
57
60 inline const Aws::String& GetCity() const{ return m_city; }
61 inline bool CityHasBeenSet() const { return m_cityHasBeenSet; }
62 inline void SetCity(const Aws::String& value) { m_cityHasBeenSet = true; m_city = value; }
63 inline void SetCity(Aws::String&& value) { m_cityHasBeenSet = true; m_city = std::move(value); }
64 inline void SetCity(const char* value) { m_cityHasBeenSet = true; m_city.assign(value); }
65 inline NumberValidateResponse& WithCity(const Aws::String& value) { SetCity(value); return *this;}
66 inline NumberValidateResponse& WithCity(Aws::String&& value) { SetCity(std::move(value)); return *this;}
67 inline NumberValidateResponse& WithCity(const char* value) { SetCity(value); return *this;}
69
71
75 inline const Aws::String& GetCleansedPhoneNumberE164() const{ return m_cleansedPhoneNumberE164; }
76 inline bool CleansedPhoneNumberE164HasBeenSet() const { return m_cleansedPhoneNumberE164HasBeenSet; }
77 inline void SetCleansedPhoneNumberE164(const Aws::String& value) { m_cleansedPhoneNumberE164HasBeenSet = true; m_cleansedPhoneNumberE164 = value; }
78 inline void SetCleansedPhoneNumberE164(Aws::String&& value) { m_cleansedPhoneNumberE164HasBeenSet = true; m_cleansedPhoneNumberE164 = std::move(value); }
79 inline void SetCleansedPhoneNumberE164(const char* value) { m_cleansedPhoneNumberE164HasBeenSet = true; m_cleansedPhoneNumberE164.assign(value); }
82 inline NumberValidateResponse& WithCleansedPhoneNumberE164(const char* value) { SetCleansedPhoneNumberE164(value); return *this;}
84
86
90 inline const Aws::String& GetCleansedPhoneNumberNational() const{ return m_cleansedPhoneNumberNational; }
91 inline bool CleansedPhoneNumberNationalHasBeenSet() const { return m_cleansedPhoneNumberNationalHasBeenSet; }
92 inline void SetCleansedPhoneNumberNational(const Aws::String& value) { m_cleansedPhoneNumberNationalHasBeenSet = true; m_cleansedPhoneNumberNational = value; }
93 inline void SetCleansedPhoneNumberNational(Aws::String&& value) { m_cleansedPhoneNumberNationalHasBeenSet = true; m_cleansedPhoneNumberNational = std::move(value); }
94 inline void SetCleansedPhoneNumberNational(const char* value) { m_cleansedPhoneNumberNationalHasBeenSet = true; m_cleansedPhoneNumberNational.assign(value); }
99
101
105 inline const Aws::String& GetCountry() const{ return m_country; }
106 inline bool CountryHasBeenSet() const { return m_countryHasBeenSet; }
107 inline void SetCountry(const Aws::String& value) { m_countryHasBeenSet = true; m_country = value; }
108 inline void SetCountry(Aws::String&& value) { m_countryHasBeenSet = true; m_country = std::move(value); }
109 inline void SetCountry(const char* value) { m_countryHasBeenSet = true; m_country.assign(value); }
110 inline NumberValidateResponse& WithCountry(const Aws::String& value) { SetCountry(value); return *this;}
111 inline NumberValidateResponse& WithCountry(Aws::String&& value) { SetCountry(std::move(value)); return *this;}
112 inline NumberValidateResponse& WithCountry(const char* value) { SetCountry(value); return *this;}
114
116
120 inline const Aws::String& GetCountryCodeIso2() const{ return m_countryCodeIso2; }
121 inline bool CountryCodeIso2HasBeenSet() const { return m_countryCodeIso2HasBeenSet; }
122 inline void SetCountryCodeIso2(const Aws::String& value) { m_countryCodeIso2HasBeenSet = true; m_countryCodeIso2 = value; }
123 inline void SetCountryCodeIso2(Aws::String&& value) { m_countryCodeIso2HasBeenSet = true; m_countryCodeIso2 = std::move(value); }
124 inline void SetCountryCodeIso2(const char* value) { m_countryCodeIso2HasBeenSet = true; m_countryCodeIso2.assign(value); }
125 inline NumberValidateResponse& WithCountryCodeIso2(const Aws::String& value) { SetCountryCodeIso2(value); return *this;}
126 inline NumberValidateResponse& WithCountryCodeIso2(Aws::String&& value) { SetCountryCodeIso2(std::move(value)); return *this;}
127 inline NumberValidateResponse& WithCountryCodeIso2(const char* value) { SetCountryCodeIso2(value); return *this;}
129
131
135 inline const Aws::String& GetCountryCodeNumeric() const{ return m_countryCodeNumeric; }
136 inline bool CountryCodeNumericHasBeenSet() const { return m_countryCodeNumericHasBeenSet; }
137 inline void SetCountryCodeNumeric(const Aws::String& value) { m_countryCodeNumericHasBeenSet = true; m_countryCodeNumeric = value; }
138 inline void SetCountryCodeNumeric(Aws::String&& value) { m_countryCodeNumericHasBeenSet = true; m_countryCodeNumeric = std::move(value); }
139 inline void SetCountryCodeNumeric(const char* value) { m_countryCodeNumericHasBeenSet = true; m_countryCodeNumeric.assign(value); }
141 inline NumberValidateResponse& WithCountryCodeNumeric(Aws::String&& value) { SetCountryCodeNumeric(std::move(value)); return *this;}
142 inline NumberValidateResponse& WithCountryCodeNumeric(const char* value) { SetCountryCodeNumeric(value); return *this;}
144
146
149 inline const Aws::String& GetCounty() const{ return m_county; }
150 inline bool CountyHasBeenSet() const { return m_countyHasBeenSet; }
151 inline void SetCounty(const Aws::String& value) { m_countyHasBeenSet = true; m_county = value; }
152 inline void SetCounty(Aws::String&& value) { m_countyHasBeenSet = true; m_county = std::move(value); }
153 inline void SetCounty(const char* value) { m_countyHasBeenSet = true; m_county.assign(value); }
154 inline NumberValidateResponse& WithCounty(const Aws::String& value) { SetCounty(value); return *this;}
155 inline NumberValidateResponse& WithCounty(Aws::String&& value) { SetCounty(std::move(value)); return *this;}
156 inline NumberValidateResponse& WithCounty(const char* value) { SetCounty(value); return *this;}
158
160
164 inline const Aws::String& GetOriginalCountryCodeIso2() const{ return m_originalCountryCodeIso2; }
165 inline bool OriginalCountryCodeIso2HasBeenSet() const { return m_originalCountryCodeIso2HasBeenSet; }
166 inline void SetOriginalCountryCodeIso2(const Aws::String& value) { m_originalCountryCodeIso2HasBeenSet = true; m_originalCountryCodeIso2 = value; }
167 inline void SetOriginalCountryCodeIso2(Aws::String&& value) { m_originalCountryCodeIso2HasBeenSet = true; m_originalCountryCodeIso2 = std::move(value); }
168 inline void SetOriginalCountryCodeIso2(const char* value) { m_originalCountryCodeIso2HasBeenSet = true; m_originalCountryCodeIso2.assign(value); }
171 inline NumberValidateResponse& WithOriginalCountryCodeIso2(const char* value) { SetOriginalCountryCodeIso2(value); return *this;}
173
175
178 inline const Aws::String& GetOriginalPhoneNumber() const{ return m_originalPhoneNumber; }
179 inline bool OriginalPhoneNumberHasBeenSet() const { return m_originalPhoneNumberHasBeenSet; }
180 inline void SetOriginalPhoneNumber(const Aws::String& value) { m_originalPhoneNumberHasBeenSet = true; m_originalPhoneNumber = value; }
181 inline void SetOriginalPhoneNumber(Aws::String&& value) { m_originalPhoneNumberHasBeenSet = true; m_originalPhoneNumber = std::move(value); }
182 inline void SetOriginalPhoneNumber(const char* value) { m_originalPhoneNumberHasBeenSet = true; m_originalPhoneNumber.assign(value); }
184 inline NumberValidateResponse& WithOriginalPhoneNumber(Aws::String&& value) { SetOriginalPhoneNumber(std::move(value)); return *this;}
185 inline NumberValidateResponse& WithOriginalPhoneNumber(const char* value) { SetOriginalPhoneNumber(value); return *this;}
187
189
194 inline const Aws::String& GetPhoneType() const{ return m_phoneType; }
195 inline bool PhoneTypeHasBeenSet() const { return m_phoneTypeHasBeenSet; }
196 inline void SetPhoneType(const Aws::String& value) { m_phoneTypeHasBeenSet = true; m_phoneType = value; }
197 inline void SetPhoneType(Aws::String&& value) { m_phoneTypeHasBeenSet = true; m_phoneType = std::move(value); }
198 inline void SetPhoneType(const char* value) { m_phoneTypeHasBeenSet = true; m_phoneType.assign(value); }
199 inline NumberValidateResponse& WithPhoneType(const Aws::String& value) { SetPhoneType(value); return *this;}
200 inline NumberValidateResponse& WithPhoneType(Aws::String&& value) { SetPhoneType(std::move(value)); return *this;}
201 inline NumberValidateResponse& WithPhoneType(const char* value) { SetPhoneType(value); return *this;}
203
205
209 inline int GetPhoneTypeCode() const{ return m_phoneTypeCode; }
210 inline bool PhoneTypeCodeHasBeenSet() const { return m_phoneTypeCodeHasBeenSet; }
211 inline void SetPhoneTypeCode(int value) { m_phoneTypeCodeHasBeenSet = true; m_phoneTypeCode = value; }
212 inline NumberValidateResponse& WithPhoneTypeCode(int value) { SetPhoneTypeCode(value); return *this;}
214
216
220 inline const Aws::String& GetTimezone() const{ return m_timezone; }
221 inline bool TimezoneHasBeenSet() const { return m_timezoneHasBeenSet; }
222 inline void SetTimezone(const Aws::String& value) { m_timezoneHasBeenSet = true; m_timezone = value; }
223 inline void SetTimezone(Aws::String&& value) { m_timezoneHasBeenSet = true; m_timezone = std::move(value); }
224 inline void SetTimezone(const char* value) { m_timezoneHasBeenSet = true; m_timezone.assign(value); }
225 inline NumberValidateResponse& WithTimezone(const Aws::String& value) { SetTimezone(value); return *this;}
226 inline NumberValidateResponse& WithTimezone(Aws::String&& value) { SetTimezone(std::move(value)); return *this;}
227 inline NumberValidateResponse& WithTimezone(const char* value) { SetTimezone(value); return *this;}
229
231
235 inline const Aws::String& GetZipCode() const{ return m_zipCode; }
236 inline bool ZipCodeHasBeenSet() const { return m_zipCodeHasBeenSet; }
237 inline void SetZipCode(const Aws::String& value) { m_zipCodeHasBeenSet = true; m_zipCode = value; }
238 inline void SetZipCode(Aws::String&& value) { m_zipCodeHasBeenSet = true; m_zipCode = std::move(value); }
239 inline void SetZipCode(const char* value) { m_zipCodeHasBeenSet = true; m_zipCode.assign(value); }
240 inline NumberValidateResponse& WithZipCode(const Aws::String& value) { SetZipCode(value); return *this;}
241 inline NumberValidateResponse& WithZipCode(Aws::String&& value) { SetZipCode(std::move(value)); return *this;}
242 inline NumberValidateResponse& WithZipCode(const char* value) { SetZipCode(value); return *this;}
244 private:
245
246 Aws::String m_carrier;
247 bool m_carrierHasBeenSet = false;
248
249 Aws::String m_city;
250 bool m_cityHasBeenSet = false;
251
252 Aws::String m_cleansedPhoneNumberE164;
253 bool m_cleansedPhoneNumberE164HasBeenSet = false;
254
255 Aws::String m_cleansedPhoneNumberNational;
256 bool m_cleansedPhoneNumberNationalHasBeenSet = false;
257
258 Aws::String m_country;
259 bool m_countryHasBeenSet = false;
260
261 Aws::String m_countryCodeIso2;
262 bool m_countryCodeIso2HasBeenSet = false;
263
264 Aws::String m_countryCodeNumeric;
265 bool m_countryCodeNumericHasBeenSet = false;
266
267 Aws::String m_county;
268 bool m_countyHasBeenSet = false;
269
270 Aws::String m_originalCountryCodeIso2;
271 bool m_originalCountryCodeIso2HasBeenSet = false;
272
273 Aws::String m_originalPhoneNumber;
274 bool m_originalPhoneNumberHasBeenSet = false;
275
276 Aws::String m_phoneType;
277 bool m_phoneTypeHasBeenSet = false;
278
279 int m_phoneTypeCode;
280 bool m_phoneTypeCodeHasBeenSet = false;
281
282 Aws::String m_timezone;
283 bool m_timezoneHasBeenSet = false;
284
285 Aws::String m_zipCode;
286 bool m_zipCodeHasBeenSet = false;
287 };
288
289} // namespace Model
290} // namespace Pinpoint
291} // namespace Aws
NumberValidateResponse & WithZipCode(const char *value)
NumberValidateResponse & WithCounty(Aws::String &&value)
NumberValidateResponse & WithCountryCodeNumeric(Aws::String &&value)
NumberValidateResponse & WithCountry(const char *value)
NumberValidateResponse & WithOriginalPhoneNumber(Aws::String &&value)
NumberValidateResponse & WithPhoneType(const Aws::String &value)
NumberValidateResponse & WithCountryCodeIso2(Aws::String &&value)
NumberValidateResponse & WithOriginalPhoneNumber(const Aws::String &value)
NumberValidateResponse & WithCountry(Aws::String &&value)
NumberValidateResponse & WithTimezone(Aws::String &&value)
NumberValidateResponse & WithCarrier(const Aws::String &value)
NumberValidateResponse & WithCounty(const Aws::String &value)
void SetCleansedPhoneNumberE164(const Aws::String &value)
NumberValidateResponse & WithCleansedPhoneNumberE164(const Aws::String &value)
NumberValidateResponse & WithCountryCodeIso2(const char *value)
NumberValidateResponse & WithCountry(const Aws::String &value)
NumberValidateResponse & WithCleansedPhoneNumberNational(const char *value)
NumberValidateResponse & WithOriginalCountryCodeIso2(const Aws::String &value)
NumberValidateResponse & WithOriginalCountryCodeIso2(const char *value)
NumberValidateResponse & WithCountryCodeNumeric(const char *value)
AWS_PINPOINT_API Aws::Utils::Json::JsonValue Jsonize() const
void SetCleansedPhoneNumberNational(const Aws::String &value)
NumberValidateResponse & WithZipCode(const Aws::String &value)
NumberValidateResponse & WithPhoneTypeCode(int value)
NumberValidateResponse & WithPhoneType(Aws::String &&value)
void SetOriginalPhoneNumber(const Aws::String &value)
NumberValidateResponse & WithPhoneType(const char *value)
NumberValidateResponse & WithTimezone(const char *value)
NumberValidateResponse & WithCountryCodeNumeric(const Aws::String &value)
NumberValidateResponse & WithCleansedPhoneNumberE164(const char *value)
NumberValidateResponse & WithCarrier(Aws::String &&value)
NumberValidateResponse & WithTimezone(const Aws::String &value)
NumberValidateResponse & WithCleansedPhoneNumberE164(Aws::String &&value)
NumberValidateResponse & WithZipCode(Aws::String &&value)
NumberValidateResponse & WithOriginalCountryCodeIso2(Aws::String &&value)
NumberValidateResponse & WithCity(Aws::String &&value)
NumberValidateResponse & WithCarrier(const char *value)
AWS_PINPOINT_API NumberValidateResponse & operator=(Aws::Utils::Json::JsonView jsonValue)
NumberValidateResponse & WithCleansedPhoneNumberNational(const Aws::String &value)
NumberValidateResponse & WithOriginalPhoneNumber(const char *value)
AWS_PINPOINT_API NumberValidateResponse(Aws::Utils::Json::JsonView jsonValue)
NumberValidateResponse & WithCountryCodeIso2(const Aws::String &value)
const Aws::String & GetCleansedPhoneNumberNational() const
void SetOriginalCountryCodeIso2(const Aws::String &value)
NumberValidateResponse & WithCleansedPhoneNumberNational(Aws::String &&value)
NumberValidateResponse & WithCity(const char *value)
NumberValidateResponse & WithCounty(const char *value)
NumberValidateResponse & WithCity(const Aws::String &value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue