AWS SDK for C++

AWS SDK for C++ Version 1.11.609

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() = default;
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 template<typename DeliveryRestrictionsT = Scte35DeliveryRestrictions>
49 void SetDeliveryRestrictions(DeliveryRestrictionsT&& value) { m_deliveryRestrictionsHasBeenSet = true; m_deliveryRestrictions = std::forward<DeliveryRestrictionsT>(value); }
50 template<typename DeliveryRestrictionsT = Scte35DeliveryRestrictions>
51 Scte35SegmentationDescriptor& WithDeliveryRestrictions(DeliveryRestrictionsT&& value) { SetDeliveryRestrictions(std::forward<DeliveryRestrictionsT>(value)); return *this;}
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 Scte35SegmentationCancelIndicator GetSegmentationCancelIndicator() const { return m_segmentationCancelIndicator; }
70 inline bool SegmentationCancelIndicatorHasBeenSet() const { return m_segmentationCancelIndicatorHasBeenSet; }
71 inline void SetSegmentationCancelIndicator(Scte35SegmentationCancelIndicator value) { m_segmentationCancelIndicatorHasBeenSet = true; m_segmentationCancelIndicator = value; }
74
76
82 inline long long GetSegmentationDuration() const { return m_segmentationDuration; }
83 inline bool SegmentationDurationHasBeenSet() const { return m_segmentationDurationHasBeenSet; }
84 inline void SetSegmentationDuration(long long value) { m_segmentationDurationHasBeenSet = true; m_segmentationDuration = value; }
85 inline Scte35SegmentationDescriptor& WithSegmentationDuration(long long value) { SetSegmentationDuration(value); return *this;}
87
89
92 inline long long GetSegmentationEventId() const { return m_segmentationEventId; }
93 inline bool SegmentationEventIdHasBeenSet() const { return m_segmentationEventIdHasBeenSet; }
94 inline void SetSegmentationEventId(long long value) { m_segmentationEventIdHasBeenSet = true; m_segmentationEventId = value; }
95 inline Scte35SegmentationDescriptor& WithSegmentationEventId(long long value) { SetSegmentationEventId(value); return *this;}
97
99
105 inline int GetSegmentationTypeId() const { return m_segmentationTypeId; }
106 inline bool SegmentationTypeIdHasBeenSet() const { return m_segmentationTypeIdHasBeenSet; }
107 inline void SetSegmentationTypeId(int value) { m_segmentationTypeIdHasBeenSet = true; m_segmentationTypeId = value; }
110
112
119 inline const Aws::String& GetSegmentationUpid() const { return m_segmentationUpid; }
120 inline bool SegmentationUpidHasBeenSet() const { return m_segmentationUpidHasBeenSet; }
121 template<typename SegmentationUpidT = Aws::String>
122 void SetSegmentationUpid(SegmentationUpidT&& value) { m_segmentationUpidHasBeenSet = true; m_segmentationUpid = std::forward<SegmentationUpidT>(value); }
123 template<typename SegmentationUpidT = Aws::String>
124 Scte35SegmentationDescriptor& WithSegmentationUpid(SegmentationUpidT&& value) { SetSegmentationUpid(std::forward<SegmentationUpidT>(value)); return *this;}
126
128
135 inline int GetSegmentationUpidType() const { return m_segmentationUpidType; }
136 inline bool SegmentationUpidTypeHasBeenSet() const { return m_segmentationUpidTypeHasBeenSet; }
137 inline void SetSegmentationUpidType(int value) { m_segmentationUpidTypeHasBeenSet = true; m_segmentationUpidType = value; }
140
142
146 inline int GetSegmentsExpected() const { return m_segmentsExpected; }
147 inline bool SegmentsExpectedHasBeenSet() const { return m_segmentsExpectedHasBeenSet; }
148 inline void SetSegmentsExpected(int value) { m_segmentsExpectedHasBeenSet = true; m_segmentsExpected = value; }
151
153
157 inline int GetSubSegmentNum() const { return m_subSegmentNum; }
158 inline bool SubSegmentNumHasBeenSet() const { return m_subSegmentNumHasBeenSet; }
159 inline void SetSubSegmentNum(int value) { m_subSegmentNumHasBeenSet = true; m_subSegmentNum = value; }
160 inline Scte35SegmentationDescriptor& WithSubSegmentNum(int value) { SetSubSegmentNum(value); return *this;}
162
164
168 inline int GetSubSegmentsExpected() const { return m_subSegmentsExpected; }
169 inline bool SubSegmentsExpectedHasBeenSet() const { return m_subSegmentsExpectedHasBeenSet; }
170 inline void SetSubSegmentsExpected(int value) { m_subSegmentsExpectedHasBeenSet = true; m_subSegmentsExpected = value; }
173 private:
174
175 Scte35DeliveryRestrictions m_deliveryRestrictions;
176 bool m_deliveryRestrictionsHasBeenSet = false;
177
178 int m_segmentNum{0};
179 bool m_segmentNumHasBeenSet = false;
180
182 bool m_segmentationCancelIndicatorHasBeenSet = false;
183
184 long long m_segmentationDuration{0};
185 bool m_segmentationDurationHasBeenSet = false;
186
187 long long m_segmentationEventId{0};
188 bool m_segmentationEventIdHasBeenSet = false;
189
190 int m_segmentationTypeId{0};
191 bool m_segmentationTypeIdHasBeenSet = false;
192
193 Aws::String m_segmentationUpid;
194 bool m_segmentationUpidHasBeenSet = false;
195
196 int m_segmentationUpidType{0};
197 bool m_segmentationUpidTypeHasBeenSet = false;
198
199 int m_segmentsExpected{0};
200 bool m_segmentsExpectedHasBeenSet = false;
201
202 int m_subSegmentNum{0};
203 bool m_subSegmentNumHasBeenSet = false;
204
205 int m_subSegmentsExpected{0};
206 bool m_subSegmentsExpectedHasBeenSet = false;
207 };
208
209} // namespace Model
210} // namespace MediaLive
211} // 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