AWS SDK for C++

AWS SDK for C++ Version 1.11.926

Loading...
Searching...
No Matches
PassthroughSettings.h
1
6#pragma once
7#include <aws/mediaconvert/MediaConvert_EXPORTS.h>
8#include <aws/mediaconvert/model/FrameControl.h>
9#include <aws/mediaconvert/model/PassthroughSegmentationMode.h>
10#include <aws/mediaconvert/model/VideoSelectorMode.h>
11
12#include <utility>
13
14namespace Aws {
15namespace Utils {
16namespace Json {
17class JsonValue;
18class JsonView;
19} // namespace Json
20} // namespace Utils
21namespace MediaConvert {
22namespace Model {
23
31 public:
32 AWS_MEDIACONVERT_API PassthroughSettings() = default;
33 AWS_MEDIACONVERT_API PassthroughSettings(Aws::Utils::Json::JsonView jsonValue);
35 AWS_MEDIACONVERT_API Aws::Utils::Json::JsonValue Jsonize() const;
36
38
50 inline FrameControl GetFrameControl() const { return m_frameControl; }
51 inline bool FrameControlHasBeenSet() const { return m_frameControlHasBeenSet; }
52 inline void SetFrameControl(FrameControl value) {
53 m_frameControlHasBeenSet = true;
54 m_frameControl = value;
55 }
57 SetFrameControl(value);
58 return *this;
59 }
61
63
72 inline int GetGopsPerSegment() const { return m_gopsPerSegment; }
73 inline bool GopsPerSegmentHasBeenSet() const { return m_gopsPerSegmentHasBeenSet; }
74 inline void SetGopsPerSegment(int value) {
75 m_gopsPerSegmentHasBeenSet = true;
76 m_gopsPerSegment = value;
77 }
79 SetGopsPerSegment(value);
80 return *this;
81 }
83
85
105 inline PassthroughSegmentationMode GetSegmentationMode() const { return m_segmentationMode; }
106 inline bool SegmentationModeHasBeenSet() const { return m_segmentationModeHasBeenSet; }
108 m_segmentationModeHasBeenSet = true;
109 m_segmentationMode = value;
110 }
116
118
125 inline VideoSelectorMode GetVideoSelectorMode() const { return m_videoSelectorMode; }
126 inline bool VideoSelectorModeHasBeenSet() const { return m_videoSelectorModeHasBeenSet; }
128 m_videoSelectorModeHasBeenSet = true;
129 m_videoSelectorMode = value;
130 }
133 return *this;
134 }
136 private:
137 FrameControl m_frameControl{FrameControl::NOT_SET};
138
139 int m_gopsPerSegment{0};
140
142
144 bool m_frameControlHasBeenSet = false;
145 bool m_gopsPerSegmentHasBeenSet = false;
146 bool m_segmentationModeHasBeenSet = false;
147 bool m_videoSelectorModeHasBeenSet = false;
148};
149
150} // namespace Model
151} // namespace MediaConvert
152} // namespace Aws
AWS_MEDIACONVERT_API Aws::Utils::Json::JsonValue Jsonize() const
PassthroughSettings & WithSegmentationMode(PassthroughSegmentationMode value)
void SetSegmentationMode(PassthroughSegmentationMode value)
PassthroughSettings & WithVideoSelectorMode(VideoSelectorMode value)
AWS_MEDIACONVERT_API PassthroughSettings(Aws::Utils::Json::JsonView jsonValue)
PassthroughSettings & WithFrameControl(FrameControl value)
AWS_MEDIACONVERT_API PassthroughSettings()=default
PassthroughSettings & WithGopsPerSegment(int value)
AWS_MEDIACONVERT_API PassthroughSettings & operator=(Aws::Utils::Json::JsonView jsonValue)
PassthroughSegmentationMode GetSegmentationMode() const
Aws::Utils::Json::JsonValue JsonValue