AWS SDK for C++

AWS SDK for C++ Version 1.11.606

Loading...
Searching...
No Matches
InputDeviceConfigurableSettings.h
1
6#pragma once
7#include <aws/medialive/MediaLive_EXPORTS.h>
8#include <aws/medialive/model/InputDeviceConfiguredInput.h>
9#include <aws/medialive/model/InputDeviceCodec.h>
10#include <aws/medialive/model/InputDeviceMediaConnectConfigurableSettings.h>
11#include <aws/core/utils/memory/stl/AWSVector.h>
12#include <aws/core/utils/memory/stl/AWSString.h>
13#include <aws/medialive/model/InputDeviceConfigurableAudioChannelPairConfig.h>
14#include <utility>
15
16namespace Aws
17{
18namespace Utils
19{
20namespace Json
21{
22 class JsonValue;
23 class JsonView;
24} // namespace Json
25} // namespace Utils
26namespace MediaLive
27{
28namespace Model
29{
30
37 {
38 public:
39 AWS_MEDIALIVE_API InputDeviceConfigurableSettings() = default;
42 AWS_MEDIALIVE_API Aws::Utils::Json::JsonValue Jsonize() const;
43
44
46
52 inline InputDeviceConfiguredInput GetConfiguredInput() const { return m_configuredInput; }
53 inline bool ConfiguredInputHasBeenSet() const { return m_configuredInputHasBeenSet; }
54 inline void SetConfiguredInput(InputDeviceConfiguredInput value) { m_configuredInputHasBeenSet = true; m_configuredInput = value; }
57
59
63 inline int GetMaxBitrate() const { return m_maxBitrate; }
64 inline bool MaxBitrateHasBeenSet() const { return m_maxBitrateHasBeenSet; }
65 inline void SetMaxBitrate(int value) { m_maxBitrateHasBeenSet = true; m_maxBitrate = value; }
66 inline InputDeviceConfigurableSettings& WithMaxBitrate(int value) { SetMaxBitrate(value); return *this;}
68
70
73 inline int GetLatencyMs() const { return m_latencyMs; }
74 inline bool LatencyMsHasBeenSet() const { return m_latencyMsHasBeenSet; }
75 inline void SetLatencyMs(int value) { m_latencyMsHasBeenSet = true; m_latencyMs = value; }
76 inline InputDeviceConfigurableSettings& WithLatencyMs(int value) { SetLatencyMs(value); return *this;}
78
80
84 inline InputDeviceCodec GetCodec() const { return m_codec; }
85 inline bool CodecHasBeenSet() const { return m_codecHasBeenSet; }
86 inline void SetCodec(InputDeviceCodec value) { m_codecHasBeenSet = true; m_codec = value; }
89
91
96 inline const InputDeviceMediaConnectConfigurableSettings& GetMediaconnectSettings() const { return m_mediaconnectSettings; }
97 inline bool MediaconnectSettingsHasBeenSet() const { return m_mediaconnectSettingsHasBeenSet; }
98 template<typename MediaconnectSettingsT = InputDeviceMediaConnectConfigurableSettings>
99 void SetMediaconnectSettings(MediaconnectSettingsT&& value) { m_mediaconnectSettingsHasBeenSet = true; m_mediaconnectSettings = std::forward<MediaconnectSettingsT>(value); }
100 template<typename MediaconnectSettingsT = InputDeviceMediaConnectConfigurableSettings>
101 InputDeviceConfigurableSettings& WithMediaconnectSettings(MediaconnectSettingsT&& value) { SetMediaconnectSettings(std::forward<MediaconnectSettingsT>(value)); return *this;}
103
105
113 inline const Aws::Vector<InputDeviceConfigurableAudioChannelPairConfig>& GetAudioChannelPairs() const { return m_audioChannelPairs; }
114 inline bool AudioChannelPairsHasBeenSet() const { return m_audioChannelPairsHasBeenSet; }
115 template<typename AudioChannelPairsT = Aws::Vector<InputDeviceConfigurableAudioChannelPairConfig>>
116 void SetAudioChannelPairs(AudioChannelPairsT&& value) { m_audioChannelPairsHasBeenSet = true; m_audioChannelPairs = std::forward<AudioChannelPairsT>(value); }
117 template<typename AudioChannelPairsT = Aws::Vector<InputDeviceConfigurableAudioChannelPairConfig>>
118 InputDeviceConfigurableSettings& WithAudioChannelPairs(AudioChannelPairsT&& value) { SetAudioChannelPairs(std::forward<AudioChannelPairsT>(value)); return *this;}
119 template<typename AudioChannelPairsT = InputDeviceConfigurableAudioChannelPairConfig>
120 InputDeviceConfigurableSettings& AddAudioChannelPairs(AudioChannelPairsT&& value) { m_audioChannelPairsHasBeenSet = true; m_audioChannelPairs.emplace_back(std::forward<AudioChannelPairsT>(value)); return *this; }
122
124
130 inline const Aws::String& GetInputResolution() const { return m_inputResolution; }
131 inline bool InputResolutionHasBeenSet() const { return m_inputResolutionHasBeenSet; }
132 template<typename InputResolutionT = Aws::String>
133 void SetInputResolution(InputResolutionT&& value) { m_inputResolutionHasBeenSet = true; m_inputResolution = std::forward<InputResolutionT>(value); }
134 template<typename InputResolutionT = Aws::String>
135 InputDeviceConfigurableSettings& WithInputResolution(InputResolutionT&& value) { SetInputResolution(std::forward<InputResolutionT>(value)); return *this;}
137 private:
138
140 bool m_configuredInputHasBeenSet = false;
141
142 int m_maxBitrate{0};
143 bool m_maxBitrateHasBeenSet = false;
144
145 int m_latencyMs{0};
146 bool m_latencyMsHasBeenSet = false;
147
149 bool m_codecHasBeenSet = false;
150
151 InputDeviceMediaConnectConfigurableSettings m_mediaconnectSettings;
152 bool m_mediaconnectSettingsHasBeenSet = false;
153
155 bool m_audioChannelPairsHasBeenSet = false;
156
157 Aws::String m_inputResolution;
158 bool m_inputResolutionHasBeenSet = false;
159 };
160
161} // namespace Model
162} // namespace MediaLive
163} // namespace Aws
const Aws::Vector< InputDeviceConfigurableAudioChannelPairConfig > & GetAudioChannelPairs() const
InputDeviceConfigurableSettings & WithAudioChannelPairs(AudioChannelPairsT &&value)
AWS_MEDIALIVE_API InputDeviceConfigurableSettings()=default
AWS_MEDIALIVE_API InputDeviceConfigurableSettings & operator=(Aws::Utils::Json::JsonView jsonValue)
AWS_MEDIALIVE_API Aws::Utils::Json::JsonValue Jsonize() const
InputDeviceConfigurableSettings & WithMediaconnectSettings(MediaconnectSettingsT &&value)
InputDeviceConfigurableSettings & AddAudioChannelPairs(AudioChannelPairsT &&value)
const InputDeviceMediaConnectConfigurableSettings & GetMediaconnectSettings() const
InputDeviceConfigurableSettings & WithCodec(InputDeviceCodec value)
InputDeviceConfigurableSettings & WithInputResolution(InputResolutionT &&value)
InputDeviceConfigurableSettings & WithConfiguredInput(InputDeviceConfiguredInput value)
AWS_MEDIALIVE_API InputDeviceConfigurableSettings(Aws::Utils::Json::JsonView jsonValue)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
std::vector< T, Aws::Allocator< T > > Vector
Aws::Utils::Json::JsonValue JsonValue