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-medialive/include/aws/medialive/model/Scte27SourceSettings.h

107 lines
3.3 KiB
C
Raw Normal View History

/**
* Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
* SPDX-License-Identifier: Apache-2.0.
*/
#pragma once
#include <aws/medialive/MediaLive_EXPORTS.h>
namespace Aws
{
namespace Utils
{
namespace Json
{
class JsonValue;
class JsonView;
} // namespace Json
} // namespace Utils
namespace MediaLive
{
namespace Model
{
/**
* Scte27 Source Settings<p><h3>See Also:</h3> <a
* href="http://docs.aws.amazon.com/goto/WebAPI/medialive-2017-10-14/Scte27SourceSettings">AWS
* API Reference</a></p>
*/
class AWS_MEDIALIVE_API Scte27SourceSettings
{
public:
Scte27SourceSettings();
Scte27SourceSettings(Aws::Utils::Json::JsonView jsonValue);
Scte27SourceSettings& operator=(Aws::Utils::Json::JsonView jsonValue);
Aws::Utils::Json::JsonValue Jsonize() const;
/**
* The pid field is used in conjunction with the caption selector languageCode
* field as follows:
- Specify PID and Language: Extracts captions from that PID;
* the language is "informational".
- Specify PID and omit Language: Extracts the
* specified PID.
- Omit PID and specify Language: Extracts the specified
* language, whichever PID that happens to be.
- Omit PID and omit Language:
* Valid only if source is DVB-Sub that is being passed through; all languages will
* be passed through.
*/
inline int GetPid() const{ return m_pid; }
/**
* The pid field is used in conjunction with the caption selector languageCode
* field as follows:
- Specify PID and Language: Extracts captions from that PID;
* the language is "informational".
- Specify PID and omit Language: Extracts the
* specified PID.
- Omit PID and specify Language: Extracts the specified
* language, whichever PID that happens to be.
- Omit PID and omit Language:
* Valid only if source is DVB-Sub that is being passed through; all languages will
* be passed through.
*/
inline bool PidHasBeenSet() const { return m_pidHasBeenSet; }
/**
* The pid field is used in conjunction with the caption selector languageCode
* field as follows:
- Specify PID and Language: Extracts captions from that PID;
* the language is "informational".
- Specify PID and omit Language: Extracts the
* specified PID.
- Omit PID and specify Language: Extracts the specified
* language, whichever PID that happens to be.
- Omit PID and omit Language:
* Valid only if source is DVB-Sub that is being passed through; all languages will
* be passed through.
*/
inline void SetPid(int value) { m_pidHasBeenSet = true; m_pid = value; }
/**
* The pid field is used in conjunction with the caption selector languageCode
* field as follows:
- Specify PID and Language: Extracts captions from that PID;
* the language is "informational".
- Specify PID and omit Language: Extracts the
* specified PID.
- Omit PID and specify Language: Extracts the specified
* language, whichever PID that happens to be.
- Omit PID and omit Language:
* Valid only if source is DVB-Sub that is being passed through; all languages will
* be passed through.
*/
inline Scte27SourceSettings& WithPid(int value) { SetPid(value); return *this;}
private:
int m_pid;
bool m_pidHasBeenSet;
};
} // namespace Model
} // namespace MediaLive
} // namespace Aws