AWS SDK for C++

AWS SDK for C++ Version 1.11.606

Loading...
Searching...
No Matches
MssPackage.h
1
6#pragma once
7#include <aws/mediapackage/MediaPackage_EXPORTS.h>
8#include <aws/mediapackage/model/MssEncryption.h>
9#include <aws/mediapackage/model/StreamSelection.h>
10#include <utility>
11
12namespace Aws
13{
14namespace Utils
15{
16namespace Json
17{
18 class JsonValue;
19 class JsonView;
20} // namespace Json
21} // namespace Utils
22namespace MediaPackage
23{
24namespace Model
25{
26
34 {
35 public:
36 AWS_MEDIAPACKAGE_API MssPackage() = default;
37 AWS_MEDIAPACKAGE_API MssPackage(Aws::Utils::Json::JsonView jsonValue);
38 AWS_MEDIAPACKAGE_API MssPackage& operator=(Aws::Utils::Json::JsonView jsonValue);
39 AWS_MEDIAPACKAGE_API Aws::Utils::Json::JsonValue Jsonize() const;
40
41
43
44 inline const MssEncryption& GetEncryption() const { return m_encryption; }
45 inline bool EncryptionHasBeenSet() const { return m_encryptionHasBeenSet; }
46 template<typename EncryptionT = MssEncryption>
47 void SetEncryption(EncryptionT&& value) { m_encryptionHasBeenSet = true; m_encryption = std::forward<EncryptionT>(value); }
48 template<typename EncryptionT = MssEncryption>
49 MssPackage& WithEncryption(EncryptionT&& value) { SetEncryption(std::forward<EncryptionT>(value)); return *this;}
51
53
56 inline int GetManifestWindowSeconds() const { return m_manifestWindowSeconds; }
57 inline bool ManifestWindowSecondsHasBeenSet() const { return m_manifestWindowSecondsHasBeenSet; }
58 inline void SetManifestWindowSeconds(int value) { m_manifestWindowSecondsHasBeenSet = true; m_manifestWindowSeconds = value; }
59 inline MssPackage& WithManifestWindowSeconds(int value) { SetManifestWindowSeconds(value); return *this;}
61
63
66 inline int GetSegmentDurationSeconds() const { return m_segmentDurationSeconds; }
67 inline bool SegmentDurationSecondsHasBeenSet() const { return m_segmentDurationSecondsHasBeenSet; }
68 inline void SetSegmentDurationSeconds(int value) { m_segmentDurationSecondsHasBeenSet = true; m_segmentDurationSeconds = value; }
69 inline MssPackage& WithSegmentDurationSeconds(int value) { SetSegmentDurationSeconds(value); return *this;}
71
73
74 inline const StreamSelection& GetStreamSelection() const { return m_streamSelection; }
75 inline bool StreamSelectionHasBeenSet() const { return m_streamSelectionHasBeenSet; }
76 template<typename StreamSelectionT = StreamSelection>
77 void SetStreamSelection(StreamSelectionT&& value) { m_streamSelectionHasBeenSet = true; m_streamSelection = std::forward<StreamSelectionT>(value); }
78 template<typename StreamSelectionT = StreamSelection>
79 MssPackage& WithStreamSelection(StreamSelectionT&& value) { SetStreamSelection(std::forward<StreamSelectionT>(value)); return *this;}
81 private:
82
83 MssEncryption m_encryption;
84 bool m_encryptionHasBeenSet = false;
85
86 int m_manifestWindowSeconds{0};
87 bool m_manifestWindowSecondsHasBeenSet = false;
88
89 int m_segmentDurationSeconds{0};
90 bool m_segmentDurationSecondsHasBeenSet = false;
91
92 StreamSelection m_streamSelection;
93 bool m_streamSelectionHasBeenSet = false;
94 };
95
96} // namespace Model
97} // namespace MediaPackage
98} // namespace Aws
AWS_MEDIAPACKAGE_API MssPackage()=default
MssPackage & WithManifestWindowSeconds(int value)
Definition MssPackage.h:59
MssPackage & WithEncryption(EncryptionT &&value)
Definition MssPackage.h:49
AWS_MEDIAPACKAGE_API MssPackage(Aws::Utils::Json::JsonView jsonValue)
const MssEncryption & GetEncryption() const
Definition MssPackage.h:44
void SetSegmentDurationSeconds(int value)
Definition MssPackage.h:68
const StreamSelection & GetStreamSelection() const
Definition MssPackage.h:74
MssPackage & WithSegmentDurationSeconds(int value)
Definition MssPackage.h:69
MssPackage & WithStreamSelection(StreamSelectionT &&value)
Definition MssPackage.h:79
void SetEncryption(EncryptionT &&value)
Definition MssPackage.h:47
void SetStreamSelection(StreamSelectionT &&value)
Definition MssPackage.h:77
AWS_MEDIAPACKAGE_API Aws::Utils::Json::JsonValue Jsonize() const
AWS_MEDIAPACKAGE_API MssPackage & operator=(Aws::Utils::Json::JsonView jsonValue)
Aws::Utils::Json::JsonValue JsonValue