AWS SDK for C++

AWS SDK for C++ Version 1.11.440

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/medialive/model/InputDeviceConfigurableAudioChannelPairConfig.h>
13#include <utility>
14
15namespace Aws
16{
17namespace Utils
18{
19namespace Json
20{
21 class JsonValue;
22 class JsonView;
23} // namespace Json
24} // namespace Utils
25namespace MediaLive
26{
27namespace Model
28{
29
36 {
37 public:
41 AWS_MEDIALIVE_API Aws::Utils::Json::JsonValue Jsonize() const;
42
43
45
51 inline const InputDeviceConfiguredInput& GetConfiguredInput() const{ return m_configuredInput; }
52 inline bool ConfiguredInputHasBeenSet() const { return m_configuredInputHasBeenSet; }
53 inline void SetConfiguredInput(const InputDeviceConfiguredInput& value) { m_configuredInputHasBeenSet = true; m_configuredInput = value; }
54 inline void SetConfiguredInput(InputDeviceConfiguredInput&& value) { m_configuredInputHasBeenSet = true; m_configuredInput = std::move(value); }
58
60
64 inline int GetMaxBitrate() const{ return m_maxBitrate; }
65 inline bool MaxBitrateHasBeenSet() const { return m_maxBitrateHasBeenSet; }
66 inline void SetMaxBitrate(int value) { m_maxBitrateHasBeenSet = true; m_maxBitrate = value; }
67 inline InputDeviceConfigurableSettings& WithMaxBitrate(int value) { SetMaxBitrate(value); return *this;}
69
71
74 inline int GetLatencyMs() const{ return m_latencyMs; }
75 inline bool LatencyMsHasBeenSet() const { return m_latencyMsHasBeenSet; }
76 inline void SetLatencyMs(int value) { m_latencyMsHasBeenSet = true; m_latencyMs = value; }
77 inline InputDeviceConfigurableSettings& WithLatencyMs(int value) { SetLatencyMs(value); return *this;}
79
81
85 inline const InputDeviceCodec& GetCodec() const{ return m_codec; }
86 inline bool CodecHasBeenSet() const { return m_codecHasBeenSet; }
87 inline void SetCodec(const InputDeviceCodec& value) { m_codecHasBeenSet = true; m_codec = value; }
88 inline void SetCodec(InputDeviceCodec&& value) { m_codecHasBeenSet = true; m_codec = std::move(value); }
89 inline InputDeviceConfigurableSettings& WithCodec(const InputDeviceCodec& value) { SetCodec(value); return *this;}
90 inline InputDeviceConfigurableSettings& WithCodec(InputDeviceCodec&& value) { SetCodec(std::move(value)); return *this;}
92
94
99 inline const InputDeviceMediaConnectConfigurableSettings& GetMediaconnectSettings() const{ return m_mediaconnectSettings; }
100 inline bool MediaconnectSettingsHasBeenSet() const { return m_mediaconnectSettingsHasBeenSet; }
101 inline void SetMediaconnectSettings(const InputDeviceMediaConnectConfigurableSettings& value) { m_mediaconnectSettingsHasBeenSet = true; m_mediaconnectSettings = value; }
102 inline void SetMediaconnectSettings(InputDeviceMediaConnectConfigurableSettings&& value) { m_mediaconnectSettingsHasBeenSet = true; m_mediaconnectSettings = std::move(value); }
106
108
116 inline const Aws::Vector<InputDeviceConfigurableAudioChannelPairConfig>& GetAudioChannelPairs() const{ return m_audioChannelPairs; }
117 inline bool AudioChannelPairsHasBeenSet() const { return m_audioChannelPairsHasBeenSet; }
118 inline void SetAudioChannelPairs(const Aws::Vector<InputDeviceConfigurableAudioChannelPairConfig>& value) { m_audioChannelPairsHasBeenSet = true; m_audioChannelPairs = value; }
119 inline void SetAudioChannelPairs(Aws::Vector<InputDeviceConfigurableAudioChannelPairConfig>&& value) { m_audioChannelPairsHasBeenSet = true; m_audioChannelPairs = std::move(value); }
122 inline InputDeviceConfigurableSettings& AddAudioChannelPairs(const InputDeviceConfigurableAudioChannelPairConfig& value) { m_audioChannelPairsHasBeenSet = true; m_audioChannelPairs.push_back(value); return *this; }
123 inline InputDeviceConfigurableSettings& AddAudioChannelPairs(InputDeviceConfigurableAudioChannelPairConfig&& value) { m_audioChannelPairsHasBeenSet = true; m_audioChannelPairs.push_back(std::move(value)); return *this; }
125 private:
126
127 InputDeviceConfiguredInput m_configuredInput;
128 bool m_configuredInputHasBeenSet = false;
129
130 int m_maxBitrate;
131 bool m_maxBitrateHasBeenSet = false;
132
133 int m_latencyMs;
134 bool m_latencyMsHasBeenSet = false;
135
136 InputDeviceCodec m_codec;
137 bool m_codecHasBeenSet = false;
138
139 InputDeviceMediaConnectConfigurableSettings m_mediaconnectSettings;
140 bool m_mediaconnectSettingsHasBeenSet = false;
141
143 bool m_audioChannelPairsHasBeenSet = false;
144 };
145
146} // namespace Model
147} // namespace MediaLive
148} // namespace Aws
const Aws::Vector< InputDeviceConfigurableAudioChannelPairConfig > & GetAudioChannelPairs() const
InputDeviceConfigurableSettings & WithMediaconnectSettings(InputDeviceMediaConnectConfigurableSettings &&value)
InputDeviceConfigurableSettings & AddAudioChannelPairs(InputDeviceConfigurableAudioChannelPairConfig &&value)
InputDeviceConfigurableSettings & WithConfiguredInput(const InputDeviceConfiguredInput &value)
InputDeviceConfigurableSettings & WithMediaconnectSettings(const InputDeviceMediaConnectConfigurableSettings &value)
AWS_MEDIALIVE_API InputDeviceConfigurableSettings & operator=(Aws::Utils::Json::JsonView jsonValue)
AWS_MEDIALIVE_API Aws::Utils::Json::JsonValue Jsonize() const
InputDeviceConfigurableSettings & WithAudioChannelPairs(Aws::Vector< InputDeviceConfigurableAudioChannelPairConfig > &&value)
InputDeviceConfigurableSettings & WithAudioChannelPairs(const Aws::Vector< InputDeviceConfigurableAudioChannelPairConfig > &value)
void SetAudioChannelPairs(Aws::Vector< InputDeviceConfigurableAudioChannelPairConfig > &&value)
InputDeviceConfigurableSettings & WithConfiguredInput(InputDeviceConfiguredInput &&value)
const InputDeviceMediaConnectConfigurableSettings & GetMediaconnectSettings() const
void SetAudioChannelPairs(const Aws::Vector< InputDeviceConfigurableAudioChannelPairConfig > &value)
void SetMediaconnectSettings(InputDeviceMediaConnectConfigurableSettings &&value)
InputDeviceConfigurableSettings & WithCodec(const InputDeviceCodec &value)
AWS_MEDIALIVE_API InputDeviceConfigurableSettings(Aws::Utils::Json::JsonView jsonValue)
void SetMediaconnectSettings(const InputDeviceMediaConnectConfigurableSettings &value)
InputDeviceConfigurableSettings & AddAudioChannelPairs(const InputDeviceConfigurableAudioChannelPairConfig &value)
InputDeviceConfigurableSettings & WithCodec(InputDeviceCodec &&value)
void SetConfiguredInput(const InputDeviceConfiguredInput &value)
std::vector< T, Aws::Allocator< T > > Vector
Aws::Utils::Json::JsonValue JsonValue