AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
StartFaceSearchRequest.h
1
6#pragma once
7#include <aws/rekognition/Rekognition_EXPORTS.h>
8#include <aws/rekognition/RekognitionRequest.h>
9#include <aws/rekognition/model/Video.h>
10#include <aws/core/utils/memory/stl/AWSString.h>
11#include <aws/rekognition/model/NotificationChannel.h>
12#include <utility>
13
14namespace Aws
15{
16namespace Rekognition
17{
18namespace Model
19{
20
24 {
25 public:
26 AWS_REKOGNITION_API StartFaceSearchRequest();
27
28 // Service request name is the Operation name which will send this request out,
29 // each operation should has unique request name, so that we can get operation's name from this request.
30 // Note: this is not true for response, multiple operations may have the same response name,
31 // so we can not get operation's name from response.
32 inline virtual const char* GetServiceRequestName() const override { return "StartFaceSearch"; }
33
34 AWS_REKOGNITION_API Aws::String SerializePayload() const override;
35
36 AWS_REKOGNITION_API Aws::Http::HeaderValueCollection GetRequestSpecificHeaders() const override;
37
38
40
44 inline const Video& GetVideo() const{ return m_video; }
45 inline bool VideoHasBeenSet() const { return m_videoHasBeenSet; }
46 inline void SetVideo(const Video& value) { m_videoHasBeenSet = true; m_video = value; }
47 inline void SetVideo(Video&& value) { m_videoHasBeenSet = true; m_video = std::move(value); }
48 inline StartFaceSearchRequest& WithVideo(const Video& value) { SetVideo(value); return *this;}
49 inline StartFaceSearchRequest& WithVideo(Video&& value) { SetVideo(std::move(value)); return *this;}
51
53
59 inline const Aws::String& GetClientRequestToken() const{ return m_clientRequestToken; }
60 inline bool ClientRequestTokenHasBeenSet() const { return m_clientRequestTokenHasBeenSet; }
61 inline void SetClientRequestToken(const Aws::String& value) { m_clientRequestTokenHasBeenSet = true; m_clientRequestToken = value; }
62 inline void SetClientRequestToken(Aws::String&& value) { m_clientRequestTokenHasBeenSet = true; m_clientRequestToken = std::move(value); }
63 inline void SetClientRequestToken(const char* value) { m_clientRequestTokenHasBeenSet = true; m_clientRequestToken.assign(value); }
65 inline StartFaceSearchRequest& WithClientRequestToken(Aws::String&& value) { SetClientRequestToken(std::move(value)); return *this;}
66 inline StartFaceSearchRequest& WithClientRequestToken(const char* value) { SetClientRequestToken(value); return *this;}
68
70
75 inline double GetFaceMatchThreshold() const{ return m_faceMatchThreshold; }
76 inline bool FaceMatchThresholdHasBeenSet() const { return m_faceMatchThresholdHasBeenSet; }
77 inline void SetFaceMatchThreshold(double value) { m_faceMatchThresholdHasBeenSet = true; m_faceMatchThreshold = value; }
78 inline StartFaceSearchRequest& WithFaceMatchThreshold(double value) { SetFaceMatchThreshold(value); return *this;}
80
82
85 inline const Aws::String& GetCollectionId() const{ return m_collectionId; }
86 inline bool CollectionIdHasBeenSet() const { return m_collectionIdHasBeenSet; }
87 inline void SetCollectionId(const Aws::String& value) { m_collectionIdHasBeenSet = true; m_collectionId = value; }
88 inline void SetCollectionId(Aws::String&& value) { m_collectionIdHasBeenSet = true; m_collectionId = std::move(value); }
89 inline void SetCollectionId(const char* value) { m_collectionIdHasBeenSet = true; m_collectionId.assign(value); }
90 inline StartFaceSearchRequest& WithCollectionId(const Aws::String& value) { SetCollectionId(value); return *this;}
91 inline StartFaceSearchRequest& WithCollectionId(Aws::String&& value) { SetCollectionId(std::move(value)); return *this;}
92 inline StartFaceSearchRequest& WithCollectionId(const char* value) { SetCollectionId(value); return *this;}
94
96
102 inline const NotificationChannel& GetNotificationChannel() const{ return m_notificationChannel; }
103 inline bool NotificationChannelHasBeenSet() const { return m_notificationChannelHasBeenSet; }
104 inline void SetNotificationChannel(const NotificationChannel& value) { m_notificationChannelHasBeenSet = true; m_notificationChannel = value; }
105 inline void SetNotificationChannel(NotificationChannel&& value) { m_notificationChannelHasBeenSet = true; m_notificationChannel = std::move(value); }
109
111
117 inline const Aws::String& GetJobTag() const{ return m_jobTag; }
118 inline bool JobTagHasBeenSet() const { return m_jobTagHasBeenSet; }
119 inline void SetJobTag(const Aws::String& value) { m_jobTagHasBeenSet = true; m_jobTag = value; }
120 inline void SetJobTag(Aws::String&& value) { m_jobTagHasBeenSet = true; m_jobTag = std::move(value); }
121 inline void SetJobTag(const char* value) { m_jobTagHasBeenSet = true; m_jobTag.assign(value); }
122 inline StartFaceSearchRequest& WithJobTag(const Aws::String& value) { SetJobTag(value); return *this;}
123 inline StartFaceSearchRequest& WithJobTag(Aws::String&& value) { SetJobTag(std::move(value)); return *this;}
124 inline StartFaceSearchRequest& WithJobTag(const char* value) { SetJobTag(value); return *this;}
126 private:
127
128 Video m_video;
129 bool m_videoHasBeenSet = false;
130
131 Aws::String m_clientRequestToken;
132 bool m_clientRequestTokenHasBeenSet = false;
133
134 double m_faceMatchThreshold;
135 bool m_faceMatchThresholdHasBeenSet = false;
136
137 Aws::String m_collectionId;
138 bool m_collectionIdHasBeenSet = false;
139
140 NotificationChannel m_notificationChannel;
141 bool m_notificationChannelHasBeenSet = false;
142
143 Aws::String m_jobTag;
144 bool m_jobTagHasBeenSet = false;
145 };
146
147} // namespace Model
148} // namespace Rekognition
149} // namespace Aws
void SetNotificationChannel(NotificationChannel &&value)
StartFaceSearchRequest & WithVideo(Video &&value)
AWS_REKOGNITION_API Aws::String SerializePayload() const override
StartFaceSearchRequest & WithClientRequestToken(const char *value)
StartFaceSearchRequest & WithClientRequestToken(Aws::String &&value)
StartFaceSearchRequest & WithNotificationChannel(NotificationChannel &&value)
StartFaceSearchRequest & WithFaceMatchThreshold(double value)
AWS_REKOGNITION_API Aws::Http::HeaderValueCollection GetRequestSpecificHeaders() const override
virtual const char * GetServiceRequestName() const override
const NotificationChannel & GetNotificationChannel() const
StartFaceSearchRequest & WithCollectionId(Aws::String &&value)
StartFaceSearchRequest & WithCollectionId(const Aws::String &value)
void SetNotificationChannel(const NotificationChannel &value)
StartFaceSearchRequest & WithClientRequestToken(const Aws::String &value)
StartFaceSearchRequest & WithJobTag(const Aws::String &value)
StartFaceSearchRequest & WithNotificationChannel(const NotificationChannel &value)
StartFaceSearchRequest & WithJobTag(const char *value)
StartFaceSearchRequest & WithJobTag(Aws::String &&value)
StartFaceSearchRequest & WithCollectionId(const char *value)
StartFaceSearchRequest & WithVideo(const Video &value)
Aws::Map< Aws::String, Aws::String > HeaderValueCollection
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String