AWS SDK for C++

AWS SDK for C++ Version 1.11.440

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();
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
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 AdminUpdateAuthEventFeedbackRequest& WithUserPoolId(const Aws::String& value) { SetUserPoolId(value); return *this;}
48 inline AdminUpdateAuthEventFeedbackRequest& WithUserPoolId(Aws::String&& value) { SetUserPoolId(std::move(value)); return *this;}
49 inline AdminUpdateAuthEventFeedbackRequest& 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 AdminUpdateAuthEventFeedbackRequest& WithUsername(const Aws::String& value) { SetUsername(value); return *this;}
66 inline AdminUpdateAuthEventFeedbackRequest& WithUsername(Aws::String&& value) { SetUsername(std::move(value)); return *this;}
67 inline AdminUpdateAuthEventFeedbackRequest& 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 AdminUpdateAuthEventFeedbackRequest& WithEventId(const Aws::String& value) { SetEventId(value); return *this;}
80 inline AdminUpdateAuthEventFeedbackRequest& WithEventId(Aws::String&& value) { SetEventId(std::move(value)); return *this;}
81 inline AdminUpdateAuthEventFeedbackRequest& WithEventId(const char* value) { SetEventId(value); return *this;}
83
85
94 inline const FeedbackValueType& GetFeedbackValue() const{ return m_feedbackValue; }
95 inline bool FeedbackValueHasBeenSet() const { return m_feedbackValueHasBeenSet; }
96 inline void SetFeedbackValue(const FeedbackValueType& value) { m_feedbackValueHasBeenSet = true; m_feedbackValue = value; }
97 inline void SetFeedbackValue(FeedbackValueType&& value) { m_feedbackValueHasBeenSet = true; m_feedbackValue = std::move(value); }
101 private:
102
103 Aws::String m_userPoolId;
104 bool m_userPoolIdHasBeenSet = false;
105
106 Aws::String m_username;
107 bool m_usernameHasBeenSet = false;
108
109 Aws::String m_eventId;
110 bool m_eventIdHasBeenSet = false;
111
112 FeedbackValueType m_feedbackValue;
113 bool m_feedbackValueHasBeenSet = false;
114 };
115
116} // namespace Model
117} // namespace CognitoIdentityProvider
118} // namespace Aws
AdminUpdateAuthEventFeedbackRequest & WithEventId(const Aws::String &value)
AdminUpdateAuthEventFeedbackRequest & WithFeedbackValue(const FeedbackValueType &value)
AWS_COGNITOIDENTITYPROVIDER_API Aws::Http::HeaderValueCollection GetRequestSpecificHeaders() const override
AdminUpdateAuthEventFeedbackRequest & WithUsername(const Aws::String &value)
AdminUpdateAuthEventFeedbackRequest & WithFeedbackValue(FeedbackValueType &&value)
AWS_COGNITOIDENTITYPROVIDER_API Aws::String SerializePayload() const override
AdminUpdateAuthEventFeedbackRequest & WithUserPoolId(const Aws::String &value)
Aws::Map< Aws::String, Aws::String > HeaderValueCollection
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String