7#include <aws/rekognition/Rekognition_EXPORTS.h>
8#include <aws/rekognition/model/SegmentType.h>
9#include <aws/core/utils/memory/stl/AWSString.h>
10#include <aws/rekognition/model/TechnicalCueSegment.h>
11#include <aws/rekognition/model/ShotSegment.h>
66 inline void SetStartTimestampMillis(
long long value) { m_startTimestampMillisHasBeenSet =
true; m_startTimestampMillis = value; }
77 inline void SetEndTimestampMillis(
long long value) { m_endTimestampMillisHasBeenSet =
true; m_endTimestampMillis = value; }
87 inline void SetDurationMillis(
long long value) { m_durationMillisHasBeenSet =
true; m_durationMillis = value; }
99 template<
typename StartTimecodeSMPTET = Aws::String>
100 void SetStartTimecodeSMPTE(StartTimecodeSMPTET&& value) { m_startTimecodeSMPTEHasBeenSet =
true; m_startTimecodeSMPTE = std::forward<StartTimecodeSMPTET>(value); }
101 template<
typename StartTimecodeSMPTET = Aws::String>
113 template<
typename EndTimecodeSMPTET = Aws::String>
114 void SetEndTimecodeSMPTE(EndTimecodeSMPTET&& value) { m_endTimecodeSMPTEHasBeenSet =
true; m_endTimecodeSMPTE = std::forward<EndTimecodeSMPTET>(value); }
115 template<
typename EndTimecodeSMPTET = Aws::String>
125 template<
typename DurationSMPTET = Aws::String>
126 void SetDurationSMPTE(DurationSMPTET&& value) { m_durationSMPTEHasBeenSet =
true; m_durationSMPTE = std::forward<DurationSMPTET>(value); }
127 template<
typename DurationSMPTET = Aws::String>
138 template<
typename TechnicalCueSegmentT = TechnicalCueSegment>
139 void SetTechnicalCueSegment(TechnicalCueSegmentT&& value) { m_technicalCueSegmentHasBeenSet =
true; m_technicalCueSegment = std::forward<TechnicalCueSegmentT>(value); }
140 template<
typename TechnicalCueSegmentT = TechnicalCueSegment>
151 template<
typename ShotSegmentT = ShotSegment>
152 void SetShotSegment(ShotSegmentT&& value) { m_shotSegmentHasBeenSet =
true; m_shotSegment = std::forward<ShotSegmentT>(value); }
153 template<
typename ShotSegmentT = ShotSegment>
164 inline void SetStartFrameNumber(
long long value) { m_startFrameNumberHasBeenSet =
true; m_startFrameNumber = value; }
175 inline void SetEndFrameNumber(
long long value) { m_endFrameNumberHasBeenSet =
true; m_endFrameNumber = value; }
185 inline void SetDurationFrames(
long long value) { m_durationFramesHasBeenSet =
true; m_durationFrames = value; }
191 bool m_typeHasBeenSet =
false;
193 long long m_startTimestampMillis{0};
194 bool m_startTimestampMillisHasBeenSet =
false;
196 long long m_endTimestampMillis{0};
197 bool m_endTimestampMillisHasBeenSet =
false;
199 long long m_durationMillis{0};
200 bool m_durationMillisHasBeenSet =
false;
203 bool m_startTimecodeSMPTEHasBeenSet =
false;
206 bool m_endTimecodeSMPTEHasBeenSet =
false;
209 bool m_durationSMPTEHasBeenSet =
false;
211 TechnicalCueSegment m_technicalCueSegment;
212 bool m_technicalCueSegmentHasBeenSet =
false;
214 ShotSegment m_shotSegment;
215 bool m_shotSegmentHasBeenSet =
false;
217 long long m_startFrameNumber{0};
218 bool m_startFrameNumberHasBeenSet =
false;
220 long long m_endFrameNumber{0};
221 bool m_endFrameNumberHasBeenSet =
false;
223 long long m_durationFrames{0};
224 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