/** * Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. * SPDX-License-Identifier: Apache-2.0. */ #pragma once #include #include #include #include #include #include #include #include #include #include #include #include #include #include #include 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.

See Also:

AWS * API Reference

*/ class ScheduleActionSettings { public: AWS_MEDIALIVE_API ScheduleActionSettings(); AWS_MEDIALIVE_API ScheduleActionSettings(Aws::Utils::Json::JsonView jsonValue); AWS_MEDIALIVE_API ScheduleActionSettings& operator=(Aws::Utils::Json::JsonView jsonValue); AWS_MEDIALIVE_API 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 activate a motion graphics image overlay */ inline const MotionGraphicsActivateScheduleActionSettings& GetMotionGraphicsImageActivateSettings() const{ return m_motionGraphicsImageActivateSettings; } /** * Action to activate a motion graphics image overlay */ inline bool MotionGraphicsImageActivateSettingsHasBeenSet() const { return m_motionGraphicsImageActivateSettingsHasBeenSet; } /** * Action to activate a motion graphics image overlay */ inline void SetMotionGraphicsImageActivateSettings(const MotionGraphicsActivateScheduleActionSettings& value) { m_motionGraphicsImageActivateSettingsHasBeenSet = true; m_motionGraphicsImageActivateSettings = value; } /** * Action to activate a motion graphics image overlay */ inline void SetMotionGraphicsImageActivateSettings(MotionGraphicsActivateScheduleActionSettings&& value) { m_motionGraphicsImageActivateSettingsHasBeenSet = true; m_motionGraphicsImageActivateSettings = std::move(value); } /** * Action to activate a motion graphics image overlay */ inline ScheduleActionSettings& WithMotionGraphicsImageActivateSettings(const MotionGraphicsActivateScheduleActionSettings& value) { SetMotionGraphicsImageActivateSettings(value); return *this;} /** * Action to activate a motion graphics image overlay */ inline ScheduleActionSettings& WithMotionGraphicsImageActivateSettings(MotionGraphicsActivateScheduleActionSettings&& value) { SetMotionGraphicsImageActivateSettings(std::move(value)); return *this;} /** * Action to deactivate a motion graphics image overlay */ inline const MotionGraphicsDeactivateScheduleActionSettings& GetMotionGraphicsImageDeactivateSettings() const{ return m_motionGraphicsImageDeactivateSettings; } /** * Action to deactivate a motion graphics image overlay */ inline bool MotionGraphicsImageDeactivateSettingsHasBeenSet() const { return m_motionGraphicsImageDeactivateSettingsHasBeenSet; } /** * Action to deactivate a motion graphics image overlay */ inline void SetMotionGraphicsImageDeactivateSettings(const MotionGraphicsDeactivateScheduleActionSettings& value) { m_motionGraphicsImageDeactivateSettingsHasBeenSet = true; m_motionGraphicsImageDeactivateSettings = value; } /** * Action to deactivate a motion graphics image overlay */ inline void SetMotionGraphicsImageDeactivateSettings(MotionGraphicsDeactivateScheduleActionSettings&& value) { m_motionGraphicsImageDeactivateSettingsHasBeenSet = true; m_motionGraphicsImageDeactivateSettings = std::move(value); } /** * Action to deactivate a motion graphics image overlay */ inline ScheduleActionSettings& WithMotionGraphicsImageDeactivateSettings(const MotionGraphicsDeactivateScheduleActionSettings& value) { SetMotionGraphicsImageDeactivateSettings(value); return *this;} /** * Action to deactivate a motion graphics image overlay */ inline ScheduleActionSettings& WithMotionGraphicsImageDeactivateSettings(MotionGraphicsDeactivateScheduleActionSettings&& value) { SetMotionGraphicsImageDeactivateSettings(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 specify scte35 input */ inline const Scte35InputScheduleActionSettings& GetScte35InputSettings() const{ return m_scte35InputSettings; } /** * Action to specify scte35 input */ inline bool Scte35InputSettingsHasBeenSet() const { return m_scte35InputSettingsHasBeenSet; } /** * Action to specify scte35 input */ inline void SetScte35InputSettings(const Scte35InputScheduleActionSettings& value) { m_scte35InputSettingsHasBeenSet = true; m_scte35InputSettings = value; } /** * Action to specify scte35 input */ inline void SetScte35InputSettings(Scte35InputScheduleActionSettings&& value) { m_scte35InputSettingsHasBeenSet = true; m_scte35InputSettings = std::move(value); } /** * Action to specify scte35 input */ inline ScheduleActionSettings& WithScte35InputSettings(const Scte35InputScheduleActionSettings& value) { SetScte35InputSettings(value); return *this;} /** * Action to specify scte35 input */ inline ScheduleActionSettings& WithScte35InputSettings(Scte35InputScheduleActionSettings&& value) { SetScte35InputSettings(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 = false; HlsTimedMetadataScheduleActionSettings m_hlsTimedMetadataSettings; bool m_hlsTimedMetadataSettingsHasBeenSet = false; InputPrepareScheduleActionSettings m_inputPrepareSettings; bool m_inputPrepareSettingsHasBeenSet = false; InputSwitchScheduleActionSettings m_inputSwitchSettings; bool m_inputSwitchSettingsHasBeenSet = false; MotionGraphicsActivateScheduleActionSettings m_motionGraphicsImageActivateSettings; bool m_motionGraphicsImageActivateSettingsHasBeenSet = false; MotionGraphicsDeactivateScheduleActionSettings m_motionGraphicsImageDeactivateSettings; bool m_motionGraphicsImageDeactivateSettingsHasBeenSet = false; PauseStateScheduleActionSettings m_pauseStateSettings; bool m_pauseStateSettingsHasBeenSet = false; Scte35InputScheduleActionSettings m_scte35InputSettings; bool m_scte35InputSettingsHasBeenSet = false; Scte35ReturnToNetworkScheduleActionSettings m_scte35ReturnToNetworkSettings; bool m_scte35ReturnToNetworkSettingsHasBeenSet = false; Scte35SpliceInsertScheduleActionSettings m_scte35SpliceInsertSettings; bool m_scte35SpliceInsertSettingsHasBeenSet = false; Scte35TimeSignalScheduleActionSettings m_scte35TimeSignalSettings; bool m_scte35TimeSignalSettingsHasBeenSet = false; StaticImageActivateScheduleActionSettings m_staticImageActivateSettings; bool m_staticImageActivateSettingsHasBeenSet = false; StaticImageDeactivateScheduleActionSettings m_staticImageDeactivateSettings; bool m_staticImageDeactivateSettingsHasBeenSet = false; }; } // namespace Model } // namespace MediaLive } // namespace Aws