AWS SDK for C++

AWS SDK for C++ Version 1.11.612

Loading...
Searching...
No Matches
StartFaceDetectionRequest.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 <aws/rekognition/model/FaceAttributes.h>
13#include <utility>
14
15namespace Aws
16{
17namespace Rekognition
18{
19namespace Model
20{
21
25 {
26 public:
27 AWS_REKOGNITION_API StartFaceDetectionRequest() = default;
28
29 // Service request name is the Operation name which will send this request out,
30 // each operation should has unique request name, so that we can get operation's name from this request.
31 // Note: this is not true for response, multiple operations may have the same response name,
32 // so we can not get operation's name from response.
33 inline virtual const char* GetServiceRequestName() const override { return "StartFaceDetection"; }
34
35 AWS_REKOGNITION_API Aws::String SerializePayload() const override;
36
37 AWS_REKOGNITION_API Aws::Http::HeaderValueCollection GetRequestSpecificHeaders() const override;
38
39
41
45 inline const Video& GetVideo() const { return m_video; }
46 inline bool VideoHasBeenSet() const { return m_videoHasBeenSet; }
47 template<typename VideoT = Video>
48 void SetVideo(VideoT&& value) { m_videoHasBeenSet = true; m_video = std::forward<VideoT>(value); }
49 template<typename VideoT = Video>
50 StartFaceDetectionRequest& WithVideo(VideoT&& value) { SetVideo(std::forward<VideoT>(value)); return *this;}
52
54
60 inline const Aws::String& GetClientRequestToken() const { return m_clientRequestToken; }
61 inline bool ClientRequestTokenHasBeenSet() const { return m_clientRequestTokenHasBeenSet; }
62 template<typename ClientRequestTokenT = Aws::String>
63 void SetClientRequestToken(ClientRequestTokenT&& value) { m_clientRequestTokenHasBeenSet = true; m_clientRequestToken = std::forward<ClientRequestTokenT>(value); }
64 template<typename ClientRequestTokenT = Aws::String>
65 StartFaceDetectionRequest& WithClientRequestToken(ClientRequestTokenT&& value) { SetClientRequestToken(std::forward<ClientRequestTokenT>(value)); return *this;}
67
69
75 inline const NotificationChannel& GetNotificationChannel() const { return m_notificationChannel; }
76 inline bool NotificationChannelHasBeenSet() const { return m_notificationChannelHasBeenSet; }
77 template<typename NotificationChannelT = NotificationChannel>
78 void SetNotificationChannel(NotificationChannelT&& value) { m_notificationChannelHasBeenSet = true; m_notificationChannel = std::forward<NotificationChannelT>(value); }
79 template<typename NotificationChannelT = NotificationChannel>
80 StartFaceDetectionRequest& WithNotificationChannel(NotificationChannelT&& value) { SetNotificationChannel(std::forward<NotificationChannelT>(value)); return *this;}
82
84
90 inline FaceAttributes GetFaceAttributes() const { return m_faceAttributes; }
91 inline bool FaceAttributesHasBeenSet() const { return m_faceAttributesHasBeenSet; }
92 inline void SetFaceAttributes(FaceAttributes value) { m_faceAttributesHasBeenSet = true; m_faceAttributes = value; }
95
97
103 inline const Aws::String& GetJobTag() const { return m_jobTag; }
104 inline bool JobTagHasBeenSet() const { return m_jobTagHasBeenSet; }
105 template<typename JobTagT = Aws::String>
106 void SetJobTag(JobTagT&& value) { m_jobTagHasBeenSet = true; m_jobTag = std::forward<JobTagT>(value); }
107 template<typename JobTagT = Aws::String>
108 StartFaceDetectionRequest& WithJobTag(JobTagT&& value) { SetJobTag(std::forward<JobTagT>(value)); return *this;}
110 private:
111
112 Video m_video;
113 bool m_videoHasBeenSet = false;
114
115 Aws::String m_clientRequestToken;
116 bool m_clientRequestTokenHasBeenSet = false;
117
118 NotificationChannel m_notificationChannel;
119 bool m_notificationChannelHasBeenSet = false;
120
121 FaceAttributes m_faceAttributes{FaceAttributes::NOT_SET};
122 bool m_faceAttributesHasBeenSet = false;
123
124 Aws::String m_jobTag;
125 bool m_jobTagHasBeenSet = false;
126 };
127
128} // namespace Model
129} // namespace Rekognition
130} // namespace Aws
StartFaceDetectionRequest & WithJobTag(JobTagT &&value)
virtual const char * GetServiceRequestName() const override
AWS_REKOGNITION_API Aws::String SerializePayload() const override
StartFaceDetectionRequest & WithVideo(VideoT &&value)
StartFaceDetectionRequest & WithFaceAttributes(FaceAttributes value)
AWS_REKOGNITION_API Aws::Http::HeaderValueCollection GetRequestSpecificHeaders() const override
StartFaceDetectionRequest & WithClientRequestToken(ClientRequestTokenT &&value)
AWS_REKOGNITION_API StartFaceDetectionRequest()=default
StartFaceDetectionRequest & WithNotificationChannel(NotificationChannelT &&value)
Aws::Map< Aws::String, Aws::String > HeaderValueCollection
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String