AWS SDK for C++

AWS SDK for C++ Version 1.11.742

Loading...
Searching...
No Matches
HlsOutputSettings.h
1
6#pragma once
7#include <aws/core/utils/memory/stl/AWSString.h>
8#include <aws/medialive/MediaLive_EXPORTS.h>
9#include <aws/medialive/model/HlsH265PackagingType.h>
10#include <aws/medialive/model/HlsSettings.h>
11
12#include <utility>
13
14namespace Aws {
15namespace Utils {
16namespace Json {
17class JsonValue;
18class JsonView;
19} // namespace Json
20} // namespace Utils
21namespace MediaLive {
22namespace Model {
23
30 public:
31 AWS_MEDIALIVE_API HlsOutputSettings() = default;
32 AWS_MEDIALIVE_API HlsOutputSettings(Aws::Utils::Json::JsonView jsonValue);
34 AWS_MEDIALIVE_API Aws::Utils::Json::JsonValue Jsonize() const;
35
37
42 inline HlsH265PackagingType GetH265PackagingType() const { return m_h265PackagingType; }
43 inline bool H265PackagingTypeHasBeenSet() const { return m_h265PackagingTypeHasBeenSet; }
45 m_h265PackagingTypeHasBeenSet = true;
46 m_h265PackagingType = value;
47 }
50 return *this;
51 }
53
55
59 inline const HlsSettings& GetHlsSettings() const { return m_hlsSettings; }
60 inline bool HlsSettingsHasBeenSet() const { return m_hlsSettingsHasBeenSet; }
61 template <typename HlsSettingsT = HlsSettings>
62 void SetHlsSettings(HlsSettingsT&& value) {
63 m_hlsSettingsHasBeenSet = true;
64 m_hlsSettings = std::forward<HlsSettingsT>(value);
65 }
66 template <typename HlsSettingsT = HlsSettings>
67 HlsOutputSettings& WithHlsSettings(HlsSettingsT&& value) {
68 SetHlsSettings(std::forward<HlsSettingsT>(value));
69 return *this;
70 }
72
74
78 inline const Aws::String& GetNameModifier() const { return m_nameModifier; }
79 inline bool NameModifierHasBeenSet() const { return m_nameModifierHasBeenSet; }
80 template <typename NameModifierT = Aws::String>
81 void SetNameModifier(NameModifierT&& value) {
82 m_nameModifierHasBeenSet = true;
83 m_nameModifier = std::forward<NameModifierT>(value);
84 }
85 template <typename NameModifierT = Aws::String>
86 HlsOutputSettings& WithNameModifier(NameModifierT&& value) {
87 SetNameModifier(std::forward<NameModifierT>(value));
88 return *this;
89 }
91
93
96 inline const Aws::String& GetSegmentModifier() const { return m_segmentModifier; }
97 inline bool SegmentModifierHasBeenSet() const { return m_segmentModifierHasBeenSet; }
98 template <typename SegmentModifierT = Aws::String>
99 void SetSegmentModifier(SegmentModifierT&& value) {
100 m_segmentModifierHasBeenSet = true;
101 m_segmentModifier = std::forward<SegmentModifierT>(value);
102 }
103 template <typename SegmentModifierT = Aws::String>
104 HlsOutputSettings& WithSegmentModifier(SegmentModifierT&& value) {
105 SetSegmentModifier(std::forward<SegmentModifierT>(value));
106 return *this;
107 }
109 private:
111
112 HlsSettings m_hlsSettings;
113
114 Aws::String m_nameModifier;
115
116 Aws::String m_segmentModifier;
117 bool m_h265PackagingTypeHasBeenSet = false;
118 bool m_hlsSettingsHasBeenSet = false;
119 bool m_nameModifierHasBeenSet = false;
120 bool m_segmentModifierHasBeenSet = false;
121};
122
123} // namespace Model
124} // namespace MediaLive
125} // namespace Aws
HlsH265PackagingType GetH265PackagingType() const
AWS_MEDIALIVE_API Aws::Utils::Json::JsonValue Jsonize() const
void SetNameModifier(NameModifierT &&value)
AWS_MEDIALIVE_API HlsOutputSettings(Aws::Utils::Json::JsonView jsonValue)
void SetHlsSettings(HlsSettingsT &&value)
const Aws::String & GetSegmentModifier() const
void SetSegmentModifier(SegmentModifierT &&value)
AWS_MEDIALIVE_API HlsOutputSettings()=default
const HlsSettings & GetHlsSettings() const
void SetH265PackagingType(HlsH265PackagingType value)
HlsOutputSettings & WithNameModifier(NameModifierT &&value)
HlsOutputSettings & WithSegmentModifier(SegmentModifierT &&value)
const Aws::String & GetNameModifier() const
HlsOutputSettings & WithH265PackagingType(HlsH265PackagingType value)
HlsOutputSettings & WithHlsSettings(HlsSettingsT &&value)
AWS_MEDIALIVE_API HlsOutputSettings & operator=(Aws::Utils::Json::JsonView jsonValue)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue