AWS SDK for C++

AWS SDK for C++ Version 1.11.440

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();
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 inline void SetId(const Aws::String& value) { m_idHasBeenSet = true; m_id = value; }
52 inline void SetId(Aws::String&& value) { m_idHasBeenSet = true; m_id = std::move(value); }
53 inline void SetId(const char* value) { m_idHasBeenSet = true; m_id.assign(value); }
54 inline OutputDestination& WithId(const Aws::String& value) { SetId(value); return *this;}
55 inline OutputDestination& WithId(Aws::String&& value) { SetId(std::move(value)); return *this;}
56 inline OutputDestination& WithId(const char* value) { SetId(value); return *this;}
58
60
64 inline const Aws::Vector<MediaPackageOutputDestinationSettings>& GetMediaPackageSettings() const{ return m_mediaPackageSettings; }
65 inline bool MediaPackageSettingsHasBeenSet() const { return m_mediaPackageSettingsHasBeenSet; }
66 inline void SetMediaPackageSettings(const Aws::Vector<MediaPackageOutputDestinationSettings>& value) { m_mediaPackageSettingsHasBeenSet = true; m_mediaPackageSettings = value; }
67 inline void SetMediaPackageSettings(Aws::Vector<MediaPackageOutputDestinationSettings>&& value) { m_mediaPackageSettingsHasBeenSet = true; m_mediaPackageSettings = std::move(value); }
70 inline OutputDestination& AddMediaPackageSettings(const MediaPackageOutputDestinationSettings& value) { m_mediaPackageSettingsHasBeenSet = true; m_mediaPackageSettings.push_back(value); return *this; }
71 inline OutputDestination& AddMediaPackageSettings(MediaPackageOutputDestinationSettings&& value) { m_mediaPackageSettingsHasBeenSet = true; m_mediaPackageSettings.push_back(std::move(value)); return *this; }
73
75
78 inline const MultiplexProgramChannelDestinationSettings& GetMultiplexSettings() const{ return m_multiplexSettings; }
79 inline bool MultiplexSettingsHasBeenSet() const { return m_multiplexSettingsHasBeenSet; }
80 inline void SetMultiplexSettings(const MultiplexProgramChannelDestinationSettings& value) { m_multiplexSettingsHasBeenSet = true; m_multiplexSettings = value; }
81 inline void SetMultiplexSettings(MultiplexProgramChannelDestinationSettings&& value) { m_multiplexSettingsHasBeenSet = true; m_multiplexSettings = std::move(value); }
85
87
91 inline const Aws::Vector<OutputDestinationSettings>& GetSettings() const{ return m_settings; }
92 inline bool SettingsHasBeenSet() const { return m_settingsHasBeenSet; }
93 inline void SetSettings(const Aws::Vector<OutputDestinationSettings>& value) { m_settingsHasBeenSet = true; m_settings = value; }
94 inline void SetSettings(Aws::Vector<OutputDestinationSettings>&& value) { m_settingsHasBeenSet = true; m_settings = std::move(value); }
96 inline OutputDestination& WithSettings(Aws::Vector<OutputDestinationSettings>&& value) { SetSettings(std::move(value)); return *this;}
97 inline OutputDestination& AddSettings(const OutputDestinationSettings& value) { m_settingsHasBeenSet = true; m_settings.push_back(value); return *this; }
98 inline OutputDestination& AddSettings(OutputDestinationSettings&& value) { m_settingsHasBeenSet = true; m_settings.push_back(std::move(value)); return *this; }
100
102
105 inline const Aws::Vector<SrtOutputDestinationSettings>& GetSrtSettings() const{ return m_srtSettings; }
106 inline bool SrtSettingsHasBeenSet() const { return m_srtSettingsHasBeenSet; }
107 inline void SetSrtSettings(const Aws::Vector<SrtOutputDestinationSettings>& value) { m_srtSettingsHasBeenSet = true; m_srtSettings = value; }
108 inline void SetSrtSettings(Aws::Vector<SrtOutputDestinationSettings>&& value) { m_srtSettingsHasBeenSet = true; m_srtSettings = std::move(value); }
111 inline OutputDestination& AddSrtSettings(const SrtOutputDestinationSettings& value) { m_srtSettingsHasBeenSet = true; m_srtSettings.push_back(value); return *this; }
112 inline OutputDestination& AddSrtSettings(SrtOutputDestinationSettings&& value) { m_srtSettingsHasBeenSet = true; m_srtSettings.push_back(std::move(value)); return *this; }
114 private:
115
116 Aws::String m_id;
117 bool m_idHasBeenSet = false;
118
120 bool m_mediaPackageSettingsHasBeenSet = false;
121
123 bool m_multiplexSettingsHasBeenSet = false;
124
126 bool m_settingsHasBeenSet = false;
127
129 bool m_srtSettingsHasBeenSet = false;
130 };
131
132} // namespace Model
133} // namespace MediaLive
134} // namespace Aws
OutputDestination & WithSrtSettings(Aws::Vector< SrtOutputDestinationSettings > &&value)
OutputDestination & WithSettings(Aws::Vector< OutputDestinationSettings > &&value)
void SetSrtSettings(const Aws::Vector< SrtOutputDestinationSettings > &value)
void SetSettings(const Aws::Vector< OutputDestinationSettings > &value)
OutputDestination & WithId(Aws::String &&value)
void SetMultiplexSettings(const MultiplexProgramChannelDestinationSettings &value)
AWS_MEDIALIVE_API OutputDestination & operator=(Aws::Utils::Json::JsonView jsonValue)
OutputDestination & WithId(const Aws::String &value)
const Aws::Vector< OutputDestinationSettings > & GetSettings() const
OutputDestination & WithMediaPackageSettings(Aws::Vector< MediaPackageOutputDestinationSettings > &&value)
void SetId(const Aws::String &value)
OutputDestination & AddSettings(OutputDestinationSettings &&value)
OutputDestination & WithSettings(const Aws::Vector< OutputDestinationSettings > &value)
OutputDestination & WithMediaPackageSettings(const Aws::Vector< MediaPackageOutputDestinationSettings > &value)
void SetSettings(Aws::Vector< OutputDestinationSettings > &&value)
OutputDestination & AddMediaPackageSettings(const MediaPackageOutputDestinationSettings &value)
OutputDestination & AddSrtSettings(SrtOutputDestinationSettings &&value)
const Aws::Vector< SrtOutputDestinationSettings > & GetSrtSettings() const
const MultiplexProgramChannelDestinationSettings & GetMultiplexSettings() const
OutputDestination & AddSettings(const OutputDestinationSettings &value)
OutputDestination & WithMultiplexSettings(MultiplexProgramChannelDestinationSettings &&value)
OutputDestination & AddMediaPackageSettings(MediaPackageOutputDestinationSettings &&value)
const Aws::Vector< MediaPackageOutputDestinationSettings > & GetMediaPackageSettings() const
AWS_MEDIALIVE_API Aws::Utils::Json::JsonValue Jsonize() const
void SetMultiplexSettings(MultiplexProgramChannelDestinationSettings &&value)
void SetMediaPackageSettings(const Aws::Vector< MediaPackageOutputDestinationSettings > &value)
OutputDestination & AddSrtSettings(const SrtOutputDestinationSettings &value)
OutputDestination & WithSrtSettings(const Aws::Vector< SrtOutputDestinationSettings > &value)
OutputDestination & WithId(const char *value)
void SetSrtSettings(Aws::Vector< SrtOutputDestinationSettings > &&value)
AWS_MEDIALIVE_API OutputDestination(Aws::Utils::Json::JsonView jsonValue)
OutputDestination & WithMultiplexSettings(const MultiplexProgramChannelDestinationSettings &value)
void SetMediaPackageSettings(Aws::Vector< MediaPackageOutputDestinationSettings > &&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