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/identitystore/IdentityStoreRequest.h>
9#include <aws/identitystore/IdentityStore_EXPORTS.h>
10
11#include <utility>
12
13namespace Aws {
14namespace IdentityStore {
15namespace Model {
16
20 public:
21 AWS_IDENTITYSTORE_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_IDENTITYSTORE_API Aws::String SerializePayload() const override;
30
31 AWS_IDENTITYSTORE_API Aws::Http::HeaderValueCollection GetRequestSpecificHeaders() const override;
32
34
40 inline const Aws::String& GetIdentityStoreId() const { return m_identityStoreId; }
41 inline bool IdentityStoreIdHasBeenSet() const { return m_identityStoreIdHasBeenSet; }
42 template <typename IdentityStoreIdT = Aws::String>
43 void SetIdentityStoreId(IdentityStoreIdT&& value) {
44 m_identityStoreIdHasBeenSet = true;
45 m_identityStoreId = std::forward<IdentityStoreIdT>(value);
46 }
47 template <typename IdentityStoreIdT = Aws::String>
48 DeleteUserRequest& WithIdentityStoreId(IdentityStoreIdT&& value) {
49 SetIdentityStoreId(std::forward<IdentityStoreIdT>(value));
50 return *this;
51 }
53
55
61 inline const Aws::String& GetUserId() const { return m_userId; }
62 inline bool UserIdHasBeenSet() const { return m_userIdHasBeenSet; }
63 template <typename UserIdT = Aws::String>
64 void SetUserId(UserIdT&& value) {
65 m_userIdHasBeenSet = true;
66 m_userId = std::forward<UserIdT>(value);
67 }
68 template <typename UserIdT = Aws::String>
69 DeleteUserRequest& WithUserId(UserIdT&& value) {
70 SetUserId(std::forward<UserIdT>(value));
71 return *this;
72 }
74
76
83 inline const Aws::String& GetRevision() const { return m_revision; }
84 inline bool RevisionHasBeenSet() const { return m_revisionHasBeenSet; }
85 template <typename RevisionT = Aws::String>
86 void SetRevision(RevisionT&& value) {
87 m_revisionHasBeenSet = true;
88 m_revision = std::forward<RevisionT>(value);
89 }
90 template <typename RevisionT = Aws::String>
91 DeleteUserRequest& WithRevision(RevisionT&& value) {
92 SetRevision(std::forward<RevisionT>(value));
93 return *this;
94 }
96 private:
97 Aws::String m_identityStoreId;
98
99 Aws::String m_userId;
100
101 Aws::String m_revision;
102 bool m_identityStoreIdHasBeenSet = false;
103 bool m_userIdHasBeenSet = false;
104 bool m_revisionHasBeenSet = false;
105};
106
107} // namespace Model
108} // namespace IdentityStore
109} // namespace Aws
DeleteUserRequest & WithIdentityStoreId(IdentityStoreIdT &&value)
AWS_IDENTITYSTORE_API Aws::Http::HeaderValueCollection GetRequestSpecificHeaders() const override
DeleteUserRequest & WithRevision(RevisionT &&value)
AWS_IDENTITYSTORE_API Aws::String SerializePayload() const override
AWS_IDENTITYSTORE_API DeleteUserRequest()=default
void SetIdentityStoreId(IdentityStoreIdT &&value)
DeleteUserRequest & WithUserId(UserIdT &&value)
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