AWS SDK for C++

AWS SDK for C++ Version 1.11.609

Loading...
Searching...
No Matches
MultiplexProgram.h
1
6#pragma once
7#include <aws/medialive/MediaLive_EXPORTS.h>
8#include <aws/core/utils/memory/stl/AWSString.h>
9#include <aws/medialive/model/MultiplexProgramSettings.h>
10#include <aws/medialive/model/MultiplexProgramPacketIdentifiersMap.h>
11#include <aws/core/utils/memory/stl/AWSVector.h>
12#include <aws/medialive/model/MultiplexProgramPipelineDetail.h>
13#include <utility>
14
15namespace Aws
16{
17namespace Utils
18{
19namespace Json
20{
21 class JsonValue;
22 class JsonView;
23} // namespace Json
24} // namespace Utils
25namespace MediaLive
26{
27namespace Model
28{
29
36 {
37 public:
38 AWS_MEDIALIVE_API MultiplexProgram() = default;
39 AWS_MEDIALIVE_API MultiplexProgram(Aws::Utils::Json::JsonView jsonValue);
41 AWS_MEDIALIVE_API Aws::Utils::Json::JsonValue Jsonize() const;
42
43
45
48 inline const Aws::String& GetChannelId() const { return m_channelId; }
49 inline bool ChannelIdHasBeenSet() const { return m_channelIdHasBeenSet; }
50 template<typename ChannelIdT = Aws::String>
51 void SetChannelId(ChannelIdT&& value) { m_channelIdHasBeenSet = true; m_channelId = std::forward<ChannelIdT>(value); }
52 template<typename ChannelIdT = Aws::String>
53 MultiplexProgram& WithChannelId(ChannelIdT&& value) { SetChannelId(std::forward<ChannelIdT>(value)); return *this;}
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) { m_multiplexProgramSettingsHasBeenSet = true; m_multiplexProgramSettings = std::forward<MultiplexProgramSettingsT>(value); }
64 template<typename MultiplexProgramSettingsT = MultiplexProgramSettings>
65 MultiplexProgram& WithMultiplexProgramSettings(MultiplexProgramSettingsT&& value) { SetMultiplexProgramSettings(std::forward<MultiplexProgramSettingsT>(value)); return *this;}
67
69
72 inline const MultiplexProgramPacketIdentifiersMap& GetPacketIdentifiersMap() const { return m_packetIdentifiersMap; }
73 inline bool PacketIdentifiersMapHasBeenSet() const { return m_packetIdentifiersMapHasBeenSet; }
74 template<typename PacketIdentifiersMapT = MultiplexProgramPacketIdentifiersMap>
75 void SetPacketIdentifiersMap(PacketIdentifiersMapT&& value) { m_packetIdentifiersMapHasBeenSet = true; m_packetIdentifiersMap = std::forward<PacketIdentifiersMapT>(value); }
76 template<typename PacketIdentifiersMapT = MultiplexProgramPacketIdentifiersMap>
77 MultiplexProgram& WithPacketIdentifiersMap(PacketIdentifiersMapT&& value) { SetPacketIdentifiersMap(std::forward<PacketIdentifiersMapT>(value)); return *this;}
79
81
87 inline const Aws::Vector<MultiplexProgramPipelineDetail>& GetPipelineDetails() const { return m_pipelineDetails; }
88 inline bool PipelineDetailsHasBeenSet() const { return m_pipelineDetailsHasBeenSet; }
89 template<typename PipelineDetailsT = Aws::Vector<MultiplexProgramPipelineDetail>>
90 void SetPipelineDetails(PipelineDetailsT&& value) { m_pipelineDetailsHasBeenSet = true; m_pipelineDetails = std::forward<PipelineDetailsT>(value); }
91 template<typename PipelineDetailsT = Aws::Vector<MultiplexProgramPipelineDetail>>
92 MultiplexProgram& WithPipelineDetails(PipelineDetailsT&& value) { SetPipelineDetails(std::forward<PipelineDetailsT>(value)); return *this;}
93 template<typename PipelineDetailsT = MultiplexProgramPipelineDetail>
94 MultiplexProgram& AddPipelineDetails(PipelineDetailsT&& value) { m_pipelineDetailsHasBeenSet = true; m_pipelineDetails.emplace_back(std::forward<PipelineDetailsT>(value)); return *this; }
96
98
101 inline const Aws::String& GetProgramName() const { return m_programName; }
102 inline bool ProgramNameHasBeenSet() const { return m_programNameHasBeenSet; }
103 template<typename ProgramNameT = Aws::String>
104 void SetProgramName(ProgramNameT&& value) { m_programNameHasBeenSet = true; m_programName = std::forward<ProgramNameT>(value); }
105 template<typename ProgramNameT = Aws::String>
106 MultiplexProgram& WithProgramName(ProgramNameT&& value) { SetProgramName(std::forward<ProgramNameT>(value)); return *this;}
108 private:
109
110 Aws::String m_channelId;
111 bool m_channelIdHasBeenSet = false;
112
113 MultiplexProgramSettings m_multiplexProgramSettings;
114 bool m_multiplexProgramSettingsHasBeenSet = false;
115
116 MultiplexProgramPacketIdentifiersMap m_packetIdentifiersMap;
117 bool m_packetIdentifiersMapHasBeenSet = false;
118
120 bool m_pipelineDetailsHasBeenSet = false;
121
122 Aws::String m_programName;
123 bool m_programNameHasBeenSet = false;
124 };
125
126} // namespace Model
127} // namespace MediaLive
128} // 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