AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
GetFaceDetectionResult.h
1
6#pragma once
7#include <aws/rekognition/Rekognition_EXPORTS.h>
8#include <aws/rekognition/model/VideoJobStatus.h>
9#include <aws/core/utils/memory/stl/AWSString.h>
10#include <aws/rekognition/model/VideoMetadata.h>
11#include <aws/core/utils/memory/stl/AWSVector.h>
12#include <aws/rekognition/model/Video.h>
13#include <aws/rekognition/model/FaceDetection.h>
14#include <utility>
15
16namespace Aws
17{
18template<typename RESULT_TYPE>
19class AmazonWebServiceResult;
20
21namespace Utils
22{
23namespace Json
24{
25 class JsonValue;
26} // namespace Json
27} // namespace Utils
28namespace Rekognition
29{
30namespace Model
31{
33 {
34 public:
35 AWS_REKOGNITION_API GetFaceDetectionResult();
38
39
41
44 inline const VideoJobStatus& GetJobStatus() const{ return m_jobStatus; }
45 inline void SetJobStatus(const VideoJobStatus& value) { m_jobStatus = value; }
46 inline void SetJobStatus(VideoJobStatus&& value) { m_jobStatus = std::move(value); }
47 inline GetFaceDetectionResult& WithJobStatus(const VideoJobStatus& value) { SetJobStatus(value); return *this;}
48 inline GetFaceDetectionResult& WithJobStatus(VideoJobStatus&& value) { SetJobStatus(std::move(value)); return *this;}
50
52
56 inline const Aws::String& GetStatusMessage() const{ return m_statusMessage; }
57 inline void SetStatusMessage(const Aws::String& value) { m_statusMessage = value; }
58 inline void SetStatusMessage(Aws::String&& value) { m_statusMessage = std::move(value); }
59 inline void SetStatusMessage(const char* value) { m_statusMessage.assign(value); }
60 inline GetFaceDetectionResult& WithStatusMessage(const Aws::String& value) { SetStatusMessage(value); return *this;}
61 inline GetFaceDetectionResult& WithStatusMessage(Aws::String&& value) { SetStatusMessage(std::move(value)); return *this;}
62 inline GetFaceDetectionResult& WithStatusMessage(const char* value) { SetStatusMessage(value); return *this;}
64
66
71 inline const VideoMetadata& GetVideoMetadata() const{ return m_videoMetadata; }
72 inline void SetVideoMetadata(const VideoMetadata& value) { m_videoMetadata = value; }
73 inline void SetVideoMetadata(VideoMetadata&& value) { m_videoMetadata = std::move(value); }
74 inline GetFaceDetectionResult& WithVideoMetadata(const VideoMetadata& value) { SetVideoMetadata(value); return *this;}
75 inline GetFaceDetectionResult& WithVideoMetadata(VideoMetadata&& value) { SetVideoMetadata(std::move(value)); return *this;}
77
79
83 inline const Aws::String& GetNextToken() const{ return m_nextToken; }
84 inline void SetNextToken(const Aws::String& value) { m_nextToken = value; }
85 inline void SetNextToken(Aws::String&& value) { m_nextToken = std::move(value); }
86 inline void SetNextToken(const char* value) { m_nextToken.assign(value); }
87 inline GetFaceDetectionResult& WithNextToken(const Aws::String& value) { SetNextToken(value); return *this;}
88 inline GetFaceDetectionResult& WithNextToken(Aws::String&& value) { SetNextToken(std::move(value)); return *this;}
89 inline GetFaceDetectionResult& WithNextToken(const char* value) { SetNextToken(value); return *this;}
91
93
98 inline const Aws::Vector<FaceDetection>& GetFaces() const{ return m_faces; }
99 inline void SetFaces(const Aws::Vector<FaceDetection>& value) { m_faces = value; }
100 inline void SetFaces(Aws::Vector<FaceDetection>&& value) { m_faces = std::move(value); }
101 inline GetFaceDetectionResult& WithFaces(const Aws::Vector<FaceDetection>& value) { SetFaces(value); return *this;}
102 inline GetFaceDetectionResult& WithFaces(Aws::Vector<FaceDetection>&& value) { SetFaces(std::move(value)); return *this;}
103 inline GetFaceDetectionResult& AddFaces(const FaceDetection& value) { m_faces.push_back(value); return *this; }
104 inline GetFaceDetectionResult& AddFaces(FaceDetection&& value) { m_faces.push_back(std::move(value)); return *this; }
106
108
113 inline const Aws::String& GetJobId() const{ return m_jobId; }
114 inline void SetJobId(const Aws::String& value) { m_jobId = value; }
115 inline void SetJobId(Aws::String&& value) { m_jobId = std::move(value); }
116 inline void SetJobId(const char* value) { m_jobId.assign(value); }
117 inline GetFaceDetectionResult& WithJobId(const Aws::String& value) { SetJobId(value); return *this;}
118 inline GetFaceDetectionResult& WithJobId(Aws::String&& value) { SetJobId(std::move(value)); return *this;}
119 inline GetFaceDetectionResult& WithJobId(const char* value) { SetJobId(value); return *this;}
121
123
124 inline const Video& GetVideo() const{ return m_video; }
125 inline void SetVideo(const Video& value) { m_video = value; }
126 inline void SetVideo(Video&& value) { m_video = std::move(value); }
127 inline GetFaceDetectionResult& WithVideo(const Video& value) { SetVideo(value); return *this;}
128 inline GetFaceDetectionResult& WithVideo(Video&& value) { SetVideo(std::move(value)); return *this;}
130
132
137 inline const Aws::String& GetJobTag() const{ return m_jobTag; }
138 inline void SetJobTag(const Aws::String& value) { m_jobTag = value; }
139 inline void SetJobTag(Aws::String&& value) { m_jobTag = std::move(value); }
140 inline void SetJobTag(const char* value) { m_jobTag.assign(value); }
141 inline GetFaceDetectionResult& WithJobTag(const Aws::String& value) { SetJobTag(value); return *this;}
142 inline GetFaceDetectionResult& WithJobTag(Aws::String&& value) { SetJobTag(std::move(value)); return *this;}
143 inline GetFaceDetectionResult& WithJobTag(const char* value) { SetJobTag(value); return *this;}
145
147
148 inline const Aws::String& GetRequestId() const{ return m_requestId; }
149 inline void SetRequestId(const Aws::String& value) { m_requestId = value; }
150 inline void SetRequestId(Aws::String&& value) { m_requestId = std::move(value); }
151 inline void SetRequestId(const char* value) { m_requestId.assign(value); }
152 inline GetFaceDetectionResult& WithRequestId(const Aws::String& value) { SetRequestId(value); return *this;}
153 inline GetFaceDetectionResult& WithRequestId(Aws::String&& value) { SetRequestId(std::move(value)); return *this;}
154 inline GetFaceDetectionResult& WithRequestId(const char* value) { SetRequestId(value); return *this;}
156 private:
157
158 VideoJobStatus m_jobStatus;
159
160 Aws::String m_statusMessage;
161
162 VideoMetadata m_videoMetadata;
163
164 Aws::String m_nextToken;
165
167
168 Aws::String m_jobId;
169
170 Video m_video;
171
172 Aws::String m_jobTag;
173
174 Aws::String m_requestId;
175 };
176
177} // namespace Model
178} // namespace Rekognition
179} // namespace Aws
void SetFaces(Aws::Vector< FaceDetection > &&value)
const Aws::Vector< FaceDetection > & GetFaces() const
GetFaceDetectionResult & WithNextToken(Aws::String &&value)
GetFaceDetectionResult & WithJobId(const char *value)
GetFaceDetectionResult & WithJobStatus(const VideoJobStatus &value)
void SetFaces(const Aws::Vector< FaceDetection > &value)
GetFaceDetectionResult & WithStatusMessage(const char *value)
GetFaceDetectionResult & WithJobTag(Aws::String &&value)
GetFaceDetectionResult & WithJobId(Aws::String &&value)
GetFaceDetectionResult & WithVideo(const Video &value)
GetFaceDetectionResult & AddFaces(FaceDetection &&value)
GetFaceDetectionResult & WithFaces(const Aws::Vector< FaceDetection > &value)
GetFaceDetectionResult & WithRequestId(const char *value)
GetFaceDetectionResult & WithJobId(const Aws::String &value)
GetFaceDetectionResult & WithVideo(Video &&value)
GetFaceDetectionResult & AddFaces(const FaceDetection &value)
GetFaceDetectionResult & WithNextToken(const char *value)
GetFaceDetectionResult & WithJobTag(const Aws::String &value)
GetFaceDetectionResult & WithNextToken(const Aws::String &value)
AWS_REKOGNITION_API GetFaceDetectionResult(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
GetFaceDetectionResult & WithJobStatus(VideoJobStatus &&value)
AWS_REKOGNITION_API GetFaceDetectionResult & operator=(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
GetFaceDetectionResult & WithVideoMetadata(VideoMetadata &&value)
GetFaceDetectionResult & WithStatusMessage(const Aws::String &value)
GetFaceDetectionResult & WithRequestId(const Aws::String &value)
GetFaceDetectionResult & WithStatusMessage(Aws::String &&value)
GetFaceDetectionResult & WithRequestId(Aws::String &&value)
GetFaceDetectionResult & WithFaces(Aws::Vector< FaceDetection > &&value)
GetFaceDetectionResult & WithVideoMetadata(const VideoMetadata &value)
GetFaceDetectionResult & WithJobTag(const char *value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
std::vector< T, Aws::Allocator< T > > Vector
Aws::Utils::Json::JsonValue JsonValue