This repository has been archived on 2025-09-14. You can view files and clone it, but cannot push or open issues or pull requests.
Files
pxz-hos-client-cpp-module/support/aws-sdk-cpp-master/aws-cpp-sdk-mediaconvert/include/aws/mediaconvert/model/MsSmoothEncryptionSettings.h

92 lines
3.4 KiB
C++

/**
* Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
* SPDX-License-Identifier: Apache-2.0.
*/
#pragma once
#include <aws/mediaconvert/MediaConvert_EXPORTS.h>
#include <aws/mediaconvert/model/SpekeKeyProvider.h>
#include <utility>
namespace Aws
{
namespace Utils
{
namespace Json
{
class JsonValue;
class JsonView;
} // namespace Json
} // namespace Utils
namespace MediaConvert
{
namespace Model
{
/**
* If you are using DRM, set DRM System (MsSmoothEncryptionSettings) to specify the
* value SpekeKeyProvider.<p><h3>See Also:</h3> <a
* href="http://docs.aws.amazon.com/goto/WebAPI/mediaconvert-2017-08-29/MsSmoothEncryptionSettings">AWS
* API Reference</a></p>
*/
class AWS_MEDIACONVERT_API MsSmoothEncryptionSettings
{
public:
MsSmoothEncryptionSettings();
MsSmoothEncryptionSettings(Aws::Utils::Json::JsonView jsonValue);
MsSmoothEncryptionSettings& operator=(Aws::Utils::Json::JsonView jsonValue);
Aws::Utils::Json::JsonValue Jsonize() const;
/**
* If your output group type is HLS, DASH, or Microsoft Smooth, use these settings
* when doing DRM encryption with a SPEKE-compliant key provider. If your output
* group type is CMAF, use the SpekeKeyProviderCmaf settings instead.
*/
inline const SpekeKeyProvider& GetSpekeKeyProvider() const{ return m_spekeKeyProvider; }
/**
* If your output group type is HLS, DASH, or Microsoft Smooth, use these settings
* when doing DRM encryption with a SPEKE-compliant key provider. If your output
* group type is CMAF, use the SpekeKeyProviderCmaf settings instead.
*/
inline bool SpekeKeyProviderHasBeenSet() const { return m_spekeKeyProviderHasBeenSet; }
/**
* If your output group type is HLS, DASH, or Microsoft Smooth, use these settings
* when doing DRM encryption with a SPEKE-compliant key provider. If your output
* group type is CMAF, use the SpekeKeyProviderCmaf settings instead.
*/
inline void SetSpekeKeyProvider(const SpekeKeyProvider& value) { m_spekeKeyProviderHasBeenSet = true; m_spekeKeyProvider = value; }
/**
* If your output group type is HLS, DASH, or Microsoft Smooth, use these settings
* when doing DRM encryption with a SPEKE-compliant key provider. If your output
* group type is CMAF, use the SpekeKeyProviderCmaf settings instead.
*/
inline void SetSpekeKeyProvider(SpekeKeyProvider&& value) { m_spekeKeyProviderHasBeenSet = true; m_spekeKeyProvider = std::move(value); }
/**
* If your output group type is HLS, DASH, or Microsoft Smooth, use these settings
* when doing DRM encryption with a SPEKE-compliant key provider. If your output
* group type is CMAF, use the SpekeKeyProviderCmaf settings instead.
*/
inline MsSmoothEncryptionSettings& WithSpekeKeyProvider(const SpekeKeyProvider& value) { SetSpekeKeyProvider(value); return *this;}
/**
* If your output group type is HLS, DASH, or Microsoft Smooth, use these settings
* when doing DRM encryption with a SPEKE-compliant key provider. If your output
* group type is CMAF, use the SpekeKeyProviderCmaf settings instead.
*/
inline MsSmoothEncryptionSettings& WithSpekeKeyProvider(SpekeKeyProvider&& value) { SetSpekeKeyProvider(std::move(value)); return *this;}
private:
SpekeKeyProvider m_spekeKeyProvider;
bool m_spekeKeyProviderHasBeenSet;
};
} // namespace Model
} // namespace MediaConvert
} // namespace Aws