AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
DashPackage.h
1
6#pragma once
7#include <aws/mediapackage-vod/MediaPackageVod_EXPORTS.h>
8#include <aws/core/utils/memory/stl/AWSVector.h>
9#include <aws/mediapackage-vod/model/DashEncryption.h>
10#include <aws/mediapackage-vod/model/SegmentTemplateFormat.h>
11#include <aws/mediapackage-vod/model/DashManifest.h>
12#include <aws/mediapackage-vod/model/__PeriodTriggersElement.h>
13#include <utility>
14
15namespace Aws
16{
17namespace Utils
18{
19namespace Json
20{
21 class JsonValue;
22 class JsonView;
23} // namespace Json
24} // namespace Utils
25namespace MediaPackageVod
26{
27namespace Model
28{
29
37 {
38 public:
39 AWS_MEDIAPACKAGEVOD_API DashPackage();
40 AWS_MEDIAPACKAGEVOD_API DashPackage(Aws::Utils::Json::JsonView jsonValue);
41 AWS_MEDIAPACKAGEVOD_API DashPackage& operator=(Aws::Utils::Json::JsonView jsonValue);
42 AWS_MEDIAPACKAGEVOD_API Aws::Utils::Json::JsonValue Jsonize() const;
43
44
46
49 inline const Aws::Vector<DashManifest>& GetDashManifests() const{ return m_dashManifests; }
50 inline bool DashManifestsHasBeenSet() const { return m_dashManifestsHasBeenSet; }
51 inline void SetDashManifests(const Aws::Vector<DashManifest>& value) { m_dashManifestsHasBeenSet = true; m_dashManifests = value; }
52 inline void SetDashManifests(Aws::Vector<DashManifest>&& value) { m_dashManifestsHasBeenSet = true; m_dashManifests = std::move(value); }
53 inline DashPackage& WithDashManifests(const Aws::Vector<DashManifest>& value) { SetDashManifests(value); return *this;}
54 inline DashPackage& WithDashManifests(Aws::Vector<DashManifest>&& value) { SetDashManifests(std::move(value)); return *this;}
55 inline DashPackage& AddDashManifests(const DashManifest& value) { m_dashManifestsHasBeenSet = true; m_dashManifests.push_back(value); return *this; }
56 inline DashPackage& AddDashManifests(DashManifest&& value) { m_dashManifestsHasBeenSet = true; m_dashManifests.push_back(std::move(value)); return *this; }
58
60
61 inline const DashEncryption& GetEncryption() const{ return m_encryption; }
62 inline bool EncryptionHasBeenSet() const { return m_encryptionHasBeenSet; }
63 inline void SetEncryption(const DashEncryption& value) { m_encryptionHasBeenSet = true; m_encryption = value; }
64 inline void SetEncryption(DashEncryption&& value) { m_encryptionHasBeenSet = true; m_encryption = std::move(value); }
65 inline DashPackage& WithEncryption(const DashEncryption& value) { SetEncryption(value); return *this;}
66 inline DashPackage& WithEncryption(DashEncryption&& value) { SetEncryption(std::move(value)); return *this;}
68
70
78 inline bool GetIncludeEncoderConfigurationInSegments() const{ return m_includeEncoderConfigurationInSegments; }
79 inline bool IncludeEncoderConfigurationInSegmentsHasBeenSet() const { return m_includeEncoderConfigurationInSegmentsHasBeenSet; }
80 inline void SetIncludeEncoderConfigurationInSegments(bool value) { m_includeEncoderConfigurationInSegmentsHasBeenSet = true; m_includeEncoderConfigurationInSegments = value; }
83
85
88 inline bool GetIncludeIframeOnlyStream() const{ return m_includeIframeOnlyStream; }
89 inline bool IncludeIframeOnlyStreamHasBeenSet() const { return m_includeIframeOnlyStreamHasBeenSet; }
90 inline void SetIncludeIframeOnlyStream(bool value) { m_includeIframeOnlyStreamHasBeenSet = true; m_includeIframeOnlyStream = value; }
91 inline DashPackage& WithIncludeIframeOnlyStream(bool value) { SetIncludeIframeOnlyStream(value); return *this;}
93
95
106 inline const Aws::Vector<__PeriodTriggersElement>& GetPeriodTriggers() const{ return m_periodTriggers; }
107 inline bool PeriodTriggersHasBeenSet() const { return m_periodTriggersHasBeenSet; }
108 inline void SetPeriodTriggers(const Aws::Vector<__PeriodTriggersElement>& value) { m_periodTriggersHasBeenSet = true; m_periodTriggers = value; }
109 inline void SetPeriodTriggers(Aws::Vector<__PeriodTriggersElement>&& value) { m_periodTriggersHasBeenSet = true; m_periodTriggers = std::move(value); }
112 inline DashPackage& AddPeriodTriggers(const __PeriodTriggersElement& value) { m_periodTriggersHasBeenSet = true; m_periodTriggers.push_back(value); return *this; }
113 inline DashPackage& AddPeriodTriggers(__PeriodTriggersElement&& value) { m_periodTriggersHasBeenSet = true; m_periodTriggers.push_back(std::move(value)); return *this; }
115
117
123 inline int GetSegmentDurationSeconds() const{ return m_segmentDurationSeconds; }
124 inline bool SegmentDurationSecondsHasBeenSet() const { return m_segmentDurationSecondsHasBeenSet; }
125 inline void SetSegmentDurationSeconds(int value) { m_segmentDurationSecondsHasBeenSet = true; m_segmentDurationSeconds = value; }
126 inline DashPackage& WithSegmentDurationSeconds(int value) { SetSegmentDurationSeconds(value); return *this;}
128
130
138 inline const SegmentTemplateFormat& GetSegmentTemplateFormat() const{ return m_segmentTemplateFormat; }
139 inline bool SegmentTemplateFormatHasBeenSet() const { return m_segmentTemplateFormatHasBeenSet; }
140 inline void SetSegmentTemplateFormat(const SegmentTemplateFormat& value) { m_segmentTemplateFormatHasBeenSet = true; m_segmentTemplateFormat = value; }
141 inline void SetSegmentTemplateFormat(SegmentTemplateFormat&& value) { m_segmentTemplateFormatHasBeenSet = true; m_segmentTemplateFormat = std::move(value); }
143 inline DashPackage& WithSegmentTemplateFormat(SegmentTemplateFormat&& value) { SetSegmentTemplateFormat(std::move(value)); return *this;}
145 private:
146
147 Aws::Vector<DashManifest> m_dashManifests;
148 bool m_dashManifestsHasBeenSet = false;
149
150 DashEncryption m_encryption;
151 bool m_encryptionHasBeenSet = false;
152
153 bool m_includeEncoderConfigurationInSegments;
154 bool m_includeEncoderConfigurationInSegmentsHasBeenSet = false;
155
156 bool m_includeIframeOnlyStream;
157 bool m_includeIframeOnlyStreamHasBeenSet = false;
158
160 bool m_periodTriggersHasBeenSet = false;
161
162 int m_segmentDurationSeconds;
163 bool m_segmentDurationSecondsHasBeenSet = false;
164
165 SegmentTemplateFormat m_segmentTemplateFormat;
166 bool m_segmentTemplateFormatHasBeenSet = false;
167 };
168
169} // namespace Model
170} // namespace MediaPackageVod
171} // namespace Aws
AWS_MEDIAPACKAGEVOD_API DashPackage(Aws::Utils::Json::JsonView jsonValue)
const Aws::Vector< __PeriodTriggersElement > & GetPeriodTriggers() const
DashPackage & WithPeriodTriggers(const Aws::Vector< __PeriodTriggersElement > &value)
void SetPeriodTriggers(const Aws::Vector< __PeriodTriggersElement > &value)
DashPackage & AddDashManifests(const DashManifest &value)
Definition DashPackage.h:55
bool IncludeEncoderConfigurationInSegmentsHasBeenSet() const
Definition DashPackage.h:79
void SetSegmentTemplateFormat(SegmentTemplateFormat &&value)
DashPackage & AddPeriodTriggers(__PeriodTriggersElement &&value)
DashPackage & WithSegmentTemplateFormat(SegmentTemplateFormat &&value)
DashPackage & WithDashManifests(Aws::Vector< DashManifest > &&value)
Definition DashPackage.h:54
DashPackage & AddDashManifests(DashManifest &&value)
Definition DashPackage.h:56
void SetPeriodTriggers(Aws::Vector< __PeriodTriggersElement > &&value)
DashPackage & WithEncryption(const DashEncryption &value)
Definition DashPackage.h:65
AWS_MEDIAPACKAGEVOD_API DashPackage()
const SegmentTemplateFormat & GetSegmentTemplateFormat() const
AWS_MEDIAPACKAGEVOD_API DashPackage & operator=(Aws::Utils::Json::JsonView jsonValue)
DashPackage & WithPeriodTriggers(Aws::Vector< __PeriodTriggersElement > &&value)
DashPackage & AddPeriodTriggers(const __PeriodTriggersElement &value)
void SetEncryption(DashEncryption &&value)
Definition DashPackage.h:64
const DashEncryption & GetEncryption() const
Definition DashPackage.h:61
DashPackage & WithIncludeIframeOnlyStream(bool value)
Definition DashPackage.h:91
DashPackage & WithDashManifests(const Aws::Vector< DashManifest > &value)
Definition DashPackage.h:53
void SetSegmentTemplateFormat(const SegmentTemplateFormat &value)
void SetDashManifests(const Aws::Vector< DashManifest > &value)
Definition DashPackage.h:51
void SetEncryption(const DashEncryption &value)
Definition DashPackage.h:63
const Aws::Vector< DashManifest > & GetDashManifests() const
Definition DashPackage.h:49
DashPackage & WithSegmentTemplateFormat(const SegmentTemplateFormat &value)
DashPackage & WithEncryption(DashEncryption &&value)
Definition DashPackage.h:66
void SetIncludeEncoderConfigurationInSegments(bool value)
Definition DashPackage.h:80
DashPackage & WithSegmentDurationSeconds(int value)
void SetDashManifests(Aws::Vector< DashManifest > &&value)
Definition DashPackage.h:52
AWS_MEDIAPACKAGEVOD_API Aws::Utils::Json::JsonValue Jsonize() const
DashPackage & WithIncludeEncoderConfigurationInSegments(bool value)
Definition DashPackage.h:81
std::vector< T, Aws::Allocator< T > > Vector
Aws::Utils::Json::JsonValue JsonValue