AWS SDK for C++

AWS SDK for C++ Version 1.11.609

Loading...
Searching...
No Matches
MsSmoothGroupSettings.h
1
6#pragma once
7#include <aws/medialive/MediaLive_EXPORTS.h>
8#include <aws/core/utils/memory/stl/AWSString.h>
9#include <aws/medialive/model/SmoothGroupAudioOnlyTimecodeControl.h>
10#include <aws/medialive/model/SmoothGroupCertificateMode.h>
11#include <aws/medialive/model/OutputLocationRef.h>
12#include <aws/medialive/model/SmoothGroupEventIdMode.h>
13#include <aws/medialive/model/SmoothGroupEventStopBehavior.h>
14#include <aws/medialive/model/InputLossActionForMsSmoothOut.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#include <utility>
20
21namespace Aws
22{
23namespace Utils
24{
25namespace Json
26{
27 class JsonValue;
28 class JsonView;
29} // namespace Json
30} // namespace Utils
31namespace MediaLive
32{
33namespace Model
34{
35
42 {
43 public:
44 AWS_MEDIALIVE_API MsSmoothGroupSettings() = default;
47 AWS_MEDIALIVE_API Aws::Utils::Json::JsonValue Jsonize() const;
48
49
51
55 inline const Aws::String& GetAcquisitionPointId() const { return m_acquisitionPointId; }
56 inline bool AcquisitionPointIdHasBeenSet() const { return m_acquisitionPointIdHasBeenSet; }
57 template<typename AcquisitionPointIdT = Aws::String>
58 void SetAcquisitionPointId(AcquisitionPointIdT&& value) { m_acquisitionPointIdHasBeenSet = true; m_acquisitionPointId = std::forward<AcquisitionPointIdT>(value); }
59 template<typename AcquisitionPointIdT = Aws::String>
60 MsSmoothGroupSettings& WithAcquisitionPointId(AcquisitionPointIdT&& value) { SetAcquisitionPointId(std::forward<AcquisitionPointIdT>(value)); return *this;}
62
64
69 inline SmoothGroupAudioOnlyTimecodeControl GetAudioOnlyTimecodeControl() const { return m_audioOnlyTimecodeControl; }
70 inline bool AudioOnlyTimecodeControlHasBeenSet() const { return m_audioOnlyTimecodeControlHasBeenSet; }
71 inline void SetAudioOnlyTimecodeControl(SmoothGroupAudioOnlyTimecodeControl value) { m_audioOnlyTimecodeControlHasBeenSet = true; m_audioOnlyTimecodeControl = value; }
74
76
81 inline SmoothGroupCertificateMode GetCertificateMode() const { return m_certificateMode; }
82 inline bool CertificateModeHasBeenSet() const { return m_certificateModeHasBeenSet; }
83 inline void SetCertificateMode(SmoothGroupCertificateMode value) { m_certificateModeHasBeenSet = true; m_certificateMode = value; }
86
88
93 inline int GetConnectionRetryInterval() const { return m_connectionRetryInterval; }
94 inline bool ConnectionRetryIntervalHasBeenSet() const { return m_connectionRetryIntervalHasBeenSet; }
95 inline void SetConnectionRetryInterval(int value) { m_connectionRetryIntervalHasBeenSet = true; m_connectionRetryInterval = value; }
98
100
104 inline const OutputLocationRef& GetDestination() const { return m_destination; }
105 inline bool DestinationHasBeenSet() const { return m_destinationHasBeenSet; }
106 template<typename DestinationT = OutputLocationRef>
107 void SetDestination(DestinationT&& value) { m_destinationHasBeenSet = true; m_destination = std::forward<DestinationT>(value); }
108 template<typename DestinationT = OutputLocationRef>
109 MsSmoothGroupSettings& WithDestination(DestinationT&& value) { SetDestination(std::forward<DestinationT>(value)); return *this;}
111
113
119 inline const Aws::String& GetEventId() const { return m_eventId; }
120 inline bool EventIdHasBeenSet() const { return m_eventIdHasBeenSet; }
121 template<typename EventIdT = Aws::String>
122 void SetEventId(EventIdT&& value) { m_eventIdHasBeenSet = true; m_eventId = std::forward<EventIdT>(value); }
123 template<typename EventIdT = Aws::String>
124 MsSmoothGroupSettings& WithEventId(EventIdT&& value) { SetEventId(std::forward<EventIdT>(value)); return *this;}
126
128
141 inline SmoothGroupEventIdMode GetEventIdMode() const { return m_eventIdMode; }
142 inline bool EventIdModeHasBeenSet() const { return m_eventIdModeHasBeenSet; }
143 inline void SetEventIdMode(SmoothGroupEventIdMode value) { m_eventIdModeHasBeenSet = true; m_eventIdMode = value; }
146
148
151 inline SmoothGroupEventStopBehavior GetEventStopBehavior() const { return m_eventStopBehavior; }
152 inline bool EventStopBehaviorHasBeenSet() const { return m_eventStopBehaviorHasBeenSet; }
153 inline void SetEventStopBehavior(SmoothGroupEventStopBehavior value) { m_eventStopBehaviorHasBeenSet = true; m_eventStopBehavior = value; }
156
158
161 inline int GetFilecacheDuration() const { return m_filecacheDuration; }
162 inline bool FilecacheDurationHasBeenSet() const { return m_filecacheDurationHasBeenSet; }
163 inline void SetFilecacheDuration(int value) { m_filecacheDurationHasBeenSet = true; m_filecacheDuration = value; }
164 inline MsSmoothGroupSettings& WithFilecacheDuration(int value) { SetFilecacheDuration(value); return *this;}
166
168
172 inline int GetFragmentLength() const { return m_fragmentLength; }
173 inline bool FragmentLengthHasBeenSet() const { return m_fragmentLengthHasBeenSet; }
174 inline void SetFragmentLength(int value) { m_fragmentLengthHasBeenSet = true; m_fragmentLength = value; }
175 inline MsSmoothGroupSettings& WithFragmentLength(int value) { SetFragmentLength(value); return *this;}
177
179
182 inline InputLossActionForMsSmoothOut GetInputLossAction() const { return m_inputLossAction; }
183 inline bool InputLossActionHasBeenSet() const { return m_inputLossActionHasBeenSet; }
184 inline void SetInputLossAction(InputLossActionForMsSmoothOut value) { m_inputLossActionHasBeenSet = true; m_inputLossAction = value; }
187
189
192 inline int GetNumRetries() const { return m_numRetries; }
193 inline bool NumRetriesHasBeenSet() const { return m_numRetriesHasBeenSet; }
194 inline void SetNumRetries(int value) { m_numRetriesHasBeenSet = true; m_numRetries = value; }
195 inline MsSmoothGroupSettings& WithNumRetries(int value) { SetNumRetries(value); return *this;}
197
199
203 inline int GetRestartDelay() const { return m_restartDelay; }
204 inline bool RestartDelayHasBeenSet() const { return m_restartDelayHasBeenSet; }
205 inline void SetRestartDelay(int value) { m_restartDelayHasBeenSet = true; m_restartDelay = value; }
206 inline MsSmoothGroupSettings& WithRestartDelay(int value) { SetRestartDelay(value); return *this;}
208
210
214 inline SmoothGroupSegmentationMode GetSegmentationMode() const { return m_segmentationMode; }
215 inline bool SegmentationModeHasBeenSet() const { return m_segmentationModeHasBeenSet; }
216 inline void SetSegmentationMode(SmoothGroupSegmentationMode value) { m_segmentationModeHasBeenSet = true; m_segmentationMode = value; }
219
221
224 inline int GetSendDelayMs() const { return m_sendDelayMs; }
225 inline bool SendDelayMsHasBeenSet() const { return m_sendDelayMsHasBeenSet; }
226 inline void SetSendDelayMs(int value) { m_sendDelayMsHasBeenSet = true; m_sendDelayMs = value; }
227 inline MsSmoothGroupSettings& WithSendDelayMs(int value) { SetSendDelayMs(value); return *this;}
229
231
242 inline SmoothGroupSparseTrackType GetSparseTrackType() const { return m_sparseTrackType; }
243 inline bool SparseTrackTypeHasBeenSet() const { return m_sparseTrackTypeHasBeenSet; }
244 inline void SetSparseTrackType(SmoothGroupSparseTrackType value) { m_sparseTrackTypeHasBeenSet = true; m_sparseTrackType = value; }
247
249
253 inline SmoothGroupStreamManifestBehavior GetStreamManifestBehavior() const { return m_streamManifestBehavior; }
254 inline bool StreamManifestBehaviorHasBeenSet() const { return m_streamManifestBehaviorHasBeenSet; }
255 inline void SetStreamManifestBehavior(SmoothGroupStreamManifestBehavior value) { m_streamManifestBehaviorHasBeenSet = true; m_streamManifestBehavior = value; }
258
260
264 inline const Aws::String& GetTimestampOffset() const { return m_timestampOffset; }
265 inline bool TimestampOffsetHasBeenSet() const { return m_timestampOffsetHasBeenSet; }
266 template<typename TimestampOffsetT = Aws::String>
267 void SetTimestampOffset(TimestampOffsetT&& value) { m_timestampOffsetHasBeenSet = true; m_timestampOffset = std::forward<TimestampOffsetT>(value); }
268 template<typename TimestampOffsetT = Aws::String>
269 MsSmoothGroupSettings& WithTimestampOffset(TimestampOffsetT&& value) { SetTimestampOffset(std::forward<TimestampOffsetT>(value)); return *this;}
271
273
280 inline SmoothGroupTimestampOffsetMode GetTimestampOffsetMode() const { return m_timestampOffsetMode; }
281 inline bool TimestampOffsetModeHasBeenSet() const { return m_timestampOffsetModeHasBeenSet; }
282 inline void SetTimestampOffsetMode(SmoothGroupTimestampOffsetMode value) { m_timestampOffsetModeHasBeenSet = true; m_timestampOffsetMode = value; }
285 private:
286
287 Aws::String m_acquisitionPointId;
288 bool m_acquisitionPointIdHasBeenSet = false;
289
291 bool m_audioOnlyTimecodeControlHasBeenSet = false;
292
294 bool m_certificateModeHasBeenSet = false;
295
296 int m_connectionRetryInterval{0};
297 bool m_connectionRetryIntervalHasBeenSet = false;
298
299 OutputLocationRef m_destination;
300 bool m_destinationHasBeenSet = false;
301
302 Aws::String m_eventId;
303 bool m_eventIdHasBeenSet = false;
304
306 bool m_eventIdModeHasBeenSet = false;
307
309 bool m_eventStopBehaviorHasBeenSet = false;
310
311 int m_filecacheDuration{0};
312 bool m_filecacheDurationHasBeenSet = false;
313
314 int m_fragmentLength{0};
315 bool m_fragmentLengthHasBeenSet = false;
316
318 bool m_inputLossActionHasBeenSet = false;
319
320 int m_numRetries{0};
321 bool m_numRetriesHasBeenSet = false;
322
323 int m_restartDelay{0};
324 bool m_restartDelayHasBeenSet = false;
325
327 bool m_segmentationModeHasBeenSet = false;
328
329 int m_sendDelayMs{0};
330 bool m_sendDelayMsHasBeenSet = false;
331
333 bool m_sparseTrackTypeHasBeenSet = false;
334
336 bool m_streamManifestBehaviorHasBeenSet = false;
337
338 Aws::String m_timestampOffset;
339 bool m_timestampOffsetHasBeenSet = false;
340
342 bool m_timestampOffsetModeHasBeenSet = false;
343 };
344
345} // namespace Model
346} // namespace MediaLive
347} // 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