7#include <aws/core/utils/memory/stl/AWSString.h>
8#include <aws/rekognition/Rekognition_EXPORTS.h>
9#include <aws/rekognition/model/SegmentType.h>
10#include <aws/rekognition/model/ShotSegment.h>
11#include <aws/rekognition/model/TechnicalCueSegment.h>
22namespace Rekognition {
48 m_typeHasBeenSet =
true;
67 m_startTimestampMillisHasBeenSet =
true;
68 m_startTimestampMillis = value;
84 m_endTimestampMillisHasBeenSet =
true;
85 m_endTimestampMillis = value;
100 m_durationMillisHasBeenSet =
true;
101 m_durationMillis = value;
117 template <
typename StartTimecodeSMPTET = Aws::String>
119 m_startTimecodeSMPTEHasBeenSet =
true;
120 m_startTimecodeSMPTE = std::forward<StartTimecodeSMPTET>(value);
122 template <
typename StartTimecodeSMPTET = Aws::String>
137 template <
typename EndTimecodeSMPTET = Aws::String>
139 m_endTimecodeSMPTEHasBeenSet =
true;
140 m_endTimecodeSMPTE = std::forward<EndTimecodeSMPTET>(value);
142 template <
typename EndTimecodeSMPTET = Aws::String>
155 template <
typename DurationSMPTET = Aws::String>
157 m_durationSMPTEHasBeenSet =
true;
158 m_durationSMPTE = std::forward<DurationSMPTET>(value);
160 template <
typename DurationSMPTET = Aws::String>
174 template <
typename TechnicalCueSegmentT = TechnicalCueSegment>
176 m_technicalCueSegmentHasBeenSet =
true;
177 m_technicalCueSegment = std::forward<TechnicalCueSegmentT>(value);
179 template <
typename TechnicalCueSegmentT = TechnicalCueSegment>
193 template <
typename ShotSegmentT = ShotSegment>
195 m_shotSegmentHasBeenSet =
true;
196 m_shotSegment = std::forward<ShotSegmentT>(value);
198 template <
typename ShotSegmentT = ShotSegment>
213 m_startFrameNumberHasBeenSet =
true;
214 m_startFrameNumber = value;
230 m_endFrameNumberHasBeenSet =
true;
231 m_endFrameNumber = value;
246 m_durationFramesHasBeenSet =
true;
247 m_durationFrames = value;
257 long long m_startTimestampMillis{0};
259 long long m_endTimestampMillis{0};
261 long long m_durationMillis{0};
269 TechnicalCueSegment m_technicalCueSegment;
271 ShotSegment m_shotSegment;
273 long long m_startFrameNumber{0};
275 long long m_endFrameNumber{0};
277 long long m_durationFrames{0};
278 bool m_typeHasBeenSet =
false;
279 bool m_startTimestampMillisHasBeenSet =
false;
280 bool m_endTimestampMillisHasBeenSet =
false;
281 bool m_durationMillisHasBeenSet =
false;
282 bool m_startTimecodeSMPTEHasBeenSet =
false;
283 bool m_endTimecodeSMPTEHasBeenSet =
false;
284 bool m_durationSMPTEHasBeenSet =
false;
285 bool m_technicalCueSegmentHasBeenSet =
false;
286 bool m_shotSegmentHasBeenSet =
false;
287 bool m_startFrameNumberHasBeenSet =
false;
288 bool m_endFrameNumberHasBeenSet =
false;
289 bool m_durationFramesHasBeenSet =
false;
bool DurationMillisHasBeenSet() const
void SetShotSegment(ShotSegmentT &&value)
SegmentDetection & WithType(SegmentType value)
bool EndFrameNumberHasBeenSet() const
long long GetDurationMillis() const
SegmentDetection & WithStartTimestampMillis(long long value)
void SetDurationFrames(long long value)
void SetStartTimestampMillis(long long value)
SegmentDetection & WithStartFrameNumber(long long value)
long long GetEndFrameNumber() const
const Aws::String & GetEndTimecodeSMPTE() const
AWS_REKOGNITION_API SegmentDetection(Aws::Utils::Json::JsonView jsonValue)
SegmentType GetType() const
AWS_REKOGNITION_API SegmentDetection()=default
SegmentDetection & WithEndTimecodeSMPTE(EndTimecodeSMPTET &&value)
bool ShotSegmentHasBeenSet() const
void SetTechnicalCueSegment(TechnicalCueSegmentT &&value)
long long GetStartFrameNumber() const
SegmentDetection & WithStartTimecodeSMPTE(StartTimecodeSMPTET &&value)
SegmentDetection & WithTechnicalCueSegment(TechnicalCueSegmentT &&value)
SegmentDetection & WithEndTimestampMillis(long long value)
bool TechnicalCueSegmentHasBeenSet() const
void SetDurationSMPTE(DurationSMPTET &&value)
bool EndTimecodeSMPTEHasBeenSet() const
SegmentDetection & WithDurationSMPTE(DurationSMPTET &&value)
const TechnicalCueSegment & GetTechnicalCueSegment() const
void SetStartFrameNumber(long long value)
AWS_REKOGNITION_API Aws::Utils::Json::JsonValue Jsonize() const
bool EndTimestampMillisHasBeenSet() const
long long GetDurationFrames() const
void SetStartTimecodeSMPTE(StartTimecodeSMPTET &&value)
SegmentDetection & WithDurationFrames(long long value)
void SetEndTimecodeSMPTE(EndTimecodeSMPTET &&value)
const Aws::String & GetDurationSMPTE() const
const Aws::String & GetStartTimecodeSMPTE() const
void SetType(SegmentType value)
bool TypeHasBeenSet() const
bool StartFrameNumberHasBeenSet() const
bool DurationSMPTEHasBeenSet() const
long long GetEndTimestampMillis() const
bool StartTimecodeSMPTEHasBeenSet() const
void SetEndTimestampMillis(long long value)
long long GetStartTimestampMillis() const
AWS_REKOGNITION_API SegmentDetection & operator=(Aws::Utils::Json::JsonView jsonValue)
void SetDurationMillis(long long value)
bool DurationFramesHasBeenSet() const
SegmentDetection & WithDurationMillis(long long value)
const ShotSegment & GetShotSegment() const
SegmentDetection & WithEndFrameNumber(long long value)
bool StartTimestampMillisHasBeenSet() const
SegmentDetection & WithShotSegment(ShotSegmentT &&value)
void SetEndFrameNumber(long long value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue