AWS SDK for C++

AWS SDK for C++ Version 1.11.440

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();
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 inline void SetUserPoolId(const Aws::String& value) { m_userPoolIdHasBeenSet = true; m_userPoolId = value; }
45 inline void SetUserPoolId(Aws::String&& value) { m_userPoolIdHasBeenSet = true; m_userPoolId = std::move(value); }
46 inline void SetUserPoolId(const char* value) { m_userPoolIdHasBeenSet = true; m_userPoolId.assign(value); }
47 inline UpdateAuthEventFeedbackRequest& WithUserPoolId(const Aws::String& value) { SetUserPoolId(value); return *this;}
48 inline UpdateAuthEventFeedbackRequest& WithUserPoolId(Aws::String&& value) { SetUserPoolId(std::move(value)); return *this;}
49 inline UpdateAuthEventFeedbackRequest& WithUserPoolId(const char* value) { SetUserPoolId(value); return *this;}
51
53
60 inline const Aws::String& GetUsername() const{ return m_username; }
61 inline bool UsernameHasBeenSet() const { return m_usernameHasBeenSet; }
62 inline void SetUsername(const Aws::String& value) { m_usernameHasBeenSet = true; m_username = value; }
63 inline void SetUsername(Aws::String&& value) { m_usernameHasBeenSet = true; m_username = std::move(value); }
64 inline void SetUsername(const char* value) { m_usernameHasBeenSet = true; m_username.assign(value); }
65 inline UpdateAuthEventFeedbackRequest& WithUsername(const Aws::String& value) { SetUsername(value); return *this;}
66 inline UpdateAuthEventFeedbackRequest& WithUsername(Aws::String&& value) { SetUsername(std::move(value)); return *this;}
67 inline UpdateAuthEventFeedbackRequest& WithUsername(const char* value) { SetUsername(value); return *this;}
69
71
74 inline const Aws::String& GetEventId() const{ return m_eventId; }
75 inline bool EventIdHasBeenSet() const { return m_eventIdHasBeenSet; }
76 inline void SetEventId(const Aws::String& value) { m_eventIdHasBeenSet = true; m_eventId = value; }
77 inline void SetEventId(Aws::String&& value) { m_eventIdHasBeenSet = true; m_eventId = std::move(value); }
78 inline void SetEventId(const char* value) { m_eventIdHasBeenSet = true; m_eventId.assign(value); }
79 inline UpdateAuthEventFeedbackRequest& WithEventId(const Aws::String& value) { SetEventId(value); return *this;}
80 inline UpdateAuthEventFeedbackRequest& WithEventId(Aws::String&& value) { SetEventId(std::move(value)); return *this;}
81 inline UpdateAuthEventFeedbackRequest& WithEventId(const char* value) { SetEventId(value); return *this;}
83
85
88 inline const Aws::String& GetFeedbackToken() const{ return m_feedbackToken; }
89 inline bool FeedbackTokenHasBeenSet() const { return m_feedbackTokenHasBeenSet; }
90 inline void SetFeedbackToken(const Aws::String& value) { m_feedbackTokenHasBeenSet = true; m_feedbackToken = value; }
91 inline void SetFeedbackToken(Aws::String&& value) { m_feedbackTokenHasBeenSet = true; m_feedbackToken = std::move(value); }
92 inline void SetFeedbackToken(const char* value) { m_feedbackTokenHasBeenSet = true; m_feedbackToken.assign(value); }
94 inline UpdateAuthEventFeedbackRequest& WithFeedbackToken(Aws::String&& value) { SetFeedbackToken(std::move(value)); return *this;}
95 inline UpdateAuthEventFeedbackRequest& WithFeedbackToken(const char* value) { SetFeedbackToken(value); return *this;}
97
99
108 inline const FeedbackValueType& GetFeedbackValue() const{ return m_feedbackValue; }
109 inline bool FeedbackValueHasBeenSet() const { return m_feedbackValueHasBeenSet; }
110 inline void SetFeedbackValue(const FeedbackValueType& value) { m_feedbackValueHasBeenSet = true; m_feedbackValue = value; }
111 inline void SetFeedbackValue(FeedbackValueType&& value) { m_feedbackValueHasBeenSet = true; m_feedbackValue = std::move(value); }
113 inline UpdateAuthEventFeedbackRequest& WithFeedbackValue(FeedbackValueType&& value) { SetFeedbackValue(std::move(value)); return *this;}
115 private:
116
117 Aws::String m_userPoolId;
118 bool m_userPoolIdHasBeenSet = false;
119
120 Aws::String m_username;
121 bool m_usernameHasBeenSet = false;
122
123 Aws::String m_eventId;
124 bool m_eventIdHasBeenSet = false;
125
126 Aws::String m_feedbackToken;
127 bool m_feedbackTokenHasBeenSet = false;
128
129 FeedbackValueType m_feedbackValue;
130 bool m_feedbackValueHasBeenSet = false;
131 };
132
133} // namespace Model
134} // namespace CognitoIdentityProvider
135} // namespace Aws
UpdateAuthEventFeedbackRequest & WithFeedbackValue(const FeedbackValueType &value)
UpdateAuthEventFeedbackRequest & WithUserPoolId(const Aws::String &value)
AWS_COGNITOIDENTITYPROVIDER_API Aws::String SerializePayload() const override
UpdateAuthEventFeedbackRequest & WithEventId(const Aws::String &value)
UpdateAuthEventFeedbackRequest & WithFeedbackValue(FeedbackValueType &&value)
UpdateAuthEventFeedbackRequest & WithFeedbackToken(Aws::String &&value)
UpdateAuthEventFeedbackRequest & WithUsername(const Aws::String &value)
UpdateAuthEventFeedbackRequest & WithUserPoolId(Aws::String &&value)
UpdateAuthEventFeedbackRequest & WithFeedbackToken(const Aws::String &value)
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