AWS SDK for C++

AWS SDK for C++ Version 1.11.750

Loading...
Searching...
No Matches
DeleteUserPoolClientRequest.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
11#include <utility>
12
13namespace Aws {
14namespace CognitoIdentityProvider {
15namespace Model {
16
24 public:
25 AWS_COGNITOIDENTITYPROVIDER_API DeleteUserPoolClientRequest() = default;
26
27 // Service request name is the Operation name which will send this request out,
28 // each operation should has unique request name, so that we can get operation's name from this request.
29 // Note: this is not true for response, multiple operations may have the same response name,
30 // so we can not get operation's name from response.
31 inline virtual const char* GetServiceRequestName() const override { return "DeleteUserPoolClient"; }
32
33 AWS_COGNITOIDENTITYPROVIDER_API Aws::String SerializePayload() const override;
34
35 AWS_COGNITOIDENTITYPROVIDER_API Aws::Http::HeaderValueCollection GetRequestSpecificHeaders() const override;
36
38
41 inline const Aws::String& GetUserPoolId() const { return m_userPoolId; }
42 inline bool UserPoolIdHasBeenSet() const { return m_userPoolIdHasBeenSet; }
43 template <typename UserPoolIdT = Aws::String>
44 void SetUserPoolId(UserPoolIdT&& value) {
45 m_userPoolIdHasBeenSet = true;
46 m_userPoolId = std::forward<UserPoolIdT>(value);
47 }
48 template <typename UserPoolIdT = Aws::String>
50 SetUserPoolId(std::forward<UserPoolIdT>(value));
51 return *this;
52 }
54
56
59 inline const Aws::String& GetClientId() const { return m_clientId; }
60 inline bool ClientIdHasBeenSet() const { return m_clientIdHasBeenSet; }
61 template <typename ClientIdT = Aws::String>
62 void SetClientId(ClientIdT&& value) {
63 m_clientIdHasBeenSet = true;
64 m_clientId = std::forward<ClientIdT>(value);
65 }
66 template <typename ClientIdT = Aws::String>
68 SetClientId(std::forward<ClientIdT>(value));
69 return *this;
70 }
72 private:
73 Aws::String m_userPoolId;
74
75 Aws::String m_clientId;
76 bool m_userPoolIdHasBeenSet = false;
77 bool m_clientIdHasBeenSet = false;
78};
79
80} // namespace Model
81} // namespace CognitoIdentityProvider
82} // namespace Aws
DeleteUserPoolClientRequest & WithUserPoolId(UserPoolIdT &&value)
AWS_COGNITOIDENTITYPROVIDER_API DeleteUserPoolClientRequest()=default
AWS_COGNITOIDENTITYPROVIDER_API Aws::String SerializePayload() const override
AWS_COGNITOIDENTITYPROVIDER_API Aws::Http::HeaderValueCollection GetRequestSpecificHeaders() const override
Aws::Map< Aws::String, Aws::String > HeaderValueCollection
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String