AWS SDK for C++

AWS SDK for C++ Version 1.11.609

Loading...
Searching...
No Matches
OutputDestination.h
1
6#pragma once
7#include <aws/medialive/MediaLive_EXPORTS.h>
8#include <aws/core/utils/memory/stl/AWSString.h>
9#include <aws/core/utils/memory/stl/AWSVector.h>
10#include <aws/medialive/model/MultiplexProgramChannelDestinationSettings.h>
11#include <aws/medialive/model/MediaPackageOutputDestinationSettings.h>
12#include <aws/medialive/model/OutputDestinationSettings.h>
13#include <aws/medialive/model/SrtOutputDestinationSettings.h>
14#include <utility>
15
16namespace Aws
17{
18namespace Utils
19{
20namespace Json
21{
22 class JsonValue;
23 class JsonView;
24} // namespace Json
25} // namespace Utils
26namespace MediaLive
27{
28namespace Model
29{
30
37 {
38 public:
39 AWS_MEDIALIVE_API OutputDestination() = default;
40 AWS_MEDIALIVE_API OutputDestination(Aws::Utils::Json::JsonView jsonValue);
42 AWS_MEDIALIVE_API Aws::Utils::Json::JsonValue Jsonize() const;
43
44
46
49 inline const Aws::String& GetId() const { return m_id; }
50 inline bool IdHasBeenSet() const { return m_idHasBeenSet; }
51 template<typename IdT = Aws::String>
52 void SetId(IdT&& value) { m_idHasBeenSet = true; m_id = std::forward<IdT>(value); }
53 template<typename IdT = Aws::String>
54 OutputDestination& WithId(IdT&& value) { SetId(std::forward<IdT>(value)); return *this;}
56
58
62 inline const Aws::Vector<MediaPackageOutputDestinationSettings>& GetMediaPackageSettings() const { return m_mediaPackageSettings; }
63 inline bool MediaPackageSettingsHasBeenSet() const { return m_mediaPackageSettingsHasBeenSet; }
64 template<typename MediaPackageSettingsT = Aws::Vector<MediaPackageOutputDestinationSettings>>
65 void SetMediaPackageSettings(MediaPackageSettingsT&& value) { m_mediaPackageSettingsHasBeenSet = true; m_mediaPackageSettings = std::forward<MediaPackageSettingsT>(value); }
66 template<typename MediaPackageSettingsT = Aws::Vector<MediaPackageOutputDestinationSettings>>
67 OutputDestination& WithMediaPackageSettings(MediaPackageSettingsT&& value) { SetMediaPackageSettings(std::forward<MediaPackageSettingsT>(value)); return *this;}
68 template<typename MediaPackageSettingsT = MediaPackageOutputDestinationSettings>
69 OutputDestination& AddMediaPackageSettings(MediaPackageSettingsT&& value) { m_mediaPackageSettingsHasBeenSet = true; m_mediaPackageSettings.emplace_back(std::forward<MediaPackageSettingsT>(value)); return *this; }
71
73
76 inline const MultiplexProgramChannelDestinationSettings& GetMultiplexSettings() const { return m_multiplexSettings; }
77 inline bool MultiplexSettingsHasBeenSet() const { return m_multiplexSettingsHasBeenSet; }
78 template<typename MultiplexSettingsT = MultiplexProgramChannelDestinationSettings>
79 void SetMultiplexSettings(MultiplexSettingsT&& value) { m_multiplexSettingsHasBeenSet = true; m_multiplexSettings = std::forward<MultiplexSettingsT>(value); }
80 template<typename MultiplexSettingsT = MultiplexProgramChannelDestinationSettings>
81 OutputDestination& WithMultiplexSettings(MultiplexSettingsT&& value) { SetMultiplexSettings(std::forward<MultiplexSettingsT>(value)); return *this;}
83
85
89 inline const Aws::Vector<OutputDestinationSettings>& GetSettings() const { return m_settings; }
90 inline bool SettingsHasBeenSet() const { return m_settingsHasBeenSet; }
91 template<typename SettingsT = Aws::Vector<OutputDestinationSettings>>
92 void SetSettings(SettingsT&& value) { m_settingsHasBeenSet = true; m_settings = std::forward<SettingsT>(value); }
93 template<typename SettingsT = Aws::Vector<OutputDestinationSettings>>
94 OutputDestination& WithSettings(SettingsT&& value) { SetSettings(std::forward<SettingsT>(value)); return *this;}
95 template<typename SettingsT = OutputDestinationSettings>
96 OutputDestination& AddSettings(SettingsT&& value) { m_settingsHasBeenSet = true; m_settings.emplace_back(std::forward<SettingsT>(value)); return *this; }
98
100
103 inline const Aws::Vector<SrtOutputDestinationSettings>& GetSrtSettings() const { return m_srtSettings; }
104 inline bool SrtSettingsHasBeenSet() const { return m_srtSettingsHasBeenSet; }
105 template<typename SrtSettingsT = Aws::Vector<SrtOutputDestinationSettings>>
106 void SetSrtSettings(SrtSettingsT&& value) { m_srtSettingsHasBeenSet = true; m_srtSettings = std::forward<SrtSettingsT>(value); }
107 template<typename SrtSettingsT = Aws::Vector<SrtOutputDestinationSettings>>
108 OutputDestination& WithSrtSettings(SrtSettingsT&& value) { SetSrtSettings(std::forward<SrtSettingsT>(value)); return *this;}
109 template<typename SrtSettingsT = SrtOutputDestinationSettings>
110 OutputDestination& AddSrtSettings(SrtSettingsT&& value) { m_srtSettingsHasBeenSet = true; m_srtSettings.emplace_back(std::forward<SrtSettingsT>(value)); return *this; }
112
114
118 inline const Aws::Vector<Aws::String>& GetLogicalInterfaceNames() const { return m_logicalInterfaceNames; }
119 inline bool LogicalInterfaceNamesHasBeenSet() const { return m_logicalInterfaceNamesHasBeenSet; }
120 template<typename LogicalInterfaceNamesT = Aws::Vector<Aws::String>>
121 void SetLogicalInterfaceNames(LogicalInterfaceNamesT&& value) { m_logicalInterfaceNamesHasBeenSet = true; m_logicalInterfaceNames = std::forward<LogicalInterfaceNamesT>(value); }
122 template<typename LogicalInterfaceNamesT = Aws::Vector<Aws::String>>
123 OutputDestination& WithLogicalInterfaceNames(LogicalInterfaceNamesT&& value) { SetLogicalInterfaceNames(std::forward<LogicalInterfaceNamesT>(value)); return *this;}
124 template<typename LogicalInterfaceNamesT = Aws::String>
125 OutputDestination& AddLogicalInterfaceNames(LogicalInterfaceNamesT&& value) { m_logicalInterfaceNamesHasBeenSet = true; m_logicalInterfaceNames.emplace_back(std::forward<LogicalInterfaceNamesT>(value)); return *this; }
127 private:
128
129 Aws::String m_id;
130 bool m_idHasBeenSet = false;
131
133 bool m_mediaPackageSettingsHasBeenSet = false;
134
136 bool m_multiplexSettingsHasBeenSet = false;
137
139 bool m_settingsHasBeenSet = false;
140
142 bool m_srtSettingsHasBeenSet = false;
143
144 Aws::Vector<Aws::String> m_logicalInterfaceNames;
145 bool m_logicalInterfaceNamesHasBeenSet = false;
146 };
147
148} // namespace Model
149} // namespace MediaLive
150} // namespace Aws
OutputDestination & WithMultiplexSettings(MultiplexSettingsT &&value)
void SetMultiplexSettings(MultiplexSettingsT &&value)
OutputDestination & WithMediaPackageSettings(MediaPackageSettingsT &&value)
OutputDestination & WithSettings(SettingsT &&value)
void SetLogicalInterfaceNames(LogicalInterfaceNamesT &&value)
OutputDestination & WithSrtSettings(SrtSettingsT &&value)
void SetMediaPackageSettings(MediaPackageSettingsT &&value)
AWS_MEDIALIVE_API OutputDestination & operator=(Aws::Utils::Json::JsonView jsonValue)
const Aws::Vector< OutputDestinationSettings > & GetSettings() const
OutputDestination & WithId(IdT &&value)
OutputDestination & AddSettings(SettingsT &&value)
OutputDestination & AddSrtSettings(SrtSettingsT &&value)
const Aws::Vector< SrtOutputDestinationSettings > & GetSrtSettings() const
AWS_MEDIALIVE_API OutputDestination()=default
const MultiplexProgramChannelDestinationSettings & GetMultiplexSettings() const
const Aws::Vector< MediaPackageOutputDestinationSettings > & GetMediaPackageSettings() const
AWS_MEDIALIVE_API Aws::Utils::Json::JsonValue Jsonize() const
const Aws::Vector< Aws::String > & GetLogicalInterfaceNames() const
OutputDestination & WithLogicalInterfaceNames(LogicalInterfaceNamesT &&value)
AWS_MEDIALIVE_API OutputDestination(Aws::Utils::Json::JsonView jsonValue)
OutputDestination & AddMediaPackageSettings(MediaPackageSettingsT &&value)
OutputDestination & AddLogicalInterfaceNames(LogicalInterfaceNamesT &&value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
std::vector< T, Aws::Allocator< T > > Vector
Aws::Utils::Json::JsonValue JsonValue