/**
* Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
* SPDX-License-Identifier: Apache-2.0.
*/
#pragma once
#include
#include
#include
#include
#include
#include
#include
#include
#include
#include
namespace Aws
{
namespace Utils
{
namespace Json
{
class JsonValue;
class JsonView;
} // namespace Json
} // namespace Utils
namespace MediaConvert
{
namespace Model
{
/**
* Settings related to your Microsoft Smooth Streaming output package. For more
* information, see
* https://docs.aws.amazon.com/mediaconvert/latest/ug/outputs-file-ABR.html.See
* Also:
AWS
* API Reference
*/
class MsSmoothGroupSettings
{
public:
AWS_MEDIACONVERT_API MsSmoothGroupSettings();
AWS_MEDIACONVERT_API MsSmoothGroupSettings(Aws::Utils::Json::JsonView jsonValue);
AWS_MEDIACONVERT_API MsSmoothGroupSettings& operator=(Aws::Utils::Json::JsonView jsonValue);
AWS_MEDIACONVERT_API Aws::Utils::Json::JsonValue Jsonize() const;
/**
* By default, the service creates one .ism Microsoft Smooth Streaming manifest for
* each Microsoft Smooth Streaming output group in your job. This default manifest
* references every output in the output group. To create additional manifests that
* reference a subset of the outputs in the output group, specify a list of them
* here.
*/
inline const Aws::Vector& GetAdditionalManifests() const{ return m_additionalManifests; }
/**
* By default, the service creates one .ism Microsoft Smooth Streaming manifest for
* each Microsoft Smooth Streaming output group in your job. This default manifest
* references every output in the output group. To create additional manifests that
* reference a subset of the outputs in the output group, specify a list of them
* here.
*/
inline bool AdditionalManifestsHasBeenSet() const { return m_additionalManifestsHasBeenSet; }
/**
* By default, the service creates one .ism Microsoft Smooth Streaming manifest for
* each Microsoft Smooth Streaming output group in your job. This default manifest
* references every output in the output group. To create additional manifests that
* reference a subset of the outputs in the output group, specify a list of them
* here.
*/
inline void SetAdditionalManifests(const Aws::Vector& value) { m_additionalManifestsHasBeenSet = true; m_additionalManifests = value; }
/**
* By default, the service creates one .ism Microsoft Smooth Streaming manifest for
* each Microsoft Smooth Streaming output group in your job. This default manifest
* references every output in the output group. To create additional manifests that
* reference a subset of the outputs in the output group, specify a list of them
* here.
*/
inline void SetAdditionalManifests(Aws::Vector&& value) { m_additionalManifestsHasBeenSet = true; m_additionalManifests = std::move(value); }
/**
* By default, the service creates one .ism Microsoft Smooth Streaming manifest for
* each Microsoft Smooth Streaming output group in your job. This default manifest
* references every output in the output group. To create additional manifests that
* reference a subset of the outputs in the output group, specify a list of them
* here.
*/
inline MsSmoothGroupSettings& WithAdditionalManifests(const Aws::Vector& value) { SetAdditionalManifests(value); return *this;}
/**
* By default, the service creates one .ism Microsoft Smooth Streaming manifest for
* each Microsoft Smooth Streaming output group in your job. This default manifest
* references every output in the output group. To create additional manifests that
* reference a subset of the outputs in the output group, specify a list of them
* here.
*/
inline MsSmoothGroupSettings& WithAdditionalManifests(Aws::Vector&& value) { SetAdditionalManifests(std::move(value)); return *this;}
/**
* By default, the service creates one .ism Microsoft Smooth Streaming manifest for
* each Microsoft Smooth Streaming output group in your job. This default manifest
* references every output in the output group. To create additional manifests that
* reference a subset of the outputs in the output group, specify a list of them
* here.
*/
inline MsSmoothGroupSettings& AddAdditionalManifests(const MsSmoothAdditionalManifest& value) { m_additionalManifestsHasBeenSet = true; m_additionalManifests.push_back(value); return *this; }
/**
* By default, the service creates one .ism Microsoft Smooth Streaming manifest for
* each Microsoft Smooth Streaming output group in your job. This default manifest
* references every output in the output group. To create additional manifests that
* reference a subset of the outputs in the output group, specify a list of them
* here.
*/
inline MsSmoothGroupSettings& AddAdditionalManifests(MsSmoothAdditionalManifest&& value) { m_additionalManifestsHasBeenSet = true; m_additionalManifests.push_back(std::move(value)); return *this; }
/**
* COMBINE_DUPLICATE_STREAMS combines identical audio encoding settings across a
* Microsoft Smooth output group into a single audio stream.
*/
inline const MsSmoothAudioDeduplication& GetAudioDeduplication() const{ return m_audioDeduplication; }
/**
* COMBINE_DUPLICATE_STREAMS combines identical audio encoding settings across a
* Microsoft Smooth output group into a single audio stream.
*/
inline bool AudioDeduplicationHasBeenSet() const { return m_audioDeduplicationHasBeenSet; }
/**
* COMBINE_DUPLICATE_STREAMS combines identical audio encoding settings across a
* Microsoft Smooth output group into a single audio stream.
*/
inline void SetAudioDeduplication(const MsSmoothAudioDeduplication& value) { m_audioDeduplicationHasBeenSet = true; m_audioDeduplication = value; }
/**
* COMBINE_DUPLICATE_STREAMS combines identical audio encoding settings across a
* Microsoft Smooth output group into a single audio stream.
*/
inline void SetAudioDeduplication(MsSmoothAudioDeduplication&& value) { m_audioDeduplicationHasBeenSet = true; m_audioDeduplication = std::move(value); }
/**
* COMBINE_DUPLICATE_STREAMS combines identical audio encoding settings across a
* Microsoft Smooth output group into a single audio stream.
*/
inline MsSmoothGroupSettings& WithAudioDeduplication(const MsSmoothAudioDeduplication& value) { SetAudioDeduplication(value); return *this;}
/**
* COMBINE_DUPLICATE_STREAMS combines identical audio encoding settings across a
* Microsoft Smooth output group into a single audio stream.
*/
inline MsSmoothGroupSettings& WithAudioDeduplication(MsSmoothAudioDeduplication&& value) { SetAudioDeduplication(std::move(value)); return *this;}
/**
* Use Destination to specify the S3 output location and the output filename base.
* Destination accepts format identifiers. If you do not specify the base filename
* in the URI, the service will use the filename of the input file. If your job has
* multiple inputs, the service uses the filename of the first input file.
*/
inline const Aws::String& GetDestination() const{ return m_destination; }
/**
* Use Destination to specify the S3 output location and the output filename base.
* Destination accepts format identifiers. If you do not specify the base filename
* in the URI, the service will use the filename of the input file. If your job has
* multiple inputs, the service uses the filename of the first input file.
*/
inline bool DestinationHasBeenSet() const { return m_destinationHasBeenSet; }
/**
* Use Destination to specify the S3 output location and the output filename base.
* Destination accepts format identifiers. If you do not specify the base filename
* in the URI, the service will use the filename of the input file. If your job has
* multiple inputs, the service uses the filename of the first input file.
*/
inline void SetDestination(const Aws::String& value) { m_destinationHasBeenSet = true; m_destination = value; }
/**
* Use Destination to specify the S3 output location and the output filename base.
* Destination accepts format identifiers. If you do not specify the base filename
* in the URI, the service will use the filename of the input file. If your job has
* multiple inputs, the service uses the filename of the first input file.
*/
inline void SetDestination(Aws::String&& value) { m_destinationHasBeenSet = true; m_destination = std::move(value); }
/**
* Use Destination to specify the S3 output location and the output filename base.
* Destination accepts format identifiers. If you do not specify the base filename
* in the URI, the service will use the filename of the input file. If your job has
* multiple inputs, the service uses the filename of the first input file.
*/
inline void SetDestination(const char* value) { m_destinationHasBeenSet = true; m_destination.assign(value); }
/**
* Use Destination to specify the S3 output location and the output filename base.
* Destination accepts format identifiers. If you do not specify the base filename
* in the URI, the service will use the filename of the input file. If your job has
* multiple inputs, the service uses the filename of the first input file.
*/
inline MsSmoothGroupSettings& WithDestination(const Aws::String& value) { SetDestination(value); return *this;}
/**
* Use Destination to specify the S3 output location and the output filename base.
* Destination accepts format identifiers. If you do not specify the base filename
* in the URI, the service will use the filename of the input file. If your job has
* multiple inputs, the service uses the filename of the first input file.
*/
inline MsSmoothGroupSettings& WithDestination(Aws::String&& value) { SetDestination(std::move(value)); return *this;}
/**
* Use Destination to specify the S3 output location and the output filename base.
* Destination accepts format identifiers. If you do not specify the base filename
* in the URI, the service will use the filename of the input file. If your job has
* multiple inputs, the service uses the filename of the first input file.
*/
inline MsSmoothGroupSettings& WithDestination(const char* value) { SetDestination(value); return *this;}
/**
* Settings associated with the destination. Will vary based on the type of
* destination
*/
inline const DestinationSettings& GetDestinationSettings() const{ return m_destinationSettings; }
/**
* Settings associated with the destination. Will vary based on the type of
* destination
*/
inline bool DestinationSettingsHasBeenSet() const { return m_destinationSettingsHasBeenSet; }
/**
* Settings associated with the destination. Will vary based on the type of
* destination
*/
inline void SetDestinationSettings(const DestinationSettings& value) { m_destinationSettingsHasBeenSet = true; m_destinationSettings = value; }
/**
* Settings associated with the destination. Will vary based on the type of
* destination
*/
inline void SetDestinationSettings(DestinationSettings&& value) { m_destinationSettingsHasBeenSet = true; m_destinationSettings = std::move(value); }
/**
* Settings associated with the destination. Will vary based on the type of
* destination
*/
inline MsSmoothGroupSettings& WithDestinationSettings(const DestinationSettings& value) { SetDestinationSettings(value); return *this;}
/**
* Settings associated with the destination. Will vary based on the type of
* destination
*/
inline MsSmoothGroupSettings& WithDestinationSettings(DestinationSettings&& value) { SetDestinationSettings(std::move(value)); return *this;}
/**
* If you are using DRM, set DRM System to specify the value SpekeKeyProvider.
*/
inline const MsSmoothEncryptionSettings& GetEncryption() const{ return m_encryption; }
/**
* If you are using DRM, set DRM System to specify the value SpekeKeyProvider.
*/
inline bool EncryptionHasBeenSet() const { return m_encryptionHasBeenSet; }
/**
* If you are using DRM, set DRM System to specify the value SpekeKeyProvider.
*/
inline void SetEncryption(const MsSmoothEncryptionSettings& value) { m_encryptionHasBeenSet = true; m_encryption = value; }
/**
* If you are using DRM, set DRM System to specify the value SpekeKeyProvider.
*/
inline void SetEncryption(MsSmoothEncryptionSettings&& value) { m_encryptionHasBeenSet = true; m_encryption = std::move(value); }
/**
* If you are using DRM, set DRM System to specify the value SpekeKeyProvider.
*/
inline MsSmoothGroupSettings& WithEncryption(const MsSmoothEncryptionSettings& value) { SetEncryption(value); return *this;}
/**
* If you are using DRM, set DRM System to specify the value SpekeKeyProvider.
*/
inline MsSmoothGroupSettings& WithEncryption(MsSmoothEncryptionSettings&& value) { SetEncryption(std::move(value)); return *this;}
/**
* Specify how you want MediaConvert to determine the fragment length. Choose Exact
* to have the encoder use the exact length that you specify with the setting
* Fragment length. This might result in extra I-frames. Choose Multiple of GOP to
* have the encoder round up the segment lengths to match the next GOP boundary.
*/
inline int GetFragmentLength() const{ return m_fragmentLength; }
/**
* Specify how you want MediaConvert to determine the fragment length. Choose Exact
* to have the encoder use the exact length that you specify with the setting
* Fragment length. This might result in extra I-frames. Choose Multiple of GOP to
* have the encoder round up the segment lengths to match the next GOP boundary.
*/
inline bool FragmentLengthHasBeenSet() const { return m_fragmentLengthHasBeenSet; }
/**
* Specify how you want MediaConvert to determine the fragment length. Choose Exact
* to have the encoder use the exact length that you specify with the setting
* Fragment length. This might result in extra I-frames. Choose Multiple of GOP to
* have the encoder round up the segment lengths to match the next GOP boundary.
*/
inline void SetFragmentLength(int value) { m_fragmentLengthHasBeenSet = true; m_fragmentLength = value; }
/**
* Specify how you want MediaConvert to determine the fragment length. Choose Exact
* to have the encoder use the exact length that you specify with the setting
* Fragment length. This might result in extra I-frames. Choose Multiple of GOP to
* have the encoder round up the segment lengths to match the next GOP boundary.
*/
inline MsSmoothGroupSettings& WithFragmentLength(int value) { SetFragmentLength(value); return *this;}
/**
* Specify how you want MediaConvert to determine the fragment length. Choose Exact
* to have the encoder use the exact length that you specify with the setting
* Fragment length. This might result in extra I-frames. Choose Multiple of GOP to
* have the encoder round up the segment lengths to match the next GOP boundary.
*/
inline const MsSmoothFragmentLengthControl& GetFragmentLengthControl() const{ return m_fragmentLengthControl; }
/**
* Specify how you want MediaConvert to determine the fragment length. Choose Exact
* to have the encoder use the exact length that you specify with the setting
* Fragment length. This might result in extra I-frames. Choose Multiple of GOP to
* have the encoder round up the segment lengths to match the next GOP boundary.
*/
inline bool FragmentLengthControlHasBeenSet() const { return m_fragmentLengthControlHasBeenSet; }
/**
* Specify how you want MediaConvert to determine the fragment length. Choose Exact
* to have the encoder use the exact length that you specify with the setting
* Fragment length. This might result in extra I-frames. Choose Multiple of GOP to
* have the encoder round up the segment lengths to match the next GOP boundary.
*/
inline void SetFragmentLengthControl(const MsSmoothFragmentLengthControl& value) { m_fragmentLengthControlHasBeenSet = true; m_fragmentLengthControl = value; }
/**
* Specify how you want MediaConvert to determine the fragment length. Choose Exact
* to have the encoder use the exact length that you specify with the setting
* Fragment length. This might result in extra I-frames. Choose Multiple of GOP to
* have the encoder round up the segment lengths to match the next GOP boundary.
*/
inline void SetFragmentLengthControl(MsSmoothFragmentLengthControl&& value) { m_fragmentLengthControlHasBeenSet = true; m_fragmentLengthControl = std::move(value); }
/**
* Specify how you want MediaConvert to determine the fragment length. Choose Exact
* to have the encoder use the exact length that you specify with the setting
* Fragment length. This might result in extra I-frames. Choose Multiple of GOP to
* have the encoder round up the segment lengths to match the next GOP boundary.
*/
inline MsSmoothGroupSettings& WithFragmentLengthControl(const MsSmoothFragmentLengthControl& value) { SetFragmentLengthControl(value); return *this;}
/**
* Specify how you want MediaConvert to determine the fragment length. Choose Exact
* to have the encoder use the exact length that you specify with the setting
* Fragment length. This might result in extra I-frames. Choose Multiple of GOP to
* have the encoder round up the segment lengths to match the next GOP boundary.
*/
inline MsSmoothGroupSettings& WithFragmentLengthControl(MsSmoothFragmentLengthControl&& value) { SetFragmentLengthControl(std::move(value)); return *this;}
/**
* Use Manifest encoding to specify the encoding format for the server and client
* manifest. Valid options are utf8 and utf16.
*/
inline const MsSmoothManifestEncoding& GetManifestEncoding() const{ return m_manifestEncoding; }
/**
* Use Manifest encoding to specify the encoding format for the server and client
* manifest. Valid options are utf8 and utf16.
*/
inline bool ManifestEncodingHasBeenSet() const { return m_manifestEncodingHasBeenSet; }
/**
* Use Manifest encoding to specify the encoding format for the server and client
* manifest. Valid options are utf8 and utf16.
*/
inline void SetManifestEncoding(const MsSmoothManifestEncoding& value) { m_manifestEncodingHasBeenSet = true; m_manifestEncoding = value; }
/**
* Use Manifest encoding to specify the encoding format for the server and client
* manifest. Valid options are utf8 and utf16.
*/
inline void SetManifestEncoding(MsSmoothManifestEncoding&& value) { m_manifestEncodingHasBeenSet = true; m_manifestEncoding = std::move(value); }
/**
* Use Manifest encoding to specify the encoding format for the server and client
* manifest. Valid options are utf8 and utf16.
*/
inline MsSmoothGroupSettings& WithManifestEncoding(const MsSmoothManifestEncoding& value) { SetManifestEncoding(value); return *this;}
/**
* Use Manifest encoding to specify the encoding format for the server and client
* manifest. Valid options are utf8 and utf16.
*/
inline MsSmoothGroupSettings& WithManifestEncoding(MsSmoothManifestEncoding&& value) { SetManifestEncoding(std::move(value)); return *this;}
private:
Aws::Vector m_additionalManifests;
bool m_additionalManifestsHasBeenSet = false;
MsSmoothAudioDeduplication m_audioDeduplication;
bool m_audioDeduplicationHasBeenSet = false;
Aws::String m_destination;
bool m_destinationHasBeenSet = false;
DestinationSettings m_destinationSettings;
bool m_destinationSettingsHasBeenSet = false;
MsSmoothEncryptionSettings m_encryption;
bool m_encryptionHasBeenSet = false;
int m_fragmentLength;
bool m_fragmentLengthHasBeenSet = false;
MsSmoothFragmentLengthControl m_fragmentLengthControl;
bool m_fragmentLengthControlHasBeenSet = false;
MsSmoothManifestEncoding m_manifestEncoding;
bool m_manifestEncodingHasBeenSet = false;
};
} // namespace Model
} // namespace MediaConvert
} // namespace Aws