/** * Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. * SPDX-License-Identifier: Apache-2.0. */ #pragma once #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 holds the settings for transmitting media files to the * Amazon S3 bucket. If specified, the settings in this structure override any * settings in S3RecordingSinkConfiguration.

See Also:

* AWS * API Reference

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

The URI of the S3 bucket used as the sink.

*/ inline const Aws::String& GetDestination() const{ return m_destination; } /** *

The URI of the S3 bucket used as the sink.

*/ inline bool DestinationHasBeenSet() const { return m_destinationHasBeenSet; } /** *

The URI of the S3 bucket used as the sink.

*/ inline void SetDestination(const Aws::String& value) { m_destinationHasBeenSet = true; m_destination = value; } /** *

The URI of the S3 bucket used as the sink.

*/ inline void SetDestination(Aws::String&& value) { m_destinationHasBeenSet = true; m_destination = std::move(value); } /** *

The URI of the S3 bucket used as the sink.

*/ inline void SetDestination(const char* value) { m_destinationHasBeenSet = true; m_destination.assign(value); } /** *

The URI of the S3 bucket used as the sink.

*/ inline S3RecordingSinkRuntimeConfiguration& WithDestination(const Aws::String& value) { SetDestination(value); return *this;} /** *

The URI of the S3 bucket used as the sink.

*/ inline S3RecordingSinkRuntimeConfiguration& WithDestination(Aws::String&& value) { SetDestination(std::move(value)); return *this;} /** *

The URI of the S3 bucket used as the sink.

*/ inline S3RecordingSinkRuntimeConfiguration& WithDestination(const char* value) { SetDestination(value); return *this;} /** *

The file format for the media files sent to the Amazon S3 bucket.

*/ inline const RecordingFileFormat& GetRecordingFileFormat() const{ return m_recordingFileFormat; } /** *

The file format for the media files sent to the Amazon S3 bucket.

*/ inline bool RecordingFileFormatHasBeenSet() const { return m_recordingFileFormatHasBeenSet; } /** *

The file format for the media files sent to the Amazon S3 bucket.

*/ inline void SetRecordingFileFormat(const RecordingFileFormat& value) { m_recordingFileFormatHasBeenSet = true; m_recordingFileFormat = value; } /** *

The file format for the media files sent to the Amazon S3 bucket.

*/ inline void SetRecordingFileFormat(RecordingFileFormat&& value) { m_recordingFileFormatHasBeenSet = true; m_recordingFileFormat = std::move(value); } /** *

The file format for the media files sent to the Amazon S3 bucket.

*/ inline S3RecordingSinkRuntimeConfiguration& WithRecordingFileFormat(const RecordingFileFormat& value) { SetRecordingFileFormat(value); return *this;} /** *

The file format for the media files sent to the Amazon S3 bucket.

*/ inline S3RecordingSinkRuntimeConfiguration& WithRecordingFileFormat(RecordingFileFormat&& value) { SetRecordingFileFormat(std::move(value)); return *this;} private: Aws::String m_destination; bool m_destinationHasBeenSet = false; RecordingFileFormat m_recordingFileFormat; bool m_recordingFileFormatHasBeenSet = false; }; } // namespace Model } // namespace ChimeSDKMediaPipelines } // namespace Aws