AWS SDK for C++

AWS SDK for C++ Version 1.11.606

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() = default;
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 template<typename IsoCountryCodeT = Aws::String>
49 void SetIsoCountryCode(IsoCountryCodeT&& value) { m_isoCountryCodeHasBeenSet = true; m_isoCountryCode = std::forward<IsoCountryCodeT>(value); }
50 template<typename IsoCountryCodeT = Aws::String>
51 NumberValidateRequest& WithIsoCountryCode(IsoCountryCodeT&& value) { SetIsoCountryCode(std::forward<IsoCountryCodeT>(value)); return *this;}
53
55
60 inline const Aws::String& GetPhoneNumber() const { return m_phoneNumber; }
61 inline bool PhoneNumberHasBeenSet() const { return m_phoneNumberHasBeenSet; }
62 template<typename PhoneNumberT = Aws::String>
63 void SetPhoneNumber(PhoneNumberT&& value) { m_phoneNumberHasBeenSet = true; m_phoneNumber = std::forward<PhoneNumberT>(value); }
64 template<typename PhoneNumberT = Aws::String>
65 NumberValidateRequest& WithPhoneNumber(PhoneNumberT&& value) { SetPhoneNumber(std::forward<PhoneNumberT>(value)); return *this;}
67 private:
68
69 Aws::String m_isoCountryCode;
70 bool m_isoCountryCodeHasBeenSet = false;
71
72 Aws::String m_phoneNumber;
73 bool m_phoneNumberHasBeenSet = false;
74 };
75
76} // namespace Model
77} // namespace Pinpoint
78} // namespace Aws
AWS_PINPOINT_API NumberValidateRequest & operator=(Aws::Utils::Json::JsonView jsonValue)
AWS_PINPOINT_API NumberValidateRequest()=default
AWS_PINPOINT_API NumberValidateRequest(Aws::Utils::Json::JsonView jsonValue)
AWS_PINPOINT_API Aws::Utils::Json::JsonValue Jsonize() const
NumberValidateRequest & WithIsoCountryCode(IsoCountryCodeT &&value)
NumberValidateRequest & WithPhoneNumber(PhoneNumberT &&value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue