AWS SDK for C++

AWS SDK for C++ Version 1.11.717

Loading...
Searching...
No Matches
DeleteUserRequest.h
1
6#pragma once
7#include <aws/core/utils/UUID.h>
8#include <aws/core/utils/memory/stl/AWSString.h>
9#include <aws/rekognition/RekognitionRequest.h>
10#include <aws/rekognition/Rekognition_EXPORTS.h>
11
12#include <utility>
13
14namespace Aws {
15namespace Rekognition {
16namespace Model {
17
21 public:
22 AWS_REKOGNITION_API DeleteUserRequest() = default;
23
24 // Service request name is the Operation name which will send this request out,
25 // each operation should has unique request name, so that we can get operation's name from this request.
26 // Note: this is not true for response, multiple operations may have the same response name,
27 // so we can not get operation's name from response.
28 inline virtual const char* GetServiceRequestName() const override { return "DeleteUser"; }
29
30 AWS_REKOGNITION_API Aws::String SerializePayload() const override;
31
32 AWS_REKOGNITION_API Aws::Http::HeaderValueCollection GetRequestSpecificHeaders() const override;
33
35
39 inline const Aws::String& GetCollectionId() const { return m_collectionId; }
40 inline bool CollectionIdHasBeenSet() const { return m_collectionIdHasBeenSet; }
41 template <typename CollectionIdT = Aws::String>
42 void SetCollectionId(CollectionIdT&& value) {
43 m_collectionIdHasBeenSet = true;
44 m_collectionId = std::forward<CollectionIdT>(value);
45 }
46 template <typename CollectionIdT = Aws::String>
47 DeleteUserRequest& WithCollectionId(CollectionIdT&& value) {
48 SetCollectionId(std::forward<CollectionIdT>(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
72
78 inline const Aws::String& GetClientRequestToken() const { return m_clientRequestToken; }
79 inline bool ClientRequestTokenHasBeenSet() const { return m_clientRequestTokenHasBeenSet; }
80 template <typename ClientRequestTokenT = Aws::String>
81 void SetClientRequestToken(ClientRequestTokenT&& value) {
82 m_clientRequestTokenHasBeenSet = true;
83 m_clientRequestToken = std::forward<ClientRequestTokenT>(value);
84 }
85 template <typename ClientRequestTokenT = Aws::String>
86 DeleteUserRequest& WithClientRequestToken(ClientRequestTokenT&& value) {
87 SetClientRequestToken(std::forward<ClientRequestTokenT>(value));
88 return *this;
89 }
91 private:
92 Aws::String m_collectionId;
93
94 Aws::String m_userId;
95
96 Aws::String m_clientRequestToken{Aws::Utils::UUID::PseudoRandomUUID()};
97 bool m_collectionIdHasBeenSet = false;
98 bool m_userIdHasBeenSet = false;
99 bool m_clientRequestTokenHasBeenSet = true;
100};
101
102} // namespace Model
103} // namespace Rekognition
104} // namespace Aws
void SetCollectionId(CollectionIdT &&value)
const Aws::String & GetClientRequestToken() const
DeleteUserRequest & WithUserId(UserIdT &&value)
AWS_REKOGNITION_API DeleteUserRequest()=default
DeleteUserRequest & WithClientRequestToken(ClientRequestTokenT &&value)
const Aws::String & GetCollectionId() const
DeleteUserRequest & WithCollectionId(CollectionIdT &&value)
void SetClientRequestToken(ClientRequestTokenT &&value)
AWS_REKOGNITION_API Aws::Http::HeaderValueCollection GetRequestSpecificHeaders() const override
virtual const char * GetServiceRequestName() const override
AWS_REKOGNITION_API Aws::String SerializePayload() const override
static Aws::Utils::UUID PseudoRandomUUID()
Aws::Map< Aws::String, Aws::String > HeaderValueCollection
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String