AWS SDK for C++

AWS SDK for C++ Version 1.11.935

Loading...
Searching...
No Matches
DeleteUserRequest.h
1
6#pragma once
7#include <aws/core/utils/memory/stl/AWSString.h>
8#include <aws/workdocs/WorkDocsRequest.h>
9#include <aws/workdocs/WorkDocs_EXPORTS.h>
10
11#include <utility>
12
13namespace Aws {
14namespace WorkDocs {
15namespace Model {
16
20 public:
21 AWS_WORKDOCS_API DeleteUserRequest() = 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 "DeleteUser"; }
28
29 AWS_WORKDOCS_API Aws::String SerializePayload() const override;
30
32
34
39 inline const Aws::String& GetAuthenticationToken() const { return m_authenticationToken; }
40 inline bool AuthenticationTokenHasBeenSet() const { return m_authenticationTokenHasBeenSet; }
41 template <typename AuthenticationTokenT = Aws::String>
42 void SetAuthenticationToken(AuthenticationTokenT&& value) {
43 m_authenticationTokenHasBeenSet = true;
44 m_authenticationToken = std::forward<AuthenticationTokenT>(value);
45 }
46 template <typename AuthenticationTokenT = Aws::String>
47 DeleteUserRequest& WithAuthenticationToken(AuthenticationTokenT&& value) {
48 SetAuthenticationToken(std::forward<AuthenticationTokenT>(value));
49 return *this;
50 }
52
54
57 inline const Aws::String& GetUserId() const { return m_userId; }
58 inline bool UserIdHasBeenSet() const { return m_userIdHasBeenSet; }
59 template <typename UserIdT = Aws::String>
60 void SetUserId(UserIdT&& value) {
61 m_userIdHasBeenSet = true;
62 m_userId = std::forward<UserIdT>(value);
63 }
64 template <typename UserIdT = Aws::String>
65 DeleteUserRequest& WithUserId(UserIdT&& value) {
66 SetUserId(std::forward<UserIdT>(value));
67 return *this;
68 }
70 private:
71 Aws::String m_authenticationToken;
72
73 Aws::String m_userId;
74 bool m_authenticationTokenHasBeenSet = false;
75 bool m_userIdHasBeenSet = false;
76};
77
78} // namespace Model
79} // namespace WorkDocs
80} // namespace Aws
DeleteUserRequest & WithUserId(UserIdT &&value)
DeleteUserRequest & WithAuthenticationToken(AuthenticationTokenT &&value)
const Aws::String & GetAuthenticationToken() const
AWS_WORKDOCS_API Aws::Http::HeaderValueCollection GetRequestSpecificHeaders() const override
const Aws::String & GetUserId() const
void SetAuthenticationToken(AuthenticationTokenT &&value)
AWS_WORKDOCS_API DeleteUserRequest()=default
AWS_WORKDOCS_API Aws::String SerializePayload() const override
virtual const char * GetServiceRequestName() const override
Aws::Map< Aws::String, Aws::String > HeaderValueCollection
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String