AWS SDK for C++

AWS SDK for C++ Version 1.11.440

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();
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 inline void SetChannelId(const Aws::String& value) { m_channelIdHasBeenSet = true; m_channelId = value; }
51 inline void SetChannelId(Aws::String&& value) { m_channelIdHasBeenSet = true; m_channelId = std::move(value); }
52 inline void SetChannelId(const char* value) { m_channelIdHasBeenSet = true; m_channelId.assign(value); }
53 inline MultiplexProgram& WithChannelId(const Aws::String& value) { SetChannelId(value); return *this;}
54 inline MultiplexProgram& WithChannelId(Aws::String&& value) { SetChannelId(std::move(value)); return *this;}
55 inline MultiplexProgram& WithChannelId(const char* value) { SetChannelId(value); return *this;}
57
59
62 inline const MultiplexProgramSettings& GetMultiplexProgramSettings() const{ return m_multiplexProgramSettings; }
63 inline bool MultiplexProgramSettingsHasBeenSet() const { return m_multiplexProgramSettingsHasBeenSet; }
64 inline void SetMultiplexProgramSettings(const MultiplexProgramSettings& value) { m_multiplexProgramSettingsHasBeenSet = true; m_multiplexProgramSettings = value; }
65 inline void SetMultiplexProgramSettings(MultiplexProgramSettings&& value) { m_multiplexProgramSettingsHasBeenSet = true; m_multiplexProgramSettings = std::move(value); }
69
71
74 inline const MultiplexProgramPacketIdentifiersMap& GetPacketIdentifiersMap() const{ return m_packetIdentifiersMap; }
75 inline bool PacketIdentifiersMapHasBeenSet() const { return m_packetIdentifiersMapHasBeenSet; }
76 inline void SetPacketIdentifiersMap(const MultiplexProgramPacketIdentifiersMap& value) { m_packetIdentifiersMapHasBeenSet = true; m_packetIdentifiersMap = value; }
77 inline void SetPacketIdentifiersMap(MultiplexProgramPacketIdentifiersMap&& value) { m_packetIdentifiersMapHasBeenSet = true; m_packetIdentifiersMap = std::move(value); }
81
83
89 inline const Aws::Vector<MultiplexProgramPipelineDetail>& GetPipelineDetails() const{ return m_pipelineDetails; }
90 inline bool PipelineDetailsHasBeenSet() const { return m_pipelineDetailsHasBeenSet; }
91 inline void SetPipelineDetails(const Aws::Vector<MultiplexProgramPipelineDetail>& value) { m_pipelineDetailsHasBeenSet = true; m_pipelineDetails = value; }
92 inline void SetPipelineDetails(Aws::Vector<MultiplexProgramPipelineDetail>&& value) { m_pipelineDetailsHasBeenSet = true; m_pipelineDetails = std::move(value); }
95 inline MultiplexProgram& AddPipelineDetails(const MultiplexProgramPipelineDetail& value) { m_pipelineDetailsHasBeenSet = true; m_pipelineDetails.push_back(value); return *this; }
96 inline MultiplexProgram& AddPipelineDetails(MultiplexProgramPipelineDetail&& value) { m_pipelineDetailsHasBeenSet = true; m_pipelineDetails.push_back(std::move(value)); return *this; }
98
100
103 inline const Aws::String& GetProgramName() const{ return m_programName; }
104 inline bool ProgramNameHasBeenSet() const { return m_programNameHasBeenSet; }
105 inline void SetProgramName(const Aws::String& value) { m_programNameHasBeenSet = true; m_programName = value; }
106 inline void SetProgramName(Aws::String&& value) { m_programNameHasBeenSet = true; m_programName = std::move(value); }
107 inline void SetProgramName(const char* value) { m_programNameHasBeenSet = true; m_programName.assign(value); }
108 inline MultiplexProgram& WithProgramName(const Aws::String& value) { SetProgramName(value); return *this;}
109 inline MultiplexProgram& WithProgramName(Aws::String&& value) { SetProgramName(std::move(value)); return *this;}
110 inline MultiplexProgram& WithProgramName(const char* value) { SetProgramName(value); return *this;}
112 private:
113
114 Aws::String m_channelId;
115 bool m_channelIdHasBeenSet = false;
116
117 MultiplexProgramSettings m_multiplexProgramSettings;
118 bool m_multiplexProgramSettingsHasBeenSet = false;
119
120 MultiplexProgramPacketIdentifiersMap m_packetIdentifiersMap;
121 bool m_packetIdentifiersMapHasBeenSet = false;
122
124 bool m_pipelineDetailsHasBeenSet = false;
125
126 Aws::String m_programName;
127 bool m_programNameHasBeenSet = false;
128 };
129
130} // namespace Model
131} // namespace MediaLive
132} // namespace Aws
AWS_MEDIALIVE_API MultiplexProgram & operator=(Aws::Utils::Json::JsonView jsonValue)
const Aws::String & GetProgramName() const
MultiplexProgram & WithPacketIdentifiersMap(MultiplexProgramPacketIdentifiersMap &&value)
const MultiplexProgramPacketIdentifiersMap & GetPacketIdentifiersMap() const
void SetMultiplexProgramSettings(MultiplexProgramSettings &&value)
void SetPacketIdentifiersMap(const MultiplexProgramPacketIdentifiersMap &value)
MultiplexProgram & WithChannelId(Aws::String &&value)
MultiplexProgram & WithMultiplexProgramSettings(MultiplexProgramSettings &&value)
void SetChannelId(const Aws::String &value)
MultiplexProgram & WithPipelineDetails(const Aws::Vector< MultiplexProgramPipelineDetail > &value)
void SetPipelineDetails(Aws::Vector< MultiplexProgramPipelineDetail > &&value)
MultiplexProgram & WithProgramName(const char *value)
const Aws::String & GetChannelId() const
const Aws::Vector< MultiplexProgramPipelineDetail > & GetPipelineDetails() const
void SetPacketIdentifiersMap(MultiplexProgramPacketIdentifiersMap &&value)
MultiplexProgram & AddPipelineDetails(MultiplexProgramPipelineDetail &&value)
MultiplexProgram & WithPacketIdentifiersMap(const MultiplexProgramPacketIdentifiersMap &value)
MultiplexProgram & WithMultiplexProgramSettings(const MultiplexProgramSettings &value)
MultiplexProgram & WithProgramName(Aws::String &&value)
MultiplexProgram & WithProgramName(const Aws::String &value)
void SetMultiplexProgramSettings(const MultiplexProgramSettings &value)
void SetPipelineDetails(const Aws::Vector< MultiplexProgramPipelineDetail > &value)
MultiplexProgram & WithChannelId(const Aws::String &value)
MultiplexProgram & WithChannelId(const char *value)
const MultiplexProgramSettings & GetMultiplexProgramSettings() const
void SetProgramName(const Aws::String &value)
MultiplexProgram & AddPipelineDetails(const MultiplexProgramPipelineDetail &value)
AWS_MEDIALIVE_API Aws::Utils::Json::JsonValue Jsonize() const
MultiplexProgram & WithPipelineDetails(Aws::Vector< MultiplexProgramPipelineDetail > &&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