AWS SDK for C++

AWS SDK for C++ Version 1.11.612

Loading...
Searching...
No Matches
DeleteUserRequest.h
1
6#pragma once
7#include <aws/rekognition/Rekognition_EXPORTS.h>
8#include <aws/rekognition/RekognitionRequest.h>
9#include <aws/core/utils/memory/stl/AWSString.h>
10#include <utility>
11#include <aws/core/utils/UUID.h>
12
13namespace Aws
14{
15namespace Rekognition
16{
17namespace Model
18{
19
23 {
24 public:
25 AWS_REKOGNITION_API DeleteUserRequest() = 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 "DeleteUser"; }
32
33 AWS_REKOGNITION_API Aws::String SerializePayload() const override;
34
35 AWS_REKOGNITION_API Aws::Http::HeaderValueCollection GetRequestSpecificHeaders() const override;
36
37
39
43 inline const Aws::String& GetCollectionId() const { return m_collectionId; }
44 inline bool CollectionIdHasBeenSet() const { return m_collectionIdHasBeenSet; }
45 template<typename CollectionIdT = Aws::String>
46 void SetCollectionId(CollectionIdT&& value) { m_collectionIdHasBeenSet = true; m_collectionId = std::forward<CollectionIdT>(value); }
47 template<typename CollectionIdT = Aws::String>
48 DeleteUserRequest& WithCollectionId(CollectionIdT&& value) { SetCollectionId(std::forward<CollectionIdT>(value)); return *this;}
50
52
55 inline const Aws::String& GetUserId() const { return m_userId; }
56 inline bool UserIdHasBeenSet() const { return m_userIdHasBeenSet; }
57 template<typename UserIdT = Aws::String>
58 void SetUserId(UserIdT&& value) { m_userIdHasBeenSet = true; m_userId = std::forward<UserIdT>(value); }
59 template<typename UserIdT = Aws::String>
60 DeleteUserRequest& WithUserId(UserIdT&& value) { SetUserId(std::forward<UserIdT>(value)); return *this;}
62
64
70 inline const Aws::String& GetClientRequestToken() const { return m_clientRequestToken; }
71 inline bool ClientRequestTokenHasBeenSet() const { return m_clientRequestTokenHasBeenSet; }
72 template<typename ClientRequestTokenT = Aws::String>
73 void SetClientRequestToken(ClientRequestTokenT&& value) { m_clientRequestTokenHasBeenSet = true; m_clientRequestToken = std::forward<ClientRequestTokenT>(value); }
74 template<typename ClientRequestTokenT = Aws::String>
75 DeleteUserRequest& WithClientRequestToken(ClientRequestTokenT&& value) { SetClientRequestToken(std::forward<ClientRequestTokenT>(value)); return *this;}
77 private:
78
79 Aws::String m_collectionId;
80 bool m_collectionIdHasBeenSet = false;
81
82 Aws::String m_userId;
83 bool m_userIdHasBeenSet = false;
84
85 Aws::String m_clientRequestToken{Aws::Utils::UUID::PseudoRandomUUID()};
86 bool m_clientRequestTokenHasBeenSet = true;
87 };
88
89} // namespace Model
90} // namespace Rekognition
91} // 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