AWS SDK for C++

AWS SDK for C++ Version 1.11.607

Loading...
Searching...
No Matches
SegmentationDescriptor.h
1
6#pragma once
7#include <aws/mediatailor/MediaTailor_EXPORTS.h>
8#include <aws/core/utils/memory/stl/AWSString.h>
9#include <utility>
10
11namespace Aws
12{
13namespace Utils
14{
15namespace Json
16{
17 class JsonValue;
18 class JsonView;
19} // namespace Json
20} // namespace Utils
21namespace MediaTailor
22{
23namespace Model
24{
25
39 {
40 public:
41 AWS_MEDIATAILOR_API SegmentationDescriptor() = default;
42 AWS_MEDIATAILOR_API SegmentationDescriptor(Aws::Utils::Json::JsonView jsonValue);
44 AWS_MEDIATAILOR_API Aws::Utils::Json::JsonValue Jsonize() const;
45
46
48
54 inline int GetSegmentationEventId() const { return m_segmentationEventId; }
55 inline bool SegmentationEventIdHasBeenSet() const { return m_segmentationEventIdHasBeenSet; }
56 inline void SetSegmentationEventId(int value) { m_segmentationEventIdHasBeenSet = true; m_segmentationEventId = value; }
57 inline SegmentationDescriptor& WithSegmentationEventId(int value) { SetSegmentationEventId(value); return *this;}
59
61
67 inline int GetSegmentationUpidType() const { return m_segmentationUpidType; }
68 inline bool SegmentationUpidTypeHasBeenSet() const { return m_segmentationUpidTypeHasBeenSet; }
69 inline void SetSegmentationUpidType(int value) { m_segmentationUpidTypeHasBeenSet = true; m_segmentationUpidType = value; }
72
74
81 inline const Aws::String& GetSegmentationUpid() const { return m_segmentationUpid; }
82 inline bool SegmentationUpidHasBeenSet() const { return m_segmentationUpidHasBeenSet; }
83 template<typename SegmentationUpidT = Aws::String>
84 void SetSegmentationUpid(SegmentationUpidT&& value) { m_segmentationUpidHasBeenSet = true; m_segmentationUpid = std::forward<SegmentationUpidT>(value); }
85 template<typename SegmentationUpidT = Aws::String>
86 SegmentationDescriptor& WithSegmentationUpid(SegmentationUpidT&& value) { SetSegmentationUpid(std::forward<SegmentationUpidT>(value)); return *this;}
88
90
96 inline int GetSegmentationTypeId() const { return m_segmentationTypeId; }
97 inline bool SegmentationTypeIdHasBeenSet() const { return m_segmentationTypeIdHasBeenSet; }
98 inline void SetSegmentationTypeId(int value) { m_segmentationTypeIdHasBeenSet = true; m_segmentationTypeId = value; }
99 inline SegmentationDescriptor& WithSegmentationTypeId(int value) { SetSegmentationTypeId(value); return *this;}
101
103
109 inline int GetSegmentNum() const { return m_segmentNum; }
110 inline bool SegmentNumHasBeenSet() const { return m_segmentNumHasBeenSet; }
111 inline void SetSegmentNum(int value) { m_segmentNumHasBeenSet = true; m_segmentNum = value; }
112 inline SegmentationDescriptor& WithSegmentNum(int value) { SetSegmentNum(value); return *this;}
114
116
122 inline int GetSegmentsExpected() const { return m_segmentsExpected; }
123 inline bool SegmentsExpectedHasBeenSet() const { return m_segmentsExpectedHasBeenSet; }
124 inline void SetSegmentsExpected(int value) { m_segmentsExpectedHasBeenSet = true; m_segmentsExpected = value; }
125 inline SegmentationDescriptor& WithSegmentsExpected(int value) { SetSegmentsExpected(value); return *this;}
127
129
135 inline int GetSubSegmentNum() const { return m_subSegmentNum; }
136 inline bool SubSegmentNumHasBeenSet() const { return m_subSegmentNumHasBeenSet; }
137 inline void SetSubSegmentNum(int value) { m_subSegmentNumHasBeenSet = true; m_subSegmentNum = value; }
138 inline SegmentationDescriptor& WithSubSegmentNum(int value) { SetSubSegmentNum(value); return *this;}
140
142
148 inline int GetSubSegmentsExpected() const { return m_subSegmentsExpected; }
149 inline bool SubSegmentsExpectedHasBeenSet() const { return m_subSegmentsExpectedHasBeenSet; }
150 inline void SetSubSegmentsExpected(int value) { m_subSegmentsExpectedHasBeenSet = true; m_subSegmentsExpected = value; }
153 private:
154
155 int m_segmentationEventId{0};
156 bool m_segmentationEventIdHasBeenSet = false;
157
158 int m_segmentationUpidType{0};
159 bool m_segmentationUpidTypeHasBeenSet = false;
160
161 Aws::String m_segmentationUpid;
162 bool m_segmentationUpidHasBeenSet = false;
163
164 int m_segmentationTypeId{0};
165 bool m_segmentationTypeIdHasBeenSet = false;
166
167 int m_segmentNum{0};
168 bool m_segmentNumHasBeenSet = false;
169
170 int m_segmentsExpected{0};
171 bool m_segmentsExpectedHasBeenSet = false;
172
173 int m_subSegmentNum{0};
174 bool m_subSegmentNumHasBeenSet = false;
175
176 int m_subSegmentsExpected{0};
177 bool m_subSegmentsExpectedHasBeenSet = false;
178 };
179
180} // namespace Model
181} // namespace MediaTailor
182} // namespace Aws
SegmentationDescriptor & WithSegmentsExpected(int value)
AWS_MEDIATAILOR_API Aws::Utils::Json::JsonValue Jsonize() const
SegmentationDescriptor & WithSubSegmentsExpected(int value)
SegmentationDescriptor & WithSegmentationEventId(int value)
SegmentationDescriptor & WithSegmentationUpid(SegmentationUpidT &&value)
SegmentationDescriptor & WithSegmentationUpidType(int value)
AWS_MEDIATAILOR_API SegmentationDescriptor & operator=(Aws::Utils::Json::JsonView jsonValue)
SegmentationDescriptor & WithSegmentNum(int value)
AWS_MEDIATAILOR_API SegmentationDescriptor(Aws::Utils::Json::JsonView jsonValue)
SegmentationDescriptor & WithSegmentationTypeId(int value)
SegmentationDescriptor & WithSubSegmentNum(int value)
AWS_MEDIATAILOR_API SegmentationDescriptor()=default
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue