AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
HlsEncryptionSettings.h
1
6#pragma once
7#include <aws/mediaconvert/MediaConvert_EXPORTS.h>
8#include <aws/core/utils/memory/stl/AWSString.h>
9#include <aws/mediaconvert/model/HlsEncryptionType.h>
10#include <aws/mediaconvert/model/HlsInitializationVectorInManifest.h>
11#include <aws/mediaconvert/model/HlsOfflineEncrypted.h>
12#include <aws/mediaconvert/model/SpekeKeyProvider.h>
13#include <aws/mediaconvert/model/StaticKeyProvider.h>
14#include <aws/mediaconvert/model/HlsKeyProviderType.h>
15#include <utility>
16
17namespace Aws
18{
19namespace Utils
20{
21namespace Json
22{
23 class JsonValue;
24 class JsonView;
25} // namespace Json
26} // namespace Utils
27namespace MediaConvert
28{
29namespace Model
30{
31
38 {
39 public:
40 AWS_MEDIACONVERT_API HlsEncryptionSettings();
41 AWS_MEDIACONVERT_API HlsEncryptionSettings(Aws::Utils::Json::JsonView jsonValue);
43 AWS_MEDIACONVERT_API Aws::Utils::Json::JsonValue Jsonize() const;
44
45
47
52 inline const Aws::String& GetConstantInitializationVector() const{ return m_constantInitializationVector; }
53 inline bool ConstantInitializationVectorHasBeenSet() const { return m_constantInitializationVectorHasBeenSet; }
54 inline void SetConstantInitializationVector(const Aws::String& value) { m_constantInitializationVectorHasBeenSet = true; m_constantInitializationVector = value; }
55 inline void SetConstantInitializationVector(Aws::String&& value) { m_constantInitializationVectorHasBeenSet = true; m_constantInitializationVector = std::move(value); }
56 inline void SetConstantInitializationVector(const char* value) { m_constantInitializationVectorHasBeenSet = true; m_constantInitializationVector.assign(value); }
61
63
67 inline const HlsEncryptionType& GetEncryptionMethod() const{ return m_encryptionMethod; }
68 inline bool EncryptionMethodHasBeenSet() const { return m_encryptionMethodHasBeenSet; }
69 inline void SetEncryptionMethod(const HlsEncryptionType& value) { m_encryptionMethodHasBeenSet = true; m_encryptionMethod = value; }
70 inline void SetEncryptionMethod(HlsEncryptionType&& value) { m_encryptionMethodHasBeenSet = true; m_encryptionMethod = std::move(value); }
72 inline HlsEncryptionSettings& WithEncryptionMethod(HlsEncryptionType&& value) { SetEncryptionMethod(std::move(value)); return *this;}
74
76
81 inline const HlsInitializationVectorInManifest& GetInitializationVectorInManifest() const{ return m_initializationVectorInManifest; }
82 inline bool InitializationVectorInManifestHasBeenSet() const { return m_initializationVectorInManifestHasBeenSet; }
83 inline void SetInitializationVectorInManifest(const HlsInitializationVectorInManifest& value) { m_initializationVectorInManifestHasBeenSet = true; m_initializationVectorInManifest = value; }
84 inline void SetInitializationVectorInManifest(HlsInitializationVectorInManifest&& value) { m_initializationVectorInManifestHasBeenSet = true; m_initializationVectorInManifest = std::move(value); }
88
90
94 inline const HlsOfflineEncrypted& GetOfflineEncrypted() const{ return m_offlineEncrypted; }
95 inline bool OfflineEncryptedHasBeenSet() const { return m_offlineEncryptedHasBeenSet; }
96 inline void SetOfflineEncrypted(const HlsOfflineEncrypted& value) { m_offlineEncryptedHasBeenSet = true; m_offlineEncrypted = value; }
97 inline void SetOfflineEncrypted(HlsOfflineEncrypted&& value) { m_offlineEncryptedHasBeenSet = true; m_offlineEncrypted = std::move(value); }
99 inline HlsEncryptionSettings& WithOfflineEncrypted(HlsOfflineEncrypted&& value) { SetOfflineEncrypted(std::move(value)); return *this;}
101
103
108 inline const SpekeKeyProvider& GetSpekeKeyProvider() const{ return m_spekeKeyProvider; }
109 inline bool SpekeKeyProviderHasBeenSet() const { return m_spekeKeyProviderHasBeenSet; }
110 inline void SetSpekeKeyProvider(const SpekeKeyProvider& value) { m_spekeKeyProviderHasBeenSet = true; m_spekeKeyProvider = value; }
111 inline void SetSpekeKeyProvider(SpekeKeyProvider&& value) { m_spekeKeyProviderHasBeenSet = true; m_spekeKeyProvider = std::move(value); }
113 inline HlsEncryptionSettings& WithSpekeKeyProvider(SpekeKeyProvider&& value) { SetSpekeKeyProvider(std::move(value)); return *this;}
115
117
120 inline const StaticKeyProvider& GetStaticKeyProvider() const{ return m_staticKeyProvider; }
121 inline bool StaticKeyProviderHasBeenSet() const { return m_staticKeyProviderHasBeenSet; }
122 inline void SetStaticKeyProvider(const StaticKeyProvider& value) { m_staticKeyProviderHasBeenSet = true; m_staticKeyProvider = value; }
123 inline void SetStaticKeyProvider(StaticKeyProvider&& value) { m_staticKeyProviderHasBeenSet = true; m_staticKeyProvider = std::move(value); }
125 inline HlsEncryptionSettings& WithStaticKeyProvider(StaticKeyProvider&& value) { SetStaticKeyProvider(std::move(value)); return *this;}
127
129
134 inline const HlsKeyProviderType& GetType() const{ return m_type; }
135 inline bool TypeHasBeenSet() const { return m_typeHasBeenSet; }
136 inline void SetType(const HlsKeyProviderType& value) { m_typeHasBeenSet = true; m_type = value; }
137 inline void SetType(HlsKeyProviderType&& value) { m_typeHasBeenSet = true; m_type = std::move(value); }
138 inline HlsEncryptionSettings& WithType(const HlsKeyProviderType& value) { SetType(value); return *this;}
139 inline HlsEncryptionSettings& WithType(HlsKeyProviderType&& value) { SetType(std::move(value)); return *this;}
141 private:
142
143 Aws::String m_constantInitializationVector;
144 bool m_constantInitializationVectorHasBeenSet = false;
145
146 HlsEncryptionType m_encryptionMethod;
147 bool m_encryptionMethodHasBeenSet = false;
148
149 HlsInitializationVectorInManifest m_initializationVectorInManifest;
150 bool m_initializationVectorInManifestHasBeenSet = false;
151
152 HlsOfflineEncrypted m_offlineEncrypted;
153 bool m_offlineEncryptedHasBeenSet = false;
154
155 SpekeKeyProvider m_spekeKeyProvider;
156 bool m_spekeKeyProviderHasBeenSet = false;
157
158 StaticKeyProvider m_staticKeyProvider;
159 bool m_staticKeyProviderHasBeenSet = false;
160
161 HlsKeyProviderType m_type;
162 bool m_typeHasBeenSet = false;
163 };
164
165} // namespace Model
166} // namespace MediaConvert
167} // namespace Aws
HlsEncryptionSettings & WithEncryptionMethod(HlsEncryptionType &&value)
void SetInitializationVectorInManifest(const HlsInitializationVectorInManifest &value)
void SetSpekeKeyProvider(const SpekeKeyProvider &value)
AWS_MEDIACONVERT_API HlsEncryptionSettings(Aws::Utils::Json::JsonView jsonValue)
const HlsInitializationVectorInManifest & GetInitializationVectorInManifest() const
HlsEncryptionSettings & WithOfflineEncrypted(HlsOfflineEncrypted &&value)
HlsEncryptionSettings & WithEncryptionMethod(const HlsEncryptionType &value)
void SetEncryptionMethod(const HlsEncryptionType &value)
void SetType(const HlsKeyProviderType &value)
void SetOfflineEncrypted(const HlsOfflineEncrypted &value)
void SetOfflineEncrypted(HlsOfflineEncrypted &&value)
HlsEncryptionSettings & WithOfflineEncrypted(const HlsOfflineEncrypted &value)
const HlsEncryptionType & GetEncryptionMethod() const
void SetInitializationVectorInManifest(HlsInitializationVectorInManifest &&value)
HlsEncryptionSettings & WithConstantInitializationVector(const char *value)
void SetConstantInitializationVector(const Aws::String &value)
const HlsOfflineEncrypted & GetOfflineEncrypted() const
const StaticKeyProvider & GetStaticKeyProvider() const
HlsEncryptionSettings & WithSpekeKeyProvider(const SpekeKeyProvider &value)
void SetStaticKeyProvider(const StaticKeyProvider &value)
HlsEncryptionSettings & WithType(const HlsKeyProviderType &value)
HlsEncryptionSettings & WithStaticKeyProvider(StaticKeyProvider &&value)
HlsEncryptionSettings & WithInitializationVectorInManifest(HlsInitializationVectorInManifest &&value)
AWS_MEDIACONVERT_API HlsEncryptionSettings & operator=(Aws::Utils::Json::JsonView jsonValue)
AWS_MEDIACONVERT_API Aws::Utils::Json::JsonValue Jsonize() const
HlsEncryptionSettings & WithConstantInitializationVector(const Aws::String &value)
HlsEncryptionSettings & WithType(HlsKeyProviderType &&value)
HlsEncryptionSettings & WithConstantInitializationVector(Aws::String &&value)
HlsEncryptionSettings & WithSpekeKeyProvider(SpekeKeyProvider &&value)
HlsEncryptionSettings & WithStaticKeyProvider(const StaticKeyProvider &value)
HlsEncryptionSettings & WithInitializationVectorInManifest(const HlsInitializationVectorInManifest &value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue