AWS SDK for C++

AWS SDK for C++ Version 1.11.906

Loading...
Searching...
No Matches
ValidateNotifyCodeVerificationRequest.h
1
6#pragma once
7#include <aws/core/utils/memory/stl/AWSString.h>
8#include <aws/endusermessaging/EndUserMessagingRequest.h>
9#include <aws/endusermessaging/EndUserMessaging_EXPORTS.h>
10
11#include <utility>
12
13namespace Aws {
14namespace EndUserMessaging {
15namespace Model {
16
20 public:
21 AWS_ENDUSERMESSAGING_API ValidateNotifyCodeVerificationRequest() = 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 "ValidateNotifyCodeVerification"; }
28
29 AWS_ENDUSERMESSAGING_API Aws::String SerializePayload() const override;
30
32
36 inline const Aws::String& GetDestinationIdentity() const { return m_destinationIdentity; }
37 inline bool DestinationIdentityHasBeenSet() const { return m_destinationIdentityHasBeenSet; }
38 template <typename DestinationIdentityT = Aws::String>
39 void SetDestinationIdentity(DestinationIdentityT&& value) {
40 m_destinationIdentityHasBeenSet = true;
41 m_destinationIdentity = std::forward<DestinationIdentityT>(value);
42 }
43 template <typename DestinationIdentityT = Aws::String>
45 SetDestinationIdentity(std::forward<DestinationIdentityT>(value));
46 return *this;
47 }
49
51
56 inline const Aws::String& GetReferenceId() const { return m_referenceId; }
57 inline bool ReferenceIdHasBeenSet() const { return m_referenceIdHasBeenSet; }
58 template <typename ReferenceIdT = Aws::String>
59 void SetReferenceId(ReferenceIdT&& value) {
60 m_referenceIdHasBeenSet = true;
61 m_referenceId = std::forward<ReferenceIdT>(value);
62 }
63 template <typename ReferenceIdT = Aws::String>
65 SetReferenceId(std::forward<ReferenceIdT>(value));
66 return *this;
67 }
69
71
74 inline const Aws::String& GetCode() const { return m_code; }
75 inline bool CodeHasBeenSet() const { return m_codeHasBeenSet; }
76 template <typename CodeT = Aws::String>
77 void SetCode(CodeT&& value) {
78 m_codeHasBeenSet = true;
79 m_code = std::forward<CodeT>(value);
80 }
81 template <typename CodeT = Aws::String>
83 SetCode(std::forward<CodeT>(value));
84 return *this;
85 }
87 private:
88 Aws::String m_destinationIdentity;
89
90 Aws::String m_referenceId;
91
92 Aws::String m_code;
93 bool m_destinationIdentityHasBeenSet = false;
94 bool m_referenceIdHasBeenSet = false;
95 bool m_codeHasBeenSet = false;
96};
97
98} // namespace Model
99} // namespace EndUserMessaging
100} // namespace Aws
AWS_ENDUSERMESSAGING_API Aws::String SerializePayload() const override
ValidateNotifyCodeVerificationRequest & WithReferenceId(ReferenceIdT &&value)
AWS_ENDUSERMESSAGING_API ValidateNotifyCodeVerificationRequest()=default
ValidateNotifyCodeVerificationRequest & WithDestinationIdentity(DestinationIdentityT &&value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String