AWS SDK for C++

AWS SDK for C++ Version 1.11.440

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();
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
47 inline const Aws::String& GetUserPoolId() const{ return m_userPoolId; }
48 inline bool UserPoolIdHasBeenSet() const { return m_userPoolIdHasBeenSet; }
49 inline void SetUserPoolId(const Aws::String& value) { m_userPoolIdHasBeenSet = true; m_userPoolId = value; }
50 inline void SetUserPoolId(Aws::String&& value) { m_userPoolIdHasBeenSet = true; m_userPoolId = std::move(value); }
51 inline void SetUserPoolId(const char* value) { m_userPoolIdHasBeenSet = true; m_userPoolId.assign(value); }
52 inline AdminDeleteUserAttributesRequest& WithUserPoolId(const Aws::String& value) { SetUserPoolId(value); return *this;}
53 inline AdminDeleteUserAttributesRequest& WithUserPoolId(Aws::String&& value) { SetUserPoolId(std::move(value)); return *this;}
54 inline AdminDeleteUserAttributesRequest& WithUserPoolId(const char* value) { SetUserPoolId(value); return *this;}
56
58
65 inline const Aws::String& GetUsername() const{ return m_username; }
66 inline bool UsernameHasBeenSet() const { return m_usernameHasBeenSet; }
67 inline void SetUsername(const Aws::String& value) { m_usernameHasBeenSet = true; m_username = value; }
68 inline void SetUsername(Aws::String&& value) { m_usernameHasBeenSet = true; m_username = std::move(value); }
69 inline void SetUsername(const char* value) { m_usernameHasBeenSet = true; m_username.assign(value); }
70 inline AdminDeleteUserAttributesRequest& WithUsername(const Aws::String& value) { SetUsername(value); return *this;}
71 inline AdminDeleteUserAttributesRequest& WithUsername(Aws::String&& value) { SetUsername(std::move(value)); return *this;}
72 inline AdminDeleteUserAttributesRequest& WithUsername(const char* value) { SetUsername(value); return *this;}
74
76
81 inline const Aws::Vector<Aws::String>& GetUserAttributeNames() const{ return m_userAttributeNames; }
82 inline bool UserAttributeNamesHasBeenSet() const { return m_userAttributeNamesHasBeenSet; }
83 inline void SetUserAttributeNames(const Aws::Vector<Aws::String>& value) { m_userAttributeNamesHasBeenSet = true; m_userAttributeNames = value; }
84 inline void SetUserAttributeNames(Aws::Vector<Aws::String>&& value) { m_userAttributeNamesHasBeenSet = true; m_userAttributeNames = std::move(value); }
87 inline AdminDeleteUserAttributesRequest& AddUserAttributeNames(const Aws::String& value) { m_userAttributeNamesHasBeenSet = true; m_userAttributeNames.push_back(value); return *this; }
88 inline AdminDeleteUserAttributesRequest& AddUserAttributeNames(Aws::String&& value) { m_userAttributeNamesHasBeenSet = true; m_userAttributeNames.push_back(std::move(value)); return *this; }
89 inline AdminDeleteUserAttributesRequest& AddUserAttributeNames(const char* value) { m_userAttributeNamesHasBeenSet = true; m_userAttributeNames.push_back(value); return *this; }
91 private:
92
93 Aws::String m_userPoolId;
94 bool m_userPoolIdHasBeenSet = false;
95
96 Aws::String m_username;
97 bool m_usernameHasBeenSet = false;
98
99 Aws::Vector<Aws::String> m_userAttributeNames;
100 bool m_userAttributeNamesHasBeenSet = false;
101 };
102
103} // namespace Model
104} // namespace CognitoIdentityProvider
105} // namespace Aws
AdminDeleteUserAttributesRequest & WithUserPoolId(const Aws::String &value)
AdminDeleteUserAttributesRequest & WithUserAttributeNames(Aws::Vector< Aws::String > &&value)
AdminDeleteUserAttributesRequest & AddUserAttributeNames(Aws::String &&value)
AdminDeleteUserAttributesRequest & AddUserAttributeNames(const Aws::String &value)
AWS_COGNITOIDENTITYPROVIDER_API Aws::Http::HeaderValueCollection GetRequestSpecificHeaders() const override
AdminDeleteUserAttributesRequest & WithUsername(const Aws::String &value)
AdminDeleteUserAttributesRequest & WithUserAttributeNames(const Aws::Vector< Aws::String > &value)
AWS_COGNITOIDENTITYPROVIDER_API Aws::String SerializePayload() const override
AdminDeleteUserAttributesRequest & AddUserAttributeNames(const char *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