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/GetLabelDetectionRequestMetadata.h>
14#include <aws/rekognition/model/LabelDetection.h>
19template<
typename RESULT_TYPE>
20class AmazonWebServiceResult;
56 template<
typename StatusMessageT = Aws::String>
57 void SetStatusMessage(StatusMessageT&& value) { m_statusMessageHasBeenSet =
true; m_statusMessage = std::forward<StatusMessageT>(value); }
58 template<
typename StatusMessageT = Aws::String>
69 template<
typename V
ideoMetadataT = V
ideoMetadata>
70 void SetVideoMetadata(VideoMetadataT&& value) { m_videoMetadataHasBeenSet =
true; m_videoMetadata = std::forward<VideoMetadataT>(value); }
71 template<
typename V
ideoMetadataT = V
ideoMetadata>
82 template<
typename NextTokenT = Aws::String>
83 void SetNextToken(NextTokenT&& value) { m_nextTokenHasBeenSet =
true; m_nextToken = std::forward<NextTokenT>(value); }
84 template<
typename NextTokenT = Aws::String>
95 template<
typename LabelsT = Aws::Vector<LabelDetection>>
96 void SetLabels(LabelsT&& value) { m_labelsHasBeenSet =
true; m_labels = std::forward<LabelsT>(value); }
97 template<
typename LabelsT = Aws::Vector<LabelDetection>>
99 template<
typename LabelsT = LabelDetection>
109 template<
typename LabelModelVersionT = Aws::String>
110 void SetLabelModelVersion(LabelModelVersionT&& value) { m_labelModelVersionHasBeenSet =
true; m_labelModelVersion = std::forward<LabelModelVersionT>(value); }
111 template<
typename LabelModelVersionT = Aws::String>
122 template<
typename JobIdT = Aws::String>
123 void SetJobId(JobIdT&& value) { m_jobIdHasBeenSet =
true; m_jobId = std::forward<JobIdT>(value); }
124 template<
typename JobIdT = Aws::String>
131 template<
typename V
ideoT = V
ideo>
132 void SetVideo(VideoT&& value) { m_videoHasBeenSet =
true; m_video = std::forward<VideoT>(value); }
133 template<
typename V
ideoT = V
ideo>
144 template<
typename JobTagT = Aws::String>
145 void SetJobTag(JobTagT&& value) { m_jobTagHasBeenSet =
true; m_jobTag = std::forward<JobTagT>(value); }
146 template<
typename JobTagT = Aws::String>
156 template<
typename GetRequestMetadataT = GetLabelDetectionRequestMetadata>
157 void SetGetRequestMetadata(GetRequestMetadataT&& value) { m_getRequestMetadataHasBeenSet =
true; m_getRequestMetadata = std::forward<GetRequestMetadataT>(value); }
158 template<
typename GetRequestMetadataT = GetLabelDetectionRequestMetadata>
165 template<
typename RequestIdT = Aws::String>
166 void SetRequestId(RequestIdT&& value) { m_requestIdHasBeenSet =
true; m_requestId = std::forward<RequestIdT>(value); }
167 template<
typename RequestIdT = Aws::String>
173 bool m_jobStatusHasBeenSet =
false;
176 bool m_statusMessageHasBeenSet =
false;
178 VideoMetadata m_videoMetadata;
179 bool m_videoMetadataHasBeenSet =
false;
182 bool m_nextTokenHasBeenSet =
false;
185 bool m_labelsHasBeenSet =
false;
188 bool m_labelModelVersionHasBeenSet =
false;
191 bool m_jobIdHasBeenSet =
false;
194 bool m_videoHasBeenSet =
false;
197 bool m_jobTagHasBeenSet =
false;
199 GetLabelDetectionRequestMetadata m_getRequestMetadata;
200 bool m_getRequestMetadataHasBeenSet =
false;
203 bool m_requestIdHasBeenSet =
false;
const Aws::String & GetNextToken() const
GetLabelDetectionResult & WithNextToken(NextTokenT &&value)
const Video & GetVideo() const
GetLabelDetectionResult & WithRequestId(RequestIdT &&value)
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