/** * 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 { /** *

The structure that holds the settings for transmitting media to the Amazon S3 * bucket. These values are used as defaults if * S3RecordingSinkRuntimeConfiguration is not specified.

See * Also:

AWS * API Reference

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

The default URI of the Amazon S3 bucket used as the recording sink.

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

The default URI of the Amazon S3 bucket used as the recording sink.

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

The default URI of the Amazon S3 bucket used as the recording sink.

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

The default URI of the Amazon S3 bucket used as the recording sink.

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

The default URI of the Amazon S3 bucket used as the recording sink.

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

The default URI of the Amazon S3 bucket used as the recording sink.

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

The default URI of the Amazon S3 bucket used as the recording sink.

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

The default URI of the Amazon S3 bucket used as the recording sink.

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

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

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

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

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

The default 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 default 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 default file format for the media files sent to the Amazon S3 bucket.

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

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

*/ inline S3RecordingSinkConfiguration& 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