AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
Scte35DeliveryRestrictions.h
1
6#pragma once
7#include <aws/medialive/MediaLive_EXPORTS.h>
8#include <aws/medialive/model/Scte35ArchiveAllowedFlag.h>
9#include <aws/medialive/model/Scte35DeviceRestrictions.h>
10#include <aws/medialive/model/Scte35NoRegionalBlackoutFlag.h>
11#include <aws/medialive/model/Scte35WebDeliveryAllowedFlag.h>
12#include <utility>
13
14namespace Aws
15{
16namespace Utils
17{
18namespace Json
19{
20 class JsonValue;
21 class JsonView;
22} // namespace Json
23} // namespace Utils
24namespace MediaLive
25{
26namespace Model
27{
28
38 {
39 public:
40 AWS_MEDIALIVE_API Scte35DeliveryRestrictions();
43 AWS_MEDIALIVE_API Aws::Utils::Json::JsonValue Jsonize() const;
44
45
47
50 inline const Scte35ArchiveAllowedFlag& GetArchiveAllowedFlag() const{ return m_archiveAllowedFlag; }
51 inline bool ArchiveAllowedFlagHasBeenSet() const { return m_archiveAllowedFlagHasBeenSet; }
52 inline void SetArchiveAllowedFlag(const Scte35ArchiveAllowedFlag& value) { m_archiveAllowedFlagHasBeenSet = true; m_archiveAllowedFlag = value; }
53 inline void SetArchiveAllowedFlag(Scte35ArchiveAllowedFlag&& value) { m_archiveAllowedFlagHasBeenSet = true; m_archiveAllowedFlag = std::move(value); }
57
59
62 inline const Scte35DeviceRestrictions& GetDeviceRestrictions() const{ return m_deviceRestrictions; }
63 inline bool DeviceRestrictionsHasBeenSet() const { return m_deviceRestrictionsHasBeenSet; }
64 inline void SetDeviceRestrictions(const Scte35DeviceRestrictions& value) { m_deviceRestrictionsHasBeenSet = true; m_deviceRestrictions = value; }
65 inline void SetDeviceRestrictions(Scte35DeviceRestrictions&& value) { m_deviceRestrictionsHasBeenSet = true; m_deviceRestrictions = std::move(value); }
69
71
74 inline const Scte35NoRegionalBlackoutFlag& GetNoRegionalBlackoutFlag() const{ return m_noRegionalBlackoutFlag; }
75 inline bool NoRegionalBlackoutFlagHasBeenSet() const { return m_noRegionalBlackoutFlagHasBeenSet; }
76 inline void SetNoRegionalBlackoutFlag(const Scte35NoRegionalBlackoutFlag& value) { m_noRegionalBlackoutFlagHasBeenSet = true; m_noRegionalBlackoutFlag = value; }
77 inline void SetNoRegionalBlackoutFlag(Scte35NoRegionalBlackoutFlag&& value) { m_noRegionalBlackoutFlagHasBeenSet = true; m_noRegionalBlackoutFlag = std::move(value); }
81
83
86 inline const Scte35WebDeliveryAllowedFlag& GetWebDeliveryAllowedFlag() const{ return m_webDeliveryAllowedFlag; }
87 inline bool WebDeliveryAllowedFlagHasBeenSet() const { return m_webDeliveryAllowedFlagHasBeenSet; }
88 inline void SetWebDeliveryAllowedFlag(const Scte35WebDeliveryAllowedFlag& value) { m_webDeliveryAllowedFlagHasBeenSet = true; m_webDeliveryAllowedFlag = value; }
89 inline void SetWebDeliveryAllowedFlag(Scte35WebDeliveryAllowedFlag&& value) { m_webDeliveryAllowedFlagHasBeenSet = true; m_webDeliveryAllowedFlag = std::move(value); }
93 private:
94
95 Scte35ArchiveAllowedFlag m_archiveAllowedFlag;
96 bool m_archiveAllowedFlagHasBeenSet = false;
97
98 Scte35DeviceRestrictions m_deviceRestrictions;
99 bool m_deviceRestrictionsHasBeenSet = false;
100
101 Scte35NoRegionalBlackoutFlag m_noRegionalBlackoutFlag;
102 bool m_noRegionalBlackoutFlagHasBeenSet = false;
103
104 Scte35WebDeliveryAllowedFlag m_webDeliveryAllowedFlag;
105 bool m_webDeliveryAllowedFlagHasBeenSet = false;
106 };
107
108} // namespace Model
109} // namespace MediaLive
110} // namespace Aws
const Scte35ArchiveAllowedFlag & GetArchiveAllowedFlag() const
void SetNoRegionalBlackoutFlag(Scte35NoRegionalBlackoutFlag &&value)
AWS_MEDIALIVE_API Scte35DeliveryRestrictions & operator=(Aws::Utils::Json::JsonView jsonValue)
Scte35DeliveryRestrictions & WithNoRegionalBlackoutFlag(const Scte35NoRegionalBlackoutFlag &value)
Scte35DeliveryRestrictions & WithWebDeliveryAllowedFlag(Scte35WebDeliveryAllowedFlag &&value)
void SetArchiveAllowedFlag(const Scte35ArchiveAllowedFlag &value)
const Scte35DeviceRestrictions & GetDeviceRestrictions() const
Scte35DeliveryRestrictions & WithDeviceRestrictions(const Scte35DeviceRestrictions &value)
void SetWebDeliveryAllowedFlag(const Scte35WebDeliveryAllowedFlag &value)
const Scte35WebDeliveryAllowedFlag & GetWebDeliveryAllowedFlag() const
const Scte35NoRegionalBlackoutFlag & GetNoRegionalBlackoutFlag() const
AWS_MEDIALIVE_API Aws::Utils::Json::JsonValue Jsonize() const
Scte35DeliveryRestrictions & WithArchiveAllowedFlag(Scte35ArchiveAllowedFlag &&value)
void SetArchiveAllowedFlag(Scte35ArchiveAllowedFlag &&value)
void SetDeviceRestrictions(const Scte35DeviceRestrictions &value)
Scte35DeliveryRestrictions & WithArchiveAllowedFlag(const Scte35ArchiveAllowedFlag &value)
Scte35DeliveryRestrictions & WithWebDeliveryAllowedFlag(const Scte35WebDeliveryAllowedFlag &value)
void SetWebDeliveryAllowedFlag(Scte35WebDeliveryAllowedFlag &&value)
Scte35DeliveryRestrictions & WithDeviceRestrictions(Scte35DeviceRestrictions &&value)
void SetNoRegionalBlackoutFlag(const Scte35NoRegionalBlackoutFlag &value)
AWS_MEDIALIVE_API Scte35DeliveryRestrictions(Aws::Utils::Json::JsonView jsonValue)
Scte35DeliveryRestrictions & WithNoRegionalBlackoutFlag(Scte35NoRegionalBlackoutFlag &&value)
void SetDeviceRestrictions(Scte35DeviceRestrictions &&value)
Aws::Utils::Json::JsonValue JsonValue