AWS SDK for C++

AWS SDK for C++ Version 1.11.743

Loading...
Searching...
No Matches
MultiplexProgram.h
1
6#pragma once
7#include <aws/core/utils/memory/stl/AWSString.h>
8#include <aws/core/utils/memory/stl/AWSVector.h>
9#include <aws/medialive/MediaLive_EXPORTS.h>
10#include <aws/medialive/model/MultiplexProgramPacketIdentifiersMap.h>
11#include <aws/medialive/model/MultiplexProgramPipelineDetail.h>
12#include <aws/medialive/model/MultiplexProgramSettings.h>
13
14#include <utility>
15
16namespace Aws {
17namespace Utils {
18namespace Json {
19class JsonValue;
20class JsonView;
21} // namespace Json
22} // namespace Utils
23namespace MediaLive {
24namespace Model {
25
32 public:
33 AWS_MEDIALIVE_API MultiplexProgram() = default;
34 AWS_MEDIALIVE_API MultiplexProgram(Aws::Utils::Json::JsonView jsonValue);
36 AWS_MEDIALIVE_API Aws::Utils::Json::JsonValue Jsonize() const;
37
39
42 inline const Aws::String& GetChannelId() const { return m_channelId; }
43 inline bool ChannelIdHasBeenSet() const { return m_channelIdHasBeenSet; }
44 template <typename ChannelIdT = Aws::String>
45 void SetChannelId(ChannelIdT&& value) {
46 m_channelIdHasBeenSet = true;
47 m_channelId = std::forward<ChannelIdT>(value);
48 }
49 template <typename ChannelIdT = Aws::String>
50 MultiplexProgram& WithChannelId(ChannelIdT&& value) {
51 SetChannelId(std::forward<ChannelIdT>(value));
52 return *this;
53 }
55
57
60 inline const MultiplexProgramSettings& GetMultiplexProgramSettings() const { return m_multiplexProgramSettings; }
61 inline bool MultiplexProgramSettingsHasBeenSet() const { return m_multiplexProgramSettingsHasBeenSet; }
62 template <typename MultiplexProgramSettingsT = MultiplexProgramSettings>
63 void SetMultiplexProgramSettings(MultiplexProgramSettingsT&& value) {
64 m_multiplexProgramSettingsHasBeenSet = true;
65 m_multiplexProgramSettings = std::forward<MultiplexProgramSettingsT>(value);
66 }
67 template <typename MultiplexProgramSettingsT = MultiplexProgramSettings>
68 MultiplexProgram& WithMultiplexProgramSettings(MultiplexProgramSettingsT&& value) {
69 SetMultiplexProgramSettings(std::forward<MultiplexProgramSettingsT>(value));
70 return *this;
71 }
73
75
78 inline const MultiplexProgramPacketIdentifiersMap& GetPacketIdentifiersMap() const { return m_packetIdentifiersMap; }
79 inline bool PacketIdentifiersMapHasBeenSet() const { return m_packetIdentifiersMapHasBeenSet; }
80 template <typename PacketIdentifiersMapT = MultiplexProgramPacketIdentifiersMap>
81 void SetPacketIdentifiersMap(PacketIdentifiersMapT&& value) {
82 m_packetIdentifiersMapHasBeenSet = true;
83 m_packetIdentifiersMap = std::forward<PacketIdentifiersMapT>(value);
84 }
85 template <typename PacketIdentifiersMapT = MultiplexProgramPacketIdentifiersMap>
86 MultiplexProgram& WithPacketIdentifiersMap(PacketIdentifiersMapT&& value) {
87 SetPacketIdentifiersMap(std::forward<PacketIdentifiersMapT>(value));
88 return *this;
89 }
91
93
99 inline const Aws::Vector<MultiplexProgramPipelineDetail>& GetPipelineDetails() const { return m_pipelineDetails; }
100 inline bool PipelineDetailsHasBeenSet() const { return m_pipelineDetailsHasBeenSet; }
101 template <typename PipelineDetailsT = Aws::Vector<MultiplexProgramPipelineDetail>>
102 void SetPipelineDetails(PipelineDetailsT&& value) {
103 m_pipelineDetailsHasBeenSet = true;
104 m_pipelineDetails = std::forward<PipelineDetailsT>(value);
105 }
106 template <typename PipelineDetailsT = Aws::Vector<MultiplexProgramPipelineDetail>>
107 MultiplexProgram& WithPipelineDetails(PipelineDetailsT&& value) {
108 SetPipelineDetails(std::forward<PipelineDetailsT>(value));
109 return *this;
110 }
111 template <typename PipelineDetailsT = MultiplexProgramPipelineDetail>
112 MultiplexProgram& AddPipelineDetails(PipelineDetailsT&& value) {
113 m_pipelineDetailsHasBeenSet = true;
114 m_pipelineDetails.emplace_back(std::forward<PipelineDetailsT>(value));
115 return *this;
116 }
118
120
123 inline const Aws::String& GetProgramName() const { return m_programName; }
124 inline bool ProgramNameHasBeenSet() const { return m_programNameHasBeenSet; }
125 template <typename ProgramNameT = Aws::String>
126 void SetProgramName(ProgramNameT&& value) {
127 m_programNameHasBeenSet = true;
128 m_programName = std::forward<ProgramNameT>(value);
129 }
130 template <typename ProgramNameT = Aws::String>
131 MultiplexProgram& WithProgramName(ProgramNameT&& value) {
132 SetProgramName(std::forward<ProgramNameT>(value));
133 return *this;
134 }
136 private:
137 Aws::String m_channelId;
138
139 MultiplexProgramSettings m_multiplexProgramSettings;
140
141 MultiplexProgramPacketIdentifiersMap m_packetIdentifiersMap;
142
144
145 Aws::String m_programName;
146 bool m_channelIdHasBeenSet = false;
147 bool m_multiplexProgramSettingsHasBeenSet = false;
148 bool m_packetIdentifiersMapHasBeenSet = false;
149 bool m_pipelineDetailsHasBeenSet = false;
150 bool m_programNameHasBeenSet = false;
151};
152
153} // namespace Model
154} // namespace MediaLive
155} // namespace Aws
AWS_MEDIALIVE_API MultiplexProgram & operator=(Aws::Utils::Json::JsonView jsonValue)
const Aws::String & GetProgramName() const
const MultiplexProgramPacketIdentifiersMap & GetPacketIdentifiersMap() const
void SetMultiplexProgramSettings(MultiplexProgramSettingsT &&value)
MultiplexProgram & WithProgramName(ProgramNameT &&value)
void SetPacketIdentifiersMap(PacketIdentifiersMapT &&value)
MultiplexProgram & WithPacketIdentifiersMap(PacketIdentifiersMapT &&value)
const Aws::String & GetChannelId() const
const Aws::Vector< MultiplexProgramPipelineDetail > & GetPipelineDetails() const
AWS_MEDIALIVE_API MultiplexProgram()=default
MultiplexProgram & WithChannelId(ChannelIdT &&value)
MultiplexProgram & AddPipelineDetails(PipelineDetailsT &&value)
void SetPipelineDetails(PipelineDetailsT &&value)
MultiplexProgram & WithPipelineDetails(PipelineDetailsT &&value)
const MultiplexProgramSettings & GetMultiplexProgramSettings() const
AWS_MEDIALIVE_API Aws::Utils::Json::JsonValue Jsonize() const
void SetProgramName(ProgramNameT &&value)
MultiplexProgram & WithMultiplexProgramSettings(MultiplexProgramSettingsT &&value)
AWS_MEDIALIVE_API MultiplexProgram(Aws::Utils::Json::JsonView jsonValue)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
std::vector< T, Aws::Allocator< T > > Vector
Aws::Utils::Json::JsonValue JsonValue