/** * 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 MediaTailor { namespace Model { /** *

The output item response.

See Also:

AWS * API Reference

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

DASH manifest configuration settings.

*/ inline const DashPlaylistSettings& GetDashPlaylistSettings() const{ return m_dashPlaylistSettings; } /** *

DASH manifest configuration settings.

*/ inline bool DashPlaylistSettingsHasBeenSet() const { return m_dashPlaylistSettingsHasBeenSet; } /** *

DASH manifest configuration settings.

*/ inline void SetDashPlaylistSettings(const DashPlaylistSettings& value) { m_dashPlaylistSettingsHasBeenSet = true; m_dashPlaylistSettings = value; } /** *

DASH manifest configuration settings.

*/ inline void SetDashPlaylistSettings(DashPlaylistSettings&& value) { m_dashPlaylistSettingsHasBeenSet = true; m_dashPlaylistSettings = std::move(value); } /** *

DASH manifest configuration settings.

*/ inline ResponseOutputItem& WithDashPlaylistSettings(const DashPlaylistSettings& value) { SetDashPlaylistSettings(value); return *this;} /** *

DASH manifest configuration settings.

*/ inline ResponseOutputItem& WithDashPlaylistSettings(DashPlaylistSettings&& value) { SetDashPlaylistSettings(std::move(value)); return *this;} /** *

HLS manifest configuration settings.

*/ inline const HlsPlaylistSettings& GetHlsPlaylistSettings() const{ return m_hlsPlaylistSettings; } /** *

HLS manifest configuration settings.

*/ inline bool HlsPlaylistSettingsHasBeenSet() const { return m_hlsPlaylistSettingsHasBeenSet; } /** *

HLS manifest configuration settings.

*/ inline void SetHlsPlaylistSettings(const HlsPlaylistSettings& value) { m_hlsPlaylistSettingsHasBeenSet = true; m_hlsPlaylistSettings = value; } /** *

HLS manifest configuration settings.

*/ inline void SetHlsPlaylistSettings(HlsPlaylistSettings&& value) { m_hlsPlaylistSettingsHasBeenSet = true; m_hlsPlaylistSettings = std::move(value); } /** *

HLS manifest configuration settings.

*/ inline ResponseOutputItem& WithHlsPlaylistSettings(const HlsPlaylistSettings& value) { SetHlsPlaylistSettings(value); return *this;} /** *

HLS manifest configuration settings.

*/ inline ResponseOutputItem& WithHlsPlaylistSettings(HlsPlaylistSettings&& value) { SetHlsPlaylistSettings(std::move(value)); return *this;} /** *

The name of the manifest for the channel that will appear in the channel * output's playback URL.

*/ inline const Aws::String& GetManifestName() const{ return m_manifestName; } /** *

The name of the manifest for the channel that will appear in the channel * output's playback URL.

*/ inline bool ManifestNameHasBeenSet() const { return m_manifestNameHasBeenSet; } /** *

The name of the manifest for the channel that will appear in the channel * output's playback URL.

*/ inline void SetManifestName(const Aws::String& value) { m_manifestNameHasBeenSet = true; m_manifestName = value; } /** *

The name of the manifest for the channel that will appear in the channel * output's playback URL.

*/ inline void SetManifestName(Aws::String&& value) { m_manifestNameHasBeenSet = true; m_manifestName = std::move(value); } /** *

The name of the manifest for the channel that will appear in the channel * output's playback URL.

*/ inline void SetManifestName(const char* value) { m_manifestNameHasBeenSet = true; m_manifestName.assign(value); } /** *

The name of the manifest for the channel that will appear in the channel * output's playback URL.

*/ inline ResponseOutputItem& WithManifestName(const Aws::String& value) { SetManifestName(value); return *this;} /** *

The name of the manifest for the channel that will appear in the channel * output's playback URL.

*/ inline ResponseOutputItem& WithManifestName(Aws::String&& value) { SetManifestName(std::move(value)); return *this;} /** *

The name of the manifest for the channel that will appear in the channel * output's playback URL.

*/ inline ResponseOutputItem& WithManifestName(const char* value) { SetManifestName(value); return *this;} /** *

The URL used for playback by content players.

*/ inline const Aws::String& GetPlaybackUrl() const{ return m_playbackUrl; } /** *

The URL used for playback by content players.

*/ inline bool PlaybackUrlHasBeenSet() const { return m_playbackUrlHasBeenSet; } /** *

The URL used for playback by content players.

*/ inline void SetPlaybackUrl(const Aws::String& value) { m_playbackUrlHasBeenSet = true; m_playbackUrl = value; } /** *

The URL used for playback by content players.

*/ inline void SetPlaybackUrl(Aws::String&& value) { m_playbackUrlHasBeenSet = true; m_playbackUrl = std::move(value); } /** *

The URL used for playback by content players.

*/ inline void SetPlaybackUrl(const char* value) { m_playbackUrlHasBeenSet = true; m_playbackUrl.assign(value); } /** *

The URL used for playback by content players.

*/ inline ResponseOutputItem& WithPlaybackUrl(const Aws::String& value) { SetPlaybackUrl(value); return *this;} /** *

The URL used for playback by content players.

*/ inline ResponseOutputItem& WithPlaybackUrl(Aws::String&& value) { SetPlaybackUrl(std::move(value)); return *this;} /** *

The URL used for playback by content players.

*/ inline ResponseOutputItem& WithPlaybackUrl(const char* value) { SetPlaybackUrl(value); return *this;} /** *

A string used to associate a package configuration source group with a * channel output.

*/ inline const Aws::String& GetSourceGroup() const{ return m_sourceGroup; } /** *

A string used to associate a package configuration source group with a * channel output.

*/ inline bool SourceGroupHasBeenSet() const { return m_sourceGroupHasBeenSet; } /** *

A string used to associate a package configuration source group with a * channel output.

*/ inline void SetSourceGroup(const Aws::String& value) { m_sourceGroupHasBeenSet = true; m_sourceGroup = value; } /** *

A string used to associate a package configuration source group with a * channel output.

*/ inline void SetSourceGroup(Aws::String&& value) { m_sourceGroupHasBeenSet = true; m_sourceGroup = std::move(value); } /** *

A string used to associate a package configuration source group with a * channel output.

*/ inline void SetSourceGroup(const char* value) { m_sourceGroupHasBeenSet = true; m_sourceGroup.assign(value); } /** *

A string used to associate a package configuration source group with a * channel output.

*/ inline ResponseOutputItem& WithSourceGroup(const Aws::String& value) { SetSourceGroup(value); return *this;} /** *

A string used to associate a package configuration source group with a * channel output.

*/ inline ResponseOutputItem& WithSourceGroup(Aws::String&& value) { SetSourceGroup(std::move(value)); return *this;} /** *

A string used to associate a package configuration source group with a * channel output.

*/ inline ResponseOutputItem& WithSourceGroup(const char* value) { SetSourceGroup(value); return *this;} private: DashPlaylistSettings m_dashPlaylistSettings; bool m_dashPlaylistSettingsHasBeenSet = false; HlsPlaylistSettings m_hlsPlaylistSettings; bool m_hlsPlaylistSettingsHasBeenSet = false; Aws::String m_manifestName; bool m_manifestNameHasBeenSet = false; Aws::String m_playbackUrl; bool m_playbackUrlHasBeenSet = false; Aws::String m_sourceGroup; bool m_sourceGroupHasBeenSet = false; }; } // namespace Model } // namespace MediaTailor } // namespace Aws