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-vod/MediaPackageVod_EXPORTS.h>
8#include <aws/mediapackage-vod/model/MssEncryption.h>
9#include <aws/core/utils/memory/stl/AWSVector.h>
10#include <aws/mediapackage-vod/model/MssManifest.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
35 {
36 public:
37 AWS_MEDIAPACKAGEVOD_API MssPackage();
38 AWS_MEDIAPACKAGEVOD_API MssPackage(Aws::Utils::Json::JsonView jsonValue);
39 AWS_MEDIAPACKAGEVOD_API MssPackage& operator=(Aws::Utils::Json::JsonView jsonValue);
40 AWS_MEDIAPACKAGEVOD_API Aws::Utils::Json::JsonValue Jsonize() const;
41
42
44
45 inline const MssEncryption& GetEncryption() const{ return m_encryption; }
46 inline bool EncryptionHasBeenSet() const { return m_encryptionHasBeenSet; }
47 inline void SetEncryption(const MssEncryption& value) { m_encryptionHasBeenSet = true; m_encryption = value; }
48 inline void SetEncryption(MssEncryption&& value) { m_encryptionHasBeenSet = true; m_encryption = std::move(value); }
49 inline MssPackage& WithEncryption(const MssEncryption& value) { SetEncryption(value); return *this;}
50 inline MssPackage& WithEncryption(MssEncryption&& value) { SetEncryption(std::move(value)); return *this;}
52
54
57 inline const Aws::Vector<MssManifest>& GetMssManifests() const{ return m_mssManifests; }
58 inline bool MssManifestsHasBeenSet() const { return m_mssManifestsHasBeenSet; }
59 inline void SetMssManifests(const Aws::Vector<MssManifest>& value) { m_mssManifestsHasBeenSet = true; m_mssManifests = value; }
60 inline void SetMssManifests(Aws::Vector<MssManifest>&& value) { m_mssManifestsHasBeenSet = true; m_mssManifests = std::move(value); }
61 inline MssPackage& WithMssManifests(const Aws::Vector<MssManifest>& value) { SetMssManifests(value); return *this;}
62 inline MssPackage& WithMssManifests(Aws::Vector<MssManifest>&& value) { SetMssManifests(std::move(value)); return *this;}
63 inline MssPackage& AddMssManifests(const MssManifest& value) { m_mssManifestsHasBeenSet = true; m_mssManifests.push_back(value); return *this; }
64 inline MssPackage& AddMssManifests(MssManifest&& value) { m_mssManifestsHasBeenSet = true; m_mssManifests.push_back(std::move(value)); return *this; }
66
68
71 inline int GetSegmentDurationSeconds() const{ return m_segmentDurationSeconds; }
72 inline bool SegmentDurationSecondsHasBeenSet() const { return m_segmentDurationSecondsHasBeenSet; }
73 inline void SetSegmentDurationSeconds(int value) { m_segmentDurationSecondsHasBeenSet = true; m_segmentDurationSeconds = value; }
74 inline MssPackage& WithSegmentDurationSeconds(int value) { SetSegmentDurationSeconds(value); return *this;}
76 private:
77
78 MssEncryption m_encryption;
79 bool m_encryptionHasBeenSet = false;
80
81 Aws::Vector<MssManifest> m_mssManifests;
82 bool m_mssManifestsHasBeenSet = false;
83
84 int m_segmentDurationSeconds;
85 bool m_segmentDurationSecondsHasBeenSet = false;
86 };
87
88} // namespace Model
89} // namespace MediaPackageVod
90} // namespace Aws
MssPackage & AddMssManifests(const MssManifest &value)
Definition MssPackage.h:63
MssPackage & WithMssManifests(const Aws::Vector< MssManifest > &value)
Definition MssPackage.h:61
AWS_MEDIAPACKAGEVOD_API MssPackage & operator=(Aws::Utils::Json::JsonView jsonValue)
MssPackage & AddMssManifests(MssManifest &&value)
Definition MssPackage.h:64
void SetEncryption(MssEncryption &&value)
Definition MssPackage.h:48
AWS_MEDIAPACKAGEVOD_API MssPackage()
void SetMssManifests(const Aws::Vector< MssManifest > &value)
Definition MssPackage.h:59
MssPackage & WithEncryption(const MssEncryption &value)
Definition MssPackage.h:49
MssPackage & WithEncryption(MssEncryption &&value)
Definition MssPackage.h:50
MssPackage & WithMssManifests(Aws::Vector< MssManifest > &&value)
Definition MssPackage.h:62
AWS_MEDIAPACKAGEVOD_API MssPackage(Aws::Utils::Json::JsonView jsonValue)
const MssEncryption & GetEncryption() const
Definition MssPackage.h:45
const Aws::Vector< MssManifest > & GetMssManifests() const
Definition MssPackage.h:57
void SetMssManifests(Aws::Vector< MssManifest > &&value)
Definition MssPackage.h:60
void SetEncryption(const MssEncryption &value)
Definition MssPackage.h:47
AWS_MEDIAPACKAGEVOD_API Aws::Utils::Json::JsonValue Jsonize() const
MssPackage & WithSegmentDurationSeconds(int value)
Definition MssPackage.h:74
std::vector< T, Aws::Allocator< T > > Vector
Aws::Utils::Json::JsonValue JsonValue