1 /** 2 * Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. 3 * SPDX-License-Identifier: Apache-2.0. 4 */ 5 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 <utility> 11 12 namespace Aws 13 { 14 namespace CognitoIdentityProvider 15 { 16 namespace Model 17 { 18 19 /** 20 * <p>Represents the request to delete a user pool client.</p><p><h3>See Also:</h3> 21 * <a 22 * href="http://docs.aws.amazon.com/goto/WebAPI/cognito-idp-2016-04-18/DeleteUserPoolClientRequest">AWS 23 * API Reference</a></p> 24 */ 25 class AWS_COGNITOIDENTITYPROVIDER_API DeleteUserPoolClientRequest : public CognitoIdentityProviderRequest 26 { 27 public: 28 DeleteUserPoolClientRequest(); 29 30 // Service request name is the Operation name which will send this request out, 31 // each operation should has unique request name, so that we can get operation's name from this request. 32 // Note: this is not true for response, multiple operations may have the same response name, 33 // so we can not get operation's name from response. GetServiceRequestName()34 inline virtual const char* GetServiceRequestName() const override { return "DeleteUserPoolClient"; } 35 36 Aws::String SerializePayload() const override; 37 38 Aws::Http::HeaderValueCollection GetRequestSpecificHeaders() const override; 39 40 41 /** 42 * <p>The user pool ID for the user pool where you want to delete the client.</p> 43 */ GetUserPoolId()44 inline const Aws::String& GetUserPoolId() const{ return m_userPoolId; } 45 46 /** 47 * <p>The user pool ID for the user pool where you want to delete the client.</p> 48 */ UserPoolIdHasBeenSet()49 inline bool UserPoolIdHasBeenSet() const { return m_userPoolIdHasBeenSet; } 50 51 /** 52 * <p>The user pool ID for the user pool where you want to delete the client.</p> 53 */ SetUserPoolId(const Aws::String & value)54 inline void SetUserPoolId(const Aws::String& value) { m_userPoolIdHasBeenSet = true; m_userPoolId = value; } 55 56 /** 57 * <p>The user pool ID for the user pool where you want to delete the client.</p> 58 */ SetUserPoolId(Aws::String && value)59 inline void SetUserPoolId(Aws::String&& value) { m_userPoolIdHasBeenSet = true; m_userPoolId = std::move(value); } 60 61 /** 62 * <p>The user pool ID for the user pool where you want to delete the client.</p> 63 */ SetUserPoolId(const char * value)64 inline void SetUserPoolId(const char* value) { m_userPoolIdHasBeenSet = true; m_userPoolId.assign(value); } 65 66 /** 67 * <p>The user pool ID for the user pool where you want to delete the client.</p> 68 */ WithUserPoolId(const Aws::String & value)69 inline DeleteUserPoolClientRequest& WithUserPoolId(const Aws::String& value) { SetUserPoolId(value); return *this;} 70 71 /** 72 * <p>The user pool ID for the user pool where you want to delete the client.</p> 73 */ WithUserPoolId(Aws::String && value)74 inline DeleteUserPoolClientRequest& WithUserPoolId(Aws::String&& value) { SetUserPoolId(std::move(value)); return *this;} 75 76 /** 77 * <p>The user pool ID for the user pool where you want to delete the client.</p> 78 */ WithUserPoolId(const char * value)79 inline DeleteUserPoolClientRequest& WithUserPoolId(const char* value) { SetUserPoolId(value); return *this;} 80 81 82 /** 83 * <p>The app client ID of the app associated with the user pool.</p> 84 */ GetClientId()85 inline const Aws::String& GetClientId() const{ return m_clientId; } 86 87 /** 88 * <p>The app client ID of the app associated with the user pool.</p> 89 */ ClientIdHasBeenSet()90 inline bool ClientIdHasBeenSet() const { return m_clientIdHasBeenSet; } 91 92 /** 93 * <p>The app client ID of the app associated with the user pool.</p> 94 */ SetClientId(const Aws::String & value)95 inline void SetClientId(const Aws::String& value) { m_clientIdHasBeenSet = true; m_clientId = value; } 96 97 /** 98 * <p>The app client ID of the app associated with the user pool.</p> 99 */ SetClientId(Aws::String && value)100 inline void SetClientId(Aws::String&& value) { m_clientIdHasBeenSet = true; m_clientId = std::move(value); } 101 102 /** 103 * <p>The app client ID of the app associated with the user pool.</p> 104 */ SetClientId(const char * value)105 inline void SetClientId(const char* value) { m_clientIdHasBeenSet = true; m_clientId.assign(value); } 106 107 /** 108 * <p>The app client ID of the app associated with the user pool.</p> 109 */ WithClientId(const Aws::String & value)110 inline DeleteUserPoolClientRequest& WithClientId(const Aws::String& value) { SetClientId(value); return *this;} 111 112 /** 113 * <p>The app client ID of the app associated with the user pool.</p> 114 */ WithClientId(Aws::String && value)115 inline DeleteUserPoolClientRequest& WithClientId(Aws::String&& value) { SetClientId(std::move(value)); return *this;} 116 117 /** 118 * <p>The app client ID of the app associated with the user pool.</p> 119 */ WithClientId(const char * value)120 inline DeleteUserPoolClientRequest& WithClientId(const char* value) { SetClientId(value); return *this;} 121 122 private: 123 124 Aws::String m_userPoolId; 125 bool m_userPoolIdHasBeenSet; 126 127 Aws::String m_clientId; 128 bool m_clientIdHasBeenSet; 129 }; 130 131 } // namespace Model 132 } // namespace CognitoIdentityProvider 133 } // namespace Aws 134