AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
CmafPackage.h
1
6#pragma once
7#include <aws/mediapackage-vod/MediaPackageVod_EXPORTS.h>
8#include <aws/mediapackage-vod/model/CmafEncryption.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 CmafPackage();
37 AWS_MEDIAPACKAGEVOD_API CmafPackage(Aws::Utils::Json::JsonView jsonValue);
38 AWS_MEDIAPACKAGEVOD_API CmafPackage& operator=(Aws::Utils::Json::JsonView jsonValue);
39 AWS_MEDIAPACKAGEVOD_API Aws::Utils::Json::JsonValue Jsonize() const;
40
41
43
44 inline const CmafEncryption& GetEncryption() const{ return m_encryption; }
45 inline bool EncryptionHasBeenSet() const { return m_encryptionHasBeenSet; }
46 inline void SetEncryption(const CmafEncryption& value) { m_encryptionHasBeenSet = true; m_encryption = value; }
47 inline void SetEncryption(CmafEncryption&& value) { m_encryptionHasBeenSet = true; m_encryption = std::move(value); }
48 inline CmafPackage& WithEncryption(const CmafEncryption& value) { SetEncryption(value); return *this;}
49 inline CmafPackage& WithEncryption(CmafEncryption&& 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 CmafPackage& WithHlsManifests(const Aws::Vector<HlsManifest>& value) { SetHlsManifests(value); return *this;}
61 inline CmafPackage& WithHlsManifests(Aws::Vector<HlsManifest>&& value) { SetHlsManifests(std::move(value)); return *this;}
62 inline CmafPackage& AddHlsManifests(const HlsManifest& value) { m_hlsManifestsHasBeenSet = true; m_hlsManifests.push_back(value); return *this; }
63 inline CmafPackage& AddHlsManifests(HlsManifest&& value) { m_hlsManifestsHasBeenSet = true; m_hlsManifests.push_back(std::move(value)); return *this; }
65
67
75 inline bool GetIncludeEncoderConfigurationInSegments() const{ return m_includeEncoderConfigurationInSegments; }
76 inline bool IncludeEncoderConfigurationInSegmentsHasBeenSet() const { return m_includeEncoderConfigurationInSegmentsHasBeenSet; }
77 inline void SetIncludeEncoderConfigurationInSegments(bool value) { m_includeEncoderConfigurationInSegmentsHasBeenSet = true; m_includeEncoderConfigurationInSegments = value; }
80
82
88 inline int GetSegmentDurationSeconds() const{ return m_segmentDurationSeconds; }
89 inline bool SegmentDurationSecondsHasBeenSet() const { return m_segmentDurationSecondsHasBeenSet; }
90 inline void SetSegmentDurationSeconds(int value) { m_segmentDurationSecondsHasBeenSet = true; m_segmentDurationSeconds = value; }
91 inline CmafPackage& WithSegmentDurationSeconds(int value) { SetSegmentDurationSeconds(value); return *this;}
93 private:
94
95 CmafEncryption m_encryption;
96 bool m_encryptionHasBeenSet = false;
97
98 Aws::Vector<HlsManifest> m_hlsManifests;
99 bool m_hlsManifestsHasBeenSet = false;
100
101 bool m_includeEncoderConfigurationInSegments;
102 bool m_includeEncoderConfigurationInSegmentsHasBeenSet = false;
103
104 int m_segmentDurationSeconds;
105 bool m_segmentDurationSecondsHasBeenSet = false;
106 };
107
108} // namespace Model
109} // namespace MediaPackageVod
110} // namespace Aws
const CmafEncryption & GetEncryption() const
Definition CmafPackage.h:44
CmafPackage & WithEncryption(const CmafEncryption &value)
Definition CmafPackage.h:48
CmafPackage & WithHlsManifests(const Aws::Vector< HlsManifest > &value)
Definition CmafPackage.h:60
CmafPackage & WithSegmentDurationSeconds(int value)
Definition CmafPackage.h:91
void SetEncryption(const CmafEncryption &value)
Definition CmafPackage.h:46
const Aws::Vector< HlsManifest > & GetHlsManifests() const
Definition CmafPackage.h:56
void SetIncludeEncoderConfigurationInSegments(bool value)
Definition CmafPackage.h:77
CmafPackage & AddHlsManifests(HlsManifest &&value)
Definition CmafPackage.h:63
CmafPackage & WithHlsManifests(Aws::Vector< HlsManifest > &&value)
Definition CmafPackage.h:61
CmafPackage & AddHlsManifests(const HlsManifest &value)
Definition CmafPackage.h:62
AWS_MEDIAPACKAGEVOD_API CmafPackage()
void SetEncryption(CmafEncryption &&value)
Definition CmafPackage.h:47
void SetHlsManifests(const Aws::Vector< HlsManifest > &value)
Definition CmafPackage.h:58
AWS_MEDIAPACKAGEVOD_API CmafPackage(Aws::Utils::Json::JsonView jsonValue)
AWS_MEDIAPACKAGEVOD_API CmafPackage & operator=(Aws::Utils::Json::JsonView jsonValue)
bool IncludeEncoderConfigurationInSegmentsHasBeenSet() const
Definition CmafPackage.h:76
CmafPackage & WithEncryption(CmafEncryption &&value)
Definition CmafPackage.h:49
CmafPackage & WithIncludeEncoderConfigurationInSegments(bool value)
Definition CmafPackage.h:78
AWS_MEDIAPACKAGEVOD_API Aws::Utils::Json::JsonValue Jsonize() const
void SetHlsManifests(Aws::Vector< HlsManifest > &&value)
Definition CmafPackage.h:59
std::vector< T, Aws::Allocator< T > > Vector
Aws::Utils::Json::JsonValue JsonValue