AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
Scte35SegmentationDescriptor.h
1
6#pragma once
7#include <aws/medialive/MediaLive_EXPORTS.h>
8#include <aws/medialive/model/Scte35DeliveryRestrictions.h>
9#include <aws/medialive/model/Scte35SegmentationCancelIndicator.h>
10#include <aws/core/utils/memory/stl/AWSString.h>
11#include <utility>
12
13namespace Aws
14{
15namespace Utils
16{
17namespace Json
18{
19 class JsonValue;
20 class JsonView;
21} // namespace Json
22} // namespace Utils
23namespace MediaLive
24{
25namespace Model
26{
27
34 {
35 public:
36 AWS_MEDIALIVE_API Scte35SegmentationDescriptor();
39 AWS_MEDIALIVE_API Aws::Utils::Json::JsonValue Jsonize() const;
40
41
43
46 inline const Scte35DeliveryRestrictions& GetDeliveryRestrictions() const{ return m_deliveryRestrictions; }
47 inline bool DeliveryRestrictionsHasBeenSet() const { return m_deliveryRestrictionsHasBeenSet; }
48 inline void SetDeliveryRestrictions(const Scte35DeliveryRestrictions& value) { m_deliveryRestrictionsHasBeenSet = true; m_deliveryRestrictions = value; }
49 inline void SetDeliveryRestrictions(Scte35DeliveryRestrictions&& value) { m_deliveryRestrictionsHasBeenSet = true; m_deliveryRestrictions = std::move(value); }
53
55
59 inline int GetSegmentNum() const{ return m_segmentNum; }
60 inline bool SegmentNumHasBeenSet() const { return m_segmentNumHasBeenSet; }
61 inline void SetSegmentNum(int value) { m_segmentNumHasBeenSet = true; m_segmentNum = value; }
62 inline Scte35SegmentationDescriptor& WithSegmentNum(int value) { SetSegmentNum(value); return *this;}
64
66
69 inline const Scte35SegmentationCancelIndicator& GetSegmentationCancelIndicator() const{ return m_segmentationCancelIndicator; }
70 inline bool SegmentationCancelIndicatorHasBeenSet() const { return m_segmentationCancelIndicatorHasBeenSet; }
71 inline void SetSegmentationCancelIndicator(const Scte35SegmentationCancelIndicator& value) { m_segmentationCancelIndicatorHasBeenSet = true; m_segmentationCancelIndicator = value; }
72 inline void SetSegmentationCancelIndicator(Scte35SegmentationCancelIndicator&& value) { m_segmentationCancelIndicatorHasBeenSet = true; m_segmentationCancelIndicator = std::move(value); }
76
78
84 inline long long GetSegmentationDuration() const{ return m_segmentationDuration; }
85 inline bool SegmentationDurationHasBeenSet() const { return m_segmentationDurationHasBeenSet; }
86 inline void SetSegmentationDuration(long long value) { m_segmentationDurationHasBeenSet = true; m_segmentationDuration = value; }
87 inline Scte35SegmentationDescriptor& WithSegmentationDuration(long long value) { SetSegmentationDuration(value); return *this;}
89
91
94 inline long long GetSegmentationEventId() const{ return m_segmentationEventId; }
95 inline bool SegmentationEventIdHasBeenSet() const { return m_segmentationEventIdHasBeenSet; }
96 inline void SetSegmentationEventId(long long value) { m_segmentationEventIdHasBeenSet = true; m_segmentationEventId = value; }
97 inline Scte35SegmentationDescriptor& WithSegmentationEventId(long long value) { SetSegmentationEventId(value); return *this;}
99
101
107 inline int GetSegmentationTypeId() const{ return m_segmentationTypeId; }
108 inline bool SegmentationTypeIdHasBeenSet() const { return m_segmentationTypeIdHasBeenSet; }
109 inline void SetSegmentationTypeId(int value) { m_segmentationTypeIdHasBeenSet = true; m_segmentationTypeId = value; }
112
114
121 inline const Aws::String& GetSegmentationUpid() const{ return m_segmentationUpid; }
122 inline bool SegmentationUpidHasBeenSet() const { return m_segmentationUpidHasBeenSet; }
123 inline void SetSegmentationUpid(const Aws::String& value) { m_segmentationUpidHasBeenSet = true; m_segmentationUpid = value; }
124 inline void SetSegmentationUpid(Aws::String&& value) { m_segmentationUpidHasBeenSet = true; m_segmentationUpid = std::move(value); }
125 inline void SetSegmentationUpid(const char* value) { m_segmentationUpidHasBeenSet = true; m_segmentationUpid.assign(value); }
127 inline Scte35SegmentationDescriptor& WithSegmentationUpid(Aws::String&& value) { SetSegmentationUpid(std::move(value)); return *this;}
128 inline Scte35SegmentationDescriptor& WithSegmentationUpid(const char* value) { SetSegmentationUpid(value); return *this;}
130
132
139 inline int GetSegmentationUpidType() const{ return m_segmentationUpidType; }
140 inline bool SegmentationUpidTypeHasBeenSet() const { return m_segmentationUpidTypeHasBeenSet; }
141 inline void SetSegmentationUpidType(int value) { m_segmentationUpidTypeHasBeenSet = true; m_segmentationUpidType = value; }
144
146
150 inline int GetSegmentsExpected() const{ return m_segmentsExpected; }
151 inline bool SegmentsExpectedHasBeenSet() const { return m_segmentsExpectedHasBeenSet; }
152 inline void SetSegmentsExpected(int value) { m_segmentsExpectedHasBeenSet = true; m_segmentsExpected = value; }
155
157
161 inline int GetSubSegmentNum() const{ return m_subSegmentNum; }
162 inline bool SubSegmentNumHasBeenSet() const { return m_subSegmentNumHasBeenSet; }
163 inline void SetSubSegmentNum(int value) { m_subSegmentNumHasBeenSet = true; m_subSegmentNum = value; }
164 inline Scte35SegmentationDescriptor& WithSubSegmentNum(int value) { SetSubSegmentNum(value); return *this;}
166
168
172 inline int GetSubSegmentsExpected() const{ return m_subSegmentsExpected; }
173 inline bool SubSegmentsExpectedHasBeenSet() const { return m_subSegmentsExpectedHasBeenSet; }
174 inline void SetSubSegmentsExpected(int value) { m_subSegmentsExpectedHasBeenSet = true; m_subSegmentsExpected = value; }
177 private:
178
179 Scte35DeliveryRestrictions m_deliveryRestrictions;
180 bool m_deliveryRestrictionsHasBeenSet = false;
181
182 int m_segmentNum;
183 bool m_segmentNumHasBeenSet = false;
184
185 Scte35SegmentationCancelIndicator m_segmentationCancelIndicator;
186 bool m_segmentationCancelIndicatorHasBeenSet = false;
187
188 long long m_segmentationDuration;
189 bool m_segmentationDurationHasBeenSet = false;
190
191 long long m_segmentationEventId;
192 bool m_segmentationEventIdHasBeenSet = false;
193
194 int m_segmentationTypeId;
195 bool m_segmentationTypeIdHasBeenSet = false;
196
197 Aws::String m_segmentationUpid;
198 bool m_segmentationUpidHasBeenSet = false;
199
200 int m_segmentationUpidType;
201 bool m_segmentationUpidTypeHasBeenSet = false;
202
203 int m_segmentsExpected;
204 bool m_segmentsExpectedHasBeenSet = false;
205
206 int m_subSegmentNum;
207 bool m_subSegmentNumHasBeenSet = false;
208
209 int m_subSegmentsExpected;
210 bool m_subSegmentsExpectedHasBeenSet = false;
211 };
212
213} // namespace Model
214} // namespace MediaLive
215} // namespace Aws
Scte35SegmentationDescriptor & WithSegmentationUpid(const char *value)
Scte35SegmentationDescriptor & WithSegmentationUpidType(int value)
Scte35SegmentationDescriptor & WithSegmentationUpid(Aws::String &&value)
Scte35SegmentationDescriptor & WithSegmentationUpid(const Aws::String &value)
Scte35SegmentationDescriptor & WithSegmentationTypeId(int value)
Scte35SegmentationDescriptor & WithSegmentationEventId(long long value)
const Scte35DeliveryRestrictions & GetDeliveryRestrictions() const
Scte35SegmentationDescriptor & WithSegmentNum(int value)
void SetDeliveryRestrictions(const Scte35DeliveryRestrictions &value)
Scte35SegmentationDescriptor & WithSegmentationDuration(long long value)
AWS_MEDIALIVE_API Scte35SegmentationDescriptor(Aws::Utils::Json::JsonView jsonValue)
Scte35SegmentationDescriptor & WithSegmentationCancelIndicator(const Scte35SegmentationCancelIndicator &value)
void SetSegmentationCancelIndicator(const Scte35SegmentationCancelIndicator &value)
Scte35SegmentationDescriptor & WithSubSegmentNum(int value)
const Scte35SegmentationCancelIndicator & GetSegmentationCancelIndicator() const
Scte35SegmentationDescriptor & WithSegmentationCancelIndicator(Scte35SegmentationCancelIndicator &&value)
Scte35SegmentationDescriptor & WithDeliveryRestrictions(Scte35DeliveryRestrictions &&value)
AWS_MEDIALIVE_API Scte35SegmentationDescriptor & operator=(Aws::Utils::Json::JsonView jsonValue)
Scte35SegmentationDescriptor & WithDeliveryRestrictions(const Scte35DeliveryRestrictions &value)
Scte35SegmentationDescriptor & WithSubSegmentsExpected(int value)
void SetSegmentationCancelIndicator(Scte35SegmentationCancelIndicator &&value)
AWS_MEDIALIVE_API Aws::Utils::Json::JsonValue Jsonize() const
void SetDeliveryRestrictions(Scte35DeliveryRestrictions &&value)
Scte35SegmentationDescriptor & WithSegmentsExpected(int value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue