AWS SDK for C++

AWS SDK for C++ Version 1.11.440

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();
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 inline void SetVideo(const Video& value) { m_videoHasBeenSet = true; m_video = value; }
48 inline void SetVideo(Video&& value) { m_videoHasBeenSet = true; m_video = std::move(value); }
49 inline StartFaceDetectionRequest& WithVideo(const Video& value) { SetVideo(value); return *this;}
50 inline StartFaceDetectionRequest& WithVideo(Video&& value) { SetVideo(std::move(value)); return *this;}
52
54
60 inline const Aws::String& GetClientRequestToken() const{ return m_clientRequestToken; }
61 inline bool ClientRequestTokenHasBeenSet() const { return m_clientRequestTokenHasBeenSet; }
62 inline void SetClientRequestToken(const Aws::String& value) { m_clientRequestTokenHasBeenSet = true; m_clientRequestToken = value; }
63 inline void SetClientRequestToken(Aws::String&& value) { m_clientRequestTokenHasBeenSet = true; m_clientRequestToken = std::move(value); }
64 inline void SetClientRequestToken(const char* value) { m_clientRequestTokenHasBeenSet = true; m_clientRequestToken.assign(value); }
66 inline StartFaceDetectionRequest& WithClientRequestToken(Aws::String&& value) { SetClientRequestToken(std::move(value)); return *this;}
67 inline StartFaceDetectionRequest& WithClientRequestToken(const char* value) { SetClientRequestToken(value); return *this;}
69
71
77 inline const NotificationChannel& GetNotificationChannel() const{ return m_notificationChannel; }
78 inline bool NotificationChannelHasBeenSet() const { return m_notificationChannelHasBeenSet; }
79 inline void SetNotificationChannel(const NotificationChannel& value) { m_notificationChannelHasBeenSet = true; m_notificationChannel = value; }
80 inline void SetNotificationChannel(NotificationChannel&& value) { m_notificationChannelHasBeenSet = true; m_notificationChannel = std::move(value); }
84
86
92 inline const FaceAttributes& GetFaceAttributes() const{ return m_faceAttributes; }
93 inline bool FaceAttributesHasBeenSet() const { return m_faceAttributesHasBeenSet; }
94 inline void SetFaceAttributes(const FaceAttributes& value) { m_faceAttributesHasBeenSet = true; m_faceAttributes = value; }
95 inline void SetFaceAttributes(FaceAttributes&& value) { m_faceAttributesHasBeenSet = true; m_faceAttributes = std::move(value); }
97 inline StartFaceDetectionRequest& WithFaceAttributes(FaceAttributes&& value) { SetFaceAttributes(std::move(value)); return *this;}
99
101
107 inline const Aws::String& GetJobTag() const{ return m_jobTag; }
108 inline bool JobTagHasBeenSet() const { return m_jobTagHasBeenSet; }
109 inline void SetJobTag(const Aws::String& value) { m_jobTagHasBeenSet = true; m_jobTag = value; }
110 inline void SetJobTag(Aws::String&& value) { m_jobTagHasBeenSet = true; m_jobTag = std::move(value); }
111 inline void SetJobTag(const char* value) { m_jobTagHasBeenSet = true; m_jobTag.assign(value); }
112 inline StartFaceDetectionRequest& WithJobTag(const Aws::String& value) { SetJobTag(value); return *this;}
113 inline StartFaceDetectionRequest& WithJobTag(Aws::String&& value) { SetJobTag(std::move(value)); return *this;}
114 inline StartFaceDetectionRequest& WithJobTag(const char* value) { SetJobTag(value); return *this;}
116 private:
117
118 Video m_video;
119 bool m_videoHasBeenSet = false;
120
121 Aws::String m_clientRequestToken;
122 bool m_clientRequestTokenHasBeenSet = false;
123
124 NotificationChannel m_notificationChannel;
125 bool m_notificationChannelHasBeenSet = false;
126
127 FaceAttributes m_faceAttributes;
128 bool m_faceAttributesHasBeenSet = false;
129
130 Aws::String m_jobTag;
131 bool m_jobTagHasBeenSet = false;
132 };
133
134} // namespace Model
135} // namespace Rekognition
136} // namespace Aws
virtual const char * GetServiceRequestName() const override
AWS_REKOGNITION_API Aws::String SerializePayload() const override
StartFaceDetectionRequest & WithVideo(const Video &value)
StartFaceDetectionRequest & WithClientRequestToken(const Aws::String &value)
void SetNotificationChannel(const NotificationChannel &value)
StartFaceDetectionRequest & WithFaceAttributes(const FaceAttributes &value)
StartFaceDetectionRequest & WithNotificationChannel(const NotificationChannel &value)
StartFaceDetectionRequest & WithClientRequestToken(Aws::String &&value)
StartFaceDetectionRequest & WithJobTag(Aws::String &&value)
StartFaceDetectionRequest & WithJobTag(const Aws::String &value)
StartFaceDetectionRequest & WithClientRequestToken(const char *value)
StartFaceDetectionRequest & WithNotificationChannel(NotificationChannel &&value)
AWS_REKOGNITION_API Aws::Http::HeaderValueCollection GetRequestSpecificHeaders() const override
StartFaceDetectionRequest & WithFaceAttributes(FaceAttributes &&value)
StartFaceDetectionRequest & WithVideo(Video &&value)
StartFaceDetectionRequest & WithJobTag(const char *value)
Aws::Map< Aws::String, Aws::String > HeaderValueCollection
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String