AWS SDK for C++

AWS SDK for C++ Version 1.11.440

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();
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 inline void SetAcquisitionPointId(const Aws::String& value) { m_acquisitionPointIdHasBeenSet = true; m_acquisitionPointId = value; }
58 inline void SetAcquisitionPointId(Aws::String&& value) { m_acquisitionPointIdHasBeenSet = true; m_acquisitionPointId = std::move(value); }
59 inline void SetAcquisitionPointId(const char* value) { m_acquisitionPointIdHasBeenSet = true; m_acquisitionPointId.assign(value); }
61 inline MsSmoothGroupSettings& WithAcquisitionPointId(Aws::String&& value) { SetAcquisitionPointId(std::move(value)); return *this;}
62 inline MsSmoothGroupSettings& WithAcquisitionPointId(const char* value) { SetAcquisitionPointId(value); return *this;}
64
66
71 inline const SmoothGroupAudioOnlyTimecodeControl& GetAudioOnlyTimecodeControl() const{ return m_audioOnlyTimecodeControl; }
72 inline bool AudioOnlyTimecodeControlHasBeenSet() const { return m_audioOnlyTimecodeControlHasBeenSet; }
73 inline void SetAudioOnlyTimecodeControl(const SmoothGroupAudioOnlyTimecodeControl& value) { m_audioOnlyTimecodeControlHasBeenSet = true; m_audioOnlyTimecodeControl = value; }
74 inline void SetAudioOnlyTimecodeControl(SmoothGroupAudioOnlyTimecodeControl&& value) { m_audioOnlyTimecodeControlHasBeenSet = true; m_audioOnlyTimecodeControl = std::move(value); }
78
80
85 inline const SmoothGroupCertificateMode& GetCertificateMode() const{ return m_certificateMode; }
86 inline bool CertificateModeHasBeenSet() const { return m_certificateModeHasBeenSet; }
87 inline void SetCertificateMode(const SmoothGroupCertificateMode& value) { m_certificateModeHasBeenSet = true; m_certificateMode = value; }
88 inline void SetCertificateMode(SmoothGroupCertificateMode&& value) { m_certificateModeHasBeenSet = true; m_certificateMode = std::move(value); }
92
94
99 inline int GetConnectionRetryInterval() const{ return m_connectionRetryInterval; }
100 inline bool ConnectionRetryIntervalHasBeenSet() const { return m_connectionRetryIntervalHasBeenSet; }
101 inline void SetConnectionRetryInterval(int value) { m_connectionRetryIntervalHasBeenSet = true; m_connectionRetryInterval = value; }
104
106
110 inline const OutputLocationRef& GetDestination() const{ return m_destination; }
111 inline bool DestinationHasBeenSet() const { return m_destinationHasBeenSet; }
112 inline void SetDestination(const OutputLocationRef& value) { m_destinationHasBeenSet = true; m_destination = value; }
113 inline void SetDestination(OutputLocationRef&& value) { m_destinationHasBeenSet = true; m_destination = std::move(value); }
114 inline MsSmoothGroupSettings& WithDestination(const OutputLocationRef& value) { SetDestination(value); return *this;}
115 inline MsSmoothGroupSettings& WithDestination(OutputLocationRef&& value) { SetDestination(std::move(value)); return *this;}
117
119
125 inline const Aws::String& GetEventId() const{ return m_eventId; }
126 inline bool EventIdHasBeenSet() const { return m_eventIdHasBeenSet; }
127 inline void SetEventId(const Aws::String& value) { m_eventIdHasBeenSet = true; m_eventId = value; }
128 inline void SetEventId(Aws::String&& value) { m_eventIdHasBeenSet = true; m_eventId = std::move(value); }
129 inline void SetEventId(const char* value) { m_eventIdHasBeenSet = true; m_eventId.assign(value); }
130 inline MsSmoothGroupSettings& WithEventId(const Aws::String& value) { SetEventId(value); return *this;}
131 inline MsSmoothGroupSettings& WithEventId(Aws::String&& value) { SetEventId(std::move(value)); return *this;}
132 inline MsSmoothGroupSettings& WithEventId(const char* value) { SetEventId(value); return *this;}
134
136
149 inline const SmoothGroupEventIdMode& GetEventIdMode() const{ return m_eventIdMode; }
150 inline bool EventIdModeHasBeenSet() const { return m_eventIdModeHasBeenSet; }
151 inline void SetEventIdMode(const SmoothGroupEventIdMode& value) { m_eventIdModeHasBeenSet = true; m_eventIdMode = value; }
152 inline void SetEventIdMode(SmoothGroupEventIdMode&& value) { m_eventIdModeHasBeenSet = true; m_eventIdMode = std::move(value); }
153 inline MsSmoothGroupSettings& WithEventIdMode(const SmoothGroupEventIdMode& value) { SetEventIdMode(value); return *this;}
154 inline MsSmoothGroupSettings& WithEventIdMode(SmoothGroupEventIdMode&& value) { SetEventIdMode(std::move(value)); return *this;}
156
158
161 inline const SmoothGroupEventStopBehavior& GetEventStopBehavior() const{ return m_eventStopBehavior; }
162 inline bool EventStopBehaviorHasBeenSet() const { return m_eventStopBehaviorHasBeenSet; }
163 inline void SetEventStopBehavior(const SmoothGroupEventStopBehavior& value) { m_eventStopBehaviorHasBeenSet = true; m_eventStopBehavior = value; }
164 inline void SetEventStopBehavior(SmoothGroupEventStopBehavior&& value) { m_eventStopBehaviorHasBeenSet = true; m_eventStopBehavior = std::move(value); }
168
170
173 inline int GetFilecacheDuration() const{ return m_filecacheDuration; }
174 inline bool FilecacheDurationHasBeenSet() const { return m_filecacheDurationHasBeenSet; }
175 inline void SetFilecacheDuration(int value) { m_filecacheDurationHasBeenSet = true; m_filecacheDuration = value; }
176 inline MsSmoothGroupSettings& WithFilecacheDuration(int value) { SetFilecacheDuration(value); return *this;}
178
180
184 inline int GetFragmentLength() const{ return m_fragmentLength; }
185 inline bool FragmentLengthHasBeenSet() const { return m_fragmentLengthHasBeenSet; }
186 inline void SetFragmentLength(int value) { m_fragmentLengthHasBeenSet = true; m_fragmentLength = value; }
187 inline MsSmoothGroupSettings& WithFragmentLength(int value) { SetFragmentLength(value); return *this;}
189
191
194 inline const InputLossActionForMsSmoothOut& GetInputLossAction() const{ return m_inputLossAction; }
195 inline bool InputLossActionHasBeenSet() const { return m_inputLossActionHasBeenSet; }
196 inline void SetInputLossAction(const InputLossActionForMsSmoothOut& value) { m_inputLossActionHasBeenSet = true; m_inputLossAction = value; }
197 inline void SetInputLossAction(InputLossActionForMsSmoothOut&& value) { m_inputLossActionHasBeenSet = true; m_inputLossAction = std::move(value); }
201
203
206 inline int GetNumRetries() const{ return m_numRetries; }
207 inline bool NumRetriesHasBeenSet() const { return m_numRetriesHasBeenSet; }
208 inline void SetNumRetries(int value) { m_numRetriesHasBeenSet = true; m_numRetries = value; }
209 inline MsSmoothGroupSettings& WithNumRetries(int value) { SetNumRetries(value); return *this;}
211
213
217 inline int GetRestartDelay() const{ return m_restartDelay; }
218 inline bool RestartDelayHasBeenSet() const { return m_restartDelayHasBeenSet; }
219 inline void SetRestartDelay(int value) { m_restartDelayHasBeenSet = true; m_restartDelay = value; }
220 inline MsSmoothGroupSettings& WithRestartDelay(int value) { SetRestartDelay(value); return *this;}
222
224
228 inline const SmoothGroupSegmentationMode& GetSegmentationMode() const{ return m_segmentationMode; }
229 inline bool SegmentationModeHasBeenSet() const { return m_segmentationModeHasBeenSet; }
230 inline void SetSegmentationMode(const SmoothGroupSegmentationMode& value) { m_segmentationModeHasBeenSet = true; m_segmentationMode = value; }
231 inline void SetSegmentationMode(SmoothGroupSegmentationMode&& value) { m_segmentationModeHasBeenSet = true; m_segmentationMode = std::move(value); }
235
237
240 inline int GetSendDelayMs() const{ return m_sendDelayMs; }
241 inline bool SendDelayMsHasBeenSet() const { return m_sendDelayMsHasBeenSet; }
242 inline void SetSendDelayMs(int value) { m_sendDelayMsHasBeenSet = true; m_sendDelayMs = value; }
243 inline MsSmoothGroupSettings& WithSendDelayMs(int value) { SetSendDelayMs(value); return *this;}
245
247
258 inline const SmoothGroupSparseTrackType& GetSparseTrackType() const{ return m_sparseTrackType; }
259 inline bool SparseTrackTypeHasBeenSet() const { return m_sparseTrackTypeHasBeenSet; }
260 inline void SetSparseTrackType(const SmoothGroupSparseTrackType& value) { m_sparseTrackTypeHasBeenSet = true; m_sparseTrackType = value; }
261 inline void SetSparseTrackType(SmoothGroupSparseTrackType&& value) { m_sparseTrackTypeHasBeenSet = true; m_sparseTrackType = std::move(value); }
265
267
271 inline const SmoothGroupStreamManifestBehavior& GetStreamManifestBehavior() const{ return m_streamManifestBehavior; }
272 inline bool StreamManifestBehaviorHasBeenSet() const { return m_streamManifestBehaviorHasBeenSet; }
273 inline void SetStreamManifestBehavior(const SmoothGroupStreamManifestBehavior& value) { m_streamManifestBehaviorHasBeenSet = true; m_streamManifestBehavior = value; }
274 inline void SetStreamManifestBehavior(SmoothGroupStreamManifestBehavior&& value) { m_streamManifestBehaviorHasBeenSet = true; m_streamManifestBehavior = std::move(value); }
278
280
284 inline const Aws::String& GetTimestampOffset() const{ return m_timestampOffset; }
285 inline bool TimestampOffsetHasBeenSet() const { return m_timestampOffsetHasBeenSet; }
286 inline void SetTimestampOffset(const Aws::String& value) { m_timestampOffsetHasBeenSet = true; m_timestampOffset = value; }
287 inline void SetTimestampOffset(Aws::String&& value) { m_timestampOffsetHasBeenSet = true; m_timestampOffset = std::move(value); }
288 inline void SetTimestampOffset(const char* value) { m_timestampOffsetHasBeenSet = true; m_timestampOffset.assign(value); }
289 inline MsSmoothGroupSettings& WithTimestampOffset(const Aws::String& value) { SetTimestampOffset(value); return *this;}
290 inline MsSmoothGroupSettings& WithTimestampOffset(Aws::String&& value) { SetTimestampOffset(std::move(value)); return *this;}
291 inline MsSmoothGroupSettings& WithTimestampOffset(const char* value) { SetTimestampOffset(value); return *this;}
293
295
302 inline const SmoothGroupTimestampOffsetMode& GetTimestampOffsetMode() const{ return m_timestampOffsetMode; }
303 inline bool TimestampOffsetModeHasBeenSet() const { return m_timestampOffsetModeHasBeenSet; }
304 inline void SetTimestampOffsetMode(const SmoothGroupTimestampOffsetMode& value) { m_timestampOffsetModeHasBeenSet = true; m_timestampOffsetMode = value; }
305 inline void SetTimestampOffsetMode(SmoothGroupTimestampOffsetMode&& value) { m_timestampOffsetModeHasBeenSet = true; m_timestampOffsetMode = std::move(value); }
309 private:
310
311 Aws::String m_acquisitionPointId;
312 bool m_acquisitionPointIdHasBeenSet = false;
313
314 SmoothGroupAudioOnlyTimecodeControl m_audioOnlyTimecodeControl;
315 bool m_audioOnlyTimecodeControlHasBeenSet = false;
316
317 SmoothGroupCertificateMode m_certificateMode;
318 bool m_certificateModeHasBeenSet = false;
319
320 int m_connectionRetryInterval;
321 bool m_connectionRetryIntervalHasBeenSet = false;
322
323 OutputLocationRef m_destination;
324 bool m_destinationHasBeenSet = false;
325
326 Aws::String m_eventId;
327 bool m_eventIdHasBeenSet = false;
328
329 SmoothGroupEventIdMode m_eventIdMode;
330 bool m_eventIdModeHasBeenSet = false;
331
332 SmoothGroupEventStopBehavior m_eventStopBehavior;
333 bool m_eventStopBehaviorHasBeenSet = false;
334
335 int m_filecacheDuration;
336 bool m_filecacheDurationHasBeenSet = false;
337
338 int m_fragmentLength;
339 bool m_fragmentLengthHasBeenSet = false;
340
341 InputLossActionForMsSmoothOut m_inputLossAction;
342 bool m_inputLossActionHasBeenSet = false;
343
344 int m_numRetries;
345 bool m_numRetriesHasBeenSet = false;
346
347 int m_restartDelay;
348 bool m_restartDelayHasBeenSet = false;
349
350 SmoothGroupSegmentationMode m_segmentationMode;
351 bool m_segmentationModeHasBeenSet = false;
352
353 int m_sendDelayMs;
354 bool m_sendDelayMsHasBeenSet = false;
355
356 SmoothGroupSparseTrackType m_sparseTrackType;
357 bool m_sparseTrackTypeHasBeenSet = false;
358
359 SmoothGroupStreamManifestBehavior m_streamManifestBehavior;
360 bool m_streamManifestBehaviorHasBeenSet = false;
361
362 Aws::String m_timestampOffset;
363 bool m_timestampOffsetHasBeenSet = false;
364
365 SmoothGroupTimestampOffsetMode m_timestampOffsetMode;
366 bool m_timestampOffsetModeHasBeenSet = false;
367 };
368
369} // namespace Model
370} // namespace MediaLive
371} // namespace Aws
AWS_MEDIALIVE_API Aws::Utils::Json::JsonValue Jsonize() const
MsSmoothGroupSettings & WithTimestampOffset(const Aws::String &value)
MsSmoothGroupSettings & WithSparseTrackType(const SmoothGroupSparseTrackType &value)
MsSmoothGroupSettings & WithStreamManifestBehavior(SmoothGroupStreamManifestBehavior &&value)
MsSmoothGroupSettings & WithAcquisitionPointId(const Aws::String &value)
MsSmoothGroupSettings & WithInputLossAction(const InputLossActionForMsSmoothOut &value)
MsSmoothGroupSettings & WithDestination(const OutputLocationRef &value)
MsSmoothGroupSettings & WithDestination(OutputLocationRef &&value)
const SmoothGroupStreamManifestBehavior & GetStreamManifestBehavior() const
MsSmoothGroupSettings & WithEventIdMode(SmoothGroupEventIdMode &&value)
void SetEventIdMode(SmoothGroupEventIdMode &&value)
MsSmoothGroupSettings & WithEventStopBehavior(SmoothGroupEventStopBehavior &&value)
MsSmoothGroupSettings & WithCertificateMode(SmoothGroupCertificateMode &&value)
MsSmoothGroupSettings & WithCertificateMode(const SmoothGroupCertificateMode &value)
MsSmoothGroupSettings & WithConnectionRetryInterval(int value)
const SmoothGroupSegmentationMode & GetSegmentationMode() const
void SetDestination(const OutputLocationRef &value)
AWS_MEDIALIVE_API MsSmoothGroupSettings & operator=(Aws::Utils::Json::JsonView jsonValue)
MsSmoothGroupSettings & WithEventId(const Aws::String &value)
void SetCertificateMode(SmoothGroupCertificateMode &&value)
MsSmoothGroupSettings & WithAcquisitionPointId(const char *value)
MsSmoothGroupSettings & WithTimestampOffsetMode(const SmoothGroupTimestampOffsetMode &value)
void SetStreamManifestBehavior(const SmoothGroupStreamManifestBehavior &value)
void SetAudioOnlyTimecodeControl(const SmoothGroupAudioOnlyTimecodeControl &value)
const SmoothGroupEventStopBehavior & GetEventStopBehavior() const
void SetSegmentationMode(const SmoothGroupSegmentationMode &value)
void SetAudioOnlyTimecodeControl(SmoothGroupAudioOnlyTimecodeControl &&value)
MsSmoothGroupSettings & WithAudioOnlyTimecodeControl(SmoothGroupAudioOnlyTimecodeControl &&value)
MsSmoothGroupSettings & WithStreamManifestBehavior(const SmoothGroupStreamManifestBehavior &value)
MsSmoothGroupSettings & WithTimestampOffset(Aws::String &&value)
const SmoothGroupEventIdMode & GetEventIdMode() const
MsSmoothGroupSettings & WithNumRetries(int value)
MsSmoothGroupSettings & WithTimestampOffset(const char *value)
void SetTimestampOffsetMode(SmoothGroupTimestampOffsetMode &&value)
MsSmoothGroupSettings & WithEventId(const char *value)
MsSmoothGroupSettings & WithEventIdMode(const SmoothGroupEventIdMode &value)
const OutputLocationRef & GetDestination() const
MsSmoothGroupSettings & WithSegmentationMode(const SmoothGroupSegmentationMode &value)
MsSmoothGroupSettings & WithTimestampOffsetMode(SmoothGroupTimestampOffsetMode &&value)
void SetTimestampOffsetMode(const SmoothGroupTimestampOffsetMode &value)
const SmoothGroupCertificateMode & GetCertificateMode() const
MsSmoothGroupSettings & WithRestartDelay(int value)
MsSmoothGroupSettings & WithInputLossAction(InputLossActionForMsSmoothOut &&value)
MsSmoothGroupSettings & WithFilecacheDuration(int value)
MsSmoothGroupSettings & WithEventStopBehavior(const SmoothGroupEventStopBehavior &value)
const SmoothGroupAudioOnlyTimecodeControl & GetAudioOnlyTimecodeControl() const
MsSmoothGroupSettings & WithSendDelayMs(int value)
MsSmoothGroupSettings & WithFragmentLength(int value)
void SetInputLossAction(const InputLossActionForMsSmoothOut &value)
const SmoothGroupTimestampOffsetMode & GetTimestampOffsetMode() const
void SetAcquisitionPointId(const Aws::String &value)
void SetEventStopBehavior(const SmoothGroupEventStopBehavior &value)
MsSmoothGroupSettings & WithAudioOnlyTimecodeControl(const SmoothGroupAudioOnlyTimecodeControl &value)
MsSmoothGroupSettings & WithSparseTrackType(SmoothGroupSparseTrackType &&value)
void SetSegmentationMode(SmoothGroupSegmentationMode &&value)
AWS_MEDIALIVE_API MsSmoothGroupSettings(Aws::Utils::Json::JsonView jsonValue)
void SetStreamManifestBehavior(SmoothGroupStreamManifestBehavior &&value)
MsSmoothGroupSettings & WithEventId(Aws::String &&value)
MsSmoothGroupSettings & WithSegmentationMode(SmoothGroupSegmentationMode &&value)
void SetCertificateMode(const SmoothGroupCertificateMode &value)
void SetEventIdMode(const SmoothGroupEventIdMode &value)
void SetSparseTrackType(SmoothGroupSparseTrackType &&value)
void SetEventStopBehavior(SmoothGroupEventStopBehavior &&value)
void SetInputLossAction(InputLossActionForMsSmoothOut &&value)
MsSmoothGroupSettings & WithAcquisitionPointId(Aws::String &&value)
const SmoothGroupSparseTrackType & GetSparseTrackType() const
const InputLossActionForMsSmoothOut & GetInputLossAction() const
void SetSparseTrackType(const SmoothGroupSparseTrackType &value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue