AWS SDK for C++

AWS SDK for C++ Version 1.11.750

Loading...
Searching...
No Matches
AdminDeleteUserAttributesRequest.h
1
6#pragma once
7#include <aws/cognito-idp/CognitoIdentityProviderRequest.h>
8#include <aws/cognito-idp/CognitoIdentityProvider_EXPORTS.h>
9#include <aws/core/utils/memory/stl/AWSString.h>
10#include <aws/core/utils/memory/stl/AWSVector.h>
11
12#include <utility>
13
14namespace Aws {
15namespace CognitoIdentityProvider {
16namespace Model {
17
25 public:
26 AWS_COGNITOIDENTITYPROVIDER_API AdminDeleteUserAttributesRequest() = default;
27
28 // Service request name is the Operation name which will send this request out,
29 // each operation should has unique request name, so that we can get operation's name from this request.
30 // Note: this is not true for response, multiple operations may have the same response name,
31 // so we can not get operation's name from response.
32 inline virtual const char* GetServiceRequestName() const override { return "AdminDeleteUserAttributes"; }
33
34 AWS_COGNITOIDENTITYPROVIDER_API Aws::String SerializePayload() const override;
35
36 AWS_COGNITOIDENTITYPROVIDER_API Aws::Http::HeaderValueCollection GetRequestSpecificHeaders() const override;
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) {
46 m_userPoolIdHasBeenSet = true;
47 m_userPoolId = std::forward<UserPoolIdT>(value);
48 }
49 template <typename UserPoolIdT = Aws::String>
51 SetUserPoolId(std::forward<UserPoolIdT>(value));
52 return *this;
53 }
55
57
64 inline const Aws::String& GetUsername() const { return m_username; }
65 inline bool UsernameHasBeenSet() const { return m_usernameHasBeenSet; }
66 template <typename UsernameT = Aws::String>
67 void SetUsername(UsernameT&& value) {
68 m_usernameHasBeenSet = true;
69 m_username = std::forward<UsernameT>(value);
70 }
71 template <typename UsernameT = Aws::String>
73 SetUsername(std::forward<UsernameT>(value));
74 return *this;
75 }
77
79
84 inline const Aws::Vector<Aws::String>& GetUserAttributeNames() const { return m_userAttributeNames; }
85 inline bool UserAttributeNamesHasBeenSet() const { return m_userAttributeNamesHasBeenSet; }
86 template <typename UserAttributeNamesT = Aws::Vector<Aws::String>>
87 void SetUserAttributeNames(UserAttributeNamesT&& value) {
88 m_userAttributeNamesHasBeenSet = true;
89 m_userAttributeNames = std::forward<UserAttributeNamesT>(value);
90 }
91 template <typename UserAttributeNamesT = Aws::Vector<Aws::String>>
93 SetUserAttributeNames(std::forward<UserAttributeNamesT>(value));
94 return *this;
95 }
96 template <typename UserAttributeNamesT = Aws::String>
98 m_userAttributeNamesHasBeenSet = true;
99 m_userAttributeNames.emplace_back(std::forward<UserAttributeNamesT>(value));
100 return *this;
101 }
103 private:
104 Aws::String m_userPoolId;
105
106 Aws::String m_username;
107
108 Aws::Vector<Aws::String> m_userAttributeNames;
109 bool m_userPoolIdHasBeenSet = false;
110 bool m_usernameHasBeenSet = false;
111 bool m_userAttributeNamesHasBeenSet = false;
112};
113
114} // namespace Model
115} // namespace CognitoIdentityProvider
116} // namespace Aws
AWS_COGNITOIDENTITYPROVIDER_API AdminDeleteUserAttributesRequest()=default
AdminDeleteUserAttributesRequest & AddUserAttributeNames(UserAttributeNamesT &&value)
AWS_COGNITOIDENTITYPROVIDER_API Aws::Http::HeaderValueCollection GetRequestSpecificHeaders() const override
AWS_COGNITOIDENTITYPROVIDER_API Aws::String SerializePayload() const override
AdminDeleteUserAttributesRequest & WithUserAttributeNames(UserAttributeNamesT &&value)
Aws::Map< Aws::String, Aws::String > HeaderValueCollection
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
std::vector< T, Aws::Allocator< T > > Vector