AWS SDK for C++

AWS SDK for C++ Version 1.11.606

Loading...
Searching...
No Matches
SearchUsersRequest.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
12namespace Aws
13{
14namespace Rekognition
15{
16namespace Model
17{
18
22 {
23 public:
24 AWS_REKOGNITION_API SearchUsersRequest() = default;
25
26 // Service request name is the Operation name which will send this request out,
27 // each operation should has unique request name, so that we can get operation's name from this request.
28 // Note: this is not true for response, multiple operations may have the same response name,
29 // so we can not get operation's name from response.
30 inline virtual const char* GetServiceRequestName() const override { return "SearchUsers"; }
31
32 AWS_REKOGNITION_API Aws::String SerializePayload() const override;
33
34 AWS_REKOGNITION_API Aws::Http::HeaderValueCollection GetRequestSpecificHeaders() const override;
35
36
38
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 SearchUsersRequest& 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 SearchUsersRequest& WithUserId(UserIdT&& value) { SetUserId(std::forward<UserIdT>(value)); return *this;}
62
64
67 inline const Aws::String& GetFaceId() const { return m_faceId; }
68 inline bool FaceIdHasBeenSet() const { return m_faceIdHasBeenSet; }
69 template<typename FaceIdT = Aws::String>
70 void SetFaceId(FaceIdT&& value) { m_faceIdHasBeenSet = true; m_faceId = std::forward<FaceIdT>(value); }
71 template<typename FaceIdT = Aws::String>
72 SearchUsersRequest& WithFaceId(FaceIdT&& value) { SetFaceId(std::forward<FaceIdT>(value)); return *this;}
74
76
80 inline double GetUserMatchThreshold() const { return m_userMatchThreshold; }
81 inline bool UserMatchThresholdHasBeenSet() const { return m_userMatchThresholdHasBeenSet; }
82 inline void SetUserMatchThreshold(double value) { m_userMatchThresholdHasBeenSet = true; m_userMatchThreshold = value; }
83 inline SearchUsersRequest& WithUserMatchThreshold(double value) { SetUserMatchThreshold(value); return *this;}
85
87
90 inline int GetMaxUsers() const { return m_maxUsers; }
91 inline bool MaxUsersHasBeenSet() const { return m_maxUsersHasBeenSet; }
92 inline void SetMaxUsers(int value) { m_maxUsersHasBeenSet = true; m_maxUsers = value; }
93 inline SearchUsersRequest& WithMaxUsers(int value) { SetMaxUsers(value); return *this;}
95 private:
96
97 Aws::String m_collectionId;
98 bool m_collectionIdHasBeenSet = false;
99
100 Aws::String m_userId;
101 bool m_userIdHasBeenSet = false;
102
103 Aws::String m_faceId;
104 bool m_faceIdHasBeenSet = false;
105
106 double m_userMatchThreshold{0.0};
107 bool m_userMatchThresholdHasBeenSet = false;
108
109 int m_maxUsers{0};
110 bool m_maxUsersHasBeenSet = false;
111 };
112
113} // namespace Model
114} // namespace Rekognition
115} // namespace Aws
AWS_REKOGNITION_API SearchUsersRequest()=default
SearchUsersRequest & WithUserMatchThreshold(double value)
SearchUsersRequest & WithCollectionId(CollectionIdT &&value)
SearchUsersRequest & WithMaxUsers(int value)
SearchUsersRequest & WithUserId(UserIdT &&value)
virtual const char * GetServiceRequestName() const override
AWS_REKOGNITION_API Aws::Http::HeaderValueCollection GetRequestSpecificHeaders() const override
SearchUsersRequest & WithFaceId(FaceIdT &&value)
AWS_REKOGNITION_API Aws::String SerializePayload() const override
Aws::Map< Aws::String, Aws::String > HeaderValueCollection
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String