AWS SDK for C++

AWS SDK for C++ Version 1.11.612

Loading...
Searching...
No Matches
InputSwitchConfiguration.h
1
6#pragma once
7#include <aws/mediapackagev2/Mediapackagev2_EXPORTS.h>
8
9namespace Aws
10{
11namespace Utils
12{
13namespace Json
14{
15 class JsonValue;
16 class JsonView;
17} // namespace Json
18} // namespace Utils
19namespace mediapackagev2
20{
21namespace Model
22{
23
32 {
33 public:
34 AWS_MEDIAPACKAGEV2_API InputSwitchConfiguration() = default;
35 AWS_MEDIAPACKAGEV2_API InputSwitchConfiguration(Aws::Utils::Json::JsonView jsonValue);
37 AWS_MEDIAPACKAGEV2_API Aws::Utils::Json::JsonValue Jsonize() const;
38
39
41
46 inline bool GetMQCSInputSwitching() const { return m_mQCSInputSwitching; }
47 inline bool MQCSInputSwitchingHasBeenSet() const { return m_mQCSInputSwitchingHasBeenSet; }
48 inline void SetMQCSInputSwitching(bool value) { m_mQCSInputSwitchingHasBeenSet = true; m_mQCSInputSwitching = value; }
49 inline InputSwitchConfiguration& WithMQCSInputSwitching(bool value) { SetMQCSInputSwitching(value); return *this;}
51
53
60 inline int GetPreferredInput() const { return m_preferredInput; }
61 inline bool PreferredInputHasBeenSet() const { return m_preferredInputHasBeenSet; }
62 inline void SetPreferredInput(int value) { m_preferredInputHasBeenSet = true; m_preferredInput = value; }
63 inline InputSwitchConfiguration& WithPreferredInput(int value) { SetPreferredInput(value); return *this;}
65 private:
66
67 bool m_mQCSInputSwitching{false};
68 bool m_mQCSInputSwitchingHasBeenSet = false;
69
70 int m_preferredInput{0};
71 bool m_preferredInputHasBeenSet = false;
72 };
73
74} // namespace Model
75} // namespace mediapackagev2
76} // namespace Aws
AWS_MEDIAPACKAGEV2_API InputSwitchConfiguration()=default
AWS_MEDIAPACKAGEV2_API Aws::Utils::Json::JsonValue Jsonize() const
InputSwitchConfiguration & WithMQCSInputSwitching(bool value)
AWS_MEDIAPACKAGEV2_API InputSwitchConfiguration & operator=(Aws::Utils::Json::JsonView jsonValue)
AWS_MEDIAPACKAGEV2_API InputSwitchConfiguration(Aws::Utils::Json::JsonView jsonValue)
Aws::Utils::Json::JsonValue JsonValue