AWS SDK for C++

AWS SDK for C++ Version 1.11.440

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();
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 inline void SetEncryption(const MssEncryption& value) { m_encryptionHasBeenSet = true; m_encryption = value; }
47 inline void SetEncryption(MssEncryption&& value) { m_encryptionHasBeenSet = true; m_encryption = std::move(value); }
48 inline MssPackage& WithEncryption(const MssEncryption& value) { SetEncryption(value); return *this;}
49 inline MssPackage& WithEncryption(MssEncryption&& value) { SetEncryption(std::move(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 inline void SetStreamSelection(const StreamSelection& value) { m_streamSelectionHasBeenSet = true; m_streamSelection = value; }
77 inline void SetStreamSelection(StreamSelection&& value) { m_streamSelectionHasBeenSet = true; m_streamSelection = std::move(value); }
78 inline MssPackage& WithStreamSelection(const StreamSelection& value) { SetStreamSelection(value); return *this;}
79 inline MssPackage& WithStreamSelection(StreamSelection&& value) { SetStreamSelection(std::move(value)); return *this;}
81 private:
82
83 MssEncryption m_encryption;
84 bool m_encryptionHasBeenSet = false;
85
86 int m_manifestWindowSeconds;
87 bool m_manifestWindowSecondsHasBeenSet = false;
88
89 int m_segmentDurationSeconds;
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
MssPackage & WithStreamSelection(const StreamSelection &value)
Definition MssPackage.h:78
void SetEncryption(MssEncryption &&value)
Definition MssPackage.h:47
MssPackage & WithManifestWindowSeconds(int value)
Definition MssPackage.h:59
AWS_MEDIAPACKAGE_API MssPackage(Aws::Utils::Json::JsonView jsonValue)
void SetEncryption(const MssEncryption &value)
Definition MssPackage.h:46
const MssEncryption & GetEncryption() const
Definition MssPackage.h:44
MssPackage & WithEncryption(const MssEncryption &value)
Definition MssPackage.h:48
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(StreamSelection &&value)
Definition MssPackage.h:79
AWS_MEDIAPACKAGE_API MssPackage()
void SetStreamSelection(const StreamSelection &value)
Definition MssPackage.h:76
AWS_MEDIAPACKAGE_API Aws::Utils::Json::JsonValue Jsonize() const
void SetStreamSelection(StreamSelection &&value)
Definition MssPackage.h:77
MssPackage & WithEncryption(MssEncryption &&value)
Definition MssPackage.h:49
AWS_MEDIAPACKAGE_API MssPackage & operator=(Aws::Utils::Json::JsonView jsonValue)
Aws::Utils::Json::JsonValue JsonValue