7#include <aws/core/http/HttpResponse.h>
8#include <aws/core/utils/memory/stl/AWSString.h>
9#include <aws/core/utils/memory/stl/AWSVector.h>
10#include <aws/rekognition/Rekognition_EXPORTS.h>
11#include <aws/rekognition/model/GetLabelDetectionRequestMetadata.h>
12#include <aws/rekognition/model/LabelDetection.h>
13#include <aws/rekognition/model/Video.h>
14#include <aws/rekognition/model/VideoJobStatus.h>
15#include <aws/rekognition/model/VideoMetadata.h>
20template <
typename RESULT_TYPE>
21class AmazonWebServiceResult;
28namespace Rekognition {
42 m_jobStatusHasBeenSet =
true;
57 template <
typename StatusMessageT = Aws::String>
59 m_statusMessageHasBeenSet =
true;
60 m_statusMessage = std::forward<StatusMessageT>(value);
62 template <
typename StatusMessageT = Aws::String>
76 template <
typename V
ideoMetadataT = V
ideoMetadata>
78 m_videoMetadataHasBeenSet =
true;
79 m_videoMetadata = std::forward<VideoMetadataT>(value);
81 template <
typename V
ideoMetadataT = V
ideoMetadata>
95 template <
typename NextTokenT = Aws::String>
97 m_nextTokenHasBeenSet =
true;
98 m_nextToken = std::forward<NextTokenT>(value);
100 template <
typename NextTokenT = Aws::String>
114 template <
typename LabelsT = Aws::Vector<LabelDetection>>
116 m_labelsHasBeenSet =
true;
117 m_labels = std::forward<LabelsT>(value);
119 template <
typename LabelsT = Aws::Vector<LabelDetection>>
124 template <
typename LabelsT = LabelDetection>
126 m_labelsHasBeenSet =
true;
127 m_labels.emplace_back(std::forward<LabelsT>(value));
138 template <
typename LabelModelVersionT = Aws::String>
140 m_labelModelVersionHasBeenSet =
true;
141 m_labelModelVersion = std::forward<LabelModelVersionT>(value);
143 template <
typename LabelModelVersionT = Aws::String>
157 template <
typename JobIdT = Aws::String>
159 m_jobIdHasBeenSet =
true;
160 m_jobId = std::forward<JobIdT>(value);
162 template <
typename JobIdT = Aws::String>
164 SetJobId(std::forward<JobIdT>(value));
172 template <
typename V
ideoT = V
ideo>
174 m_videoHasBeenSet =
true;
175 m_video = std::forward<VideoT>(value);
177 template <
typename V
ideoT = V
ideo>
179 SetVideo(std::forward<VideoT>(value));
191 template <
typename JobTagT = Aws::String>
193 m_jobTagHasBeenSet =
true;
194 m_jobTag = std::forward<JobTagT>(value);
196 template <
typename JobTagT = Aws::String>
209 template <
typename GetRequestMetadataT = GetLabelDetectionRequestMetadata>
211 m_getRequestMetadataHasBeenSet =
true;
212 m_getRequestMetadata = std::forward<GetRequestMetadataT>(value);
214 template <
typename GetRequestMetadataT = GetLabelDetectionRequestMetadata>
224 template <
typename RequestIdT = Aws::String>
226 m_requestIdHasBeenSet =
true;
227 m_requestId = std::forward<RequestIdT>(value);
229 template <
typename RequestIdT = Aws::String>
242 VideoMetadata m_videoMetadata;
256 GetLabelDetectionRequestMetadata m_getRequestMetadata;
260 bool m_jobStatusHasBeenSet =
false;
261 bool m_statusMessageHasBeenSet =
false;
262 bool m_videoMetadataHasBeenSet =
false;
263 bool m_nextTokenHasBeenSet =
false;
264 bool m_labelsHasBeenSet =
false;
265 bool m_labelModelVersionHasBeenSet =
false;
266 bool m_jobIdHasBeenSet =
false;
267 bool m_videoHasBeenSet =
false;
268 bool m_jobTagHasBeenSet =
false;
269 bool m_getRequestMetadataHasBeenSet =
false;
270 bool m_requestIdHasBeenSet =
false;
const Aws::String & GetNextToken() const
GetLabelDetectionResult & WithNextToken(NextTokenT &&value)
const Video & GetVideo() const
GetLabelDetectionResult & WithRequestId(RequestIdT &&value)
Aws::Http::HttpResponseCode GetHttpResponseCode() const
void SetJobStatus(VideoJobStatus value)
VideoJobStatus GetJobStatus() const
void SetVideo(VideoT &&value)
GetLabelDetectionResult & AddLabels(LabelsT &&value)
AWS_REKOGNITION_API GetLabelDetectionResult()=default
void SetLabelModelVersion(LabelModelVersionT &&value)
GetLabelDetectionResult & WithVideo(VideoT &&value)
GetLabelDetectionResult & WithGetRequestMetadata(GetRequestMetadataT &&value)
const Aws::String & GetRequestId() const
void SetNextToken(NextTokenT &&value)
GetLabelDetectionResult & WithJobTag(JobTagT &&value)
const Aws::String & GetStatusMessage() const
GetLabelDetectionResult & WithJobId(JobIdT &&value)
AWS_REKOGNITION_API GetLabelDetectionResult(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
void SetJobId(JobIdT &&value)
const GetLabelDetectionRequestMetadata & GetGetRequestMetadata() const
GetLabelDetectionResult & WithVideoMetadata(VideoMetadataT &&value)
GetLabelDetectionResult & WithJobStatus(VideoJobStatus value)
const VideoMetadata & GetVideoMetadata() const
GetLabelDetectionResult & WithStatusMessage(StatusMessageT &&value)
GetLabelDetectionResult & WithLabels(LabelsT &&value)
AWS_REKOGNITION_API GetLabelDetectionResult & operator=(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
void SetStatusMessage(StatusMessageT &&value)
void SetRequestId(RequestIdT &&value)
void SetLabels(LabelsT &&value)
void SetVideoMetadata(VideoMetadataT &&value)
GetLabelDetectionResult & WithLabelModelVersion(LabelModelVersionT &&value)
const Aws::Vector< LabelDetection > & GetLabels() const
const Aws::String & GetJobId() const
const Aws::String & GetLabelModelVersion() const
void SetGetRequestMetadata(GetRequestMetadataT &&value)
void SetJobTag(JobTagT &&value)
const Aws::String & GetJobTag() const
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
std::vector< T, Aws::Allocator< T > > Vector
Aws::Utils::Json::JsonValue JsonValue