AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
SegmentDetection.h
1
6#pragma once
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>
12#include <utility>
13
14namespace Aws
15{
16namespace Utils
17{
18namespace Json
19{
20 class JsonValue;
21 class JsonView;
22} // namespace Json
23} // namespace Utils
24namespace Rekognition
25{
26namespace Model
27{
28
38 {
39 public:
40 AWS_REKOGNITION_API SegmentDetection();
41 AWS_REKOGNITION_API SegmentDetection(Aws::Utils::Json::JsonView jsonValue);
42 AWS_REKOGNITION_API SegmentDetection& operator=(Aws::Utils::Json::JsonView jsonValue);
43 AWS_REKOGNITION_API Aws::Utils::Json::JsonValue Jsonize() const;
44
45
47
51 inline const SegmentType& GetType() const{ return m_type; }
52 inline bool TypeHasBeenSet() const { return m_typeHasBeenSet; }
53 inline void SetType(const SegmentType& value) { m_typeHasBeenSet = true; m_type = value; }
54 inline void SetType(SegmentType&& value) { m_typeHasBeenSet = true; m_type = std::move(value); }
55 inline SegmentDetection& WithType(const SegmentType& value) { SetType(value); return *this;}
56 inline SegmentDetection& WithType(SegmentType&& value) { SetType(std::move(value)); return *this;}
58
60
66 inline long long GetStartTimestampMillis() const{ return m_startTimestampMillis; }
67 inline bool StartTimestampMillisHasBeenSet() const { return m_startTimestampMillisHasBeenSet; }
68 inline void SetStartTimestampMillis(long long value) { m_startTimestampMillisHasBeenSet = true; m_startTimestampMillis = value; }
69 inline SegmentDetection& WithStartTimestampMillis(long long value) { SetStartTimestampMillis(value); return *this;}
71
73
77 inline long long GetEndTimestampMillis() const{ return m_endTimestampMillis; }
78 inline bool EndTimestampMillisHasBeenSet() const { return m_endTimestampMillisHasBeenSet; }
79 inline void SetEndTimestampMillis(long long value) { m_endTimestampMillisHasBeenSet = true; m_endTimestampMillis = value; }
80 inline SegmentDetection& WithEndTimestampMillis(long long value) { SetEndTimestampMillis(value); return *this;}
82
84
87 inline long long GetDurationMillis() const{ return m_durationMillis; }
88 inline bool DurationMillisHasBeenSet() const { return m_durationMillisHasBeenSet; }
89 inline void SetDurationMillis(long long value) { m_durationMillisHasBeenSet = true; m_durationMillis = value; }
90 inline SegmentDetection& WithDurationMillis(long long value) { SetDurationMillis(value); return *this;}
92
94
99 inline const Aws::String& GetStartTimecodeSMPTE() const{ return m_startTimecodeSMPTE; }
100 inline bool StartTimecodeSMPTEHasBeenSet() const { return m_startTimecodeSMPTEHasBeenSet; }
101 inline void SetStartTimecodeSMPTE(const Aws::String& value) { m_startTimecodeSMPTEHasBeenSet = true; m_startTimecodeSMPTE = value; }
102 inline void SetStartTimecodeSMPTE(Aws::String&& value) { m_startTimecodeSMPTEHasBeenSet = true; m_startTimecodeSMPTE = std::move(value); }
103 inline void SetStartTimecodeSMPTE(const char* value) { m_startTimecodeSMPTEHasBeenSet = true; m_startTimecodeSMPTE.assign(value); }
104 inline SegmentDetection& WithStartTimecodeSMPTE(const Aws::String& value) { SetStartTimecodeSMPTE(value); return *this;}
105 inline SegmentDetection& WithStartTimecodeSMPTE(Aws::String&& value) { SetStartTimecodeSMPTE(std::move(value)); return *this;}
106 inline SegmentDetection& WithStartTimecodeSMPTE(const char* value) { SetStartTimecodeSMPTE(value); return *this;}
108
110
115 inline const Aws::String& GetEndTimecodeSMPTE() const{ return m_endTimecodeSMPTE; }
116 inline bool EndTimecodeSMPTEHasBeenSet() const { return m_endTimecodeSMPTEHasBeenSet; }
117 inline void SetEndTimecodeSMPTE(const Aws::String& value) { m_endTimecodeSMPTEHasBeenSet = true; m_endTimecodeSMPTE = value; }
118 inline void SetEndTimecodeSMPTE(Aws::String&& value) { m_endTimecodeSMPTEHasBeenSet = true; m_endTimecodeSMPTE = std::move(value); }
119 inline void SetEndTimecodeSMPTE(const char* value) { m_endTimecodeSMPTEHasBeenSet = true; m_endTimecodeSMPTE.assign(value); }
120 inline SegmentDetection& WithEndTimecodeSMPTE(const Aws::String& value) { SetEndTimecodeSMPTE(value); return *this;}
121 inline SegmentDetection& WithEndTimecodeSMPTE(Aws::String&& value) { SetEndTimecodeSMPTE(std::move(value)); return *this;}
122 inline SegmentDetection& WithEndTimecodeSMPTE(const char* value) { SetEndTimecodeSMPTE(value); return *this;}
124
126
129 inline const Aws::String& GetDurationSMPTE() const{ return m_durationSMPTE; }
130 inline bool DurationSMPTEHasBeenSet() const { return m_durationSMPTEHasBeenSet; }
131 inline void SetDurationSMPTE(const Aws::String& value) { m_durationSMPTEHasBeenSet = true; m_durationSMPTE = value; }
132 inline void SetDurationSMPTE(Aws::String&& value) { m_durationSMPTEHasBeenSet = true; m_durationSMPTE = std::move(value); }
133 inline void SetDurationSMPTE(const char* value) { m_durationSMPTEHasBeenSet = true; m_durationSMPTE.assign(value); }
134 inline SegmentDetection& WithDurationSMPTE(const Aws::String& value) { SetDurationSMPTE(value); return *this;}
135 inline SegmentDetection& WithDurationSMPTE(Aws::String&& value) { SetDurationSMPTE(std::move(value)); return *this;}
136 inline SegmentDetection& WithDurationSMPTE(const char* value) { SetDurationSMPTE(value); return *this;}
138
140
144 inline const TechnicalCueSegment& GetTechnicalCueSegment() const{ return m_technicalCueSegment; }
145 inline bool TechnicalCueSegmentHasBeenSet() const { return m_technicalCueSegmentHasBeenSet; }
146 inline void SetTechnicalCueSegment(const TechnicalCueSegment& value) { m_technicalCueSegmentHasBeenSet = true; m_technicalCueSegment = value; }
147 inline void SetTechnicalCueSegment(TechnicalCueSegment&& value) { m_technicalCueSegmentHasBeenSet = true; m_technicalCueSegment = std::move(value); }
149 inline SegmentDetection& WithTechnicalCueSegment(TechnicalCueSegment&& value) { SetTechnicalCueSegment(std::move(value)); return *this;}
151
153
157 inline const ShotSegment& GetShotSegment() const{ return m_shotSegment; }
158 inline bool ShotSegmentHasBeenSet() const { return m_shotSegmentHasBeenSet; }
159 inline void SetShotSegment(const ShotSegment& value) { m_shotSegmentHasBeenSet = true; m_shotSegment = value; }
160 inline void SetShotSegment(ShotSegment&& value) { m_shotSegmentHasBeenSet = true; m_shotSegment = std::move(value); }
161 inline SegmentDetection& WithShotSegment(const ShotSegment& value) { SetShotSegment(value); return *this;}
162 inline SegmentDetection& WithShotSegment(ShotSegment&& value) { SetShotSegment(std::move(value)); return *this;}
164
166
170 inline long long GetStartFrameNumber() const{ return m_startFrameNumber; }
171 inline bool StartFrameNumberHasBeenSet() const { return m_startFrameNumberHasBeenSet; }
172 inline void SetStartFrameNumber(long long value) { m_startFrameNumberHasBeenSet = true; m_startFrameNumber = value; }
173 inline SegmentDetection& WithStartFrameNumber(long long value) { SetStartFrameNumber(value); return *this;}
175
177
181 inline long long GetEndFrameNumber() const{ return m_endFrameNumber; }
182 inline bool EndFrameNumberHasBeenSet() const { return m_endFrameNumberHasBeenSet; }
183 inline void SetEndFrameNumber(long long value) { m_endFrameNumberHasBeenSet = true; m_endFrameNumber = value; }
184 inline SegmentDetection& WithEndFrameNumber(long long value) { SetEndFrameNumber(value); return *this;}
186
188
191 inline long long GetDurationFrames() const{ return m_durationFrames; }
192 inline bool DurationFramesHasBeenSet() const { return m_durationFramesHasBeenSet; }
193 inline void SetDurationFrames(long long value) { m_durationFramesHasBeenSet = true; m_durationFrames = value; }
194 inline SegmentDetection& WithDurationFrames(long long value) { SetDurationFrames(value); return *this;}
196 private:
197
198 SegmentType m_type;
199 bool m_typeHasBeenSet = false;
200
201 long long m_startTimestampMillis;
202 bool m_startTimestampMillisHasBeenSet = false;
203
204 long long m_endTimestampMillis;
205 bool m_endTimestampMillisHasBeenSet = false;
206
207 long long m_durationMillis;
208 bool m_durationMillisHasBeenSet = false;
209
210 Aws::String m_startTimecodeSMPTE;
211 bool m_startTimecodeSMPTEHasBeenSet = false;
212
213 Aws::String m_endTimecodeSMPTE;
214 bool m_endTimecodeSMPTEHasBeenSet = false;
215
216 Aws::String m_durationSMPTE;
217 bool m_durationSMPTEHasBeenSet = false;
218
219 TechnicalCueSegment m_technicalCueSegment;
220 bool m_technicalCueSegmentHasBeenSet = false;
221
222 ShotSegment m_shotSegment;
223 bool m_shotSegmentHasBeenSet = false;
224
225 long long m_startFrameNumber;
226 bool m_startFrameNumberHasBeenSet = false;
227
228 long long m_endFrameNumber;
229 bool m_endFrameNumberHasBeenSet = false;
230
231 long long m_durationFrames;
232 bool m_durationFramesHasBeenSet = false;
233 };
234
235} // namespace Model
236} // namespace Rekognition
237} // namespace Aws
SegmentDetection & WithType(SegmentType &&value)
void SetTechnicalCueSegment(const TechnicalCueSegment &value)
SegmentDetection & WithStartTimestampMillis(long long value)
SegmentDetection & WithType(const SegmentType &value)
SegmentDetection & WithStartFrameNumber(long long value)
SegmentDetection & WithDurationSMPTE(const char *value)
const Aws::String & GetEndTimecodeSMPTE() const
AWS_REKOGNITION_API SegmentDetection(Aws::Utils::Json::JsonView jsonValue)
SegmentDetection & WithTechnicalCueSegment(TechnicalCueSegment &&value)
SegmentDetection & WithShotSegment(const ShotSegment &value)
SegmentDetection & WithShotSegment(ShotSegment &&value)
void SetTechnicalCueSegment(TechnicalCueSegment &&value)
SegmentDetection & WithEndTimestampMillis(long long value)
SegmentDetection & WithDurationSMPTE(const Aws::String &value)
SegmentDetection & WithStartTimecodeSMPTE(const Aws::String &value)
SegmentDetection & WithEndTimecodeSMPTE(Aws::String &&value)
const TechnicalCueSegment & GetTechnicalCueSegment() const
void SetEndTimecodeSMPTE(const Aws::String &value)
AWS_REKOGNITION_API Aws::Utils::Json::JsonValue Jsonize() const
void SetShotSegment(const ShotSegment &value)
void SetStartTimecodeSMPTE(const Aws::String &value)
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)
SegmentDetection & WithEndTimecodeSMPTE(const char *value)
SegmentDetection & WithTechnicalCueSegment(const TechnicalCueSegment &value)
AWS_REKOGNITION_API SegmentDetection & operator=(Aws::Utils::Json::JsonView jsonValue)
SegmentDetection & WithDurationSMPTE(Aws::String &&value)
SegmentDetection & WithStartTimecodeSMPTE(Aws::String &&value)
SegmentDetection & WithDurationMillis(long long value)
const ShotSegment & GetShotSegment() const
SegmentDetection & WithEndFrameNumber(long long value)
void SetDurationSMPTE(const Aws::String &value)
SegmentDetection & WithEndTimecodeSMPTE(const Aws::String &value)
void SetEndTimecodeSMPTE(Aws::String &&value)
void SetType(const SegmentType &value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue