AWS SDK for C++

AWS SDK for C++ Version 1.11.742

Loading...
Searching...
No Matches
Scte35SpliceInsert.h
1
6#pragma once
7#include <aws/medialive/MediaLive_EXPORTS.h>
8#include <aws/medialive/model/Scte35SpliceInsertNoRegionalBlackoutBehavior.h>
9#include <aws/medialive/model/Scte35SpliceInsertWebDeliveryAllowedBehavior.h>
10
11#include <utility>
12
13namespace Aws {
14namespace Utils {
15namespace Json {
16class JsonValue;
17class JsonView;
18} // namespace Json
19} // namespace Utils
20namespace MediaLive {
21namespace Model {
22
31 public:
32 AWS_MEDIALIVE_API Scte35SpliceInsert() = default;
33 AWS_MEDIALIVE_API Scte35SpliceInsert(Aws::Utils::Json::JsonView jsonValue);
35 AWS_MEDIALIVE_API Aws::Utils::Json::JsonValue Jsonize() const;
36
38
43 inline int GetAdAvailOffset() const { return m_adAvailOffset; }
44 inline bool AdAvailOffsetHasBeenSet() const { return m_adAvailOffsetHasBeenSet; }
45 inline void SetAdAvailOffset(int value) {
46 m_adAvailOffsetHasBeenSet = true;
47 m_adAvailOffset = value;
48 }
50 SetAdAvailOffset(value);
51 return *this;
52 }
54
56
60 inline Scte35SpliceInsertNoRegionalBlackoutBehavior GetNoRegionalBlackoutFlag() const { return m_noRegionalBlackoutFlag; }
61 inline bool NoRegionalBlackoutFlagHasBeenSet() const { return m_noRegionalBlackoutFlagHasBeenSet; }
63 m_noRegionalBlackoutFlagHasBeenSet = true;
64 m_noRegionalBlackoutFlag = value;
65 }
68 return *this;
69 }
71
73
77 inline Scte35SpliceInsertWebDeliveryAllowedBehavior GetWebDeliveryAllowedFlag() const { return m_webDeliveryAllowedFlag; }
78 inline bool WebDeliveryAllowedFlagHasBeenSet() const { return m_webDeliveryAllowedFlagHasBeenSet; }
80 m_webDeliveryAllowedFlagHasBeenSet = true;
81 m_webDeliveryAllowedFlag = value;
82 }
85 return *this;
86 }
88 private:
89 int m_adAvailOffset{0};
90
92
94 bool m_adAvailOffsetHasBeenSet = false;
95 bool m_noRegionalBlackoutFlagHasBeenSet = false;
96 bool m_webDeliveryAllowedFlagHasBeenSet = false;
97};
98
99} // namespace Model
100} // namespace MediaLive
101} // namespace Aws
Scte35SpliceInsert & WithWebDeliveryAllowedFlag(Scte35SpliceInsertWebDeliveryAllowedBehavior value)
void SetNoRegionalBlackoutFlag(Scte35SpliceInsertNoRegionalBlackoutBehavior value)
AWS_MEDIALIVE_API Scte35SpliceInsert()=default
Scte35SpliceInsert & WithAdAvailOffset(int value)
Scte35SpliceInsertNoRegionalBlackoutBehavior GetNoRegionalBlackoutFlag() const
AWS_MEDIALIVE_API Scte35SpliceInsert(Aws::Utils::Json::JsonView jsonValue)
Scte35SpliceInsert & WithNoRegionalBlackoutFlag(Scte35SpliceInsertNoRegionalBlackoutBehavior value)
AWS_MEDIALIVE_API Scte35SpliceInsert & operator=(Aws::Utils::Json::JsonView jsonValue)
void SetWebDeliveryAllowedFlag(Scte35SpliceInsertWebDeliveryAllowedBehavior value)
Scte35SpliceInsertWebDeliveryAllowedBehavior GetWebDeliveryAllowedFlag() const
AWS_MEDIALIVE_API Aws::Utils::Json::JsonValue Jsonize() const
Aws::Utils::Json::JsonValue JsonValue