AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
HlsSettings.h
1
6#pragma once
7#include <aws/medialive/MediaLive_EXPORTS.h>
8#include <aws/medialive/model/AudioOnlyHlsSettings.h>
9#include <aws/medialive/model/Fmp4HlsSettings.h>
10#include <aws/medialive/model/FrameCaptureHlsSettings.h>
11#include <aws/medialive/model/StandardHlsSettings.h>
12#include <utility>
13
14namespace Aws
15{
16namespace Utils
17{
18namespace Json
19{
20 class JsonValue;
21 class JsonView;
22} // namespace Json
23} // namespace Utils
24namespace MediaLive
25{
26namespace Model
27{
28
35 {
36 public:
37 AWS_MEDIALIVE_API HlsSettings();
38 AWS_MEDIALIVE_API HlsSettings(Aws::Utils::Json::JsonView jsonValue);
39 AWS_MEDIALIVE_API HlsSettings& operator=(Aws::Utils::Json::JsonView jsonValue);
40 AWS_MEDIALIVE_API Aws::Utils::Json::JsonValue Jsonize() const;
41
42
44
45 inline const AudioOnlyHlsSettings& GetAudioOnlyHlsSettings() const{ return m_audioOnlyHlsSettings; }
46 inline bool AudioOnlyHlsSettingsHasBeenSet() const { return m_audioOnlyHlsSettingsHasBeenSet; }
47 inline void SetAudioOnlyHlsSettings(const AudioOnlyHlsSettings& value) { m_audioOnlyHlsSettingsHasBeenSet = true; m_audioOnlyHlsSettings = value; }
48 inline void SetAudioOnlyHlsSettings(AudioOnlyHlsSettings&& value) { m_audioOnlyHlsSettingsHasBeenSet = true; m_audioOnlyHlsSettings = std::move(value); }
50 inline HlsSettings& WithAudioOnlyHlsSettings(AudioOnlyHlsSettings&& value) { SetAudioOnlyHlsSettings(std::move(value)); return *this;}
52
54
55 inline const Fmp4HlsSettings& GetFmp4HlsSettings() const{ return m_fmp4HlsSettings; }
56 inline bool Fmp4HlsSettingsHasBeenSet() const { return m_fmp4HlsSettingsHasBeenSet; }
57 inline void SetFmp4HlsSettings(const Fmp4HlsSettings& value) { m_fmp4HlsSettingsHasBeenSet = true; m_fmp4HlsSettings = value; }
58 inline void SetFmp4HlsSettings(Fmp4HlsSettings&& value) { m_fmp4HlsSettingsHasBeenSet = true; m_fmp4HlsSettings = std::move(value); }
59 inline HlsSettings& WithFmp4HlsSettings(const Fmp4HlsSettings& value) { SetFmp4HlsSettings(value); return *this;}
60 inline HlsSettings& WithFmp4HlsSettings(Fmp4HlsSettings&& value) { SetFmp4HlsSettings(std::move(value)); return *this;}
62
64
65 inline const FrameCaptureHlsSettings& GetFrameCaptureHlsSettings() const{ return m_frameCaptureHlsSettings; }
66 inline bool FrameCaptureHlsSettingsHasBeenSet() const { return m_frameCaptureHlsSettingsHasBeenSet; }
67 inline void SetFrameCaptureHlsSettings(const FrameCaptureHlsSettings& value) { m_frameCaptureHlsSettingsHasBeenSet = true; m_frameCaptureHlsSettings = value; }
68 inline void SetFrameCaptureHlsSettings(FrameCaptureHlsSettings&& value) { m_frameCaptureHlsSettingsHasBeenSet = true; m_frameCaptureHlsSettings = std::move(value); }
72
74
75 inline const StandardHlsSettings& GetStandardHlsSettings() const{ return m_standardHlsSettings; }
76 inline bool StandardHlsSettingsHasBeenSet() const { return m_standardHlsSettingsHasBeenSet; }
77 inline void SetStandardHlsSettings(const StandardHlsSettings& value) { m_standardHlsSettingsHasBeenSet = true; m_standardHlsSettings = value; }
78 inline void SetStandardHlsSettings(StandardHlsSettings&& value) { m_standardHlsSettingsHasBeenSet = true; m_standardHlsSettings = std::move(value); }
80 inline HlsSettings& WithStandardHlsSettings(StandardHlsSettings&& value) { SetStandardHlsSettings(std::move(value)); return *this;}
82 private:
83
84 AudioOnlyHlsSettings m_audioOnlyHlsSettings;
85 bool m_audioOnlyHlsSettingsHasBeenSet = false;
86
87 Fmp4HlsSettings m_fmp4HlsSettings;
88 bool m_fmp4HlsSettingsHasBeenSet = false;
89
90 FrameCaptureHlsSettings m_frameCaptureHlsSettings;
91 bool m_frameCaptureHlsSettingsHasBeenSet = false;
92
93 StandardHlsSettings m_standardHlsSettings;
94 bool m_standardHlsSettingsHasBeenSet = false;
95 };
96
97} // namespace Model
98} // namespace MediaLive
99} // namespace Aws
void SetAudioOnlyHlsSettings(AudioOnlyHlsSettings &&value)
Definition HlsSettings.h:48
const Fmp4HlsSettings & GetFmp4HlsSettings() const
Definition HlsSettings.h:55
HlsSettings & WithAudioOnlyHlsSettings(AudioOnlyHlsSettings &&value)
Definition HlsSettings.h:50
HlsSettings & WithFmp4HlsSettings(Fmp4HlsSettings &&value)
Definition HlsSettings.h:60
AWS_MEDIALIVE_API HlsSettings & operator=(Aws::Utils::Json::JsonView jsonValue)
AWS_MEDIALIVE_API Aws::Utils::Json::JsonValue Jsonize() const
const FrameCaptureHlsSettings & GetFrameCaptureHlsSettings() const
Definition HlsSettings.h:65
void SetStandardHlsSettings(const StandardHlsSettings &value)
Definition HlsSettings.h:77
void SetFmp4HlsSettings(Fmp4HlsSettings &&value)
Definition HlsSettings.h:58
const AudioOnlyHlsSettings & GetAudioOnlyHlsSettings() const
Definition HlsSettings.h:45
void SetFrameCaptureHlsSettings(const FrameCaptureHlsSettings &value)
Definition HlsSettings.h:67
void SetStandardHlsSettings(StandardHlsSettings &&value)
Definition HlsSettings.h:78
void SetFmp4HlsSettings(const Fmp4HlsSettings &value)
Definition HlsSettings.h:57
HlsSettings & WithAudioOnlyHlsSettings(const AudioOnlyHlsSettings &value)
Definition HlsSettings.h:49
const StandardHlsSettings & GetStandardHlsSettings() const
Definition HlsSettings.h:75
HlsSettings & WithFrameCaptureHlsSettings(const FrameCaptureHlsSettings &value)
Definition HlsSettings.h:69
HlsSettings & WithFmp4HlsSettings(const Fmp4HlsSettings &value)
Definition HlsSettings.h:59
void SetFrameCaptureHlsSettings(FrameCaptureHlsSettings &&value)
Definition HlsSettings.h:68
HlsSettings & WithFrameCaptureHlsSettings(FrameCaptureHlsSettings &&value)
Definition HlsSettings.h:70
bool FrameCaptureHlsSettingsHasBeenSet() const
Definition HlsSettings.h:66
HlsSettings & WithStandardHlsSettings(StandardHlsSettings &&value)
Definition HlsSettings.h:80
HlsSettings & WithStandardHlsSettings(const StandardHlsSettings &value)
Definition HlsSettings.h:79
AWS_MEDIALIVE_API HlsSettings(Aws::Utils::Json::JsonView jsonValue)
void SetAudioOnlyHlsSettings(const AudioOnlyHlsSettings &value)
Definition HlsSettings.h:47
Aws::Utils::Json::JsonValue JsonValue