158 lines
6.2 KiB
C
158 lines
6.2 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/medialive/model/Scte35SpliceInsertNoRegionalBlackoutBehavior.h>
|
|||
|
|
#include <aws/medialive/model/Scte35SpliceInsertWebDeliveryAllowedBehavior.h>
|
|||
|
|
#include <utility>
|
|||
|
|
|
|||
|
|
namespace Aws
|
|||
|
|
{
|
|||
|
|
namespace Utils
|
|||
|
|
{
|
|||
|
|
namespace Json
|
|||
|
|
{
|
|||
|
|
class JsonValue;
|
|||
|
|
class JsonView;
|
|||
|
|
} // namespace Json
|
|||
|
|
} // namespace Utils
|
|||
|
|
namespace MediaLive
|
|||
|
|
{
|
|||
|
|
namespace Model
|
|||
|
|
{
|
|||
|
|
|
|||
|
|
/**
|
|||
|
|
* Scte35 Splice Insert<p><h3>See Also:</h3> <a
|
|||
|
|
* href="http://docs.aws.amazon.com/goto/WebAPI/medialive-2017-10-14/Scte35SpliceInsert">AWS
|
|||
|
|
* API Reference</a></p>
|
|||
|
|
*/
|
|||
|
|
class AWS_MEDIALIVE_API Scte35SpliceInsert
|
|||
|
|
{
|
|||
|
|
public:
|
|||
|
|
Scte35SpliceInsert();
|
|||
|
|
Scte35SpliceInsert(Aws::Utils::Json::JsonView jsonValue);
|
|||
|
|
Scte35SpliceInsert& operator=(Aws::Utils::Json::JsonView jsonValue);
|
|||
|
|
Aws::Utils::Json::JsonValue Jsonize() const;
|
|||
|
|
|
|||
|
|
|
|||
|
|
/**
|
|||
|
|
* When specified, this offset (in milliseconds) is added to the input Ad Avail PTS
|
|||
|
|
* time. This only applies to embedded SCTE 104/35 messages and does not apply to
|
|||
|
|
* OOB messages.
|
|||
|
|
*/
|
|||
|
|
inline int GetAdAvailOffset() const{ return m_adAvailOffset; }
|
|||
|
|
|
|||
|
|
/**
|
|||
|
|
* When specified, this offset (in milliseconds) is added to the input Ad Avail PTS
|
|||
|
|
* time. This only applies to embedded SCTE 104/35 messages and does not apply to
|
|||
|
|
* OOB messages.
|
|||
|
|
*/
|
|||
|
|
inline bool AdAvailOffsetHasBeenSet() const { return m_adAvailOffsetHasBeenSet; }
|
|||
|
|
|
|||
|
|
/**
|
|||
|
|
* When specified, this offset (in milliseconds) is added to the input Ad Avail PTS
|
|||
|
|
* time. This only applies to embedded SCTE 104/35 messages and does not apply to
|
|||
|
|
* OOB messages.
|
|||
|
|
*/
|
|||
|
|
inline void SetAdAvailOffset(int value) { m_adAvailOffsetHasBeenSet = true; m_adAvailOffset = value; }
|
|||
|
|
|
|||
|
|
/**
|
|||
|
|
* When specified, this offset (in milliseconds) is added to the input Ad Avail PTS
|
|||
|
|
* time. This only applies to embedded SCTE 104/35 messages and does not apply to
|
|||
|
|
* OOB messages.
|
|||
|
|
*/
|
|||
|
|
inline Scte35SpliceInsert& WithAdAvailOffset(int value) { SetAdAvailOffset(value); return *this;}
|
|||
|
|
|
|||
|
|
|
|||
|
|
/**
|
|||
|
|
* When set to ignore, Segment Descriptors with noRegionalBlackoutFlag set to 0
|
|||
|
|
* will no longer trigger blackouts or Ad Avail slates
|
|||
|
|
*/
|
|||
|
|
inline const Scte35SpliceInsertNoRegionalBlackoutBehavior& GetNoRegionalBlackoutFlag() const{ return m_noRegionalBlackoutFlag; }
|
|||
|
|
|
|||
|
|
/**
|
|||
|
|
* When set to ignore, Segment Descriptors with noRegionalBlackoutFlag set to 0
|
|||
|
|
* will no longer trigger blackouts or Ad Avail slates
|
|||
|
|
*/
|
|||
|
|
inline bool NoRegionalBlackoutFlagHasBeenSet() const { return m_noRegionalBlackoutFlagHasBeenSet; }
|
|||
|
|
|
|||
|
|
/**
|
|||
|
|
* When set to ignore, Segment Descriptors with noRegionalBlackoutFlag set to 0
|
|||
|
|
* will no longer trigger blackouts or Ad Avail slates
|
|||
|
|
*/
|
|||
|
|
inline void SetNoRegionalBlackoutFlag(const Scte35SpliceInsertNoRegionalBlackoutBehavior& value) { m_noRegionalBlackoutFlagHasBeenSet = true; m_noRegionalBlackoutFlag = value; }
|
|||
|
|
|
|||
|
|
/**
|
|||
|
|
* When set to ignore, Segment Descriptors with noRegionalBlackoutFlag set to 0
|
|||
|
|
* will no longer trigger blackouts or Ad Avail slates
|
|||
|
|
*/
|
|||
|
|
inline void SetNoRegionalBlackoutFlag(Scte35SpliceInsertNoRegionalBlackoutBehavior&& value) { m_noRegionalBlackoutFlagHasBeenSet = true; m_noRegionalBlackoutFlag = std::move(value); }
|
|||
|
|
|
|||
|
|
/**
|
|||
|
|
* When set to ignore, Segment Descriptors with noRegionalBlackoutFlag set to 0
|
|||
|
|
* will no longer trigger blackouts or Ad Avail slates
|
|||
|
|
*/
|
|||
|
|
inline Scte35SpliceInsert& WithNoRegionalBlackoutFlag(const Scte35SpliceInsertNoRegionalBlackoutBehavior& value) { SetNoRegionalBlackoutFlag(value); return *this;}
|
|||
|
|
|
|||
|
|
/**
|
|||
|
|
* When set to ignore, Segment Descriptors with noRegionalBlackoutFlag set to 0
|
|||
|
|
* will no longer trigger blackouts or Ad Avail slates
|
|||
|
|
*/
|
|||
|
|
inline Scte35SpliceInsert& WithNoRegionalBlackoutFlag(Scte35SpliceInsertNoRegionalBlackoutBehavior&& value) { SetNoRegionalBlackoutFlag(std::move(value)); return *this;}
|
|||
|
|
|
|||
|
|
|
|||
|
|
/**
|
|||
|
|
* When set to ignore, Segment Descriptors with webDeliveryAllowedFlag set to 0
|
|||
|
|
* will no longer trigger blackouts or Ad Avail slates
|
|||
|
|
*/
|
|||
|
|
inline const Scte35SpliceInsertWebDeliveryAllowedBehavior& GetWebDeliveryAllowedFlag() const{ return m_webDeliveryAllowedFlag; }
|
|||
|
|
|
|||
|
|
/**
|
|||
|
|
* When set to ignore, Segment Descriptors with webDeliveryAllowedFlag set to 0
|
|||
|
|
* will no longer trigger blackouts or Ad Avail slates
|
|||
|
|
*/
|
|||
|
|
inline bool WebDeliveryAllowedFlagHasBeenSet() const { return m_webDeliveryAllowedFlagHasBeenSet; }
|
|||
|
|
|
|||
|
|
/**
|
|||
|
|
* When set to ignore, Segment Descriptors with webDeliveryAllowedFlag set to 0
|
|||
|
|
* will no longer trigger blackouts or Ad Avail slates
|
|||
|
|
*/
|
|||
|
|
inline void SetWebDeliveryAllowedFlag(const Scte35SpliceInsertWebDeliveryAllowedBehavior& value) { m_webDeliveryAllowedFlagHasBeenSet = true; m_webDeliveryAllowedFlag = value; }
|
|||
|
|
|
|||
|
|
/**
|
|||
|
|
* When set to ignore, Segment Descriptors with webDeliveryAllowedFlag set to 0
|
|||
|
|
* will no longer trigger blackouts or Ad Avail slates
|
|||
|
|
*/
|
|||
|
|
inline void SetWebDeliveryAllowedFlag(Scte35SpliceInsertWebDeliveryAllowedBehavior&& value) { m_webDeliveryAllowedFlagHasBeenSet = true; m_webDeliveryAllowedFlag = std::move(value); }
|
|||
|
|
|
|||
|
|
/**
|
|||
|
|
* When set to ignore, Segment Descriptors with webDeliveryAllowedFlag set to 0
|
|||
|
|
* will no longer trigger blackouts or Ad Avail slates
|
|||
|
|
*/
|
|||
|
|
inline Scte35SpliceInsert& WithWebDeliveryAllowedFlag(const Scte35SpliceInsertWebDeliveryAllowedBehavior& value) { SetWebDeliveryAllowedFlag(value); return *this;}
|
|||
|
|
|
|||
|
|
/**
|
|||
|
|
* When set to ignore, Segment Descriptors with webDeliveryAllowedFlag set to 0
|
|||
|
|
* will no longer trigger blackouts or Ad Avail slates
|
|||
|
|
*/
|
|||
|
|
inline Scte35SpliceInsert& WithWebDeliveryAllowedFlag(Scte35SpliceInsertWebDeliveryAllowedBehavior&& value) { SetWebDeliveryAllowedFlag(std::move(value)); return *this;}
|
|||
|
|
|
|||
|
|
private:
|
|||
|
|
|
|||
|
|
int m_adAvailOffset;
|
|||
|
|
bool m_adAvailOffsetHasBeenSet;
|
|||
|
|
|
|||
|
|
Scte35SpliceInsertNoRegionalBlackoutBehavior m_noRegionalBlackoutFlag;
|
|||
|
|
bool m_noRegionalBlackoutFlagHasBeenSet;
|
|||
|
|
|
|||
|
|
Scte35SpliceInsertWebDeliveryAllowedBehavior m_webDeliveryAllowedFlag;
|
|||
|
|
bool m_webDeliveryAllowedFlagHasBeenSet;
|
|||
|
|
};
|
|||
|
|
|
|||
|
|
} // namespace Model
|
|||
|
|
} // namespace MediaLive
|
|||
|
|
} // namespace Aws
|