AWS SDK for C++

AWS SDK for C++ Version 1.11.440

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();
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 GetSegmentNum() const{ return m_segmentNum; }
55 inline bool SegmentNumHasBeenSet() const { return m_segmentNumHasBeenSet; }
56 inline void SetSegmentNum(int value) { m_segmentNumHasBeenSet = true; m_segmentNum = value; }
57 inline SegmentationDescriptor& WithSegmentNum(int value) { SetSegmentNum(value); return *this;}
59
61
67 inline int GetSegmentationEventId() const{ return m_segmentationEventId; }
68 inline bool SegmentationEventIdHasBeenSet() const { return m_segmentationEventIdHasBeenSet; }
69 inline void SetSegmentationEventId(int value) { m_segmentationEventIdHasBeenSet = true; m_segmentationEventId = value; }
70 inline SegmentationDescriptor& WithSegmentationEventId(int value) { SetSegmentationEventId(value); return *this;}
72
74
80 inline int GetSegmentationTypeId() const{ return m_segmentationTypeId; }
81 inline bool SegmentationTypeIdHasBeenSet() const { return m_segmentationTypeIdHasBeenSet; }
82 inline void SetSegmentationTypeId(int value) { m_segmentationTypeIdHasBeenSet = true; m_segmentationTypeId = value; }
83 inline SegmentationDescriptor& WithSegmentationTypeId(int value) { SetSegmentationTypeId(value); return *this;}
85
87
94 inline const Aws::String& GetSegmentationUpid() const{ return m_segmentationUpid; }
95 inline bool SegmentationUpidHasBeenSet() const { return m_segmentationUpidHasBeenSet; }
96 inline void SetSegmentationUpid(const Aws::String& value) { m_segmentationUpidHasBeenSet = true; m_segmentationUpid = value; }
97 inline void SetSegmentationUpid(Aws::String&& value) { m_segmentationUpidHasBeenSet = true; m_segmentationUpid = std::move(value); }
98 inline void SetSegmentationUpid(const char* value) { m_segmentationUpidHasBeenSet = true; m_segmentationUpid.assign(value); }
99 inline SegmentationDescriptor& WithSegmentationUpid(const Aws::String& value) { SetSegmentationUpid(value); return *this;}
100 inline SegmentationDescriptor& WithSegmentationUpid(Aws::String&& value) { SetSegmentationUpid(std::move(value)); return *this;}
101 inline SegmentationDescriptor& WithSegmentationUpid(const char* value) { SetSegmentationUpid(value); return *this;}
103
105
111 inline int GetSegmentationUpidType() const{ return m_segmentationUpidType; }
112 inline bool SegmentationUpidTypeHasBeenSet() const { return m_segmentationUpidTypeHasBeenSet; }
113 inline void SetSegmentationUpidType(int value) { m_segmentationUpidTypeHasBeenSet = true; m_segmentationUpidType = value; }
116
118
124 inline int GetSegmentsExpected() const{ return m_segmentsExpected; }
125 inline bool SegmentsExpectedHasBeenSet() const { return m_segmentsExpectedHasBeenSet; }
126 inline void SetSegmentsExpected(int value) { m_segmentsExpectedHasBeenSet = true; m_segmentsExpected = value; }
127 inline SegmentationDescriptor& WithSegmentsExpected(int value) { SetSegmentsExpected(value); return *this;}
129
131
137 inline int GetSubSegmentNum() const{ return m_subSegmentNum; }
138 inline bool SubSegmentNumHasBeenSet() const { return m_subSegmentNumHasBeenSet; }
139 inline void SetSubSegmentNum(int value) { m_subSegmentNumHasBeenSet = true; m_subSegmentNum = value; }
140 inline SegmentationDescriptor& WithSubSegmentNum(int value) { SetSubSegmentNum(value); return *this;}
142
144
150 inline int GetSubSegmentsExpected() const{ return m_subSegmentsExpected; }
151 inline bool SubSegmentsExpectedHasBeenSet() const { return m_subSegmentsExpectedHasBeenSet; }
152 inline void SetSubSegmentsExpected(int value) { m_subSegmentsExpectedHasBeenSet = true; m_subSegmentsExpected = value; }
155 private:
156
157 int m_segmentNum;
158 bool m_segmentNumHasBeenSet = false;
159
160 int m_segmentationEventId;
161 bool m_segmentationEventIdHasBeenSet = false;
162
163 int m_segmentationTypeId;
164 bool m_segmentationTypeIdHasBeenSet = false;
165
166 Aws::String m_segmentationUpid;
167 bool m_segmentationUpidHasBeenSet = false;
168
169 int m_segmentationUpidType;
170 bool m_segmentationUpidTypeHasBeenSet = false;
171
172 int m_segmentsExpected;
173 bool m_segmentsExpectedHasBeenSet = false;
174
175 int m_subSegmentNum;
176 bool m_subSegmentNumHasBeenSet = false;
177
178 int m_subSegmentsExpected;
179 bool m_subSegmentsExpectedHasBeenSet = false;
180 };
181
182} // namespace Model
183} // namespace MediaTailor
184} // namespace Aws
SegmentationDescriptor & WithSegmentationUpid(const char *value)
SegmentationDescriptor & WithSegmentationUpid(Aws::String &&value)
SegmentationDescriptor & WithSegmentsExpected(int value)
AWS_MEDIATAILOR_API Aws::Utils::Json::JsonValue Jsonize() const
SegmentationDescriptor & WithSubSegmentsExpected(int value)
SegmentationDescriptor & WithSegmentationEventId(int 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)
SegmentationDescriptor & WithSegmentationUpid(const Aws::String &value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue