AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
VerifyOTPMessageRequest.h
1
6#pragma once
7#include <aws/pinpoint/Pinpoint_EXPORTS.h>
8#include <aws/pinpoint/PinpointRequest.h>
9#include <aws/core/utils/memory/stl/AWSString.h>
10#include <aws/pinpoint/model/VerifyOTPMessageRequestParameters.h>
11#include <utility>
12
13namespace Aws
14{
15namespace Pinpoint
16{
17namespace Model
18{
19
23 {
24 public:
25 AWS_PINPOINT_API VerifyOTPMessageRequest();
26
27 // Service request name is the Operation name which will send this request out,
28 // each operation should has unique request name, so that we can get operation's name from this request.
29 // Note: this is not true for response, multiple operations may have the same response name,
30 // so we can not get operation's name from response.
31 inline virtual const char* GetServiceRequestName() const override { return "VerifyOTPMessage"; }
32
33 AWS_PINPOINT_API Aws::String SerializePayload() const override;
34
35
37
40 inline const Aws::String& GetApplicationId() const{ return m_applicationId; }
41 inline bool ApplicationIdHasBeenSet() const { return m_applicationIdHasBeenSet; }
42 inline void SetApplicationId(const Aws::String& value) { m_applicationIdHasBeenSet = true; m_applicationId = value; }
43 inline void SetApplicationId(Aws::String&& value) { m_applicationIdHasBeenSet = true; m_applicationId = std::move(value); }
44 inline void SetApplicationId(const char* value) { m_applicationIdHasBeenSet = true; m_applicationId.assign(value); }
45 inline VerifyOTPMessageRequest& WithApplicationId(const Aws::String& value) { SetApplicationId(value); return *this;}
46 inline VerifyOTPMessageRequest& WithApplicationId(Aws::String&& value) { SetApplicationId(std::move(value)); return *this;}
47 inline VerifyOTPMessageRequest& WithApplicationId(const char* value) { SetApplicationId(value); return *this;}
49
51
52 inline const VerifyOTPMessageRequestParameters& GetVerifyOTPMessageRequestParameters() const{ return m_verifyOTPMessageRequestParameters; }
53 inline bool VerifyOTPMessageRequestParametersHasBeenSet() const { return m_verifyOTPMessageRequestParametersHasBeenSet; }
54 inline void SetVerifyOTPMessageRequestParameters(const VerifyOTPMessageRequestParameters& value) { m_verifyOTPMessageRequestParametersHasBeenSet = true; m_verifyOTPMessageRequestParameters = value; }
55 inline void SetVerifyOTPMessageRequestParameters(VerifyOTPMessageRequestParameters&& value) { m_verifyOTPMessageRequestParametersHasBeenSet = true; m_verifyOTPMessageRequestParameters = std::move(value); }
59 private:
60
61 Aws::String m_applicationId;
62 bool m_applicationIdHasBeenSet = false;
63
64 VerifyOTPMessageRequestParameters m_verifyOTPMessageRequestParameters;
65 bool m_verifyOTPMessageRequestParametersHasBeenSet = false;
66 };
67
68} // namespace Model
69} // namespace Pinpoint
70} // namespace Aws
VerifyOTPMessageRequest & WithVerifyOTPMessageRequestParameters(VerifyOTPMessageRequestParameters &&value)
VerifyOTPMessageRequest & WithApplicationId(Aws::String &&value)
AWS_PINPOINT_API Aws::String SerializePayload() const override
void SetVerifyOTPMessageRequestParameters(const VerifyOTPMessageRequestParameters &value)
VerifyOTPMessageRequest & WithVerifyOTPMessageRequestParameters(const VerifyOTPMessageRequestParameters &value)
virtual const char * GetServiceRequestName() const override
void SetVerifyOTPMessageRequestParameters(VerifyOTPMessageRequestParameters &&value)
const VerifyOTPMessageRequestParameters & GetVerifyOTPMessageRequestParameters() const
VerifyOTPMessageRequest & WithApplicationId(const Aws::String &value)
VerifyOTPMessageRequest & WithApplicationId(const char *value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String