AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
HlsPackage.h
1
6#pragma once
7#include <aws/mediapackage-vod/MediaPackageVod_EXPORTS.h>
8#include <aws/mediapackage-vod/model/HlsEncryption.h>
9#include <aws/core/utils/memory/stl/AWSVector.h>
10#include <aws/mediapackage-vod/model/HlsManifest.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 MediaPackageVod
24{
25namespace Model
26{
27
34 {
35 public:
36 AWS_MEDIAPACKAGEVOD_API HlsPackage();
37 AWS_MEDIAPACKAGEVOD_API HlsPackage(Aws::Utils::Json::JsonView jsonValue);
38 AWS_MEDIAPACKAGEVOD_API HlsPackage& operator=(Aws::Utils::Json::JsonView jsonValue);
39 AWS_MEDIAPACKAGEVOD_API Aws::Utils::Json::JsonValue Jsonize() const;
40
41
43
44 inline const HlsEncryption& GetEncryption() const{ return m_encryption; }
45 inline bool EncryptionHasBeenSet() const { return m_encryptionHasBeenSet; }
46 inline void SetEncryption(const HlsEncryption& value) { m_encryptionHasBeenSet = true; m_encryption = value; }
47 inline void SetEncryption(HlsEncryption&& value) { m_encryptionHasBeenSet = true; m_encryption = std::move(value); }
48 inline HlsPackage& WithEncryption(const HlsEncryption& value) { SetEncryption(value); return *this;}
49 inline HlsPackage& WithEncryption(HlsEncryption&& value) { SetEncryption(std::move(value)); return *this;}
51
53
56 inline const Aws::Vector<HlsManifest>& GetHlsManifests() const{ return m_hlsManifests; }
57 inline bool HlsManifestsHasBeenSet() const { return m_hlsManifestsHasBeenSet; }
58 inline void SetHlsManifests(const Aws::Vector<HlsManifest>& value) { m_hlsManifestsHasBeenSet = true; m_hlsManifests = value; }
59 inline void SetHlsManifests(Aws::Vector<HlsManifest>&& value) { m_hlsManifestsHasBeenSet = true; m_hlsManifests = std::move(value); }
60 inline HlsPackage& WithHlsManifests(const Aws::Vector<HlsManifest>& value) { SetHlsManifests(value); return *this;}
61 inline HlsPackage& WithHlsManifests(Aws::Vector<HlsManifest>&& value) { SetHlsManifests(std::move(value)); return *this;}
62 inline HlsPackage& AddHlsManifests(const HlsManifest& value) { m_hlsManifestsHasBeenSet = true; m_hlsManifests.push_back(value); return *this; }
63 inline HlsPackage& AddHlsManifests(HlsManifest&& value) { m_hlsManifestsHasBeenSet = true; m_hlsManifests.push_back(std::move(value)); return *this; }
65
67
71 inline bool GetIncludeDvbSubtitles() const{ return m_includeDvbSubtitles; }
72 inline bool IncludeDvbSubtitlesHasBeenSet() const { return m_includeDvbSubtitlesHasBeenSet; }
73 inline void SetIncludeDvbSubtitles(bool value) { m_includeDvbSubtitlesHasBeenSet = true; m_includeDvbSubtitles = value; }
74 inline HlsPackage& WithIncludeDvbSubtitles(bool value) { SetIncludeDvbSubtitles(value); return *this;}
76
78
84 inline int GetSegmentDurationSeconds() const{ return m_segmentDurationSeconds; }
85 inline bool SegmentDurationSecondsHasBeenSet() const { return m_segmentDurationSecondsHasBeenSet; }
86 inline void SetSegmentDurationSeconds(int value) { m_segmentDurationSecondsHasBeenSet = true; m_segmentDurationSeconds = value; }
87 inline HlsPackage& WithSegmentDurationSeconds(int value) { SetSegmentDurationSeconds(value); return *this;}
89
91
94 inline bool GetUseAudioRenditionGroup() const{ return m_useAudioRenditionGroup; }
95 inline bool UseAudioRenditionGroupHasBeenSet() const { return m_useAudioRenditionGroupHasBeenSet; }
96 inline void SetUseAudioRenditionGroup(bool value) { m_useAudioRenditionGroupHasBeenSet = true; m_useAudioRenditionGroup = value; }
97 inline HlsPackage& WithUseAudioRenditionGroup(bool value) { SetUseAudioRenditionGroup(value); return *this;}
99 private:
100
101 HlsEncryption m_encryption;
102 bool m_encryptionHasBeenSet = false;
103
104 Aws::Vector<HlsManifest> m_hlsManifests;
105 bool m_hlsManifestsHasBeenSet = false;
106
107 bool m_includeDvbSubtitles;
108 bool m_includeDvbSubtitlesHasBeenSet = false;
109
110 int m_segmentDurationSeconds;
111 bool m_segmentDurationSecondsHasBeenSet = false;
112
113 bool m_useAudioRenditionGroup;
114 bool m_useAudioRenditionGroupHasBeenSet = false;
115 };
116
117} // namespace Model
118} // namespace MediaPackageVod
119} // namespace Aws
HlsPackage & WithUseAudioRenditionGroup(bool value)
Definition HlsPackage.h:97
AWS_MEDIAPACKAGEVOD_API HlsPackage & operator=(Aws::Utils::Json::JsonView jsonValue)
HlsPackage & WithEncryption(HlsEncryption &&value)
Definition HlsPackage.h:49
HlsPackage & WithIncludeDvbSubtitles(bool value)
Definition HlsPackage.h:74
void SetHlsManifests(Aws::Vector< HlsManifest > &&value)
Definition HlsPackage.h:59
HlsPackage & WithSegmentDurationSeconds(int value)
Definition HlsPackage.h:87
HlsPackage & WithEncryption(const HlsEncryption &value)
Definition HlsPackage.h:48
void SetEncryption(HlsEncryption &&value)
Definition HlsPackage.h:47
HlsPackage & AddHlsManifests(const HlsManifest &value)
Definition HlsPackage.h:62
HlsPackage & WithHlsManifests(const Aws::Vector< HlsManifest > &value)
Definition HlsPackage.h:60
AWS_MEDIAPACKAGEVOD_API Aws::Utils::Json::JsonValue Jsonize() const
const Aws::Vector< HlsManifest > & GetHlsManifests() const
Definition HlsPackage.h:56
HlsPackage & WithHlsManifests(Aws::Vector< HlsManifest > &&value)
Definition HlsPackage.h:61
AWS_MEDIAPACKAGEVOD_API HlsPackage()
const HlsEncryption & GetEncryption() const
Definition HlsPackage.h:44
void SetEncryption(const HlsEncryption &value)
Definition HlsPackage.h:46
AWS_MEDIAPACKAGEVOD_API HlsPackage(Aws::Utils::Json::JsonView jsonValue)
void SetHlsManifests(const Aws::Vector< HlsManifest > &value)
Definition HlsPackage.h:58
HlsPackage & AddHlsManifests(HlsManifest &&value)
Definition HlsPackage.h:63
std::vector< T, Aws::Allocator< T > > Vector
Aws::Utils::Json::JsonValue JsonValue