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/AudioMetadata.h>
12#include <aws/rekognition/model/SegmentDetection.h>
13#include <aws/rekognition/model/SegmentTypeInfo.h>
14#include <aws/rekognition/model/Video.h>
15#include <aws/rekognition/model/VideoJobStatus.h>
16#include <aws/rekognition/model/VideoMetadata.h>
21template <
typename RESULT_TYPE>
22class AmazonWebServiceResult;
29namespace Rekognition {
43 m_jobStatusHasBeenSet =
true;
58 template <
typename StatusMessageT = Aws::String>
60 m_statusMessageHasBeenSet =
true;
61 m_statusMessage = std::forward<StatusMessageT>(value);
63 template <
typename StatusMessageT = Aws::String>
80 template <
typename V
ideoMetadataT = Aws::Vector<V
ideoMetadata>>
82 m_videoMetadataHasBeenSet =
true;
83 m_videoMetadata = std::forward<VideoMetadataT>(value);
85 template <
typename V
ideoMetadataT = Aws::Vector<V
ideoMetadata>>
90 template <
typename V
ideoMetadataT = V
ideoMetadata>
92 m_videoMetadataHasBeenSet =
true;
93 m_videoMetadata.emplace_back(std::forward<VideoMetadataT>(value));
108 template <
typename AudioMetadataT = Aws::Vector<AudioMetadata>>
110 m_audioMetadataHasBeenSet =
true;
111 m_audioMetadata = std::forward<AudioMetadataT>(value);
113 template <
typename AudioMetadataT = Aws::Vector<AudioMetadata>>
118 template <
typename AudioMetadataT = AudioMetadata>
120 m_audioMetadataHasBeenSet =
true;
121 m_audioMetadata.emplace_back(std::forward<AudioMetadataT>(value));
133 template <
typename NextTokenT = Aws::String>
135 m_nextTokenHasBeenSet =
true;
136 m_nextToken = std::forward<NextTokenT>(value);
138 template <
typename NextTokenT = Aws::String>
153 template <
typename SegmentsT = Aws::Vector<SegmentDetection>>
155 m_segmentsHasBeenSet =
true;
156 m_segments = std::forward<SegmentsT>(value);
158 template <
typename SegmentsT = Aws::Vector<SegmentDetection>>
163 template <
typename SegmentsT = SegmentDetection>
165 m_segmentsHasBeenSet =
true;
166 m_segments.emplace_back(std::forward<SegmentsT>(value));
177 template <
typename SelectedSegmentTypesT = Aws::Vector<SegmentTypeInfo>>
179 m_selectedSegmentTypesHasBeenSet =
true;
180 m_selectedSegmentTypes = std::forward<SelectedSegmentTypesT>(value);
182 template <
typename SelectedSegmentTypesT = Aws::Vector<SegmentTypeInfo>>
187 template <
typename SelectedSegmentTypesT = SegmentTypeInfo>
189 m_selectedSegmentTypesHasBeenSet =
true;
190 m_selectedSegmentTypes.emplace_back(std::forward<SelectedSegmentTypesT>(value));
202 template <
typename JobIdT = Aws::String>
204 m_jobIdHasBeenSet =
true;
205 m_jobId = std::forward<JobIdT>(value);
207 template <
typename JobIdT = Aws::String>
209 SetJobId(std::forward<JobIdT>(value));
217 template <
typename V
ideoT = V
ideo>
219 m_videoHasBeenSet =
true;
220 m_video = std::forward<VideoT>(value);
222 template <
typename V
ideoT = V
ideo>
224 SetVideo(std::forward<VideoT>(value));
236 template <
typename JobTagT = Aws::String>
238 m_jobTagHasBeenSet =
true;
239 m_jobTag = std::forward<JobTagT>(value);
241 template <
typename JobTagT = Aws::String>
251 template <
typename RequestIdT = Aws::String>
253 m_requestIdHasBeenSet =
true;
254 m_requestId = std::forward<RequestIdT>(value);
256 template <
typename RequestIdT = Aws::String>
287 bool m_jobStatusHasBeenSet =
false;
288 bool m_statusMessageHasBeenSet =
false;
289 bool m_videoMetadataHasBeenSet =
false;
290 bool m_audioMetadataHasBeenSet =
false;
291 bool m_nextTokenHasBeenSet =
false;
292 bool m_segmentsHasBeenSet =
false;
293 bool m_selectedSegmentTypesHasBeenSet =
false;
294 bool m_jobIdHasBeenSet =
false;
295 bool m_videoHasBeenSet =
false;
296 bool m_jobTagHasBeenSet =
false;
297 bool m_requestIdHasBeenSet =
false;
const Aws::String & GetJobId() const
GetSegmentDetectionResult & WithSegments(SegmentsT &&value)
GetSegmentDetectionResult & WithNextToken(NextTokenT &&value)
GetSegmentDetectionResult & WithVideo(VideoT &&value)
void SetVideoMetadata(VideoMetadataT &&value)
GetSegmentDetectionResult & WithRequestId(RequestIdT &&value)
const Video & GetVideo() const
AWS_REKOGNITION_API GetSegmentDetectionResult()=default
const Aws::String & GetRequestId() const
GetSegmentDetectionResult & WithStatusMessage(StatusMessageT &&value)
const Aws::String & GetStatusMessage() const
void SetStatusMessage(StatusMessageT &&value)
VideoJobStatus GetJobStatus() const
void SetAudioMetadata(AudioMetadataT &&value)
const Aws::String & GetJobTag() const
GetSegmentDetectionResult & WithJobId(JobIdT &&value)
const Aws::Vector< AudioMetadata > & GetAudioMetadata() const
void SetVideo(VideoT &&value)
AWS_REKOGNITION_API GetSegmentDetectionResult(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
const Aws::Vector< SegmentDetection > & GetSegments() const
GetSegmentDetectionResult & WithVideoMetadata(VideoMetadataT &&value)
void SetJobId(JobIdT &&value)
AWS_REKOGNITION_API GetSegmentDetectionResult & operator=(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
GetSegmentDetectionResult & WithAudioMetadata(AudioMetadataT &&value)
void SetJobStatus(VideoJobStatus value)
const Aws::Vector< SegmentTypeInfo > & GetSelectedSegmentTypes() const
void SetJobTag(JobTagT &&value)
const Aws::String & GetNextToken() const
GetSegmentDetectionResult & WithSelectedSegmentTypes(SelectedSegmentTypesT &&value)
Aws::Http::HttpResponseCode GetHttpResponseCode() const
void SetNextToken(NextTokenT &&value)
GetSegmentDetectionResult & AddSegments(SegmentsT &&value)
void SetRequestId(RequestIdT &&value)
const Aws::Vector< VideoMetadata > & GetVideoMetadata() const
void SetSelectedSegmentTypes(SelectedSegmentTypesT &&value)
GetSegmentDetectionResult & AddSelectedSegmentTypes(SelectedSegmentTypesT &&value)
GetSegmentDetectionResult & AddVideoMetadata(VideoMetadataT &&value)
GetSegmentDetectionResult & WithJobStatus(VideoJobStatus value)
void SetSegments(SegmentsT &&value)
GetSegmentDetectionResult & AddAudioMetadata(AudioMetadataT &&value)
GetSegmentDetectionResult & WithJobTag(JobTagT &&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