AWS SDK for C++

AWS SDK for C++ Version 1.11.440

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();
41 AWS_MEDIALIVE_API Aws::Utils::Json::JsonValue Jsonize() const;
42
43
45
49 inline const InputDeviceActiveInput& GetActiveInput() const{ return m_activeInput; }
50 inline bool ActiveInputHasBeenSet() const { return m_activeInputHasBeenSet; }
51 inline void SetActiveInput(const InputDeviceActiveInput& value) { m_activeInputHasBeenSet = true; m_activeInput = value; }
52 inline void SetActiveInput(InputDeviceActiveInput&& value) { m_activeInputHasBeenSet = true; m_activeInput = std::move(value); }
53 inline InputDeviceHdSettings& WithActiveInput(const InputDeviceActiveInput& value) { SetActiveInput(value); return *this;}
54 inline InputDeviceHdSettings& WithActiveInput(InputDeviceActiveInput&& value) { SetActiveInput(std::move(value)); return *this;}
56
58
62 inline const InputDeviceConfiguredInput& GetConfiguredInput() const{ return m_configuredInput; }
63 inline bool ConfiguredInputHasBeenSet() const { return m_configuredInputHasBeenSet; }
64 inline void SetConfiguredInput(const InputDeviceConfiguredInput& value) { m_configuredInputHasBeenSet = true; m_configuredInput = value; }
65 inline void SetConfiguredInput(InputDeviceConfiguredInput&& value) { m_configuredInputHasBeenSet = true; m_configuredInput = std::move(value); }
69
71
74 inline const InputDeviceState& GetDeviceState() const{ return m_deviceState; }
75 inline bool DeviceStateHasBeenSet() const { return m_deviceStateHasBeenSet; }
76 inline void SetDeviceState(const InputDeviceState& value) { m_deviceStateHasBeenSet = true; m_deviceState = value; }
77 inline void SetDeviceState(InputDeviceState&& value) { m_deviceStateHasBeenSet = true; m_deviceState = std::move(value); }
78 inline InputDeviceHdSettings& WithDeviceState(const InputDeviceState& value) { SetDeviceState(value); return *this;}
79 inline InputDeviceHdSettings& WithDeviceState(InputDeviceState&& value) { SetDeviceState(std::move(value)); return *this;}
81
83
86 inline double GetFramerate() const{ return m_framerate; }
87 inline bool FramerateHasBeenSet() const { return m_framerateHasBeenSet; }
88 inline void SetFramerate(double value) { m_framerateHasBeenSet = true; m_framerate = value; }
89 inline InputDeviceHdSettings& WithFramerate(double value) { SetFramerate(value); return *this;}
91
93
96 inline int GetHeight() const{ return m_height; }
97 inline bool HeightHasBeenSet() const { return m_heightHasBeenSet; }
98 inline void SetHeight(int value) { m_heightHasBeenSet = true; m_height = value; }
99 inline InputDeviceHdSettings& WithHeight(int value) { SetHeight(value); return *this;}
101
103
107 inline int GetMaxBitrate() const{ return m_maxBitrate; }
108 inline bool MaxBitrateHasBeenSet() const { return m_maxBitrateHasBeenSet; }
109 inline void SetMaxBitrate(int value) { m_maxBitrateHasBeenSet = true; m_maxBitrate = value; }
110 inline InputDeviceHdSettings& WithMaxBitrate(int value) { SetMaxBitrate(value); return *this;}
112
114
117 inline const InputDeviceScanType& GetScanType() const{ return m_scanType; }
118 inline bool ScanTypeHasBeenSet() const { return m_scanTypeHasBeenSet; }
119 inline void SetScanType(const InputDeviceScanType& value) { m_scanTypeHasBeenSet = true; m_scanType = value; }
120 inline void SetScanType(InputDeviceScanType&& value) { m_scanTypeHasBeenSet = true; m_scanType = std::move(value); }
121 inline InputDeviceHdSettings& WithScanType(const InputDeviceScanType& value) { SetScanType(value); return *this;}
122 inline InputDeviceHdSettings& WithScanType(InputDeviceScanType&& value) { SetScanType(std::move(value)); return *this;}
124
126
129 inline int GetWidth() const{ return m_width; }
130 inline bool WidthHasBeenSet() const { return m_widthHasBeenSet; }
131 inline void SetWidth(int value) { m_widthHasBeenSet = true; m_width = value; }
132 inline InputDeviceHdSettings& WithWidth(int value) { SetWidth(value); return *this;}
134
136
140 inline int GetLatencyMs() const{ return m_latencyMs; }
141 inline bool LatencyMsHasBeenSet() const { return m_latencyMsHasBeenSet; }
142 inline void SetLatencyMs(int value) { m_latencyMsHasBeenSet = true; m_latencyMs = value; }
143 inline InputDeviceHdSettings& WithLatencyMs(int value) { SetLatencyMs(value); return *this;}
145 private:
146
147 InputDeviceActiveInput m_activeInput;
148 bool m_activeInputHasBeenSet = false;
149
150 InputDeviceConfiguredInput m_configuredInput;
151 bool m_configuredInputHasBeenSet = false;
152
153 InputDeviceState m_deviceState;
154 bool m_deviceStateHasBeenSet = false;
155
156 double m_framerate;
157 bool m_framerateHasBeenSet = false;
158
159 int m_height;
160 bool m_heightHasBeenSet = false;
161
162 int m_maxBitrate;
163 bool m_maxBitrateHasBeenSet = false;
164
165 InputDeviceScanType m_scanType;
166 bool m_scanTypeHasBeenSet = false;
167
168 int m_width;
169 bool m_widthHasBeenSet = false;
170
171 int m_latencyMs;
172 bool m_latencyMsHasBeenSet = false;
173 };
174
175} // namespace Model
176} // namespace MediaLive
177} // namespace Aws
AWS_MEDIALIVE_API Aws::Utils::Json::JsonValue Jsonize() const
void SetConfiguredInput(const InputDeviceConfiguredInput &value)
const InputDeviceConfiguredInput & GetConfiguredInput() const
void SetConfiguredInput(InputDeviceConfiguredInput &&value)
const InputDeviceScanType & GetScanType() const
InputDeviceHdSettings & WithActiveInput(InputDeviceActiveInput &&value)
InputDeviceHdSettings & WithHeight(int value)
const InputDeviceActiveInput & GetActiveInput() const
InputDeviceHdSettings & WithLatencyMs(int value)
const InputDeviceState & GetDeviceState() const
AWS_MEDIALIVE_API InputDeviceHdSettings & operator=(Aws::Utils::Json::JsonView jsonValue)
void SetScanType(InputDeviceScanType &&value)
InputDeviceHdSettings & WithScanType(const InputDeviceScanType &value)
InputDeviceHdSettings & WithConfiguredInput(const InputDeviceConfiguredInput &value)
InputDeviceHdSettings & WithMaxBitrate(int value)
AWS_MEDIALIVE_API InputDeviceHdSettings(Aws::Utils::Json::JsonView jsonValue)
void SetActiveInput(InputDeviceActiveInput &&value)
InputDeviceHdSettings & WithScanType(InputDeviceScanType &&value)
InputDeviceHdSettings & WithDeviceState(InputDeviceState &&value)
void SetScanType(const InputDeviceScanType &value)
InputDeviceHdSettings & WithActiveInput(const InputDeviceActiveInput &value)
void SetActiveInput(const InputDeviceActiveInput &value)
InputDeviceHdSettings & WithDeviceState(const InputDeviceState &value)
InputDeviceHdSettings & WithWidth(int value)
InputDeviceHdSettings & WithFramerate(double value)
InputDeviceHdSettings & WithConfiguredInput(InputDeviceConfiguredInput &&value)
void SetDeviceState(const InputDeviceState &value)
Aws::Utils::Json::JsonValue JsonValue