7#include <aws/core/utils/memory/stl/AWSString.h>
8#include <aws/core/utils/memory/stl/AWSVector.h>
9#include <aws/rekognition/Rekognition_EXPORTS.h>
10#include <aws/rekognition/model/AudioMetadata.h>
11#include <aws/rekognition/model/SegmentDetection.h>
12#include <aws/rekognition/model/SegmentTypeInfo.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>
79 template <
typename V
ideoMetadataT = Aws::Vector<V
ideoMetadata>>
81 m_videoMetadataHasBeenSet =
true;
82 m_videoMetadata = std::forward<VideoMetadataT>(value);
84 template <
typename V
ideoMetadataT = Aws::Vector<V
ideoMetadata>>
89 template <
typename V
ideoMetadataT = V
ideoMetadata>
91 m_videoMetadataHasBeenSet =
true;
92 m_videoMetadata.emplace_back(std::forward<VideoMetadataT>(value));
107 template <
typename AudioMetadataT = Aws::Vector<AudioMetadata>>
109 m_audioMetadataHasBeenSet =
true;
110 m_audioMetadata = std::forward<AudioMetadataT>(value);
112 template <
typename AudioMetadataT = Aws::Vector<AudioMetadata>>
117 template <
typename AudioMetadataT = AudioMetadata>
119 m_audioMetadataHasBeenSet =
true;
120 m_audioMetadata.emplace_back(std::forward<AudioMetadataT>(value));
132 template <
typename NextTokenT = Aws::String>
134 m_nextTokenHasBeenSet =
true;
135 m_nextToken = std::forward<NextTokenT>(value);
137 template <
typename NextTokenT = Aws::String>
152 template <
typename SegmentsT = Aws::Vector<SegmentDetection>>
154 m_segmentsHasBeenSet =
true;
155 m_segments = std::forward<SegmentsT>(value);
157 template <
typename SegmentsT = Aws::Vector<SegmentDetection>>
162 template <
typename SegmentsT = SegmentDetection>
164 m_segmentsHasBeenSet =
true;
165 m_segments.emplace_back(std::forward<SegmentsT>(value));
176 template <
typename SelectedSegmentTypesT = Aws::Vector<SegmentTypeInfo>>
178 m_selectedSegmentTypesHasBeenSet =
true;
179 m_selectedSegmentTypes = std::forward<SelectedSegmentTypesT>(value);
181 template <
typename SelectedSegmentTypesT = Aws::Vector<SegmentTypeInfo>>
186 template <
typename SelectedSegmentTypesT = SegmentTypeInfo>
188 m_selectedSegmentTypesHasBeenSet =
true;
189 m_selectedSegmentTypes.emplace_back(std::forward<SelectedSegmentTypesT>(value));
201 template <
typename JobIdT = Aws::String>
203 m_jobIdHasBeenSet =
true;
204 m_jobId = std::forward<JobIdT>(value);
206 template <
typename JobIdT = Aws::String>
208 SetJobId(std::forward<JobIdT>(value));
216 template <
typename V
ideoT = V
ideo>
218 m_videoHasBeenSet =
true;
219 m_video = std::forward<VideoT>(value);
221 template <
typename V
ideoT = V
ideo>
223 SetVideo(std::forward<VideoT>(value));
235 template <
typename JobTagT = Aws::String>
237 m_jobTagHasBeenSet =
true;
238 m_jobTag = std::forward<JobTagT>(value);
240 template <
typename JobTagT = Aws::String>
250 template <
typename RequestIdT = Aws::String>
252 m_requestIdHasBeenSet =
true;
253 m_requestId = std::forward<RequestIdT>(value);
255 template <
typename RequestIdT = Aws::String>
283 bool m_jobStatusHasBeenSet =
false;
284 bool m_statusMessageHasBeenSet =
false;
285 bool m_videoMetadataHasBeenSet =
false;
286 bool m_audioMetadataHasBeenSet =
false;
287 bool m_nextTokenHasBeenSet =
false;
288 bool m_segmentsHasBeenSet =
false;
289 bool m_selectedSegmentTypesHasBeenSet =
false;
290 bool m_jobIdHasBeenSet =
false;
291 bool m_videoHasBeenSet =
false;
292 bool m_jobTagHasBeenSet =
false;
293 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)
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