AWS SDK for C++

AWS SDK for C++ Version 1.11.440

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();
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 inline void SetCollectionId(const Aws::String& value) { m_collectionIdHasBeenSet = true; m_collectionId = value; }
46 inline void SetCollectionId(Aws::String&& value) { m_collectionIdHasBeenSet = true; m_collectionId = std::move(value); }
47 inline void SetCollectionId(const char* value) { m_collectionIdHasBeenSet = true; m_collectionId.assign(value); }
48 inline SearchUsersRequest& WithCollectionId(const Aws::String& value) { SetCollectionId(value); return *this;}
49 inline SearchUsersRequest& WithCollectionId(Aws::String&& value) { SetCollectionId(std::move(value)); return *this;}
50 inline SearchUsersRequest& WithCollectionId(const char* value) { SetCollectionId(value); return *this;}
52
54
57 inline const Aws::String& GetUserId() const{ return m_userId; }
58 inline bool UserIdHasBeenSet() const { return m_userIdHasBeenSet; }
59 inline void SetUserId(const Aws::String& value) { m_userIdHasBeenSet = true; m_userId = value; }
60 inline void SetUserId(Aws::String&& value) { m_userIdHasBeenSet = true; m_userId = std::move(value); }
61 inline void SetUserId(const char* value) { m_userIdHasBeenSet = true; m_userId.assign(value); }
62 inline SearchUsersRequest& WithUserId(const Aws::String& value) { SetUserId(value); return *this;}
63 inline SearchUsersRequest& WithUserId(Aws::String&& value) { SetUserId(std::move(value)); return *this;}
64 inline SearchUsersRequest& WithUserId(const char* value) { SetUserId(value); return *this;}
66
68
71 inline const Aws::String& GetFaceId() const{ return m_faceId; }
72 inline bool FaceIdHasBeenSet() const { return m_faceIdHasBeenSet; }
73 inline void SetFaceId(const Aws::String& value) { m_faceIdHasBeenSet = true; m_faceId = value; }
74 inline void SetFaceId(Aws::String&& value) { m_faceIdHasBeenSet = true; m_faceId = std::move(value); }
75 inline void SetFaceId(const char* value) { m_faceIdHasBeenSet = true; m_faceId.assign(value); }
76 inline SearchUsersRequest& WithFaceId(const Aws::String& value) { SetFaceId(value); return *this;}
77 inline SearchUsersRequest& WithFaceId(Aws::String&& value) { SetFaceId(std::move(value)); return *this;}
78 inline SearchUsersRequest& WithFaceId(const char* value) { SetFaceId(value); return *this;}
80
82
86 inline double GetUserMatchThreshold() const{ return m_userMatchThreshold; }
87 inline bool UserMatchThresholdHasBeenSet() const { return m_userMatchThresholdHasBeenSet; }
88 inline void SetUserMatchThreshold(double value) { m_userMatchThresholdHasBeenSet = true; m_userMatchThreshold = value; }
89 inline SearchUsersRequest& WithUserMatchThreshold(double value) { SetUserMatchThreshold(value); return *this;}
91
93
96 inline int GetMaxUsers() const{ return m_maxUsers; }
97 inline bool MaxUsersHasBeenSet() const { return m_maxUsersHasBeenSet; }
98 inline void SetMaxUsers(int value) { m_maxUsersHasBeenSet = true; m_maxUsers = value; }
99 inline SearchUsersRequest& WithMaxUsers(int value) { SetMaxUsers(value); return *this;}
101 private:
102
103 Aws::String m_collectionId;
104 bool m_collectionIdHasBeenSet = false;
105
106 Aws::String m_userId;
107 bool m_userIdHasBeenSet = false;
108
109 Aws::String m_faceId;
110 bool m_faceIdHasBeenSet = false;
111
112 double m_userMatchThreshold;
113 bool m_userMatchThresholdHasBeenSet = false;
114
115 int m_maxUsers;
116 bool m_maxUsersHasBeenSet = false;
117 };
118
119} // namespace Model
120} // namespace Rekognition
121} // namespace Aws
SearchUsersRequest & WithCollectionId(const Aws::String &value)
SearchUsersRequest & WithUserId(const char *value)
SearchUsersRequest & WithFaceId(Aws::String &&value)
SearchUsersRequest & WithUserMatchThreshold(double value)
SearchUsersRequest & WithMaxUsers(int value)
void SetCollectionId(const Aws::String &value)
SearchUsersRequest & WithUserId(Aws::String &&value)
virtual const char * GetServiceRequestName() const override
SearchUsersRequest & WithUserId(const Aws::String &value)
AWS_REKOGNITION_API Aws::Http::HeaderValueCollection GetRequestSpecificHeaders() const override
SearchUsersRequest & WithCollectionId(Aws::String &&value)
SearchUsersRequest & WithFaceId(const Aws::String &value)
SearchUsersRequest & WithCollectionId(const char *value)
AWS_REKOGNITION_API Aws::String SerializePayload() const override
SearchUsersRequest & WithFaceId(const char *value)
Aws::Map< Aws::String, Aws::String > HeaderValueCollection
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String