AWS SDK for C++

AWS SDK for C++ Version 1.11.891

Loading...
Searching...
No Matches
AdminDeleteSoftwareTokenRequest.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
20 public:
21 AWS_COGNITOIDENTITYPROVIDER_API AdminDeleteSoftwareTokenRequest() = default;
22
23 // Service request name is the Operation name which will send this request out,
24 // each operation should has unique request name, so that we can get operation's name from this request.
25 // Note: this is not true for response, multiple operations may have the same response name,
26 // so we can not get operation's name from response.
27 inline virtual const char* GetServiceRequestName() const override { return "AdminDeleteSoftwareToken"; }
28
29 AWS_COGNITOIDENTITYPROVIDER_API Aws::String SerializePayload() const override;
30
31 AWS_COGNITOIDENTITYPROVIDER_API Aws::Http::HeaderValueCollection GetRequestSpecificHeaders() const override;
32
34
38 inline const Aws::String& GetUserPoolId() const { return m_userPoolId; }
39 inline bool UserPoolIdHasBeenSet() const { return m_userPoolIdHasBeenSet; }
40 template <typename UserPoolIdT = Aws::String>
41 void SetUserPoolId(UserPoolIdT&& value) {
42 m_userPoolIdHasBeenSet = true;
43 m_userPoolId = std::forward<UserPoolIdT>(value);
44 }
45 template <typename UserPoolIdT = Aws::String>
47 SetUserPoolId(std::forward<UserPoolIdT>(value));
48 return *this;
49 }
51
53
60 inline const Aws::String& GetUsername() const { return m_username; }
61 inline bool UsernameHasBeenSet() const { return m_usernameHasBeenSet; }
62 template <typename UsernameT = Aws::String>
63 void SetUsername(UsernameT&& value) {
64 m_usernameHasBeenSet = true;
65 m_username = std::forward<UsernameT>(value);
66 }
67 template <typename UsernameT = Aws::String>
69 SetUsername(std::forward<UsernameT>(value));
70 return *this;
71 }
73 private:
74 Aws::String m_userPoolId;
75
76 Aws::String m_username;
77 bool m_userPoolIdHasBeenSet = false;
78 bool m_usernameHasBeenSet = false;
79};
80
81} // namespace Model
82} // namespace CognitoIdentityProvider
83} // namespace Aws
AdminDeleteSoftwareTokenRequest & WithUserPoolId(UserPoolIdT &&value)
AWS_COGNITOIDENTITYPROVIDER_API Aws::Http::HeaderValueCollection GetRequestSpecificHeaders() const override
AWS_COGNITOIDENTITYPROVIDER_API Aws::String SerializePayload() const override
AWS_COGNITOIDENTITYPROVIDER_API AdminDeleteSoftwareTokenRequest()=default
Aws::Map< Aws::String, Aws::String > HeaderValueCollection
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String