231 lines
8.6 KiB
C++
231 lines
8.6 KiB
C++
/**
|
|
* Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
|
|
* SPDX-License-Identifier: Apache-2.0.
|
|
*/
|
|
|
|
#pragma once
|
|
#include <aws/medialive/MediaLive_EXPORTS.h>
|
|
#include <aws/core/utils/memory/stl/AWSString.h>
|
|
#include <aws/core/utils/memory/stl/AWSVector.h>
|
|
#include <aws/medialive/model/MultiplexProgramChannelDestinationSettings.h>
|
|
#include <aws/medialive/model/MediaPackageOutputDestinationSettings.h>
|
|
#include <aws/medialive/model/OutputDestinationSettings.h>
|
|
#include <utility>
|
|
|
|
namespace Aws
|
|
{
|
|
namespace Utils
|
|
{
|
|
namespace Json
|
|
{
|
|
class JsonValue;
|
|
class JsonView;
|
|
} // namespace Json
|
|
} // namespace Utils
|
|
namespace MediaLive
|
|
{
|
|
namespace Model
|
|
{
|
|
|
|
/**
|
|
* Placeholder documentation for OutputDestination<p><h3>See Also:</h3> <a
|
|
* href="http://docs.aws.amazon.com/goto/WebAPI/medialive-2017-10-14/OutputDestination">AWS
|
|
* API Reference</a></p>
|
|
*/
|
|
class AWS_MEDIALIVE_API OutputDestination
|
|
{
|
|
public:
|
|
OutputDestination();
|
|
OutputDestination(Aws::Utils::Json::JsonView jsonValue);
|
|
OutputDestination& operator=(Aws::Utils::Json::JsonView jsonValue);
|
|
Aws::Utils::Json::JsonValue Jsonize() const;
|
|
|
|
|
|
/**
|
|
* User-specified id. This is used in an output group or an output.
|
|
*/
|
|
inline const Aws::String& GetId() const{ return m_id; }
|
|
|
|
/**
|
|
* User-specified id. This is used in an output group or an output.
|
|
*/
|
|
inline bool IdHasBeenSet() const { return m_idHasBeenSet; }
|
|
|
|
/**
|
|
* User-specified id. This is used in an output group or an output.
|
|
*/
|
|
inline void SetId(const Aws::String& value) { m_idHasBeenSet = true; m_id = value; }
|
|
|
|
/**
|
|
* User-specified id. This is used in an output group or an output.
|
|
*/
|
|
inline void SetId(Aws::String&& value) { m_idHasBeenSet = true; m_id = std::move(value); }
|
|
|
|
/**
|
|
* User-specified id. This is used in an output group or an output.
|
|
*/
|
|
inline void SetId(const char* value) { m_idHasBeenSet = true; m_id.assign(value); }
|
|
|
|
/**
|
|
* User-specified id. This is used in an output group or an output.
|
|
*/
|
|
inline OutputDestination& WithId(const Aws::String& value) { SetId(value); return *this;}
|
|
|
|
/**
|
|
* User-specified id. This is used in an output group or an output.
|
|
*/
|
|
inline OutputDestination& WithId(Aws::String&& value) { SetId(std::move(value)); return *this;}
|
|
|
|
/**
|
|
* User-specified id. This is used in an output group or an output.
|
|
*/
|
|
inline OutputDestination& WithId(const char* value) { SetId(value); return *this;}
|
|
|
|
|
|
/**
|
|
* Destination settings for a MediaPackage output; one destination for both
|
|
* encoders.
|
|
*/
|
|
inline const Aws::Vector<MediaPackageOutputDestinationSettings>& GetMediaPackageSettings() const{ return m_mediaPackageSettings; }
|
|
|
|
/**
|
|
* Destination settings for a MediaPackage output; one destination for both
|
|
* encoders.
|
|
*/
|
|
inline bool MediaPackageSettingsHasBeenSet() const { return m_mediaPackageSettingsHasBeenSet; }
|
|
|
|
/**
|
|
* Destination settings for a MediaPackage output; one destination for both
|
|
* encoders.
|
|
*/
|
|
inline void SetMediaPackageSettings(const Aws::Vector<MediaPackageOutputDestinationSettings>& value) { m_mediaPackageSettingsHasBeenSet = true; m_mediaPackageSettings = value; }
|
|
|
|
/**
|
|
* Destination settings for a MediaPackage output; one destination for both
|
|
* encoders.
|
|
*/
|
|
inline void SetMediaPackageSettings(Aws::Vector<MediaPackageOutputDestinationSettings>&& value) { m_mediaPackageSettingsHasBeenSet = true; m_mediaPackageSettings = std::move(value); }
|
|
|
|
/**
|
|
* Destination settings for a MediaPackage output; one destination for both
|
|
* encoders.
|
|
*/
|
|
inline OutputDestination& WithMediaPackageSettings(const Aws::Vector<MediaPackageOutputDestinationSettings>& value) { SetMediaPackageSettings(value); return *this;}
|
|
|
|
/**
|
|
* Destination settings for a MediaPackage output; one destination for both
|
|
* encoders.
|
|
*/
|
|
inline OutputDestination& WithMediaPackageSettings(Aws::Vector<MediaPackageOutputDestinationSettings>&& value) { SetMediaPackageSettings(std::move(value)); return *this;}
|
|
|
|
/**
|
|
* Destination settings for a MediaPackage output; one destination for both
|
|
* encoders.
|
|
*/
|
|
inline OutputDestination& AddMediaPackageSettings(const MediaPackageOutputDestinationSettings& value) { m_mediaPackageSettingsHasBeenSet = true; m_mediaPackageSettings.push_back(value); return *this; }
|
|
|
|
/**
|
|
* Destination settings for a MediaPackage output; one destination for both
|
|
* encoders.
|
|
*/
|
|
inline OutputDestination& AddMediaPackageSettings(MediaPackageOutputDestinationSettings&& value) { m_mediaPackageSettingsHasBeenSet = true; m_mediaPackageSettings.push_back(std::move(value)); return *this; }
|
|
|
|
|
|
/**
|
|
* Destination settings for a Multiplex output; one destination for both encoders.
|
|
*/
|
|
inline const MultiplexProgramChannelDestinationSettings& GetMultiplexSettings() const{ return m_multiplexSettings; }
|
|
|
|
/**
|
|
* Destination settings for a Multiplex output; one destination for both encoders.
|
|
*/
|
|
inline bool MultiplexSettingsHasBeenSet() const { return m_multiplexSettingsHasBeenSet; }
|
|
|
|
/**
|
|
* Destination settings for a Multiplex output; one destination for both encoders.
|
|
*/
|
|
inline void SetMultiplexSettings(const MultiplexProgramChannelDestinationSettings& value) { m_multiplexSettingsHasBeenSet = true; m_multiplexSettings = value; }
|
|
|
|
/**
|
|
* Destination settings for a Multiplex output; one destination for both encoders.
|
|
*/
|
|
inline void SetMultiplexSettings(MultiplexProgramChannelDestinationSettings&& value) { m_multiplexSettingsHasBeenSet = true; m_multiplexSettings = std::move(value); }
|
|
|
|
/**
|
|
* Destination settings for a Multiplex output; one destination for both encoders.
|
|
*/
|
|
inline OutputDestination& WithMultiplexSettings(const MultiplexProgramChannelDestinationSettings& value) { SetMultiplexSettings(value); return *this;}
|
|
|
|
/**
|
|
* Destination settings for a Multiplex output; one destination for both encoders.
|
|
*/
|
|
inline OutputDestination& WithMultiplexSettings(MultiplexProgramChannelDestinationSettings&& value) { SetMultiplexSettings(std::move(value)); return *this;}
|
|
|
|
|
|
/**
|
|
* Destination settings for a standard output; one destination for each redundant
|
|
* encoder.
|
|
*/
|
|
inline const Aws::Vector<OutputDestinationSettings>& GetSettings() const{ return m_settings; }
|
|
|
|
/**
|
|
* Destination settings for a standard output; one destination for each redundant
|
|
* encoder.
|
|
*/
|
|
inline bool SettingsHasBeenSet() const { return m_settingsHasBeenSet; }
|
|
|
|
/**
|
|
* Destination settings for a standard output; one destination for each redundant
|
|
* encoder.
|
|
*/
|
|
inline void SetSettings(const Aws::Vector<OutputDestinationSettings>& value) { m_settingsHasBeenSet = true; m_settings = value; }
|
|
|
|
/**
|
|
* Destination settings for a standard output; one destination for each redundant
|
|
* encoder.
|
|
*/
|
|
inline void SetSettings(Aws::Vector<OutputDestinationSettings>&& value) { m_settingsHasBeenSet = true; m_settings = std::move(value); }
|
|
|
|
/**
|
|
* Destination settings for a standard output; one destination for each redundant
|
|
* encoder.
|
|
*/
|
|
inline OutputDestination& WithSettings(const Aws::Vector<OutputDestinationSettings>& value) { SetSettings(value); return *this;}
|
|
|
|
/**
|
|
* Destination settings for a standard output; one destination for each redundant
|
|
* encoder.
|
|
*/
|
|
inline OutputDestination& WithSettings(Aws::Vector<OutputDestinationSettings>&& value) { SetSettings(std::move(value)); return *this;}
|
|
|
|
/**
|
|
* Destination settings for a standard output; one destination for each redundant
|
|
* encoder.
|
|
*/
|
|
inline OutputDestination& AddSettings(const OutputDestinationSettings& value) { m_settingsHasBeenSet = true; m_settings.push_back(value); return *this; }
|
|
|
|
/**
|
|
* Destination settings for a standard output; one destination for each redundant
|
|
* encoder.
|
|
*/
|
|
inline OutputDestination& AddSettings(OutputDestinationSettings&& value) { m_settingsHasBeenSet = true; m_settings.push_back(std::move(value)); return *this; }
|
|
|
|
private:
|
|
|
|
Aws::String m_id;
|
|
bool m_idHasBeenSet;
|
|
|
|
Aws::Vector<MediaPackageOutputDestinationSettings> m_mediaPackageSettings;
|
|
bool m_mediaPackageSettingsHasBeenSet;
|
|
|
|
MultiplexProgramChannelDestinationSettings m_multiplexSettings;
|
|
bool m_multiplexSettingsHasBeenSet;
|
|
|
|
Aws::Vector<OutputDestinationSettings> m_settings;
|
|
bool m_settingsHasBeenSet;
|
|
};
|
|
|
|
} // namespace Model
|
|
} // namespace MediaLive
|
|
} // namespace Aws
|