394 lines
16 KiB
C++
394 lines
16 KiB
C++
/**
|
|
* Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
|
|
* SPDX-License-Identifier: Apache-2.0.
|
|
*/
|
|
|
|
#pragma once
|
|
#include <aws/medialive/MediaLive_EXPORTS.h>
|
|
#include <aws/medialive/model/HlsId3SegmentTaggingScheduleActionSettings.h>
|
|
#include <aws/medialive/model/HlsTimedMetadataScheduleActionSettings.h>
|
|
#include <aws/medialive/model/InputPrepareScheduleActionSettings.h>
|
|
#include <aws/medialive/model/InputSwitchScheduleActionSettings.h>
|
|
#include <aws/medialive/model/PauseStateScheduleActionSettings.h>
|
|
#include <aws/medialive/model/Scte35ReturnToNetworkScheduleActionSettings.h>
|
|
#include <aws/medialive/model/Scte35SpliceInsertScheduleActionSettings.h>
|
|
#include <aws/medialive/model/Scte35TimeSignalScheduleActionSettings.h>
|
|
#include <aws/medialive/model/StaticImageActivateScheduleActionSettings.h>
|
|
#include <aws/medialive/model/StaticImageDeactivateScheduleActionSettings.h>
|
|
#include <utility>
|
|
|
|
namespace Aws
|
|
{
|
|
namespace Utils
|
|
{
|
|
namespace Json
|
|
{
|
|
class JsonValue;
|
|
class JsonView;
|
|
} // namespace Json
|
|
} // namespace Utils
|
|
namespace MediaLive
|
|
{
|
|
namespace Model
|
|
{
|
|
|
|
/**
|
|
* Holds the settings for a single schedule action.<p><h3>See Also:</h3> <a
|
|
* href="http://docs.aws.amazon.com/goto/WebAPI/medialive-2017-10-14/ScheduleActionSettings">AWS
|
|
* API Reference</a></p>
|
|
*/
|
|
class AWS_MEDIALIVE_API ScheduleActionSettings
|
|
{
|
|
public:
|
|
ScheduleActionSettings();
|
|
ScheduleActionSettings(Aws::Utils::Json::JsonView jsonValue);
|
|
ScheduleActionSettings& operator=(Aws::Utils::Json::JsonView jsonValue);
|
|
Aws::Utils::Json::JsonValue Jsonize() const;
|
|
|
|
|
|
/**
|
|
* Action to insert HLS ID3 segment tagging
|
|
*/
|
|
inline const HlsId3SegmentTaggingScheduleActionSettings& GetHlsId3SegmentTaggingSettings() const{ return m_hlsId3SegmentTaggingSettings; }
|
|
|
|
/**
|
|
* Action to insert HLS ID3 segment tagging
|
|
*/
|
|
inline bool HlsId3SegmentTaggingSettingsHasBeenSet() const { return m_hlsId3SegmentTaggingSettingsHasBeenSet; }
|
|
|
|
/**
|
|
* Action to insert HLS ID3 segment tagging
|
|
*/
|
|
inline void SetHlsId3SegmentTaggingSettings(const HlsId3SegmentTaggingScheduleActionSettings& value) { m_hlsId3SegmentTaggingSettingsHasBeenSet = true; m_hlsId3SegmentTaggingSettings = value; }
|
|
|
|
/**
|
|
* Action to insert HLS ID3 segment tagging
|
|
*/
|
|
inline void SetHlsId3SegmentTaggingSettings(HlsId3SegmentTaggingScheduleActionSettings&& value) { m_hlsId3SegmentTaggingSettingsHasBeenSet = true; m_hlsId3SegmentTaggingSettings = std::move(value); }
|
|
|
|
/**
|
|
* Action to insert HLS ID3 segment tagging
|
|
*/
|
|
inline ScheduleActionSettings& WithHlsId3SegmentTaggingSettings(const HlsId3SegmentTaggingScheduleActionSettings& value) { SetHlsId3SegmentTaggingSettings(value); return *this;}
|
|
|
|
/**
|
|
* Action to insert HLS ID3 segment tagging
|
|
*/
|
|
inline ScheduleActionSettings& WithHlsId3SegmentTaggingSettings(HlsId3SegmentTaggingScheduleActionSettings&& value) { SetHlsId3SegmentTaggingSettings(std::move(value)); return *this;}
|
|
|
|
|
|
/**
|
|
* Action to insert HLS metadata
|
|
*/
|
|
inline const HlsTimedMetadataScheduleActionSettings& GetHlsTimedMetadataSettings() const{ return m_hlsTimedMetadataSettings; }
|
|
|
|
/**
|
|
* Action to insert HLS metadata
|
|
*/
|
|
inline bool HlsTimedMetadataSettingsHasBeenSet() const { return m_hlsTimedMetadataSettingsHasBeenSet; }
|
|
|
|
/**
|
|
* Action to insert HLS metadata
|
|
*/
|
|
inline void SetHlsTimedMetadataSettings(const HlsTimedMetadataScheduleActionSettings& value) { m_hlsTimedMetadataSettingsHasBeenSet = true; m_hlsTimedMetadataSettings = value; }
|
|
|
|
/**
|
|
* Action to insert HLS metadata
|
|
*/
|
|
inline void SetHlsTimedMetadataSettings(HlsTimedMetadataScheduleActionSettings&& value) { m_hlsTimedMetadataSettingsHasBeenSet = true; m_hlsTimedMetadataSettings = std::move(value); }
|
|
|
|
/**
|
|
* Action to insert HLS metadata
|
|
*/
|
|
inline ScheduleActionSettings& WithHlsTimedMetadataSettings(const HlsTimedMetadataScheduleActionSettings& value) { SetHlsTimedMetadataSettings(value); return *this;}
|
|
|
|
/**
|
|
* Action to insert HLS metadata
|
|
*/
|
|
inline ScheduleActionSettings& WithHlsTimedMetadataSettings(HlsTimedMetadataScheduleActionSettings&& value) { SetHlsTimedMetadataSettings(std::move(value)); return *this;}
|
|
|
|
|
|
/**
|
|
* Action to prepare an input for a future immediate input switch
|
|
*/
|
|
inline const InputPrepareScheduleActionSettings& GetInputPrepareSettings() const{ return m_inputPrepareSettings; }
|
|
|
|
/**
|
|
* Action to prepare an input for a future immediate input switch
|
|
*/
|
|
inline bool InputPrepareSettingsHasBeenSet() const { return m_inputPrepareSettingsHasBeenSet; }
|
|
|
|
/**
|
|
* Action to prepare an input for a future immediate input switch
|
|
*/
|
|
inline void SetInputPrepareSettings(const InputPrepareScheduleActionSettings& value) { m_inputPrepareSettingsHasBeenSet = true; m_inputPrepareSettings = value; }
|
|
|
|
/**
|
|
* Action to prepare an input for a future immediate input switch
|
|
*/
|
|
inline void SetInputPrepareSettings(InputPrepareScheduleActionSettings&& value) { m_inputPrepareSettingsHasBeenSet = true; m_inputPrepareSettings = std::move(value); }
|
|
|
|
/**
|
|
* Action to prepare an input for a future immediate input switch
|
|
*/
|
|
inline ScheduleActionSettings& WithInputPrepareSettings(const InputPrepareScheduleActionSettings& value) { SetInputPrepareSettings(value); return *this;}
|
|
|
|
/**
|
|
* Action to prepare an input for a future immediate input switch
|
|
*/
|
|
inline ScheduleActionSettings& WithInputPrepareSettings(InputPrepareScheduleActionSettings&& value) { SetInputPrepareSettings(std::move(value)); return *this;}
|
|
|
|
|
|
/**
|
|
* Action to switch the input
|
|
*/
|
|
inline const InputSwitchScheduleActionSettings& GetInputSwitchSettings() const{ return m_inputSwitchSettings; }
|
|
|
|
/**
|
|
* Action to switch the input
|
|
*/
|
|
inline bool InputSwitchSettingsHasBeenSet() const { return m_inputSwitchSettingsHasBeenSet; }
|
|
|
|
/**
|
|
* Action to switch the input
|
|
*/
|
|
inline void SetInputSwitchSettings(const InputSwitchScheduleActionSettings& value) { m_inputSwitchSettingsHasBeenSet = true; m_inputSwitchSettings = value; }
|
|
|
|
/**
|
|
* Action to switch the input
|
|
*/
|
|
inline void SetInputSwitchSettings(InputSwitchScheduleActionSettings&& value) { m_inputSwitchSettingsHasBeenSet = true; m_inputSwitchSettings = std::move(value); }
|
|
|
|
/**
|
|
* Action to switch the input
|
|
*/
|
|
inline ScheduleActionSettings& WithInputSwitchSettings(const InputSwitchScheduleActionSettings& value) { SetInputSwitchSettings(value); return *this;}
|
|
|
|
/**
|
|
* Action to switch the input
|
|
*/
|
|
inline ScheduleActionSettings& WithInputSwitchSettings(InputSwitchScheduleActionSettings&& value) { SetInputSwitchSettings(std::move(value)); return *this;}
|
|
|
|
|
|
/**
|
|
* Action to pause or unpause one or both channel pipelines
|
|
*/
|
|
inline const PauseStateScheduleActionSettings& GetPauseStateSettings() const{ return m_pauseStateSettings; }
|
|
|
|
/**
|
|
* Action to pause or unpause one or both channel pipelines
|
|
*/
|
|
inline bool PauseStateSettingsHasBeenSet() const { return m_pauseStateSettingsHasBeenSet; }
|
|
|
|
/**
|
|
* Action to pause or unpause one or both channel pipelines
|
|
*/
|
|
inline void SetPauseStateSettings(const PauseStateScheduleActionSettings& value) { m_pauseStateSettingsHasBeenSet = true; m_pauseStateSettings = value; }
|
|
|
|
/**
|
|
* Action to pause or unpause one or both channel pipelines
|
|
*/
|
|
inline void SetPauseStateSettings(PauseStateScheduleActionSettings&& value) { m_pauseStateSettingsHasBeenSet = true; m_pauseStateSettings = std::move(value); }
|
|
|
|
/**
|
|
* Action to pause or unpause one or both channel pipelines
|
|
*/
|
|
inline ScheduleActionSettings& WithPauseStateSettings(const PauseStateScheduleActionSettings& value) { SetPauseStateSettings(value); return *this;}
|
|
|
|
/**
|
|
* Action to pause or unpause one or both channel pipelines
|
|
*/
|
|
inline ScheduleActionSettings& WithPauseStateSettings(PauseStateScheduleActionSettings&& value) { SetPauseStateSettings(std::move(value)); return *this;}
|
|
|
|
|
|
/**
|
|
* Action to insert SCTE-35 return_to_network message
|
|
*/
|
|
inline const Scte35ReturnToNetworkScheduleActionSettings& GetScte35ReturnToNetworkSettings() const{ return m_scte35ReturnToNetworkSettings; }
|
|
|
|
/**
|
|
* Action to insert SCTE-35 return_to_network message
|
|
*/
|
|
inline bool Scte35ReturnToNetworkSettingsHasBeenSet() const { return m_scte35ReturnToNetworkSettingsHasBeenSet; }
|
|
|
|
/**
|
|
* Action to insert SCTE-35 return_to_network message
|
|
*/
|
|
inline void SetScte35ReturnToNetworkSettings(const Scte35ReturnToNetworkScheduleActionSettings& value) { m_scte35ReturnToNetworkSettingsHasBeenSet = true; m_scte35ReturnToNetworkSettings = value; }
|
|
|
|
/**
|
|
* Action to insert SCTE-35 return_to_network message
|
|
*/
|
|
inline void SetScte35ReturnToNetworkSettings(Scte35ReturnToNetworkScheduleActionSettings&& value) { m_scte35ReturnToNetworkSettingsHasBeenSet = true; m_scte35ReturnToNetworkSettings = std::move(value); }
|
|
|
|
/**
|
|
* Action to insert SCTE-35 return_to_network message
|
|
*/
|
|
inline ScheduleActionSettings& WithScte35ReturnToNetworkSettings(const Scte35ReturnToNetworkScheduleActionSettings& value) { SetScte35ReturnToNetworkSettings(value); return *this;}
|
|
|
|
/**
|
|
* Action to insert SCTE-35 return_to_network message
|
|
*/
|
|
inline ScheduleActionSettings& WithScte35ReturnToNetworkSettings(Scte35ReturnToNetworkScheduleActionSettings&& value) { SetScte35ReturnToNetworkSettings(std::move(value)); return *this;}
|
|
|
|
|
|
/**
|
|
* Action to insert SCTE-35 splice_insert message
|
|
*/
|
|
inline const Scte35SpliceInsertScheduleActionSettings& GetScte35SpliceInsertSettings() const{ return m_scte35SpliceInsertSettings; }
|
|
|
|
/**
|
|
* Action to insert SCTE-35 splice_insert message
|
|
*/
|
|
inline bool Scte35SpliceInsertSettingsHasBeenSet() const { return m_scte35SpliceInsertSettingsHasBeenSet; }
|
|
|
|
/**
|
|
* Action to insert SCTE-35 splice_insert message
|
|
*/
|
|
inline void SetScte35SpliceInsertSettings(const Scte35SpliceInsertScheduleActionSettings& value) { m_scte35SpliceInsertSettingsHasBeenSet = true; m_scte35SpliceInsertSettings = value; }
|
|
|
|
/**
|
|
* Action to insert SCTE-35 splice_insert message
|
|
*/
|
|
inline void SetScte35SpliceInsertSettings(Scte35SpliceInsertScheduleActionSettings&& value) { m_scte35SpliceInsertSettingsHasBeenSet = true; m_scte35SpliceInsertSettings = std::move(value); }
|
|
|
|
/**
|
|
* Action to insert SCTE-35 splice_insert message
|
|
*/
|
|
inline ScheduleActionSettings& WithScte35SpliceInsertSettings(const Scte35SpliceInsertScheduleActionSettings& value) { SetScte35SpliceInsertSettings(value); return *this;}
|
|
|
|
/**
|
|
* Action to insert SCTE-35 splice_insert message
|
|
*/
|
|
inline ScheduleActionSettings& WithScte35SpliceInsertSettings(Scte35SpliceInsertScheduleActionSettings&& value) { SetScte35SpliceInsertSettings(std::move(value)); return *this;}
|
|
|
|
|
|
/**
|
|
* Action to insert SCTE-35 time_signal message
|
|
*/
|
|
inline const Scte35TimeSignalScheduleActionSettings& GetScte35TimeSignalSettings() const{ return m_scte35TimeSignalSettings; }
|
|
|
|
/**
|
|
* Action to insert SCTE-35 time_signal message
|
|
*/
|
|
inline bool Scte35TimeSignalSettingsHasBeenSet() const { return m_scte35TimeSignalSettingsHasBeenSet; }
|
|
|
|
/**
|
|
* Action to insert SCTE-35 time_signal message
|
|
*/
|
|
inline void SetScte35TimeSignalSettings(const Scte35TimeSignalScheduleActionSettings& value) { m_scte35TimeSignalSettingsHasBeenSet = true; m_scte35TimeSignalSettings = value; }
|
|
|
|
/**
|
|
* Action to insert SCTE-35 time_signal message
|
|
*/
|
|
inline void SetScte35TimeSignalSettings(Scte35TimeSignalScheduleActionSettings&& value) { m_scte35TimeSignalSettingsHasBeenSet = true; m_scte35TimeSignalSettings = std::move(value); }
|
|
|
|
/**
|
|
* Action to insert SCTE-35 time_signal message
|
|
*/
|
|
inline ScheduleActionSettings& WithScte35TimeSignalSettings(const Scte35TimeSignalScheduleActionSettings& value) { SetScte35TimeSignalSettings(value); return *this;}
|
|
|
|
/**
|
|
* Action to insert SCTE-35 time_signal message
|
|
*/
|
|
inline ScheduleActionSettings& WithScte35TimeSignalSettings(Scte35TimeSignalScheduleActionSettings&& value) { SetScte35TimeSignalSettings(std::move(value)); return *this;}
|
|
|
|
|
|
/**
|
|
* Action to activate a static image overlay
|
|
*/
|
|
inline const StaticImageActivateScheduleActionSettings& GetStaticImageActivateSettings() const{ return m_staticImageActivateSettings; }
|
|
|
|
/**
|
|
* Action to activate a static image overlay
|
|
*/
|
|
inline bool StaticImageActivateSettingsHasBeenSet() const { return m_staticImageActivateSettingsHasBeenSet; }
|
|
|
|
/**
|
|
* Action to activate a static image overlay
|
|
*/
|
|
inline void SetStaticImageActivateSettings(const StaticImageActivateScheduleActionSettings& value) { m_staticImageActivateSettingsHasBeenSet = true; m_staticImageActivateSettings = value; }
|
|
|
|
/**
|
|
* Action to activate a static image overlay
|
|
*/
|
|
inline void SetStaticImageActivateSettings(StaticImageActivateScheduleActionSettings&& value) { m_staticImageActivateSettingsHasBeenSet = true; m_staticImageActivateSettings = std::move(value); }
|
|
|
|
/**
|
|
* Action to activate a static image overlay
|
|
*/
|
|
inline ScheduleActionSettings& WithStaticImageActivateSettings(const StaticImageActivateScheduleActionSettings& value) { SetStaticImageActivateSettings(value); return *this;}
|
|
|
|
/**
|
|
* Action to activate a static image overlay
|
|
*/
|
|
inline ScheduleActionSettings& WithStaticImageActivateSettings(StaticImageActivateScheduleActionSettings&& value) { SetStaticImageActivateSettings(std::move(value)); return *this;}
|
|
|
|
|
|
/**
|
|
* Action to deactivate a static image overlay
|
|
*/
|
|
inline const StaticImageDeactivateScheduleActionSettings& GetStaticImageDeactivateSettings() const{ return m_staticImageDeactivateSettings; }
|
|
|
|
/**
|
|
* Action to deactivate a static image overlay
|
|
*/
|
|
inline bool StaticImageDeactivateSettingsHasBeenSet() const { return m_staticImageDeactivateSettingsHasBeenSet; }
|
|
|
|
/**
|
|
* Action to deactivate a static image overlay
|
|
*/
|
|
inline void SetStaticImageDeactivateSettings(const StaticImageDeactivateScheduleActionSettings& value) { m_staticImageDeactivateSettingsHasBeenSet = true; m_staticImageDeactivateSettings = value; }
|
|
|
|
/**
|
|
* Action to deactivate a static image overlay
|
|
*/
|
|
inline void SetStaticImageDeactivateSettings(StaticImageDeactivateScheduleActionSettings&& value) { m_staticImageDeactivateSettingsHasBeenSet = true; m_staticImageDeactivateSettings = std::move(value); }
|
|
|
|
/**
|
|
* Action to deactivate a static image overlay
|
|
*/
|
|
inline ScheduleActionSettings& WithStaticImageDeactivateSettings(const StaticImageDeactivateScheduleActionSettings& value) { SetStaticImageDeactivateSettings(value); return *this;}
|
|
|
|
/**
|
|
* Action to deactivate a static image overlay
|
|
*/
|
|
inline ScheduleActionSettings& WithStaticImageDeactivateSettings(StaticImageDeactivateScheduleActionSettings&& value) { SetStaticImageDeactivateSettings(std::move(value)); return *this;}
|
|
|
|
private:
|
|
|
|
HlsId3SegmentTaggingScheduleActionSettings m_hlsId3SegmentTaggingSettings;
|
|
bool m_hlsId3SegmentTaggingSettingsHasBeenSet;
|
|
|
|
HlsTimedMetadataScheduleActionSettings m_hlsTimedMetadataSettings;
|
|
bool m_hlsTimedMetadataSettingsHasBeenSet;
|
|
|
|
InputPrepareScheduleActionSettings m_inputPrepareSettings;
|
|
bool m_inputPrepareSettingsHasBeenSet;
|
|
|
|
InputSwitchScheduleActionSettings m_inputSwitchSettings;
|
|
bool m_inputSwitchSettingsHasBeenSet;
|
|
|
|
PauseStateScheduleActionSettings m_pauseStateSettings;
|
|
bool m_pauseStateSettingsHasBeenSet;
|
|
|
|
Scte35ReturnToNetworkScheduleActionSettings m_scte35ReturnToNetworkSettings;
|
|
bool m_scte35ReturnToNetworkSettingsHasBeenSet;
|
|
|
|
Scte35SpliceInsertScheduleActionSettings m_scte35SpliceInsertSettings;
|
|
bool m_scte35SpliceInsertSettingsHasBeenSet;
|
|
|
|
Scte35TimeSignalScheduleActionSettings m_scte35TimeSignalSettings;
|
|
bool m_scte35TimeSignalSettingsHasBeenSet;
|
|
|
|
StaticImageActivateScheduleActionSettings m_staticImageActivateSettings;
|
|
bool m_staticImageActivateSettingsHasBeenSet;
|
|
|
|
StaticImageDeactivateScheduleActionSettings m_staticImageDeactivateSettings;
|
|
bool m_staticImageDeactivateSettingsHasBeenSet;
|
|
};
|
|
|
|
} // namespace Model
|
|
} // namespace MediaLive
|
|
} // namespace Aws
|