AWS SDK for C++

AWS SDK for C++ Version 1.11.757

Loading...
Searching...
No Matches
Scte35SegmentationDescriptor.h
1
6#pragma once
7#include <aws/core/utils/memory/stl/AWSString.h>
8#include <aws/medialive/MediaLive_EXPORTS.h>
9#include <aws/medialive/model/Scte35DeliveryRestrictions.h>
10#include <aws/medialive/model/Scte35SegmentationCancelIndicator.h>
11
12#include <utility>
13
14namespace Aws {
15namespace Utils {
16namespace Json {
17class JsonValue;
18class JsonView;
19} // namespace Json
20} // namespace Utils
21namespace MediaLive {
22namespace Model {
23
30 public:
31 AWS_MEDIALIVE_API Scte35SegmentationDescriptor() = default;
34 AWS_MEDIALIVE_API Aws::Utils::Json::JsonValue Jsonize() const;
35
37
40 inline const Scte35DeliveryRestrictions& GetDeliveryRestrictions() const { return m_deliveryRestrictions; }
41 inline bool DeliveryRestrictionsHasBeenSet() const { return m_deliveryRestrictionsHasBeenSet; }
42 template <typename DeliveryRestrictionsT = Scte35DeliveryRestrictions>
43 void SetDeliveryRestrictions(DeliveryRestrictionsT&& value) {
44 m_deliveryRestrictionsHasBeenSet = true;
45 m_deliveryRestrictions = std::forward<DeliveryRestrictionsT>(value);
46 }
47 template <typename DeliveryRestrictionsT = Scte35DeliveryRestrictions>
49 SetDeliveryRestrictions(std::forward<DeliveryRestrictionsT>(value));
50 return *this;
51 }
53
55
59 inline int GetSegmentNum() const { return m_segmentNum; }
60 inline bool SegmentNumHasBeenSet() const { return m_segmentNumHasBeenSet; }
61 inline void SetSegmentNum(int value) {
62 m_segmentNumHasBeenSet = true;
63 m_segmentNum = value;
64 }
66 SetSegmentNum(value);
67 return *this;
68 }
70
72
75 inline Scte35SegmentationCancelIndicator GetSegmentationCancelIndicator() const { return m_segmentationCancelIndicator; }
76 inline bool SegmentationCancelIndicatorHasBeenSet() const { return m_segmentationCancelIndicatorHasBeenSet; }
78 m_segmentationCancelIndicatorHasBeenSet = true;
79 m_segmentationCancelIndicator = value;
80 }
83 return *this;
84 }
86
88
94 inline long long GetSegmentationDuration() const { return m_segmentationDuration; }
95 inline bool SegmentationDurationHasBeenSet() const { return m_segmentationDurationHasBeenSet; }
96 inline void SetSegmentationDuration(long long value) {
97 m_segmentationDurationHasBeenSet = true;
98 m_segmentationDuration = value;
99 }
102 return *this;
103 }
105
107
110 inline long long GetSegmentationEventId() const { return m_segmentationEventId; }
111 inline bool SegmentationEventIdHasBeenSet() const { return m_segmentationEventIdHasBeenSet; }
112 inline void SetSegmentationEventId(long long value) {
113 m_segmentationEventIdHasBeenSet = true;
114 m_segmentationEventId = value;
115 }
118 return *this;
119 }
121
123
129 inline int GetSegmentationTypeId() const { return m_segmentationTypeId; }
130 inline bool SegmentationTypeIdHasBeenSet() const { return m_segmentationTypeIdHasBeenSet; }
131 inline void SetSegmentationTypeId(int value) {
132 m_segmentationTypeIdHasBeenSet = true;
133 m_segmentationTypeId = value;
134 }
137 return *this;
138 }
140
142
149 inline const Aws::String& GetSegmentationUpid() const { return m_segmentationUpid; }
150 inline bool SegmentationUpidHasBeenSet() const { return m_segmentationUpidHasBeenSet; }
151 template <typename SegmentationUpidT = Aws::String>
152 void SetSegmentationUpid(SegmentationUpidT&& value) {
153 m_segmentationUpidHasBeenSet = true;
154 m_segmentationUpid = std::forward<SegmentationUpidT>(value);
155 }
156 template <typename SegmentationUpidT = Aws::String>
158 SetSegmentationUpid(std::forward<SegmentationUpidT>(value));
159 return *this;
160 }
162
164
171 inline int GetSegmentationUpidType() const { return m_segmentationUpidType; }
172 inline bool SegmentationUpidTypeHasBeenSet() const { return m_segmentationUpidTypeHasBeenSet; }
173 inline void SetSegmentationUpidType(int value) {
174 m_segmentationUpidTypeHasBeenSet = true;
175 m_segmentationUpidType = value;
176 }
179 return *this;
180 }
182
184
188 inline int GetSegmentsExpected() const { return m_segmentsExpected; }
189 inline bool SegmentsExpectedHasBeenSet() const { return m_segmentsExpectedHasBeenSet; }
190 inline void SetSegmentsExpected(int value) {
191 m_segmentsExpectedHasBeenSet = true;
192 m_segmentsExpected = value;
193 }
195 SetSegmentsExpected(value);
196 return *this;
197 }
199
201
205 inline int GetSubSegmentNum() const { return m_subSegmentNum; }
206 inline bool SubSegmentNumHasBeenSet() const { return m_subSegmentNumHasBeenSet; }
207 inline void SetSubSegmentNum(int value) {
208 m_subSegmentNumHasBeenSet = true;
209 m_subSegmentNum = value;
210 }
212 SetSubSegmentNum(value);
213 return *this;
214 }
216
218
222 inline int GetSubSegmentsExpected() const { return m_subSegmentsExpected; }
223 inline bool SubSegmentsExpectedHasBeenSet() const { return m_subSegmentsExpectedHasBeenSet; }
224 inline void SetSubSegmentsExpected(int value) {
225 m_subSegmentsExpectedHasBeenSet = true;
226 m_subSegmentsExpected = value;
227 }
230 return *this;
231 }
233 private:
234 Scte35DeliveryRestrictions m_deliveryRestrictions;
235
236 int m_segmentNum{0};
237
239
240 long long m_segmentationDuration{0};
241
242 long long m_segmentationEventId{0};
243
244 int m_segmentationTypeId{0};
245
246 Aws::String m_segmentationUpid;
247
248 int m_segmentationUpidType{0};
249
250 int m_segmentsExpected{0};
251
252 int m_subSegmentNum{0};
253
254 int m_subSegmentsExpected{0};
255 bool m_deliveryRestrictionsHasBeenSet = false;
256 bool m_segmentNumHasBeenSet = false;
257 bool m_segmentationCancelIndicatorHasBeenSet = false;
258 bool m_segmentationDurationHasBeenSet = false;
259 bool m_segmentationEventIdHasBeenSet = false;
260 bool m_segmentationTypeIdHasBeenSet = false;
261 bool m_segmentationUpidHasBeenSet = false;
262 bool m_segmentationUpidTypeHasBeenSet = false;
263 bool m_segmentsExpectedHasBeenSet = false;
264 bool m_subSegmentNumHasBeenSet = false;
265 bool m_subSegmentsExpectedHasBeenSet = false;
266};
267
268} // namespace Model
269} // namespace MediaLive
270} // namespace Aws
Scte35SegmentationDescriptor & WithSegmentationUpidType(int value)
Scte35SegmentationDescriptor & WithSegmentationCancelIndicator(Scte35SegmentationCancelIndicator value)
Scte35SegmentationDescriptor & WithDeliveryRestrictions(DeliveryRestrictionsT &&value)
Scte35SegmentationDescriptor & WithSegmentationTypeId(int value)
Scte35SegmentationDescriptor & WithSegmentationEventId(long long value)
const Scte35DeliveryRestrictions & GetDeliveryRestrictions() const
Scte35SegmentationDescriptor & WithSegmentNum(int value)
AWS_MEDIALIVE_API Scte35SegmentationDescriptor()=default
Scte35SegmentationDescriptor & WithSegmentationDuration(long long value)
void SetSegmentationCancelIndicator(Scte35SegmentationCancelIndicator value)
AWS_MEDIALIVE_API Scte35SegmentationDescriptor(Aws::Utils::Json::JsonView jsonValue)
Scte35SegmentationDescriptor & WithSubSegmentNum(int value)
AWS_MEDIALIVE_API Scte35SegmentationDescriptor & operator=(Aws::Utils::Json::JsonView jsonValue)
Scte35SegmentationDescriptor & WithSubSegmentsExpected(int value)
Scte35SegmentationDescriptor & WithSegmentationUpid(SegmentationUpidT &&value)
Scte35SegmentationCancelIndicator GetSegmentationCancelIndicator() const
AWS_MEDIALIVE_API Aws::Utils::Json::JsonValue Jsonize() const
Scte35SegmentationDescriptor & WithSegmentsExpected(int value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue