AWS SDK for C++

AWS SDK for C++ Version 1.11.695

Loading...
Searching...
No Matches
InputSwitchConfiguration.h
1
6#pragma once
7#include <aws/mediapackagev2/Mediapackagev2_EXPORTS.h>
8
9namespace Aws {
10namespace Utils {
11namespace Json {
12class JsonValue;
13class JsonView;
14} // namespace Json
15} // namespace Utils
16namespace mediapackagev2 {
17namespace Model {
18
27 public:
28 AWS_MEDIAPACKAGEV2_API InputSwitchConfiguration() = default;
29 AWS_MEDIAPACKAGEV2_API InputSwitchConfiguration(Aws::Utils::Json::JsonView jsonValue);
31 AWS_MEDIAPACKAGEV2_API Aws::Utils::Json::JsonValue Jsonize() const;
32
34
39 inline bool GetMQCSInputSwitching() const { return m_mQCSInputSwitching; }
40 inline bool MQCSInputSwitchingHasBeenSet() const { return m_mQCSInputSwitchingHasBeenSet; }
41 inline void SetMQCSInputSwitching(bool value) {
42 m_mQCSInputSwitchingHasBeenSet = true;
43 m_mQCSInputSwitching = value;
44 }
47 return *this;
48 }
50
52
59 inline int GetPreferredInput() const { return m_preferredInput; }
60 inline bool PreferredInputHasBeenSet() const { return m_preferredInputHasBeenSet; }
61 inline void SetPreferredInput(int value) {
62 m_preferredInputHasBeenSet = true;
63 m_preferredInput = value;
64 }
66 SetPreferredInput(value);
67 return *this;
68 }
70 private:
71 bool m_mQCSInputSwitching{false};
72 bool m_mQCSInputSwitchingHasBeenSet = false;
73
74 int m_preferredInput{0};
75 bool m_preferredInputHasBeenSet = false;
76};
77
78} // namespace Model
79} // namespace mediapackagev2
80} // 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