AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
NumberValidateRequest.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
33 {
34 public:
35 AWS_PINPOINT_API NumberValidateRequest();
38 AWS_PINPOINT_API Aws::Utils::Json::JsonValue Jsonize() const;
39
40
42
46 inline const Aws::String& GetIsoCountryCode() const{ return m_isoCountryCode; }
47 inline bool IsoCountryCodeHasBeenSet() const { return m_isoCountryCodeHasBeenSet; }
48 inline void SetIsoCountryCode(const Aws::String& value) { m_isoCountryCodeHasBeenSet = true; m_isoCountryCode = value; }
49 inline void SetIsoCountryCode(Aws::String&& value) { m_isoCountryCodeHasBeenSet = true; m_isoCountryCode = std::move(value); }
50 inline void SetIsoCountryCode(const char* value) { m_isoCountryCodeHasBeenSet = true; m_isoCountryCode.assign(value); }
51 inline NumberValidateRequest& WithIsoCountryCode(const Aws::String& value) { SetIsoCountryCode(value); return *this;}
52 inline NumberValidateRequest& WithIsoCountryCode(Aws::String&& value) { SetIsoCountryCode(std::move(value)); return *this;}
53 inline NumberValidateRequest& WithIsoCountryCode(const char* value) { SetIsoCountryCode(value); return *this;}
55
57
62 inline const Aws::String& GetPhoneNumber() const{ return m_phoneNumber; }
63 inline bool PhoneNumberHasBeenSet() const { return m_phoneNumberHasBeenSet; }
64 inline void SetPhoneNumber(const Aws::String& value) { m_phoneNumberHasBeenSet = true; m_phoneNumber = value; }
65 inline void SetPhoneNumber(Aws::String&& value) { m_phoneNumberHasBeenSet = true; m_phoneNumber = std::move(value); }
66 inline void SetPhoneNumber(const char* value) { m_phoneNumberHasBeenSet = true; m_phoneNumber.assign(value); }
67 inline NumberValidateRequest& WithPhoneNumber(const Aws::String& value) { SetPhoneNumber(value); return *this;}
68 inline NumberValidateRequest& WithPhoneNumber(Aws::String&& value) { SetPhoneNumber(std::move(value)); return *this;}
69 inline NumberValidateRequest& WithPhoneNumber(const char* value) { SetPhoneNumber(value); return *this;}
71 private:
72
73 Aws::String m_isoCountryCode;
74 bool m_isoCountryCodeHasBeenSet = false;
75
76 Aws::String m_phoneNumber;
77 bool m_phoneNumberHasBeenSet = false;
78 };
79
80} // namespace Model
81} // namespace Pinpoint
82} // namespace Aws
NumberValidateRequest & WithIsoCountryCode(Aws::String &&value)
AWS_PINPOINT_API NumberValidateRequest & operator=(Aws::Utils::Json::JsonView jsonValue)
NumberValidateRequest & WithIsoCountryCode(const Aws::String &value)
AWS_PINPOINT_API NumberValidateRequest(Aws::Utils::Json::JsonView jsonValue)
void SetIsoCountryCode(const Aws::String &value)
AWS_PINPOINT_API Aws::Utils::Json::JsonValue Jsonize() const
NumberValidateRequest & WithPhoneNumber(const Aws::String &value)
NumberValidateRequest & WithPhoneNumber(const char *value)
NumberValidateRequest & WithIsoCountryCode(const char *value)
NumberValidateRequest & WithPhoneNumber(Aws::String &&value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue