AWS SDK for C++

AWS SDK for C++ Version 1.11.907

Loading...
Searching...
No Matches
VerifyPhoneNumberRequest.h
1
6#pragma once
7#include <aws/account/AccountRequest.h>
8#include <aws/account/Account_EXPORTS.h>
9#include <aws/core/utils/memory/stl/AWSString.h>
10
11#include <utility>
12
13namespace Aws {
14namespace Account {
15namespace Model {
16
20 public:
21 AWS_ACCOUNT_API VerifyPhoneNumberRequest() = default;
22
23 // Service request name is the Operation name which will send this request out,
24 // each operation should has unique request name, so that we can get operation's name from this request.
25 // Note: this is not true for response, multiple operations may have the same response name,
26 // so we can not get operation's name from response.
27 inline virtual const char* GetServiceRequestName() const override { return "VerifyPhoneNumber"; }
28
29 AWS_ACCOUNT_API Aws::String SerializePayload() const override;
30
32
54 inline const Aws::String& GetAccountId() const { return m_accountId; }
55 inline bool AccountIdHasBeenSet() const { return m_accountIdHasBeenSet; }
56 template <typename AccountIdT = Aws::String>
57 void SetAccountId(AccountIdT&& value) {
58 m_accountIdHasBeenSet = true;
59 m_accountId = std::forward<AccountIdT>(value);
60 }
61 template <typename AccountIdT = Aws::String>
63 SetAccountId(std::forward<AccountIdT>(value));
64 return *this;
65 }
67
69
73 inline const Aws::String& GetOtp() const { return m_otp; }
74 inline bool OtpHasBeenSet() const { return m_otpHasBeenSet; }
75 template <typename OtpT = Aws::String>
76 void SetOtp(OtpT&& value) {
77 m_otpHasBeenSet = true;
78 m_otp = std::forward<OtpT>(value);
79 }
80 template <typename OtpT = Aws::String>
82 SetOtp(std::forward<OtpT>(value));
83 return *this;
84 }
86 private:
87 Aws::String m_accountId;
88
89 Aws::String m_otp;
90 bool m_accountIdHasBeenSet = false;
91 bool m_otpHasBeenSet = false;
92};
93
94} // namespace Model
95} // namespace Account
96} // namespace Aws
VerifyPhoneNumberRequest & WithAccountId(AccountIdT &&value)
AWS_ACCOUNT_API VerifyPhoneNumberRequest()=default
AWS_ACCOUNT_API Aws::String SerializePayload() const override
VerifyPhoneNumberRequest & WithOtp(OtpT &&value)
virtual const char * GetServiceRequestName() const override
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String