AWS SDK for C++

AWS SDK for C++ Version 1.11.606

Loading...
Searching...
No Matches
AdminUpdateAuthEventFeedbackRequest.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 AdminUpdateAuthEventFeedbackRequest() = 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 "AdminUpdateAuthEventFeedback"; }
32
33 AWS_COGNITOIDENTITYPROVIDER_API Aws::String SerializePayload() const override;
34
35 AWS_COGNITOIDENTITYPROVIDER_API Aws::Http::HeaderValueCollection GetRequestSpecificHeaders() const override;
36
37
39
43 inline const Aws::String& GetUserPoolId() const { return m_userPoolId; }
44 inline bool UserPoolIdHasBeenSet() const { return m_userPoolIdHasBeenSet; }
45 template<typename UserPoolIdT = Aws::String>
46 void SetUserPoolId(UserPoolIdT&& value) { m_userPoolIdHasBeenSet = true; m_userPoolId = std::forward<UserPoolIdT>(value); }
47 template<typename UserPoolIdT = Aws::String>
48 AdminUpdateAuthEventFeedbackRequest& WithUserPoolId(UserPoolIdT&& value) { SetUserPoolId(std::forward<UserPoolIdT>(value)); return *this;}
50
52
59 inline const Aws::String& GetUsername() const { return m_username; }
60 inline bool UsernameHasBeenSet() const { return m_usernameHasBeenSet; }
61 template<typename UsernameT = Aws::String>
62 void SetUsername(UsernameT&& value) { m_usernameHasBeenSet = true; m_username = std::forward<UsernameT>(value); }
63 template<typename UsernameT = Aws::String>
64 AdminUpdateAuthEventFeedbackRequest& WithUsername(UsernameT&& value) { SetUsername(std::forward<UsernameT>(value)); return *this;}
66
68
72 inline const Aws::String& GetEventId() const { return m_eventId; }
73 inline bool EventIdHasBeenSet() const { return m_eventIdHasBeenSet; }
74 template<typename EventIdT = Aws::String>
75 void SetEventId(EventIdT&& value) { m_eventIdHasBeenSet = true; m_eventId = std::forward<EventIdT>(value); }
76 template<typename EventIdT = Aws::String>
77 AdminUpdateAuthEventFeedbackRequest& WithEventId(EventIdT&& value) { SetEventId(std::forward<EventIdT>(value)); return *this;}
79
81
90 inline FeedbackValueType GetFeedbackValue() const { return m_feedbackValue; }
91 inline bool FeedbackValueHasBeenSet() const { return m_feedbackValueHasBeenSet; }
92 inline void SetFeedbackValue(FeedbackValueType value) { m_feedbackValueHasBeenSet = true; m_feedbackValue = value; }
95 private:
96
97 Aws::String m_userPoolId;
98 bool m_userPoolIdHasBeenSet = false;
99
100 Aws::String m_username;
101 bool m_usernameHasBeenSet = false;
102
103 Aws::String m_eventId;
104 bool m_eventIdHasBeenSet = false;
105
107 bool m_feedbackValueHasBeenSet = false;
108 };
109
110} // namespace Model
111} // namespace CognitoIdentityProvider
112} // namespace Aws
AWS_COGNITOIDENTITYPROVIDER_API Aws::Http::HeaderValueCollection GetRequestSpecificHeaders() const override
AWS_COGNITOIDENTITYPROVIDER_API AdminUpdateAuthEventFeedbackRequest()=default
AdminUpdateAuthEventFeedbackRequest & WithFeedbackValue(FeedbackValueType value)
AWS_COGNITOIDENTITYPROVIDER_API Aws::String SerializePayload() const override
Aws::Map< Aws::String, Aws::String > HeaderValueCollection
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String