AWS SDK for C++

AWS SDK for C++ Version 1.11.742

Loading...
Searching...
No Matches
UpdateAuthEventFeedbackRequest.h
1
6#pragma once
7#include <aws/cognito-idp/CognitoIdentityProviderRequest.h>
8#include <aws/cognito-idp/CognitoIdentityProvider_EXPORTS.h>
9#include <aws/cognito-idp/model/FeedbackValueType.h>
10#include <aws/core/utils/memory/stl/AWSString.h>
11
12#include <utility>
13
14namespace Aws {
15namespace CognitoIdentityProvider {
16namespace Model {
17
21 public:
22 AWS_COGNITOIDENTITYPROVIDER_API UpdateAuthEventFeedbackRequest() = default;
23
24 // Service request name is the Operation name which will send this request out,
25 // each operation should has unique request name, so that we can get operation's name from this request.
26 // Note: this is not true for response, multiple operations may have the same response name,
27 // so we can not get operation's name from response.
28 inline virtual const char* GetServiceRequestName() const override { return "UpdateAuthEventFeedback"; }
29
30 AWS_COGNITOIDENTITYPROVIDER_API Aws::String SerializePayload() const override;
31
32 AWS_COGNITOIDENTITYPROVIDER_API Aws::Http::HeaderValueCollection GetRequestSpecificHeaders() const override;
33
35
38 inline const Aws::String& GetUserPoolId() const { return m_userPoolId; }
39 inline bool UserPoolIdHasBeenSet() const { return m_userPoolIdHasBeenSet; }
40 template <typename UserPoolIdT = Aws::String>
41 void SetUserPoolId(UserPoolIdT&& value) {
42 m_userPoolIdHasBeenSet = true;
43 m_userPoolId = std::forward<UserPoolIdT>(value);
44 }
45 template <typename UserPoolIdT = Aws::String>
47 SetUserPoolId(std::forward<UserPoolIdT>(value));
48 return *this;
49 }
51
53
60 inline const Aws::String& GetUsername() const { return m_username; }
61 inline bool UsernameHasBeenSet() const { return m_usernameHasBeenSet; }
62 template <typename UsernameT = Aws::String>
63 void SetUsername(UsernameT&& value) {
64 m_usernameHasBeenSet = true;
65 m_username = std::forward<UsernameT>(value);
66 }
67 template <typename UsernameT = Aws::String>
69 SetUsername(std::forward<UsernameT>(value));
70 return *this;
71 }
73
75
78 inline const Aws::String& GetEventId() const { return m_eventId; }
79 inline bool EventIdHasBeenSet() const { return m_eventIdHasBeenSet; }
80 template <typename EventIdT = Aws::String>
81 void SetEventId(EventIdT&& value) {
82 m_eventIdHasBeenSet = true;
83 m_eventId = std::forward<EventIdT>(value);
84 }
85 template <typename EventIdT = Aws::String>
87 SetEventId(std::forward<EventIdT>(value));
88 return *this;
89 }
91
93
97 inline const Aws::String& GetFeedbackToken() const { return m_feedbackToken; }
98 inline bool FeedbackTokenHasBeenSet() const { return m_feedbackTokenHasBeenSet; }
99 template <typename FeedbackTokenT = Aws::String>
100 void SetFeedbackToken(FeedbackTokenT&& value) {
101 m_feedbackTokenHasBeenSet = true;
102 m_feedbackToken = std::forward<FeedbackTokenT>(value);
103 }
104 template <typename FeedbackTokenT = Aws::String>
106 SetFeedbackToken(std::forward<FeedbackTokenT>(value));
107 return *this;
108 }
110
112
121 inline FeedbackValueType GetFeedbackValue() const { return m_feedbackValue; }
122 inline bool FeedbackValueHasBeenSet() const { return m_feedbackValueHasBeenSet; }
124 m_feedbackValueHasBeenSet = true;
125 m_feedbackValue = value;
126 }
128 SetFeedbackValue(value);
129 return *this;
130 }
132 private:
133 Aws::String m_userPoolId;
134
135 Aws::String m_username;
136
137 Aws::String m_eventId;
138
139 Aws::String m_feedbackToken;
140
142 bool m_userPoolIdHasBeenSet = false;
143 bool m_usernameHasBeenSet = false;
144 bool m_eventIdHasBeenSet = false;
145 bool m_feedbackTokenHasBeenSet = false;
146 bool m_feedbackValueHasBeenSet = false;
147};
148
149} // namespace Model
150} // namespace CognitoIdentityProvider
151} // namespace Aws
AWS_COGNITOIDENTITYPROVIDER_API Aws::String SerializePayload() const override
UpdateAuthEventFeedbackRequest & WithUserPoolId(UserPoolIdT &&value)
UpdateAuthEventFeedbackRequest & WithFeedbackValue(FeedbackValueType value)
UpdateAuthEventFeedbackRequest & WithFeedbackToken(FeedbackTokenT &&value)
AWS_COGNITOIDENTITYPROVIDER_API UpdateAuthEventFeedbackRequest()=default
AWS_COGNITOIDENTITYPROVIDER_API Aws::Http::HeaderValueCollection GetRequestSpecificHeaders() const override
Aws::Map< Aws::String, Aws::String > HeaderValueCollection
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String