AWS SDK for C++

AWS SDK for C++ Version 1.11.743

Loading...
Searching...
No Matches
MultiplexProgramSettings.h
1
6#pragma once
7#include <aws/medialive/MediaLive_EXPORTS.h>
8#include <aws/medialive/model/MultiplexProgramServiceDescriptor.h>
9#include <aws/medialive/model/MultiplexVideoSettings.h>
10#include <aws/medialive/model/PreferredChannelPipeline.h>
11
12#include <utility>
13
14namespace Aws {
15namespace Utils {
16namespace Json {
17class JsonValue;
18class JsonView;
19} // namespace Json
20} // namespace Utils
21namespace MediaLive {
22namespace Model {
23
30 public:
31 AWS_MEDIALIVE_API MultiplexProgramSettings() = default;
34 AWS_MEDIALIVE_API Aws::Utils::Json::JsonValue Jsonize() const;
35
37
40 inline PreferredChannelPipeline GetPreferredChannelPipeline() const { return m_preferredChannelPipeline; }
41 inline bool PreferredChannelPipelineHasBeenSet() const { return m_preferredChannelPipelineHasBeenSet; }
43 m_preferredChannelPipelineHasBeenSet = true;
44 m_preferredChannelPipeline = value;
45 }
48 return *this;
49 }
51
53
56 inline int GetProgramNumber() const { return m_programNumber; }
57 inline bool ProgramNumberHasBeenSet() const { return m_programNumberHasBeenSet; }
58 inline void SetProgramNumber(int value) {
59 m_programNumberHasBeenSet = true;
60 m_programNumber = value;
61 }
63 SetProgramNumber(value);
64 return *this;
65 }
67
69
72 inline const MultiplexProgramServiceDescriptor& GetServiceDescriptor() const { return m_serviceDescriptor; }
73 inline bool ServiceDescriptorHasBeenSet() const { return m_serviceDescriptorHasBeenSet; }
74 template <typename ServiceDescriptorT = MultiplexProgramServiceDescriptor>
75 void SetServiceDescriptor(ServiceDescriptorT&& value) {
76 m_serviceDescriptorHasBeenSet = true;
77 m_serviceDescriptor = std::forward<ServiceDescriptorT>(value);
78 }
79 template <typename ServiceDescriptorT = MultiplexProgramServiceDescriptor>
80 MultiplexProgramSettings& WithServiceDescriptor(ServiceDescriptorT&& value) {
81 SetServiceDescriptor(std::forward<ServiceDescriptorT>(value));
82 return *this;
83 }
85
87
90 inline const MultiplexVideoSettings& GetVideoSettings() const { return m_videoSettings; }
91 inline bool VideoSettingsHasBeenSet() const { return m_videoSettingsHasBeenSet; }
92 template <typename VideoSettingsT = MultiplexVideoSettings>
93 void SetVideoSettings(VideoSettingsT&& value) {
94 m_videoSettingsHasBeenSet = true;
95 m_videoSettings = std::forward<VideoSettingsT>(value);
96 }
97 template <typename VideoSettingsT = MultiplexVideoSettings>
99 SetVideoSettings(std::forward<VideoSettingsT>(value));
100 return *this;
101 }
103 private:
105
106 int m_programNumber{0};
107
108 MultiplexProgramServiceDescriptor m_serviceDescriptor;
109
110 MultiplexVideoSettings m_videoSettings;
111 bool m_preferredChannelPipelineHasBeenSet = false;
112 bool m_programNumberHasBeenSet = false;
113 bool m_serviceDescriptorHasBeenSet = false;
114 bool m_videoSettingsHasBeenSet = false;
115};
116
117} // namespace Model
118} // namespace MediaLive
119} // namespace Aws
AWS_MEDIALIVE_API MultiplexProgramSettings()=default
MultiplexProgramSettings & WithServiceDescriptor(ServiceDescriptorT &&value)
AWS_MEDIALIVE_API MultiplexProgramSettings(Aws::Utils::Json::JsonView jsonValue)
AWS_MEDIALIVE_API MultiplexProgramSettings & operator=(Aws::Utils::Json::JsonView jsonValue)
const MultiplexProgramServiceDescriptor & GetServiceDescriptor() const
AWS_MEDIALIVE_API Aws::Utils::Json::JsonValue Jsonize() const
MultiplexProgramSettings & WithPreferredChannelPipeline(PreferredChannelPipeline value)
const MultiplexVideoSettings & GetVideoSettings() const
PreferredChannelPipeline GetPreferredChannelPipeline() const
MultiplexProgramSettings & WithVideoSettings(VideoSettingsT &&value)
void SetPreferredChannelPipeline(PreferredChannelPipeline value)
MultiplexProgramSettings & WithProgramNumber(int value)
Aws::Utils::Json::JsonValue JsonValue