This repository has been archived on 2025-09-14. You can view files and clone it, but cannot push or open issues or pull requests.
Files
pxz-hos-client-cpp-module/support/aws-sdk-cpp-master/aws-cpp-sdk-cognito-idp/include/aws/cognito-idp/model/DeleteUserAttributesRequest.h

158 lines
6.6 KiB
C++

/**
* Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
* SPDX-License-Identifier: Apache-2.0.
*/
#pragma once
#include <aws/cognito-idp/CognitoIdentityProvider_EXPORTS.h>
#include <aws/cognito-idp/CognitoIdentityProviderRequest.h>
#include <aws/core/utils/memory/stl/AWSVector.h>
#include <aws/core/utils/memory/stl/AWSString.h>
#include <utility>
namespace Aws
{
namespace CognitoIdentityProvider
{
namespace Model
{
/**
* <p>Represents the request to delete user attributes.</p><p><h3>See Also:</h3>
* <a
* href="http://docs.aws.amazon.com/goto/WebAPI/cognito-idp-2016-04-18/DeleteUserAttributesRequest">AWS
* API Reference</a></p>
*/
class AWS_COGNITOIDENTITYPROVIDER_API DeleteUserAttributesRequest : public CognitoIdentityProviderRequest
{
public:
DeleteUserAttributesRequest();
// Service request name is the Operation name which will send this request out,
// each operation should has unique request name, so that we can get operation's name from this request.
// Note: this is not true for response, multiple operations may have the same response name,
// so we can not get operation's name from response.
inline virtual const char* GetServiceRequestName() const override { return "DeleteUserAttributes"; }
Aws::String SerializePayload() const override;
Aws::Http::HeaderValueCollection GetRequestSpecificHeaders() const override;
/**
* <p>An array of strings representing the user attribute names you wish to
* delete.</p> <p>For custom attributes, you must prepend the <code>custom:</code>
* prefix to the attribute name.</p>
*/
inline const Aws::Vector<Aws::String>& GetUserAttributeNames() const{ return m_userAttributeNames; }
/**
* <p>An array of strings representing the user attribute names you wish to
* delete.</p> <p>For custom attributes, you must prepend the <code>custom:</code>
* prefix to the attribute name.</p>
*/
inline bool UserAttributeNamesHasBeenSet() const { return m_userAttributeNamesHasBeenSet; }
/**
* <p>An array of strings representing the user attribute names you wish to
* delete.</p> <p>For custom attributes, you must prepend the <code>custom:</code>
* prefix to the attribute name.</p>
*/
inline void SetUserAttributeNames(const Aws::Vector<Aws::String>& value) { m_userAttributeNamesHasBeenSet = true; m_userAttributeNames = value; }
/**
* <p>An array of strings representing the user attribute names you wish to
* delete.</p> <p>For custom attributes, you must prepend the <code>custom:</code>
* prefix to the attribute name.</p>
*/
inline void SetUserAttributeNames(Aws::Vector<Aws::String>&& value) { m_userAttributeNamesHasBeenSet = true; m_userAttributeNames = std::move(value); }
/**
* <p>An array of strings representing the user attribute names you wish to
* delete.</p> <p>For custom attributes, you must prepend the <code>custom:</code>
* prefix to the attribute name.</p>
*/
inline DeleteUserAttributesRequest& WithUserAttributeNames(const Aws::Vector<Aws::String>& value) { SetUserAttributeNames(value); return *this;}
/**
* <p>An array of strings representing the user attribute names you wish to
* delete.</p> <p>For custom attributes, you must prepend the <code>custom:</code>
* prefix to the attribute name.</p>
*/
inline DeleteUserAttributesRequest& WithUserAttributeNames(Aws::Vector<Aws::String>&& value) { SetUserAttributeNames(std::move(value)); return *this;}
/**
* <p>An array of strings representing the user attribute names you wish to
* delete.</p> <p>For custom attributes, you must prepend the <code>custom:</code>
* prefix to the attribute name.</p>
*/
inline DeleteUserAttributesRequest& AddUserAttributeNames(const Aws::String& value) { m_userAttributeNamesHasBeenSet = true; m_userAttributeNames.push_back(value); return *this; }
/**
* <p>An array of strings representing the user attribute names you wish to
* delete.</p> <p>For custom attributes, you must prepend the <code>custom:</code>
* prefix to the attribute name.</p>
*/
inline DeleteUserAttributesRequest& AddUserAttributeNames(Aws::String&& value) { m_userAttributeNamesHasBeenSet = true; m_userAttributeNames.push_back(std::move(value)); return *this; }
/**
* <p>An array of strings representing the user attribute names you wish to
* delete.</p> <p>For custom attributes, you must prepend the <code>custom:</code>
* prefix to the attribute name.</p>
*/
inline DeleteUserAttributesRequest& AddUserAttributeNames(const char* value) { m_userAttributeNamesHasBeenSet = true; m_userAttributeNames.push_back(value); return *this; }
/**
* <p>The access token used in the request to delete user attributes.</p>
*/
inline const Aws::String& GetAccessToken() const{ return m_accessToken; }
/**
* <p>The access token used in the request to delete user attributes.</p>
*/
inline bool AccessTokenHasBeenSet() const { return m_accessTokenHasBeenSet; }
/**
* <p>The access token used in the request to delete user attributes.</p>
*/
inline void SetAccessToken(const Aws::String& value) { m_accessTokenHasBeenSet = true; m_accessToken = value; }
/**
* <p>The access token used in the request to delete user attributes.</p>
*/
inline void SetAccessToken(Aws::String&& value) { m_accessTokenHasBeenSet = true; m_accessToken = std::move(value); }
/**
* <p>The access token used in the request to delete user attributes.</p>
*/
inline void SetAccessToken(const char* value) { m_accessTokenHasBeenSet = true; m_accessToken.assign(value); }
/**
* <p>The access token used in the request to delete user attributes.</p>
*/
inline DeleteUserAttributesRequest& WithAccessToken(const Aws::String& value) { SetAccessToken(value); return *this;}
/**
* <p>The access token used in the request to delete user attributes.</p>
*/
inline DeleteUserAttributesRequest& WithAccessToken(Aws::String&& value) { SetAccessToken(std::move(value)); return *this;}
/**
* <p>The access token used in the request to delete user attributes.</p>
*/
inline DeleteUserAttributesRequest& WithAccessToken(const char* value) { SetAccessToken(value); return *this;}
private:
Aws::Vector<Aws::String> m_userAttributeNames;
bool m_userAttributeNamesHasBeenSet;
Aws::String m_accessToken;
bool m_accessTokenHasBeenSet;
};
} // namespace Model
} // namespace CognitoIdentityProvider
} // namespace Aws