AWS SDK for C++

AWS SDK for C++ Version 1.11.609

Loading...
Searching...
No Matches
InputDeviceHdSettings.h
1
6#pragma once
7#include <aws/medialive/MediaLive_EXPORTS.h>
8#include <aws/medialive/model/InputDeviceActiveInput.h>
9#include <aws/medialive/model/InputDeviceConfiguredInput.h>
10#include <aws/medialive/model/InputDeviceState.h>
11#include <aws/medialive/model/InputDeviceScanType.h>
12#include <utility>
13
14namespace Aws
15{
16namespace Utils
17{
18namespace Json
19{
20 class JsonValue;
21 class JsonView;
22} // namespace Json
23} // namespace Utils
24namespace MediaLive
25{
26namespace Model
27{
28
36 {
37 public:
38 AWS_MEDIALIVE_API InputDeviceHdSettings() = default;
41 AWS_MEDIALIVE_API Aws::Utils::Json::JsonValue Jsonize() const;
42
43
45
49 inline InputDeviceActiveInput GetActiveInput() const { return m_activeInput; }
50 inline bool ActiveInputHasBeenSet() const { return m_activeInputHasBeenSet; }
51 inline void SetActiveInput(InputDeviceActiveInput value) { m_activeInputHasBeenSet = true; m_activeInput = value; }
54
56
60 inline InputDeviceConfiguredInput GetConfiguredInput() const { return m_configuredInput; }
61 inline bool ConfiguredInputHasBeenSet() const { return m_configuredInputHasBeenSet; }
62 inline void SetConfiguredInput(InputDeviceConfiguredInput value) { m_configuredInputHasBeenSet = true; m_configuredInput = value; }
65
67
70 inline InputDeviceState GetDeviceState() const { return m_deviceState; }
71 inline bool DeviceStateHasBeenSet() const { return m_deviceStateHasBeenSet; }
72 inline void SetDeviceState(InputDeviceState value) { m_deviceStateHasBeenSet = true; m_deviceState = value; }
75
77
80 inline double GetFramerate() const { return m_framerate; }
81 inline bool FramerateHasBeenSet() const { return m_framerateHasBeenSet; }
82 inline void SetFramerate(double value) { m_framerateHasBeenSet = true; m_framerate = value; }
83 inline InputDeviceHdSettings& WithFramerate(double value) { SetFramerate(value); return *this;}
85
87
90 inline int GetHeight() const { return m_height; }
91 inline bool HeightHasBeenSet() const { return m_heightHasBeenSet; }
92 inline void SetHeight(int value) { m_heightHasBeenSet = true; m_height = value; }
93 inline InputDeviceHdSettings& WithHeight(int value) { SetHeight(value); return *this;}
95
97
101 inline int GetMaxBitrate() const { return m_maxBitrate; }
102 inline bool MaxBitrateHasBeenSet() const { return m_maxBitrateHasBeenSet; }
103 inline void SetMaxBitrate(int value) { m_maxBitrateHasBeenSet = true; m_maxBitrate = value; }
104 inline InputDeviceHdSettings& WithMaxBitrate(int value) { SetMaxBitrate(value); return *this;}
106
108
111 inline InputDeviceScanType GetScanType() const { return m_scanType; }
112 inline bool ScanTypeHasBeenSet() const { return m_scanTypeHasBeenSet; }
113 inline void SetScanType(InputDeviceScanType value) { m_scanTypeHasBeenSet = true; m_scanType = value; }
116
118
121 inline int GetWidth() const { return m_width; }
122 inline bool WidthHasBeenSet() const { return m_widthHasBeenSet; }
123 inline void SetWidth(int value) { m_widthHasBeenSet = true; m_width = value; }
124 inline InputDeviceHdSettings& WithWidth(int value) { SetWidth(value); return *this;}
126
128
132 inline int GetLatencyMs() const { return m_latencyMs; }
133 inline bool LatencyMsHasBeenSet() const { return m_latencyMsHasBeenSet; }
134 inline void SetLatencyMs(int value) { m_latencyMsHasBeenSet = true; m_latencyMs = value; }
135 inline InputDeviceHdSettings& WithLatencyMs(int value) { SetLatencyMs(value); return *this;}
137 private:
138
140 bool m_activeInputHasBeenSet = false;
141
143 bool m_configuredInputHasBeenSet = false;
144
146 bool m_deviceStateHasBeenSet = false;
147
148 double m_framerate{0.0};
149 bool m_framerateHasBeenSet = false;
150
151 int m_height{0};
152 bool m_heightHasBeenSet = false;
153
154 int m_maxBitrate{0};
155 bool m_maxBitrateHasBeenSet = false;
156
158 bool m_scanTypeHasBeenSet = false;
159
160 int m_width{0};
161 bool m_widthHasBeenSet = false;
162
163 int m_latencyMs{0};
164 bool m_latencyMsHasBeenSet = false;
165 };
166
167} // namespace Model
168} // namespace MediaLive
169} // namespace Aws
AWS_MEDIALIVE_API Aws::Utils::Json::JsonValue Jsonize() const
InputDeviceHdSettings & WithHeight(int value)
InputDeviceHdSettings & WithLatencyMs(int value)
InputDeviceHdSettings & WithScanType(InputDeviceScanType value)
AWS_MEDIALIVE_API InputDeviceHdSettings()=default
AWS_MEDIALIVE_API InputDeviceHdSettings & operator=(Aws::Utils::Json::JsonView jsonValue)
InputDeviceHdSettings & WithMaxBitrate(int value)
InputDeviceHdSettings & WithDeviceState(InputDeviceState value)
void SetActiveInput(InputDeviceActiveInput value)
AWS_MEDIALIVE_API InputDeviceHdSettings(Aws::Utils::Json::JsonView jsonValue)
void SetConfiguredInput(InputDeviceConfiguredInput value)
InputDeviceConfiguredInput GetConfiguredInput() const
InputDeviceHdSettings & WithConfiguredInput(InputDeviceConfiguredInput value)
InputDeviceHdSettings & WithActiveInput(InputDeviceActiveInput value)
InputDeviceHdSettings & WithWidth(int value)
InputDeviceHdSettings & WithFramerate(double value)
Aws::Utils::Json::JsonValue JsonValue