/** * 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 media pipeline's sink configuration settings.

See Also:

* AWS * API Reference

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

The sink configuration's sink type.

*/ inline const LiveConnectorSinkType& GetSinkType() const{ return m_sinkType; } /** *

The sink configuration's sink type.

*/ inline bool SinkTypeHasBeenSet() const { return m_sinkTypeHasBeenSet; } /** *

The sink configuration's sink type.

*/ inline void SetSinkType(const LiveConnectorSinkType& value) { m_sinkTypeHasBeenSet = true; m_sinkType = value; } /** *

The sink configuration's sink type.

*/ inline void SetSinkType(LiveConnectorSinkType&& value) { m_sinkTypeHasBeenSet = true; m_sinkType = std::move(value); } /** *

The sink configuration's sink type.

*/ inline LiveConnectorSinkConfiguration& WithSinkType(const LiveConnectorSinkType& value) { SetSinkType(value); return *this;} /** *

The sink configuration's sink type.

*/ inline LiveConnectorSinkConfiguration& WithSinkType(LiveConnectorSinkType&& value) { SetSinkType(std::move(value)); return *this;} /** *

The sink configuration's RTMP configuration settings.

*/ inline const LiveConnectorRTMPConfiguration& GetRTMPConfiguration() const{ return m_rTMPConfiguration; } /** *

The sink configuration's RTMP configuration settings.

*/ inline bool RTMPConfigurationHasBeenSet() const { return m_rTMPConfigurationHasBeenSet; } /** *

The sink configuration's RTMP configuration settings.

*/ inline void SetRTMPConfiguration(const LiveConnectorRTMPConfiguration& value) { m_rTMPConfigurationHasBeenSet = true; m_rTMPConfiguration = value; } /** *

The sink configuration's RTMP configuration settings.

*/ inline void SetRTMPConfiguration(LiveConnectorRTMPConfiguration&& value) { m_rTMPConfigurationHasBeenSet = true; m_rTMPConfiguration = std::move(value); } /** *

The sink configuration's RTMP configuration settings.

*/ inline LiveConnectorSinkConfiguration& WithRTMPConfiguration(const LiveConnectorRTMPConfiguration& value) { SetRTMPConfiguration(value); return *this;} /** *

The sink configuration's RTMP configuration settings.

*/ inline LiveConnectorSinkConfiguration& WithRTMPConfiguration(LiveConnectorRTMPConfiguration&& value) { SetRTMPConfiguration(std::move(value)); return *this;} private: LiveConnectorSinkType m_sinkType; bool m_sinkTypeHasBeenSet = false; LiveConnectorRTMPConfiguration m_rTMPConfiguration; bool m_rTMPConfigurationHasBeenSet = false; }; } // namespace Model } // namespace ChimeSDKMediaPipelines } // namespace Aws