AWS SDK for C++

AWS SDK for C++ Version 1.11.908

Loading...
Searching...
No Matches
SendNotifyCodeVerificationResult.h
1
6#pragma once
7#include <aws/core/http/HttpResponse.h>
8#include <aws/core/utils/memory/stl/AWSString.h>
9#include <aws/endusermessaging/EndUserMessaging_EXPORTS.h>
10
11#include <utility>
12
13namespace Aws {
14template <typename RESULT_TYPE>
15class AmazonWebServiceResult;
16
17namespace Utils {
18namespace Json {
19class JsonValue;
20} // namespace Json
21} // namespace Utils
22namespace EndUserMessaging {
23namespace Model {
25 public:
26 AWS_ENDUSERMESSAGING_API SendNotifyCodeVerificationResult() = default;
30
32
35 inline const Aws::String& GetVerificationId() const { return m_verificationId; }
36 template <typename VerificationIdT = Aws::String>
37 void SetVerificationId(VerificationIdT&& value) {
38 m_verificationIdHasBeenSet = true;
39 m_verificationId = std::forward<VerificationIdT>(value);
40 }
41 template <typename VerificationIdT = Aws::String>
43 SetVerificationId(std::forward<VerificationIdT>(value));
44 return *this;
45 }
47
49
53 inline const Aws::String& GetMessageId() const { return m_messageId; }
54 template <typename MessageIdT = Aws::String>
55 void SetMessageId(MessageIdT&& value) {
56 m_messageIdHasBeenSet = true;
57 m_messageId = std::forward<MessageIdT>(value);
58 }
59 template <typename MessageIdT = Aws::String>
61 SetMessageId(std::forward<MessageIdT>(value));
62 return *this;
63 }
65
67
68 inline const Aws::String& GetRequestId() const { return m_requestId; }
69 template <typename RequestIdT = Aws::String>
70 void SetRequestId(RequestIdT&& value) {
71 m_requestIdHasBeenSet = true;
72 m_requestId = std::forward<RequestIdT>(value);
73 }
74 template <typename RequestIdT = Aws::String>
76 SetRequestId(std::forward<RequestIdT>(value));
77 return *this;
78 }
80 inline Aws::Http::HttpResponseCode GetHttpResponseCode() const { return m_HttpResponseCode; }
81
82 private:
83 Aws::String m_verificationId;
84
85 Aws::String m_messageId;
86
87 Aws::String m_requestId;
88 Aws::Http::HttpResponseCode m_HttpResponseCode;
89 bool m_verificationIdHasBeenSet = false;
90 bool m_messageIdHasBeenSet = false;
91 bool m_requestIdHasBeenSet = false;
92};
93
94} // namespace Model
95} // namespace EndUserMessaging
96} // namespace Aws
AWS_ENDUSERMESSAGING_API SendNotifyCodeVerificationResult()=default
SendNotifyCodeVerificationResult & WithVerificationId(VerificationIdT &&value)
AWS_ENDUSERMESSAGING_API SendNotifyCodeVerificationResult(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
AWS_ENDUSERMESSAGING_API SendNotifyCodeVerificationResult & operator=(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
SendNotifyCodeVerificationResult & WithRequestId(RequestIdT &&value)
SendNotifyCodeVerificationResult & WithMessageId(MessageIdT &&value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue