AWS SDK for C++

AWS SDK for C++ Version 1.11.607

Loading...
Searching...
No Matches
OutputGroupSettings.h
1
6#pragma once
7#include <aws/mediaconvert/MediaConvert_EXPORTS.h>
8#include <aws/mediaconvert/model/CmafGroupSettings.h>
9#include <aws/mediaconvert/model/DashIsoGroupSettings.h>
10#include <aws/mediaconvert/model/FileGroupSettings.h>
11#include <aws/mediaconvert/model/HlsGroupSettings.h>
12#include <aws/mediaconvert/model/MsSmoothGroupSettings.h>
13#include <aws/core/utils/memory/stl/AWSVector.h>
14#include <aws/mediaconvert/model/OutputGroupType.h>
15#include <aws/mediaconvert/model/FrameMetricType.h>
16#include <utility>
17
18namespace Aws
19{
20namespace Utils
21{
22namespace Json
23{
24 class JsonValue;
25 class JsonView;
26} // namespace Json
27} // namespace Utils
28namespace MediaConvert
29{
30namespace Model
31{
32
39 {
40 public:
41 AWS_MEDIACONVERT_API OutputGroupSettings() = default;
42 AWS_MEDIACONVERT_API OutputGroupSettings(Aws::Utils::Json::JsonView jsonValue);
44 AWS_MEDIACONVERT_API Aws::Utils::Json::JsonValue Jsonize() const;
45
46
48
52 inline const CmafGroupSettings& GetCmafGroupSettings() const { return m_cmafGroupSettings; }
53 inline bool CmafGroupSettingsHasBeenSet() const { return m_cmafGroupSettingsHasBeenSet; }
54 template<typename CmafGroupSettingsT = CmafGroupSettings>
55 void SetCmafGroupSettings(CmafGroupSettingsT&& value) { m_cmafGroupSettingsHasBeenSet = true; m_cmafGroupSettings = std::forward<CmafGroupSettingsT>(value); }
56 template<typename CmafGroupSettingsT = CmafGroupSettings>
57 OutputGroupSettings& WithCmafGroupSettings(CmafGroupSettingsT&& value) { SetCmafGroupSettings(std::forward<CmafGroupSettingsT>(value)); return *this;}
59
61
65 inline const DashIsoGroupSettings& GetDashIsoGroupSettings() const { return m_dashIsoGroupSettings; }
66 inline bool DashIsoGroupSettingsHasBeenSet() const { return m_dashIsoGroupSettingsHasBeenSet; }
67 template<typename DashIsoGroupSettingsT = DashIsoGroupSettings>
68 void SetDashIsoGroupSettings(DashIsoGroupSettingsT&& value) { m_dashIsoGroupSettingsHasBeenSet = true; m_dashIsoGroupSettings = std::forward<DashIsoGroupSettingsT>(value); }
69 template<typename DashIsoGroupSettingsT = DashIsoGroupSettings>
70 OutputGroupSettings& WithDashIsoGroupSettings(DashIsoGroupSettingsT&& value) { SetDashIsoGroupSettings(std::forward<DashIsoGroupSettingsT>(value)); return *this;}
72
74
78 inline const FileGroupSettings& GetFileGroupSettings() const { return m_fileGroupSettings; }
79 inline bool FileGroupSettingsHasBeenSet() const { return m_fileGroupSettingsHasBeenSet; }
80 template<typename FileGroupSettingsT = FileGroupSettings>
81 void SetFileGroupSettings(FileGroupSettingsT&& value) { m_fileGroupSettingsHasBeenSet = true; m_fileGroupSettings = std::forward<FileGroupSettingsT>(value); }
82 template<typename FileGroupSettingsT = FileGroupSettings>
83 OutputGroupSettings& WithFileGroupSettings(FileGroupSettingsT&& value) { SetFileGroupSettings(std::forward<FileGroupSettingsT>(value)); return *this;}
85
87
91 inline const HlsGroupSettings& GetHlsGroupSettings() const { return m_hlsGroupSettings; }
92 inline bool HlsGroupSettingsHasBeenSet() const { return m_hlsGroupSettingsHasBeenSet; }
93 template<typename HlsGroupSettingsT = HlsGroupSettings>
94 void SetHlsGroupSettings(HlsGroupSettingsT&& value) { m_hlsGroupSettingsHasBeenSet = true; m_hlsGroupSettings = std::forward<HlsGroupSettingsT>(value); }
95 template<typename HlsGroupSettingsT = HlsGroupSettings>
96 OutputGroupSettings& WithHlsGroupSettings(HlsGroupSettingsT&& value) { SetHlsGroupSettings(std::forward<HlsGroupSettingsT>(value)); return *this;}
98
100
105 inline const MsSmoothGroupSettings& GetMsSmoothGroupSettings() const { return m_msSmoothGroupSettings; }
106 inline bool MsSmoothGroupSettingsHasBeenSet() const { return m_msSmoothGroupSettingsHasBeenSet; }
107 template<typename MsSmoothGroupSettingsT = MsSmoothGroupSettings>
108 void SetMsSmoothGroupSettings(MsSmoothGroupSettingsT&& value) { m_msSmoothGroupSettingsHasBeenSet = true; m_msSmoothGroupSettings = std::forward<MsSmoothGroupSettingsT>(value); }
109 template<typename MsSmoothGroupSettingsT = MsSmoothGroupSettings>
110 OutputGroupSettings& WithMsSmoothGroupSettings(MsSmoothGroupSettingsT&& value) { SetMsSmoothGroupSettings(std::forward<MsSmoothGroupSettingsT>(value)); return *this;}
112
114
133 inline const Aws::Vector<FrameMetricType>& GetPerFrameMetrics() const { return m_perFrameMetrics; }
134 inline bool PerFrameMetricsHasBeenSet() const { return m_perFrameMetricsHasBeenSet; }
135 template<typename PerFrameMetricsT = Aws::Vector<FrameMetricType>>
136 void SetPerFrameMetrics(PerFrameMetricsT&& value) { m_perFrameMetricsHasBeenSet = true; m_perFrameMetrics = std::forward<PerFrameMetricsT>(value); }
137 template<typename PerFrameMetricsT = Aws::Vector<FrameMetricType>>
138 OutputGroupSettings& WithPerFrameMetrics(PerFrameMetricsT&& value) { SetPerFrameMetrics(std::forward<PerFrameMetricsT>(value)); return *this;}
139 inline OutputGroupSettings& AddPerFrameMetrics(FrameMetricType value) { m_perFrameMetricsHasBeenSet = true; m_perFrameMetrics.push_back(value); return *this; }
141
143
147 inline OutputGroupType GetType() const { return m_type; }
148 inline bool TypeHasBeenSet() const { return m_typeHasBeenSet; }
149 inline void SetType(OutputGroupType value) { m_typeHasBeenSet = true; m_type = value; }
150 inline OutputGroupSettings& WithType(OutputGroupType value) { SetType(value); return *this;}
152 private:
153
154 CmafGroupSettings m_cmafGroupSettings;
155 bool m_cmafGroupSettingsHasBeenSet = false;
156
157 DashIsoGroupSettings m_dashIsoGroupSettings;
158 bool m_dashIsoGroupSettingsHasBeenSet = false;
159
160 FileGroupSettings m_fileGroupSettings;
161 bool m_fileGroupSettingsHasBeenSet = false;
162
163 HlsGroupSettings m_hlsGroupSettings;
164 bool m_hlsGroupSettingsHasBeenSet = false;
165
166 MsSmoothGroupSettings m_msSmoothGroupSettings;
167 bool m_msSmoothGroupSettingsHasBeenSet = false;
168
169 Aws::Vector<FrameMetricType> m_perFrameMetrics;
170 bool m_perFrameMetricsHasBeenSet = false;
171
173 bool m_typeHasBeenSet = false;
174 };
175
176} // namespace Model
177} // namespace MediaConvert
178} // namespace Aws
void SetHlsGroupSettings(HlsGroupSettingsT &&value)
const DashIsoGroupSettings & GetDashIsoGroupSettings() const
const HlsGroupSettings & GetHlsGroupSettings() const
void SetCmafGroupSettings(CmafGroupSettingsT &&value)
AWS_MEDIACONVERT_API OutputGroupSettings(Aws::Utils::Json::JsonView jsonValue)
OutputGroupSettings & WithHlsGroupSettings(HlsGroupSettingsT &&value)
OutputGroupSettings & AddPerFrameMetrics(FrameMetricType value)
OutputGroupSettings & WithDashIsoGroupSettings(DashIsoGroupSettingsT &&value)
void SetDashIsoGroupSettings(DashIsoGroupSettingsT &&value)
AWS_MEDIACONVERT_API OutputGroupSettings & operator=(Aws::Utils::Json::JsonView jsonValue)
void SetFileGroupSettings(FileGroupSettingsT &&value)
AWS_MEDIACONVERT_API Aws::Utils::Json::JsonValue Jsonize() const
const MsSmoothGroupSettings & GetMsSmoothGroupSettings() const
OutputGroupSettings & WithFileGroupSettings(FileGroupSettingsT &&value)
OutputGroupSettings & WithPerFrameMetrics(PerFrameMetricsT &&value)
const FileGroupSettings & GetFileGroupSettings() const
OutputGroupSettings & WithCmafGroupSettings(CmafGroupSettingsT &&value)
void SetMsSmoothGroupSettings(MsSmoothGroupSettingsT &&value)
const CmafGroupSettings & GetCmafGroupSettings() const
const Aws::Vector< FrameMetricType > & GetPerFrameMetrics() const
OutputGroupSettings & WithMsSmoothGroupSettings(MsSmoothGroupSettingsT &&value)
void SetPerFrameMetrics(PerFrameMetricsT &&value)
OutputGroupSettings & WithType(OutputGroupType value)
AWS_MEDIACONVERT_API OutputGroupSettings()=default
std::vector< T, Aws::Allocator< T > > Vector
Aws::Utils::Json::JsonValue JsonValue