/**
* Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
* SPDX-License-Identifier: Apache-2.0.
*/
#pragma once
#include The media pipeline's RTMP configuration object.See Also:
AWS
* API Reference
The URL of the RTMP configuration.
*/ inline const Aws::String& GetUrl() const{ return m_url; } /** *The URL of the RTMP configuration.
*/ inline bool UrlHasBeenSet() const { return m_urlHasBeenSet; } /** *The URL of the RTMP configuration.
*/ inline void SetUrl(const Aws::String& value) { m_urlHasBeenSet = true; m_url = value; } /** *The URL of the RTMP configuration.
*/ inline void SetUrl(Aws::String&& value) { m_urlHasBeenSet = true; m_url = std::move(value); } /** *The URL of the RTMP configuration.
*/ inline void SetUrl(const char* value) { m_urlHasBeenSet = true; m_url.assign(value); } /** *The URL of the RTMP configuration.
*/ inline LiveConnectorRTMPConfiguration& WithUrl(const Aws::String& value) { SetUrl(value); return *this;} /** *The URL of the RTMP configuration.
*/ inline LiveConnectorRTMPConfiguration& WithUrl(Aws::String&& value) { SetUrl(std::move(value)); return *this;} /** *The URL of the RTMP configuration.
*/ inline LiveConnectorRTMPConfiguration& WithUrl(const char* value) { SetUrl(value); return *this;} /** *The audio channels set for the RTMP configuration
*/ inline const AudioChannelsOption& GetAudioChannels() const{ return m_audioChannels; } /** *The audio channels set for the RTMP configuration
*/ inline bool AudioChannelsHasBeenSet() const { return m_audioChannelsHasBeenSet; } /** *The audio channels set for the RTMP configuration
*/ inline void SetAudioChannels(const AudioChannelsOption& value) { m_audioChannelsHasBeenSet = true; m_audioChannels = value; } /** *The audio channels set for the RTMP configuration
*/ inline void SetAudioChannels(AudioChannelsOption&& value) { m_audioChannelsHasBeenSet = true; m_audioChannels = std::move(value); } /** *The audio channels set for the RTMP configuration
*/ inline LiveConnectorRTMPConfiguration& WithAudioChannels(const AudioChannelsOption& value) { SetAudioChannels(value); return *this;} /** *The audio channels set for the RTMP configuration
*/ inline LiveConnectorRTMPConfiguration& WithAudioChannels(AudioChannelsOption&& value) { SetAudioChannels(std::move(value)); return *this;} /** *The audio sample rate set for the RTMP configuration. Default: 48000.
*/ inline const Aws::String& GetAudioSampleRate() const{ return m_audioSampleRate; } /** *The audio sample rate set for the RTMP configuration. Default: 48000.
*/ inline bool AudioSampleRateHasBeenSet() const { return m_audioSampleRateHasBeenSet; } /** *The audio sample rate set for the RTMP configuration. Default: 48000.
*/ inline void SetAudioSampleRate(const Aws::String& value) { m_audioSampleRateHasBeenSet = true; m_audioSampleRate = value; } /** *The audio sample rate set for the RTMP configuration. Default: 48000.
*/ inline void SetAudioSampleRate(Aws::String&& value) { m_audioSampleRateHasBeenSet = true; m_audioSampleRate = std::move(value); } /** *The audio sample rate set for the RTMP configuration. Default: 48000.
*/ inline void SetAudioSampleRate(const char* value) { m_audioSampleRateHasBeenSet = true; m_audioSampleRate.assign(value); } /** *The audio sample rate set for the RTMP configuration. Default: 48000.
*/ inline LiveConnectorRTMPConfiguration& WithAudioSampleRate(const Aws::String& value) { SetAudioSampleRate(value); return *this;} /** *The audio sample rate set for the RTMP configuration. Default: 48000.
*/ inline LiveConnectorRTMPConfiguration& WithAudioSampleRate(Aws::String&& value) { SetAudioSampleRate(std::move(value)); return *this;} /** *The audio sample rate set for the RTMP configuration. Default: 48000.
*/ inline LiveConnectorRTMPConfiguration& WithAudioSampleRate(const char* value) { SetAudioSampleRate(value); return *this;} private: Aws::String m_url; bool m_urlHasBeenSet = false; AudioChannelsOption m_audioChannels; bool m_audioChannelsHasBeenSet = false; Aws::String m_audioSampleRate; bool m_audioSampleRateHasBeenSet = false; }; } // namespace Model } // namespace ChimeSDKMediaPipelines } // namespace Aws