AWS SDK for C++

AWS SDK for C++ Version 1.11.609

Loading...
Searching...
No Matches
HlsOutputSettings.h
1
6#pragma once
7#include <aws/medialive/MediaLive_EXPORTS.h>
8#include <aws/medialive/model/HlsH265PackagingType.h>
9#include <aws/medialive/model/HlsSettings.h>
10#include <aws/core/utils/memory/stl/AWSString.h>
11#include <utility>
12
13namespace Aws
14{
15namespace Utils
16{
17namespace Json
18{
19 class JsonValue;
20 class JsonView;
21} // namespace Json
22} // namespace Utils
23namespace MediaLive
24{
25namespace Model
26{
27
34 {
35 public:
36 AWS_MEDIALIVE_API HlsOutputSettings() = default;
37 AWS_MEDIALIVE_API HlsOutputSettings(Aws::Utils::Json::JsonView jsonValue);
39 AWS_MEDIALIVE_API Aws::Utils::Json::JsonValue Jsonize() const;
40
41
43
48 inline HlsH265PackagingType GetH265PackagingType() const { return m_h265PackagingType; }
49 inline bool H265PackagingTypeHasBeenSet() const { return m_h265PackagingTypeHasBeenSet; }
50 inline void SetH265PackagingType(HlsH265PackagingType value) { m_h265PackagingTypeHasBeenSet = true; m_h265PackagingType = value; }
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) { m_hlsSettingsHasBeenSet = true; m_hlsSettings = std::forward<HlsSettingsT>(value); }
63 template<typename HlsSettingsT = HlsSettings>
64 HlsOutputSettings& WithHlsSettings(HlsSettingsT&& value) { SetHlsSettings(std::forward<HlsSettingsT>(value)); return *this;}
66
68
72 inline const Aws::String& GetNameModifier() const { return m_nameModifier; }
73 inline bool NameModifierHasBeenSet() const { return m_nameModifierHasBeenSet; }
74 template<typename NameModifierT = Aws::String>
75 void SetNameModifier(NameModifierT&& value) { m_nameModifierHasBeenSet = true; m_nameModifier = std::forward<NameModifierT>(value); }
76 template<typename NameModifierT = Aws::String>
77 HlsOutputSettings& WithNameModifier(NameModifierT&& value) { SetNameModifier(std::forward<NameModifierT>(value)); return *this;}
79
81
84 inline const Aws::String& GetSegmentModifier() const { return m_segmentModifier; }
85 inline bool SegmentModifierHasBeenSet() const { return m_segmentModifierHasBeenSet; }
86 template<typename SegmentModifierT = Aws::String>
87 void SetSegmentModifier(SegmentModifierT&& value) { m_segmentModifierHasBeenSet = true; m_segmentModifier = std::forward<SegmentModifierT>(value); }
88 template<typename SegmentModifierT = Aws::String>
89 HlsOutputSettings& WithSegmentModifier(SegmentModifierT&& value) { SetSegmentModifier(std::forward<SegmentModifierT>(value)); return *this;}
91 private:
92
94 bool m_h265PackagingTypeHasBeenSet = false;
95
96 HlsSettings m_hlsSettings;
97 bool m_hlsSettingsHasBeenSet = false;
98
99 Aws::String m_nameModifier;
100 bool m_nameModifierHasBeenSet = false;
101
102 Aws::String m_segmentModifier;
103 bool m_segmentModifierHasBeenSet = false;
104 };
105
106} // namespace Model
107} // namespace MediaLive
108} // 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