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>
68 inline void SetStartTimestampMillis(
long long value) { m_startTimestampMillisHasBeenSet =
true; m_startTimestampMillis = value; }
79 inline void SetEndTimestampMillis(
long long value) { m_endTimestampMillisHasBeenSet =
true; m_endTimestampMillis = value; }
89 inline void SetDurationMillis(
long long value) { m_durationMillisHasBeenSet =
true; m_durationMillis = value; }
103 inline void SetStartTimecodeSMPTE(
const char* value) { m_startTimecodeSMPTEHasBeenSet =
true; m_startTimecodeSMPTE.assign(value); }
119 inline void SetEndTimecodeSMPTE(
const char* value) { m_endTimecodeSMPTEHasBeenSet =
true; m_endTimecodeSMPTE.assign(value); }
133 inline void SetDurationSMPTE(
const char* value) { m_durationSMPTEHasBeenSet =
true; m_durationSMPTE.assign(value); }
172 inline void SetStartFrameNumber(
long long value) { m_startFrameNumberHasBeenSet =
true; m_startFrameNumber = value; }
183 inline void SetEndFrameNumber(
long long value) { m_endFrameNumberHasBeenSet =
true; m_endFrameNumber = value; }
193 inline void SetDurationFrames(
long long value) { m_durationFramesHasBeenSet =
true; m_durationFrames = value; }
199 bool m_typeHasBeenSet =
false;
201 long long m_startTimestampMillis;
202 bool m_startTimestampMillisHasBeenSet =
false;
204 long long m_endTimestampMillis;
205 bool m_endTimestampMillisHasBeenSet =
false;
207 long long m_durationMillis;
208 bool m_durationMillisHasBeenSet =
false;
211 bool m_startTimecodeSMPTEHasBeenSet =
false;
214 bool m_endTimecodeSMPTEHasBeenSet =
false;
217 bool m_durationSMPTEHasBeenSet =
false;
220 bool m_technicalCueSegmentHasBeenSet =
false;
223 bool m_shotSegmentHasBeenSet =
false;
225 long long m_startFrameNumber;
226 bool m_startFrameNumberHasBeenSet =
false;
228 long long m_endFrameNumber;
229 bool m_endFrameNumberHasBeenSet =
false;
231 long long m_durationFrames;
232 bool m_durationFramesHasBeenSet =
false;
bool DurationMillisHasBeenSet() const
bool EndFrameNumberHasBeenSet() const
long long GetDurationMillis() const
SegmentDetection & WithType(SegmentType &&value)
void SetTechnicalCueSegment(const TechnicalCueSegment &value)
SegmentDetection & WithStartTimestampMillis(long long value)
void SetDurationSMPTE(const char *value)
void SetStartTimecodeSMPTE(const char *value)
void SetDurationFrames(long long value)
SegmentDetection & WithType(const SegmentType &value)
void SetStartTimestampMillis(long long value)
SegmentDetection & WithStartFrameNumber(long long value)
long long GetEndFrameNumber() const
SegmentDetection & WithDurationSMPTE(const char *value)
const Aws::String & GetEndTimecodeSMPTE() const
AWS_REKOGNITION_API SegmentDetection(Aws::Utils::Json::JsonView jsonValue)
SegmentDetection & WithTechnicalCueSegment(TechnicalCueSegment &&value)
void SetDurationSMPTE(Aws::String &&value)
SegmentDetection & WithShotSegment(const ShotSegment &value)
void SetType(SegmentType &&value)
SegmentDetection & WithShotSegment(ShotSegment &&value)
bool ShotSegmentHasBeenSet() const
long long GetStartFrameNumber() const
void SetTechnicalCueSegment(TechnicalCueSegment &&value)
SegmentDetection & WithEndTimestampMillis(long long value)
const SegmentType & GetType() const
SegmentDetection & WithDurationSMPTE(const Aws::String &value)
bool TechnicalCueSegmentHasBeenSet() const
SegmentDetection & WithStartTimecodeSMPTE(const Aws::String &value)
AWS_REKOGNITION_API SegmentDetection()
bool EndTimecodeSMPTEHasBeenSet() const
SegmentDetection & WithEndTimecodeSMPTE(Aws::String &&value)
const TechnicalCueSegment & GetTechnicalCueSegment() const
void SetEndTimecodeSMPTE(const char *value)
void SetEndTimecodeSMPTE(const Aws::String &value)
void SetStartFrameNumber(long long value)
AWS_REKOGNITION_API Aws::Utils::Json::JsonValue Jsonize() const
void SetShotSegment(const ShotSegment &value)
bool EndTimestampMillisHasBeenSet() const
void SetStartTimecodeSMPTE(const Aws::String &value)
long long GetDurationFrames() const
SegmentDetection & WithDurationFrames(long long value)
SegmentDetection & WithStartTimecodeSMPTE(const char *value)
const Aws::String & GetDurationSMPTE() const
const Aws::String & GetStartTimecodeSMPTE() const
void SetStartTimecodeSMPTE(Aws::String &&value)
bool TypeHasBeenSet() const
bool StartFrameNumberHasBeenSet() const
bool DurationSMPTEHasBeenSet() const
long long GetEndTimestampMillis() const
SegmentDetection & WithEndTimecodeSMPTE(const char *value)
SegmentDetection & WithTechnicalCueSegment(const TechnicalCueSegment &value)
bool StartTimecodeSMPTEHasBeenSet() const
void SetEndTimestampMillis(long long value)
long long GetStartTimestampMillis() const
AWS_REKOGNITION_API SegmentDetection & operator=(Aws::Utils::Json::JsonView jsonValue)
SegmentDetection & WithDurationSMPTE(Aws::String &&value)
SegmentDetection & WithStartTimecodeSMPTE(Aws::String &&value)
void SetDurationMillis(long long value)
bool DurationFramesHasBeenSet() const
SegmentDetection & WithDurationMillis(long long value)
const ShotSegment & GetShotSegment() const
SegmentDetection & WithEndFrameNumber(long long value)
void SetShotSegment(ShotSegment &&value)
void SetDurationSMPTE(const Aws::String &value)
SegmentDetection & WithEndTimecodeSMPTE(const Aws::String &value)
bool StartTimestampMillisHasBeenSet() const
void SetEndTimecodeSMPTE(Aws::String &&value)
void SetType(const SegmentType &value)
void SetEndFrameNumber(long long value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue