AWS SDK for C++

AWS SDK for C++ Version 1.11.752

Loading...
Searching...
No Matches
MsSmoothGroupSettings.h
1
6#pragma once
7#include <aws/core/utils/memory/stl/AWSString.h>
8#include <aws/medialive/MediaLive_EXPORTS.h>
9#include <aws/medialive/model/InputLossActionForMsSmoothOut.h>
10#include <aws/medialive/model/OutputLocationRef.h>
11#include <aws/medialive/model/SmoothGroupAudioOnlyTimecodeControl.h>
12#include <aws/medialive/model/SmoothGroupCertificateMode.h>
13#include <aws/medialive/model/SmoothGroupEventIdMode.h>
14#include <aws/medialive/model/SmoothGroupEventStopBehavior.h>
15#include <aws/medialive/model/SmoothGroupSegmentationMode.h>
16#include <aws/medialive/model/SmoothGroupSparseTrackType.h>
17#include <aws/medialive/model/SmoothGroupStreamManifestBehavior.h>
18#include <aws/medialive/model/SmoothGroupTimestampOffsetMode.h>
19
20#include <utility>
21
22namespace Aws {
23namespace Utils {
24namespace Json {
25class JsonValue;
26class JsonView;
27} // namespace Json
28} // namespace Utils
29namespace MediaLive {
30namespace Model {
31
38 public:
39 AWS_MEDIALIVE_API MsSmoothGroupSettings() = default;
42 AWS_MEDIALIVE_API Aws::Utils::Json::JsonValue Jsonize() const;
43
45
49 inline const Aws::String& GetAcquisitionPointId() const { return m_acquisitionPointId; }
50 inline bool AcquisitionPointIdHasBeenSet() const { return m_acquisitionPointIdHasBeenSet; }
51 template <typename AcquisitionPointIdT = Aws::String>
52 void SetAcquisitionPointId(AcquisitionPointIdT&& value) {
53 m_acquisitionPointIdHasBeenSet = true;
54 m_acquisitionPointId = std::forward<AcquisitionPointIdT>(value);
55 }
56 template <typename AcquisitionPointIdT = Aws::String>
57 MsSmoothGroupSettings& WithAcquisitionPointId(AcquisitionPointIdT&& value) {
58 SetAcquisitionPointId(std::forward<AcquisitionPointIdT>(value));
59 return *this;
60 }
62
64
69 inline SmoothGroupAudioOnlyTimecodeControl GetAudioOnlyTimecodeControl() const { return m_audioOnlyTimecodeControl; }
70 inline bool AudioOnlyTimecodeControlHasBeenSet() const { return m_audioOnlyTimecodeControlHasBeenSet; }
72 m_audioOnlyTimecodeControlHasBeenSet = true;
73 m_audioOnlyTimecodeControl = value;
74 }
77 return *this;
78 }
80
82
87 inline SmoothGroupCertificateMode GetCertificateMode() const { return m_certificateMode; }
88 inline bool CertificateModeHasBeenSet() const { return m_certificateModeHasBeenSet; }
90 m_certificateModeHasBeenSet = true;
91 m_certificateMode = value;
92 }
94 SetCertificateMode(value);
95 return *this;
96 }
98
100
105 inline int GetConnectionRetryInterval() const { return m_connectionRetryInterval; }
106 inline bool ConnectionRetryIntervalHasBeenSet() const { return m_connectionRetryIntervalHasBeenSet; }
107 inline void SetConnectionRetryInterval(int value) {
108 m_connectionRetryIntervalHasBeenSet = true;
109 m_connectionRetryInterval = value;
110 }
113 return *this;
114 }
116
118
122 inline const OutputLocationRef& GetDestination() const { return m_destination; }
123 inline bool DestinationHasBeenSet() const { return m_destinationHasBeenSet; }
124 template <typename DestinationT = OutputLocationRef>
125 void SetDestination(DestinationT&& value) {
126 m_destinationHasBeenSet = true;
127 m_destination = std::forward<DestinationT>(value);
128 }
129 template <typename DestinationT = OutputLocationRef>
130 MsSmoothGroupSettings& WithDestination(DestinationT&& value) {
131 SetDestination(std::forward<DestinationT>(value));
132 return *this;
133 }
135
137
143 inline const Aws::String& GetEventId() const { return m_eventId; }
144 inline bool EventIdHasBeenSet() const { return m_eventIdHasBeenSet; }
145 template <typename EventIdT = Aws::String>
146 void SetEventId(EventIdT&& value) {
147 m_eventIdHasBeenSet = true;
148 m_eventId = std::forward<EventIdT>(value);
149 }
150 template <typename EventIdT = Aws::String>
152 SetEventId(std::forward<EventIdT>(value));
153 return *this;
154 }
156
158
171 inline SmoothGroupEventIdMode GetEventIdMode() const { return m_eventIdMode; }
172 inline bool EventIdModeHasBeenSet() const { return m_eventIdModeHasBeenSet; }
174 m_eventIdModeHasBeenSet = true;
175 m_eventIdMode = value;
176 }
178 SetEventIdMode(value);
179 return *this;
180 }
182
184
187 inline SmoothGroupEventStopBehavior GetEventStopBehavior() const { return m_eventStopBehavior; }
188 inline bool EventStopBehaviorHasBeenSet() const { return m_eventStopBehaviorHasBeenSet; }
190 m_eventStopBehaviorHasBeenSet = true;
191 m_eventStopBehavior = value;
192 }
195 return *this;
196 }
198
200
203 inline int GetFilecacheDuration() const { return m_filecacheDuration; }
204 inline bool FilecacheDurationHasBeenSet() const { return m_filecacheDurationHasBeenSet; }
205 inline void SetFilecacheDuration(int value) {
206 m_filecacheDurationHasBeenSet = true;
207 m_filecacheDuration = value;
208 }
211 return *this;
212 }
214
216
220 inline int GetFragmentLength() const { return m_fragmentLength; }
221 inline bool FragmentLengthHasBeenSet() const { return m_fragmentLengthHasBeenSet; }
222 inline void SetFragmentLength(int value) {
223 m_fragmentLengthHasBeenSet = true;
224 m_fragmentLength = value;
225 }
227 SetFragmentLength(value);
228 return *this;
229 }
231
233
236 inline InputLossActionForMsSmoothOut GetInputLossAction() const { return m_inputLossAction; }
237 inline bool InputLossActionHasBeenSet() const { return m_inputLossActionHasBeenSet; }
239 m_inputLossActionHasBeenSet = true;
240 m_inputLossAction = value;
241 }
243 SetInputLossAction(value);
244 return *this;
245 }
247
249
252 inline int GetNumRetries() const { return m_numRetries; }
253 inline bool NumRetriesHasBeenSet() const { return m_numRetriesHasBeenSet; }
254 inline void SetNumRetries(int value) {
255 m_numRetriesHasBeenSet = true;
256 m_numRetries = value;
257 }
259 SetNumRetries(value);
260 return *this;
261 }
263
265
269 inline int GetRestartDelay() const { return m_restartDelay; }
270 inline bool RestartDelayHasBeenSet() const { return m_restartDelayHasBeenSet; }
271 inline void SetRestartDelay(int value) {
272 m_restartDelayHasBeenSet = true;
273 m_restartDelay = value;
274 }
276 SetRestartDelay(value);
277 return *this;
278 }
280
282
286 inline SmoothGroupSegmentationMode GetSegmentationMode() const { return m_segmentationMode; }
287 inline bool SegmentationModeHasBeenSet() const { return m_segmentationModeHasBeenSet; }
289 m_segmentationModeHasBeenSet = true;
290 m_segmentationMode = value;
291 }
293 SetSegmentationMode(value);
294 return *this;
295 }
297
299
302 inline int GetSendDelayMs() const { return m_sendDelayMs; }
303 inline bool SendDelayMsHasBeenSet() const { return m_sendDelayMsHasBeenSet; }
304 inline void SetSendDelayMs(int value) {
305 m_sendDelayMsHasBeenSet = true;
306 m_sendDelayMs = value;
307 }
309 SetSendDelayMs(value);
310 return *this;
311 }
313
315
326 inline SmoothGroupSparseTrackType GetSparseTrackType() const { return m_sparseTrackType; }
327 inline bool SparseTrackTypeHasBeenSet() const { return m_sparseTrackTypeHasBeenSet; }
329 m_sparseTrackTypeHasBeenSet = true;
330 m_sparseTrackType = value;
331 }
333 SetSparseTrackType(value);
334 return *this;
335 }
337
339
343 inline SmoothGroupStreamManifestBehavior GetStreamManifestBehavior() const { return m_streamManifestBehavior; }
344 inline bool StreamManifestBehaviorHasBeenSet() const { return m_streamManifestBehaviorHasBeenSet; }
346 m_streamManifestBehaviorHasBeenSet = true;
347 m_streamManifestBehavior = value;
348 }
351 return *this;
352 }
354
356
360 inline const Aws::String& GetTimestampOffset() const { return m_timestampOffset; }
361 inline bool TimestampOffsetHasBeenSet() const { return m_timestampOffsetHasBeenSet; }
362 template <typename TimestampOffsetT = Aws::String>
363 void SetTimestampOffset(TimestampOffsetT&& value) {
364 m_timestampOffsetHasBeenSet = true;
365 m_timestampOffset = std::forward<TimestampOffsetT>(value);
366 }
367 template <typename TimestampOffsetT = Aws::String>
368 MsSmoothGroupSettings& WithTimestampOffset(TimestampOffsetT&& value) {
369 SetTimestampOffset(std::forward<TimestampOffsetT>(value));
370 return *this;
371 }
373
375
382 inline SmoothGroupTimestampOffsetMode GetTimestampOffsetMode() const { return m_timestampOffsetMode; }
383 inline bool TimestampOffsetModeHasBeenSet() const { return m_timestampOffsetModeHasBeenSet; }
385 m_timestampOffsetModeHasBeenSet = true;
386 m_timestampOffsetMode = value;
387 }
390 return *this;
391 }
393 private:
394 Aws::String m_acquisitionPointId;
395
397
399
400 int m_connectionRetryInterval{0};
401
402 OutputLocationRef m_destination;
403
404 Aws::String m_eventId;
405
407
409
410 int m_filecacheDuration{0};
411
412 int m_fragmentLength{0};
413
415
416 int m_numRetries{0};
417
418 int m_restartDelay{0};
419
421
422 int m_sendDelayMs{0};
423
425
427
428 Aws::String m_timestampOffset;
429
431 bool m_acquisitionPointIdHasBeenSet = false;
432 bool m_audioOnlyTimecodeControlHasBeenSet = false;
433 bool m_certificateModeHasBeenSet = false;
434 bool m_connectionRetryIntervalHasBeenSet = false;
435 bool m_destinationHasBeenSet = false;
436 bool m_eventIdHasBeenSet = false;
437 bool m_eventIdModeHasBeenSet = false;
438 bool m_eventStopBehaviorHasBeenSet = false;
439 bool m_filecacheDurationHasBeenSet = false;
440 bool m_fragmentLengthHasBeenSet = false;
441 bool m_inputLossActionHasBeenSet = false;
442 bool m_numRetriesHasBeenSet = false;
443 bool m_restartDelayHasBeenSet = false;
444 bool m_segmentationModeHasBeenSet = false;
445 bool m_sendDelayMsHasBeenSet = false;
446 bool m_sparseTrackTypeHasBeenSet = false;
447 bool m_streamManifestBehaviorHasBeenSet = false;
448 bool m_timestampOffsetHasBeenSet = false;
449 bool m_timestampOffsetModeHasBeenSet = false;
450};
451
452} // namespace Model
453} // namespace MediaLive
454} // namespace Aws
AWS_MEDIALIVE_API Aws::Utils::Json::JsonValue Jsonize() const
MsSmoothGroupSettings & WithEventIdMode(SmoothGroupEventIdMode value)
void SetCertificateMode(SmoothGroupCertificateMode value)
MsSmoothGroupSettings & WithInputLossAction(InputLossActionForMsSmoothOut value)
AWS_MEDIALIVE_API MsSmoothGroupSettings()=default
SmoothGroupTimestampOffsetMode GetTimestampOffsetMode() const
MsSmoothGroupSettings & WithCertificateMode(SmoothGroupCertificateMode value)
MsSmoothGroupSettings & WithConnectionRetryInterval(int value)
MsSmoothGroupSettings & WithEventId(EventIdT &&value)
AWS_MEDIALIVE_API MsSmoothGroupSettings & operator=(Aws::Utils::Json::JsonView jsonValue)
SmoothGroupSegmentationMode GetSegmentationMode() const
MsSmoothGroupSettings & WithEventStopBehavior(SmoothGroupEventStopBehavior value)
MsSmoothGroupSettings & WithStreamManifestBehavior(SmoothGroupStreamManifestBehavior value)
void SetTimestampOffsetMode(SmoothGroupTimestampOffsetMode value)
MsSmoothGroupSettings & WithTimestampOffsetMode(SmoothGroupTimestampOffsetMode value)
void SetStreamManifestBehavior(SmoothGroupStreamManifestBehavior value)
MsSmoothGroupSettings & WithDestination(DestinationT &&value)
void SetAcquisitionPointId(AcquisitionPointIdT &&value)
void SetSegmentationMode(SmoothGroupSegmentationMode value)
MsSmoothGroupSettings & WithNumRetries(int value)
MsSmoothGroupSettings & WithAudioOnlyTimecodeControl(SmoothGroupAudioOnlyTimecodeControl value)
const OutputLocationRef & GetDestination() const
void SetEventIdMode(SmoothGroupEventIdMode value)
void SetAudioOnlyTimecodeControl(SmoothGroupAudioOnlyTimecodeControl value)
MsSmoothGroupSettings & WithRestartDelay(int value)
MsSmoothGroupSettings & WithSegmentationMode(SmoothGroupSegmentationMode value)
MsSmoothGroupSettings & WithFilecacheDuration(int value)
InputLossActionForMsSmoothOut GetInputLossAction() const
SmoothGroupStreamManifestBehavior GetStreamManifestBehavior() const
void SetEventStopBehavior(SmoothGroupEventStopBehavior value)
MsSmoothGroupSettings & WithSendDelayMs(int value)
MsSmoothGroupSettings & WithFragmentLength(int value)
MsSmoothGroupSettings & WithAcquisitionPointId(AcquisitionPointIdT &&value)
MsSmoothGroupSettings & WithTimestampOffset(TimestampOffsetT &&value)
void SetInputLossAction(InputLossActionForMsSmoothOut value)
MsSmoothGroupSettings & WithSparseTrackType(SmoothGroupSparseTrackType value)
AWS_MEDIALIVE_API MsSmoothGroupSettings(Aws::Utils::Json::JsonView jsonValue)
SmoothGroupAudioOnlyTimecodeControl GetAudioOnlyTimecodeControl() const
SmoothGroupEventStopBehavior GetEventStopBehavior() const
SmoothGroupCertificateMode GetCertificateMode() const
SmoothGroupSparseTrackType GetSparseTrackType() const
void SetSparseTrackType(SmoothGroupSparseTrackType value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue