AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
GlobalConfiguration.h
1
6#pragma once
7#include <aws/medialive/MediaLive_EXPORTS.h>
8#include <aws/medialive/model/GlobalConfigurationInputEndAction.h>
9#include <aws/medialive/model/InputLossBehavior.h>
10#include <aws/medialive/model/GlobalConfigurationOutputLockingMode.h>
11#include <aws/medialive/model/GlobalConfigurationOutputTimingSource.h>
12#include <aws/medialive/model/GlobalConfigurationLowFramerateInputs.h>
13#include <aws/medialive/model/OutputLockingSettings.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 GlobalConfiguration();
40 AWS_MEDIALIVE_API GlobalConfiguration(Aws::Utils::Json::JsonView jsonValue);
42 AWS_MEDIALIVE_API Aws::Utils::Json::JsonValue Jsonize() const;
43
44
46
49 inline int GetInitialAudioGain() const{ return m_initialAudioGain; }
50 inline bool InitialAudioGainHasBeenSet() const { return m_initialAudioGainHasBeenSet; }
51 inline void SetInitialAudioGain(int value) { m_initialAudioGainHasBeenSet = true; m_initialAudioGain = value; }
52 inline GlobalConfiguration& WithInitialAudioGain(int value) { SetInitialAudioGain(value); return *this;}
54
56
64 inline const GlobalConfigurationInputEndAction& GetInputEndAction() const{ return m_inputEndAction; }
65 inline bool InputEndActionHasBeenSet() const { return m_inputEndActionHasBeenSet; }
66 inline void SetInputEndAction(const GlobalConfigurationInputEndAction& value) { m_inputEndActionHasBeenSet = true; m_inputEndAction = value; }
67 inline void SetInputEndAction(GlobalConfigurationInputEndAction&& value) { m_inputEndActionHasBeenSet = true; m_inputEndAction = std::move(value); }
71
73
76 inline const InputLossBehavior& GetInputLossBehavior() const{ return m_inputLossBehavior; }
77 inline bool InputLossBehaviorHasBeenSet() const { return m_inputLossBehaviorHasBeenSet; }
78 inline void SetInputLossBehavior(const InputLossBehavior& value) { m_inputLossBehaviorHasBeenSet = true; m_inputLossBehavior = value; }
79 inline void SetInputLossBehavior(InputLossBehavior&& value) { m_inputLossBehaviorHasBeenSet = true; m_inputLossBehavior = std::move(value); }
81 inline GlobalConfiguration& WithInputLossBehavior(InputLossBehavior&& value) { SetInputLossBehavior(std::move(value)); return *this;}
83
85
94 inline const GlobalConfigurationOutputLockingMode& GetOutputLockingMode() const{ return m_outputLockingMode; }
95 inline bool OutputLockingModeHasBeenSet() const { return m_outputLockingModeHasBeenSet; }
96 inline void SetOutputLockingMode(const GlobalConfigurationOutputLockingMode& value) { m_outputLockingModeHasBeenSet = true; m_outputLockingMode = value; }
97 inline void SetOutputLockingMode(GlobalConfigurationOutputLockingMode&& value) { m_outputLockingModeHasBeenSet = true; m_outputLockingMode = std::move(value); }
101
103
109 inline const GlobalConfigurationOutputTimingSource& GetOutputTimingSource() const{ return m_outputTimingSource; }
110 inline bool OutputTimingSourceHasBeenSet() const { return m_outputTimingSourceHasBeenSet; }
111 inline void SetOutputTimingSource(const GlobalConfigurationOutputTimingSource& value) { m_outputTimingSourceHasBeenSet = true; m_outputTimingSource = value; }
112 inline void SetOutputTimingSource(GlobalConfigurationOutputTimingSource&& value) { m_outputTimingSourceHasBeenSet = true; m_outputTimingSource = std::move(value); }
116
118
123 inline const GlobalConfigurationLowFramerateInputs& GetSupportLowFramerateInputs() const{ return m_supportLowFramerateInputs; }
124 inline bool SupportLowFramerateInputsHasBeenSet() const { return m_supportLowFramerateInputsHasBeenSet; }
125 inline void SetSupportLowFramerateInputs(const GlobalConfigurationLowFramerateInputs& value) { m_supportLowFramerateInputsHasBeenSet = true; m_supportLowFramerateInputs = value; }
126 inline void SetSupportLowFramerateInputs(GlobalConfigurationLowFramerateInputs&& value) { m_supportLowFramerateInputsHasBeenSet = true; m_supportLowFramerateInputs = std::move(value); }
130
132
135 inline const OutputLockingSettings& GetOutputLockingSettings() const{ return m_outputLockingSettings; }
136 inline bool OutputLockingSettingsHasBeenSet() const { return m_outputLockingSettingsHasBeenSet; }
137 inline void SetOutputLockingSettings(const OutputLockingSettings& value) { m_outputLockingSettingsHasBeenSet = true; m_outputLockingSettings = value; }
138 inline void SetOutputLockingSettings(OutputLockingSettings&& value) { m_outputLockingSettingsHasBeenSet = true; m_outputLockingSettings = std::move(value); }
142 private:
143
144 int m_initialAudioGain;
145 bool m_initialAudioGainHasBeenSet = false;
146
147 GlobalConfigurationInputEndAction m_inputEndAction;
148 bool m_inputEndActionHasBeenSet = false;
149
150 InputLossBehavior m_inputLossBehavior;
151 bool m_inputLossBehaviorHasBeenSet = false;
152
153 GlobalConfigurationOutputLockingMode m_outputLockingMode;
154 bool m_outputLockingModeHasBeenSet = false;
155
156 GlobalConfigurationOutputTimingSource m_outputTimingSource;
157 bool m_outputTimingSourceHasBeenSet = false;
158
159 GlobalConfigurationLowFramerateInputs m_supportLowFramerateInputs;
160 bool m_supportLowFramerateInputsHasBeenSet = false;
161
162 OutputLockingSettings m_outputLockingSettings;
163 bool m_outputLockingSettingsHasBeenSet = false;
164 };
165
166} // namespace Model
167} // namespace MediaLive
168} // namespace Aws
const OutputLockingSettings & GetOutputLockingSettings() const
void SetInputEndAction(GlobalConfigurationInputEndAction &&value)
void SetInputLossBehavior(InputLossBehavior &&value)
GlobalConfiguration & WithSupportLowFramerateInputs(GlobalConfigurationLowFramerateInputs &&value)
GlobalConfiguration & WithOutputLockingSettings(OutputLockingSettings &&value)
GlobalConfiguration & WithInputEndAction(const GlobalConfigurationInputEndAction &value)
void SetSupportLowFramerateInputs(GlobalConfigurationLowFramerateInputs &&value)
void SetOutputLockingMode(const GlobalConfigurationOutputLockingMode &value)
AWS_MEDIALIVE_API Aws::Utils::Json::JsonValue Jsonize() const
void SetSupportLowFramerateInputs(const GlobalConfigurationLowFramerateInputs &value)
void SetOutputTimingSource(GlobalConfigurationOutputTimingSource &&value)
const GlobalConfigurationOutputTimingSource & GetOutputTimingSource() const
void SetOutputLockingSettings(OutputLockingSettings &&value)
void SetOutputLockingMode(GlobalConfigurationOutputLockingMode &&value)
AWS_MEDIALIVE_API GlobalConfiguration & operator=(Aws::Utils::Json::JsonView jsonValue)
GlobalConfiguration & WithOutputLockingMode(const GlobalConfigurationOutputLockingMode &value)
AWS_MEDIALIVE_API GlobalConfiguration(Aws::Utils::Json::JsonView jsonValue)
GlobalConfiguration & WithOutputLockingSettings(const OutputLockingSettings &value)
const GlobalConfigurationInputEndAction & GetInputEndAction() const
GlobalConfiguration & WithOutputTimingSource(const GlobalConfigurationOutputTimingSource &value)
void SetOutputTimingSource(const GlobalConfigurationOutputTimingSource &value)
const GlobalConfigurationLowFramerateInputs & GetSupportLowFramerateInputs() const
GlobalConfiguration & WithInputLossBehavior(InputLossBehavior &&value)
GlobalConfiguration & WithOutputTimingSource(GlobalConfigurationOutputTimingSource &&value)
void SetInputLossBehavior(const InputLossBehavior &value)
const GlobalConfigurationOutputLockingMode & GetOutputLockingMode() const
GlobalConfiguration & WithInputEndAction(GlobalConfigurationInputEndAction &&value)
void SetOutputLockingSettings(const OutputLockingSettings &value)
GlobalConfiguration & WithInputLossBehavior(const InputLossBehavior &value)
const InputLossBehavior & GetInputLossBehavior() const
void SetInputEndAction(const GlobalConfigurationInputEndAction &value)
GlobalConfiguration & WithInitialAudioGain(int value)
GlobalConfiguration & WithSupportLowFramerateInputs(const GlobalConfigurationLowFramerateInputs &value)
GlobalConfiguration & WithOutputLockingMode(GlobalConfigurationOutputLockingMode &&value)
Aws::Utils::Json::JsonValue JsonValue