AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
HlsEncryption.h
1
6#pragma once
7#include <aws/mediapackage-vod/MediaPackageVod_EXPORTS.h>
8#include <aws/core/utils/memory/stl/AWSString.h>
9#include <aws/mediapackage-vod/model/EncryptionMethod.h>
10#include <aws/mediapackage-vod/model/SpekeKeyProvider.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 HlsEncryption();
37 AWS_MEDIAPACKAGEVOD_API HlsEncryption(Aws::Utils::Json::JsonView jsonValue);
38 AWS_MEDIAPACKAGEVOD_API HlsEncryption& operator=(Aws::Utils::Json::JsonView jsonValue);
39 AWS_MEDIAPACKAGEVOD_API Aws::Utils::Json::JsonValue Jsonize() const;
40
41
43
49 inline const Aws::String& GetConstantInitializationVector() const{ return m_constantInitializationVector; }
50 inline bool ConstantInitializationVectorHasBeenSet() const { return m_constantInitializationVectorHasBeenSet; }
51 inline void SetConstantInitializationVector(const Aws::String& value) { m_constantInitializationVectorHasBeenSet = true; m_constantInitializationVector = value; }
52 inline void SetConstantInitializationVector(Aws::String&& value) { m_constantInitializationVectorHasBeenSet = true; m_constantInitializationVector = std::move(value); }
53 inline void SetConstantInitializationVector(const char* value) { m_constantInitializationVectorHasBeenSet = true; m_constantInitializationVector.assign(value); }
56 inline HlsEncryption& WithConstantInitializationVector(const char* value) { SetConstantInitializationVector(value); return *this;}
58
60
63 inline const EncryptionMethod& GetEncryptionMethod() const{ return m_encryptionMethod; }
64 inline bool EncryptionMethodHasBeenSet() const { return m_encryptionMethodHasBeenSet; }
65 inline void SetEncryptionMethod(const EncryptionMethod& value) { m_encryptionMethodHasBeenSet = true; m_encryptionMethod = value; }
66 inline void SetEncryptionMethod(EncryptionMethod&& value) { m_encryptionMethodHasBeenSet = true; m_encryptionMethod = std::move(value); }
67 inline HlsEncryption& WithEncryptionMethod(const EncryptionMethod& value) { SetEncryptionMethod(value); return *this;}
68 inline HlsEncryption& WithEncryptionMethod(EncryptionMethod&& value) { SetEncryptionMethod(std::move(value)); return *this;}
70
72
73 inline const SpekeKeyProvider& GetSpekeKeyProvider() const{ return m_spekeKeyProvider; }
74 inline bool SpekeKeyProviderHasBeenSet() const { return m_spekeKeyProviderHasBeenSet; }
75 inline void SetSpekeKeyProvider(const SpekeKeyProvider& value) { m_spekeKeyProviderHasBeenSet = true; m_spekeKeyProvider = value; }
76 inline void SetSpekeKeyProvider(SpekeKeyProvider&& value) { m_spekeKeyProviderHasBeenSet = true; m_spekeKeyProvider = std::move(value); }
77 inline HlsEncryption& WithSpekeKeyProvider(const SpekeKeyProvider& value) { SetSpekeKeyProvider(value); return *this;}
78 inline HlsEncryption& WithSpekeKeyProvider(SpekeKeyProvider&& value) { SetSpekeKeyProvider(std::move(value)); return *this;}
80 private:
81
82 Aws::String m_constantInitializationVector;
83 bool m_constantInitializationVectorHasBeenSet = false;
84
85 EncryptionMethod m_encryptionMethod;
86 bool m_encryptionMethodHasBeenSet = false;
87
88 SpekeKeyProvider m_spekeKeyProvider;
89 bool m_spekeKeyProviderHasBeenSet = false;
90 };
91
92} // namespace Model
93} // namespace MediaPackageVod
94} // namespace Aws
const SpekeKeyProvider & GetSpekeKeyProvider() const
AWS_MEDIAPACKAGEVOD_API HlsEncryption()
const Aws::String & GetConstantInitializationVector() const
HlsEncryption & WithSpekeKeyProvider(SpekeKeyProvider &&value)
void SetSpekeKeyProvider(const SpekeKeyProvider &value)
HlsEncryption & WithConstantInitializationVector(Aws::String &&value)
void SetConstantInitializationVector(Aws::String &&value)
void SetConstantInitializationVector(const Aws::String &value)
void SetConstantInitializationVector(const char *value)
void SetEncryptionMethod(EncryptionMethod &&value)
AWS_MEDIAPACKAGEVOD_API Aws::Utils::Json::JsonValue Jsonize() const
HlsEncryption & WithConstantInitializationVector(const Aws::String &value)
void SetSpekeKeyProvider(SpekeKeyProvider &&value)
HlsEncryption & WithConstantInitializationVector(const char *value)
AWS_MEDIAPACKAGEVOD_API HlsEncryption(Aws::Utils::Json::JsonView jsonValue)
HlsEncryption & WithEncryptionMethod(const EncryptionMethod &value)
HlsEncryption & WithEncryptionMethod(EncryptionMethod &&value)
AWS_MEDIAPACKAGEVOD_API HlsEncryption & operator=(Aws::Utils::Json::JsonView jsonValue)
void SetEncryptionMethod(const EncryptionMethod &value)
const EncryptionMethod & GetEncryptionMethod() const
HlsEncryption & WithSpekeKeyProvider(const SpekeKeyProvider &value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue