AWS SDK for C++

AWS SDK for C++ Version 1.11.606

Loading...
Searching...
No Matches
UpdateAuthEventFeedbackRequest.h
1
6#pragma once
7#include <aws/cognito-idp/CognitoIdentityProvider_EXPORTS.h>
8#include <aws/cognito-idp/CognitoIdentityProviderRequest.h>
9#include <aws/core/utils/memory/stl/AWSString.h>
10#include <aws/cognito-idp/model/FeedbackValueType.h>
11#include <utility>
12
13namespace Aws
14{
15namespace CognitoIdentityProvider
16{
17namespace Model
18{
19
23 {
24 public:
25 AWS_COGNITOIDENTITYPROVIDER_API UpdateAuthEventFeedbackRequest() = default;
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 "UpdateAuthEventFeedback"; }
32
33 AWS_COGNITOIDENTITYPROVIDER_API Aws::String SerializePayload() const override;
34
35 AWS_COGNITOIDENTITYPROVIDER_API Aws::Http::HeaderValueCollection GetRequestSpecificHeaders() const override;
36
37
39
42 inline const Aws::String& GetUserPoolId() const { return m_userPoolId; }
43 inline bool UserPoolIdHasBeenSet() const { return m_userPoolIdHasBeenSet; }
44 template<typename UserPoolIdT = Aws::String>
45 void SetUserPoolId(UserPoolIdT&& value) { m_userPoolIdHasBeenSet = true; m_userPoolId = std::forward<UserPoolIdT>(value); }
46 template<typename UserPoolIdT = Aws::String>
47 UpdateAuthEventFeedbackRequest& WithUserPoolId(UserPoolIdT&& value) { SetUserPoolId(std::forward<UserPoolIdT>(value)); return *this;}
49
51
58 inline const Aws::String& GetUsername() const { return m_username; }
59 inline bool UsernameHasBeenSet() const { return m_usernameHasBeenSet; }
60 template<typename UsernameT = Aws::String>
61 void SetUsername(UsernameT&& value) { m_usernameHasBeenSet = true; m_username = std::forward<UsernameT>(value); }
62 template<typename UsernameT = Aws::String>
63 UpdateAuthEventFeedbackRequest& WithUsername(UsernameT&& value) { SetUsername(std::forward<UsernameT>(value)); return *this;}
65
67
70 inline const Aws::String& GetEventId() const { return m_eventId; }
71 inline bool EventIdHasBeenSet() const { return m_eventIdHasBeenSet; }
72 template<typename EventIdT = Aws::String>
73 void SetEventId(EventIdT&& value) { m_eventIdHasBeenSet = true; m_eventId = std::forward<EventIdT>(value); }
74 template<typename EventIdT = Aws::String>
75 UpdateAuthEventFeedbackRequest& WithEventId(EventIdT&& value) { SetEventId(std::forward<EventIdT>(value)); return *this;}
77
79
83 inline const Aws::String& GetFeedbackToken() const { return m_feedbackToken; }
84 inline bool FeedbackTokenHasBeenSet() const { return m_feedbackTokenHasBeenSet; }
85 template<typename FeedbackTokenT = Aws::String>
86 void SetFeedbackToken(FeedbackTokenT&& value) { m_feedbackTokenHasBeenSet = true; m_feedbackToken = std::forward<FeedbackTokenT>(value); }
87 template<typename FeedbackTokenT = Aws::String>
88 UpdateAuthEventFeedbackRequest& WithFeedbackToken(FeedbackTokenT&& value) { SetFeedbackToken(std::forward<FeedbackTokenT>(value)); return *this;}
90
92
101 inline FeedbackValueType GetFeedbackValue() const { return m_feedbackValue; }
102 inline bool FeedbackValueHasBeenSet() const { return m_feedbackValueHasBeenSet; }
103 inline void SetFeedbackValue(FeedbackValueType value) { m_feedbackValueHasBeenSet = true; m_feedbackValue = value; }
106 private:
107
108 Aws::String m_userPoolId;
109 bool m_userPoolIdHasBeenSet = false;
110
111 Aws::String m_username;
112 bool m_usernameHasBeenSet = false;
113
114 Aws::String m_eventId;
115 bool m_eventIdHasBeenSet = false;
116
117 Aws::String m_feedbackToken;
118 bool m_feedbackTokenHasBeenSet = false;
119
121 bool m_feedbackValueHasBeenSet = false;
122 };
123
124} // namespace Model
125} // namespace CognitoIdentityProvider
126} // 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