/** * Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. * SPDX-License-Identifier: Apache-2.0. */ #pragma once #include #include #include #include #include namespace Aws { namespace Utils { namespace Json { class JsonValue; class JsonView; } // namespace Json } // namespace Utils namespace ChimeSDKMediaPipelines { namespace Model { /** *

A structure that contains the runtime settings for recording a Kinesis video * stream.

See Also:

AWS * API Reference

*/ class KinesisVideoStreamRecordingSourceRuntimeConfiguration { public: AWS_CHIMESDKMEDIAPIPELINES_API KinesisVideoStreamRecordingSourceRuntimeConfiguration(); AWS_CHIMESDKMEDIAPIPELINES_API KinesisVideoStreamRecordingSourceRuntimeConfiguration(Aws::Utils::Json::JsonView jsonValue); AWS_CHIMESDKMEDIAPIPELINES_API KinesisVideoStreamRecordingSourceRuntimeConfiguration& operator=(Aws::Utils::Json::JsonView jsonValue); AWS_CHIMESDKMEDIAPIPELINES_API Aws::Utils::Json::JsonValue Jsonize() const; /** *

The stream or streams to be recorded.

*/ inline const Aws::Vector& GetStreams() const{ return m_streams; } /** *

The stream or streams to be recorded.

*/ inline bool StreamsHasBeenSet() const { return m_streamsHasBeenSet; } /** *

The stream or streams to be recorded.

*/ inline void SetStreams(const Aws::Vector& value) { m_streamsHasBeenSet = true; m_streams = value; } /** *

The stream or streams to be recorded.

*/ inline void SetStreams(Aws::Vector&& value) { m_streamsHasBeenSet = true; m_streams = std::move(value); } /** *

The stream or streams to be recorded.

*/ inline KinesisVideoStreamRecordingSourceRuntimeConfiguration& WithStreams(const Aws::Vector& value) { SetStreams(value); return *this;} /** *

The stream or streams to be recorded.

*/ inline KinesisVideoStreamRecordingSourceRuntimeConfiguration& WithStreams(Aws::Vector&& value) { SetStreams(std::move(value)); return *this;} /** *

The stream or streams to be recorded.

*/ inline KinesisVideoStreamRecordingSourceRuntimeConfiguration& AddStreams(const RecordingStreamConfiguration& value) { m_streamsHasBeenSet = true; m_streams.push_back(value); return *this; } /** *

The stream or streams to be recorded.

*/ inline KinesisVideoStreamRecordingSourceRuntimeConfiguration& AddStreams(RecordingStreamConfiguration&& value) { m_streamsHasBeenSet = true; m_streams.push_back(std::move(value)); return *this; } /** *

Describes the timestamp range and timestamp origin of a range of fragments in * the Kinesis video stream.

*/ inline const FragmentSelector& GetFragmentSelector() const{ return m_fragmentSelector; } /** *

Describes the timestamp range and timestamp origin of a range of fragments in * the Kinesis video stream.

*/ inline bool FragmentSelectorHasBeenSet() const { return m_fragmentSelectorHasBeenSet; } /** *

Describes the timestamp range and timestamp origin of a range of fragments in * the Kinesis video stream.

*/ inline void SetFragmentSelector(const FragmentSelector& value) { m_fragmentSelectorHasBeenSet = true; m_fragmentSelector = value; } /** *

Describes the timestamp range and timestamp origin of a range of fragments in * the Kinesis video stream.

*/ inline void SetFragmentSelector(FragmentSelector&& value) { m_fragmentSelectorHasBeenSet = true; m_fragmentSelector = std::move(value); } /** *

Describes the timestamp range and timestamp origin of a range of fragments in * the Kinesis video stream.

*/ inline KinesisVideoStreamRecordingSourceRuntimeConfiguration& WithFragmentSelector(const FragmentSelector& value) { SetFragmentSelector(value); return *this;} /** *

Describes the timestamp range and timestamp origin of a range of fragments in * the Kinesis video stream.

*/ inline KinesisVideoStreamRecordingSourceRuntimeConfiguration& WithFragmentSelector(FragmentSelector&& value) { SetFragmentSelector(std::move(value)); return *this;} private: Aws::Vector m_streams; bool m_streamsHasBeenSet = false; FragmentSelector m_fragmentSelector; bool m_fragmentSelectorHasBeenSet = false; }; } // namespace Model } // namespace ChimeSDKMediaPipelines } // namespace Aws