AWS SDK for C++

AWS SDK for C++ Version 1.11.606

Loading...
Searching...
No Matches
AdminDeleteUserAttributesRequest.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/core/utils/memory/stl/AWSVector.h>
11#include <utility>
12
13namespace Aws
14{
15namespace CognitoIdentityProvider
16{
17namespace Model
18{
19
27 {
28 public:
29 AWS_COGNITOIDENTITYPROVIDER_API AdminDeleteUserAttributesRequest() = default;
30
31 // Service request name is the Operation name which will send this request out,
32 // each operation should has unique request name, so that we can get operation's name from this request.
33 // Note: this is not true for response, multiple operations may have the same response name,
34 // so we can not get operation's name from response.
35 inline virtual const char* GetServiceRequestName() const override { return "AdminDeleteUserAttributes"; }
36
37 AWS_COGNITOIDENTITYPROVIDER_API Aws::String SerializePayload() const override;
38
39 AWS_COGNITOIDENTITYPROVIDER_API Aws::Http::HeaderValueCollection GetRequestSpecificHeaders() const override;
40
41
43
46 inline const Aws::String& GetUserPoolId() const { return m_userPoolId; }
47 inline bool UserPoolIdHasBeenSet() const { return m_userPoolIdHasBeenSet; }
48 template<typename UserPoolIdT = Aws::String>
49 void SetUserPoolId(UserPoolIdT&& value) { m_userPoolIdHasBeenSet = true; m_userPoolId = std::forward<UserPoolIdT>(value); }
50 template<typename UserPoolIdT = Aws::String>
51 AdminDeleteUserAttributesRequest& WithUserPoolId(UserPoolIdT&& value) { SetUserPoolId(std::forward<UserPoolIdT>(value)); return *this;}
53
55
62 inline const Aws::String& GetUsername() const { return m_username; }
63 inline bool UsernameHasBeenSet() const { return m_usernameHasBeenSet; }
64 template<typename UsernameT = Aws::String>
65 void SetUsername(UsernameT&& value) { m_usernameHasBeenSet = true; m_username = std::forward<UsernameT>(value); }
66 template<typename UsernameT = Aws::String>
67 AdminDeleteUserAttributesRequest& WithUsername(UsernameT&& value) { SetUsername(std::forward<UsernameT>(value)); return *this;}
69
71
76 inline const Aws::Vector<Aws::String>& GetUserAttributeNames() const { return m_userAttributeNames; }
77 inline bool UserAttributeNamesHasBeenSet() const { return m_userAttributeNamesHasBeenSet; }
78 template<typename UserAttributeNamesT = Aws::Vector<Aws::String>>
79 void SetUserAttributeNames(UserAttributeNamesT&& value) { m_userAttributeNamesHasBeenSet = true; m_userAttributeNames = std::forward<UserAttributeNamesT>(value); }
80 template<typename UserAttributeNamesT = Aws::Vector<Aws::String>>
81 AdminDeleteUserAttributesRequest& WithUserAttributeNames(UserAttributeNamesT&& value) { SetUserAttributeNames(std::forward<UserAttributeNamesT>(value)); return *this;}
82 template<typename UserAttributeNamesT = Aws::String>
83 AdminDeleteUserAttributesRequest& AddUserAttributeNames(UserAttributeNamesT&& value) { m_userAttributeNamesHasBeenSet = true; m_userAttributeNames.emplace_back(std::forward<UserAttributeNamesT>(value)); return *this; }
85 private:
86
87 Aws::String m_userPoolId;
88 bool m_userPoolIdHasBeenSet = false;
89
90 Aws::String m_username;
91 bool m_usernameHasBeenSet = false;
92
93 Aws::Vector<Aws::String> m_userAttributeNames;
94 bool m_userAttributeNamesHasBeenSet = false;
95 };
96
97} // namespace Model
98} // namespace CognitoIdentityProvider
99} // 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