AWS SDK for C++  1.9.159
AWS SDK for C++
HlsEncryptionSettings.h
Go to the documentation of this file.
1 
6 #pragma once
15 #include <utility>
16 
17 namespace Aws
18 {
19 namespace Utils
20 {
21 namespace Json
22 {
23  class JsonValue;
24  class JsonView;
25 } // namespace Json
26 } // namespace Utils
27 namespace MediaConvert
28 {
29 namespace Model
30 {
31 
38  {
39  public:
44 
45 
51  inline const Aws::String& GetConstantInitializationVector() const{ return m_constantInitializationVector; }
52 
58  inline bool ConstantInitializationVectorHasBeenSet() const { return m_constantInitializationVectorHasBeenSet; }
59 
65  inline void SetConstantInitializationVector(const Aws::String& value) { m_constantInitializationVectorHasBeenSet = true; m_constantInitializationVector = value; }
66 
72  inline void SetConstantInitializationVector(Aws::String&& value) { m_constantInitializationVectorHasBeenSet = true; m_constantInitializationVector = std::move(value); }
73 
79  inline void SetConstantInitializationVector(const char* value) { m_constantInitializationVectorHasBeenSet = true; m_constantInitializationVector.assign(value); }
80 
86  inline HlsEncryptionSettings& WithConstantInitializationVector(const Aws::String& value) { SetConstantInitializationVector(value); return *this;}
87 
93  inline HlsEncryptionSettings& WithConstantInitializationVector(Aws::String&& value) { SetConstantInitializationVector(std::move(value)); return *this;}
94 
100  inline HlsEncryptionSettings& WithConstantInitializationVector(const char* value) { SetConstantInitializationVector(value); return *this;}
101 
102 
107  inline const HlsEncryptionType& GetEncryptionMethod() const{ return m_encryptionMethod; }
108 
113  inline bool EncryptionMethodHasBeenSet() const { return m_encryptionMethodHasBeenSet; }
114 
119  inline void SetEncryptionMethod(const HlsEncryptionType& value) { m_encryptionMethodHasBeenSet = true; m_encryptionMethod = value; }
120 
125  inline void SetEncryptionMethod(HlsEncryptionType&& value) { m_encryptionMethodHasBeenSet = true; m_encryptionMethod = std::move(value); }
126 
131  inline HlsEncryptionSettings& WithEncryptionMethod(const HlsEncryptionType& value) { SetEncryptionMethod(value); return *this;}
132 
137  inline HlsEncryptionSettings& WithEncryptionMethod(HlsEncryptionType&& value) { SetEncryptionMethod(std::move(value)); return *this;}
138 
139 
145  inline const HlsInitializationVectorInManifest& GetInitializationVectorInManifest() const{ return m_initializationVectorInManifest; }
146 
152  inline bool InitializationVectorInManifestHasBeenSet() const { return m_initializationVectorInManifestHasBeenSet; }
153 
159  inline void SetInitializationVectorInManifest(const HlsInitializationVectorInManifest& value) { m_initializationVectorInManifestHasBeenSet = true; m_initializationVectorInManifest = value; }
160 
166  inline void SetInitializationVectorInManifest(HlsInitializationVectorInManifest&& value) { m_initializationVectorInManifestHasBeenSet = true; m_initializationVectorInManifest = std::move(value); }
167 
173  inline HlsEncryptionSettings& WithInitializationVectorInManifest(const HlsInitializationVectorInManifest& value) { SetInitializationVectorInManifest(value); return *this;}
174 
180  inline HlsEncryptionSettings& WithInitializationVectorInManifest(HlsInitializationVectorInManifest&& value) { SetInitializationVectorInManifest(std::move(value)); return *this;}
181 
182 
187  inline const HlsOfflineEncrypted& GetOfflineEncrypted() const{ return m_offlineEncrypted; }
188 
193  inline bool OfflineEncryptedHasBeenSet() const { return m_offlineEncryptedHasBeenSet; }
194 
199  inline void SetOfflineEncrypted(const HlsOfflineEncrypted& value) { m_offlineEncryptedHasBeenSet = true; m_offlineEncrypted = value; }
200 
205  inline void SetOfflineEncrypted(HlsOfflineEncrypted&& value) { m_offlineEncryptedHasBeenSet = true; m_offlineEncrypted = std::move(value); }
206 
211  inline HlsEncryptionSettings& WithOfflineEncrypted(const HlsOfflineEncrypted& value) { SetOfflineEncrypted(value); return *this;}
212 
217  inline HlsEncryptionSettings& WithOfflineEncrypted(HlsOfflineEncrypted&& value) { SetOfflineEncrypted(std::move(value)); return *this;}
218 
219 
225  inline const SpekeKeyProvider& GetSpekeKeyProvider() const{ return m_spekeKeyProvider; }
226 
232  inline bool SpekeKeyProviderHasBeenSet() const { return m_spekeKeyProviderHasBeenSet; }
233 
239  inline void SetSpekeKeyProvider(const SpekeKeyProvider& value) { m_spekeKeyProviderHasBeenSet = true; m_spekeKeyProvider = value; }
240 
246  inline void SetSpekeKeyProvider(SpekeKeyProvider&& value) { m_spekeKeyProviderHasBeenSet = true; m_spekeKeyProvider = std::move(value); }
247 
253  inline HlsEncryptionSettings& WithSpekeKeyProvider(const SpekeKeyProvider& value) { SetSpekeKeyProvider(value); return *this;}
254 
260  inline HlsEncryptionSettings& WithSpekeKeyProvider(SpekeKeyProvider&& value) { SetSpekeKeyProvider(std::move(value)); return *this;}
261 
262 
266  inline const StaticKeyProvider& GetStaticKeyProvider() const{ return m_staticKeyProvider; }
267 
271  inline bool StaticKeyProviderHasBeenSet() const { return m_staticKeyProviderHasBeenSet; }
272 
276  inline void SetStaticKeyProvider(const StaticKeyProvider& value) { m_staticKeyProviderHasBeenSet = true; m_staticKeyProvider = value; }
277 
281  inline void SetStaticKeyProvider(StaticKeyProvider&& value) { m_staticKeyProviderHasBeenSet = true; m_staticKeyProvider = std::move(value); }
282 
286  inline HlsEncryptionSettings& WithStaticKeyProvider(const StaticKeyProvider& value) { SetStaticKeyProvider(value); return *this;}
287 
291  inline HlsEncryptionSettings& WithStaticKeyProvider(StaticKeyProvider&& value) { SetStaticKeyProvider(std::move(value)); return *this;}
292 
293 
299  inline const HlsKeyProviderType& GetType() const{ return m_type; }
300 
306  inline bool TypeHasBeenSet() const { return m_typeHasBeenSet; }
307 
313  inline void SetType(const HlsKeyProviderType& value) { m_typeHasBeenSet = true; m_type = value; }
314 
320  inline void SetType(HlsKeyProviderType&& value) { m_typeHasBeenSet = true; m_type = std::move(value); }
321 
327  inline HlsEncryptionSettings& WithType(const HlsKeyProviderType& value) { SetType(value); return *this;}
328 
334  inline HlsEncryptionSettings& WithType(HlsKeyProviderType&& value) { SetType(std::move(value)); return *this;}
335 
336  private:
337 
338  Aws::String m_constantInitializationVector;
339  bool m_constantInitializationVectorHasBeenSet;
340 
341  HlsEncryptionType m_encryptionMethod;
342  bool m_encryptionMethodHasBeenSet;
343 
344  HlsInitializationVectorInManifest m_initializationVectorInManifest;
345  bool m_initializationVectorInManifestHasBeenSet;
346 
347  HlsOfflineEncrypted m_offlineEncrypted;
348  bool m_offlineEncryptedHasBeenSet;
349 
350  SpekeKeyProvider m_spekeKeyProvider;
351  bool m_spekeKeyProviderHasBeenSet;
352 
353  StaticKeyProvider m_staticKeyProvider;
354  bool m_staticKeyProviderHasBeenSet;
355 
356  HlsKeyProviderType m_type;
357  bool m_typeHasBeenSet;
358  };
359 
360 } // namespace Model
361 } // namespace MediaConvert
362 } // namespace Aws
Aws::MediaConvert::Model::HlsEncryptionSettings::GetEncryptionMethod
const HlsEncryptionType & GetEncryptionMethod() const
Definition: HlsEncryptionSettings.h:107
Aws::MediaConvert::Model::SpekeKeyProvider
Definition: SpekeKeyProvider.h:36
Aws::MediaConvert::Model::HlsEncryptionSettings
Definition: HlsEncryptionSettings.h:38
Aws::MediaConvert::Model::HlsEncryptionSettings::SetType
void SetType(const HlsKeyProviderType &value)
Definition: HlsEncryptionSettings.h:313
Aws::MediaConvert::Model::HlsEncryptionSettings::GetStaticKeyProvider
const StaticKeyProvider & GetStaticKeyProvider() const
Definition: HlsEncryptionSettings.h:266
Aws::MediaConvert::Model::HlsEncryptionSettings::SetStaticKeyProvider
void SetStaticKeyProvider(StaticKeyProvider &&value)
Definition: HlsEncryptionSettings.h:281
Aws::MediaConvert::Model::HlsEncryptionSettings::WithEncryptionMethod
HlsEncryptionSettings & WithEncryptionMethod(HlsEncryptionType &&value)
Definition: HlsEncryptionSettings.h:137
HlsInitializationVectorInManifest.h
Aws::MediaConvert::Model::HlsEncryptionSettings::SetStaticKeyProvider
void SetStaticKeyProvider(const StaticKeyProvider &value)
Definition: HlsEncryptionSettings.h:276
Aws::MediaConvert::Model::HlsEncryptionSettings::SetOfflineEncrypted
void SetOfflineEncrypted(const HlsOfflineEncrypted &value)
Definition: HlsEncryptionSettings.h:199
Aws::MediaConvert::Model::HlsEncryptionSettings::WithStaticKeyProvider
HlsEncryptionSettings & WithStaticKeyProvider(const StaticKeyProvider &value)
Definition: HlsEncryptionSettings.h:286
Aws::MediaConvert::Model::HlsEncryptionSettings::GetSpekeKeyProvider
const SpekeKeyProvider & GetSpekeKeyProvider() const
Definition: HlsEncryptionSettings.h:225
Aws::MediaConvert::Model::HlsEncryptionSettings::GetInitializationVectorInManifest
const HlsInitializationVectorInManifest & GetInitializationVectorInManifest() const
Definition: HlsEncryptionSettings.h:145
MediaConvert_EXPORTS.h
Aws::MediaConvert::Model::HlsEncryptionSettings::WithConstantInitializationVector
HlsEncryptionSettings & WithConstantInitializationVector(const char *value)
Definition: HlsEncryptionSettings.h:100
AWS_MEDIACONVERT_API
#define AWS_MEDIACONVERT_API
Definition: MediaConvert_EXPORTS.h:28
Aws::MediaConvert::Model::HlsEncryptionSettings::GetConstantInitializationVector
const Aws::String & GetConstantInitializationVector() const
Definition: HlsEncryptionSettings.h:51
HlsOfflineEncrypted.h
HlsEncryptionType.h
Aws::MediaConvert::Model::HlsEncryptionSettings::WithStaticKeyProvider
HlsEncryptionSettings & WithStaticKeyProvider(StaticKeyProvider &&value)
Definition: HlsEncryptionSettings.h:291
Aws::MediaConvert::Model::HlsOfflineEncrypted
HlsOfflineEncrypted
Definition: HlsOfflineEncrypted.h:17
Aws::MediaConvert::Model::HlsEncryptionSettings::ConstantInitializationVectorHasBeenSet
bool ConstantInitializationVectorHasBeenSet() const
Definition: HlsEncryptionSettings.h:58
Aws::MediaConvert::Model::HlsInitializationVectorInManifest
HlsInitializationVectorInManifest
Definition: HlsInitializationVectorInManifest.h:17
Aws::MediaConvert::Model::HlsEncryptionSettings::WithType
HlsEncryptionSettings & WithType(HlsKeyProviderType &&value)
Definition: HlsEncryptionSettings.h:334
Aws::MediaConvert::Model::HlsKeyProviderType
HlsKeyProviderType
Definition: HlsKeyProviderType.h:17
Aws::MediaConvert::Model::HlsEncryptionSettings::SetSpekeKeyProvider
void SetSpekeKeyProvider(const SpekeKeyProvider &value)
Definition: HlsEncryptionSettings.h:239
Aws::MediaConvert::Model::HlsEncryptionSettings::WithOfflineEncrypted
HlsEncryptionSettings & WithOfflineEncrypted(HlsOfflineEncrypted &&value)
Definition: HlsEncryptionSettings.h:217
Aws::MediaConvert::Model::HlsEncryptionSettings::WithSpekeKeyProvider
HlsEncryptionSettings & WithSpekeKeyProvider(const SpekeKeyProvider &value)
Definition: HlsEncryptionSettings.h:253
Aws::MediaConvert::Model::HlsEncryptionSettings::OfflineEncryptedHasBeenSet
bool OfflineEncryptedHasBeenSet() const
Definition: HlsEncryptionSettings.h:193
Aws::MediaConvert::Model::StaticKeyProvider
Definition: StaticKeyProvider.h:33
Aws::MediaConvert::Model::HlsEncryptionSettings::WithInitializationVectorInManifest
HlsEncryptionSettings & WithInitializationVectorInManifest(HlsInitializationVectorInManifest &&value)
Definition: HlsEncryptionSettings.h:180
Aws::MediaConvert::Model::HlsEncryptionSettings::EncryptionMethodHasBeenSet
bool EncryptionMethodHasBeenSet() const
Definition: HlsEncryptionSettings.h:113
Aws::MediaConvert::Model::HlsEncryptionSettings::SetInitializationVectorInManifest
void SetInitializationVectorInManifest(HlsInitializationVectorInManifest &&value)
Definition: HlsEncryptionSettings.h:166
Aws::MediaConvert::Model::HlsEncryptionSettings::SetInitializationVectorInManifest
void SetInitializationVectorInManifest(const HlsInitializationVectorInManifest &value)
Definition: HlsEncryptionSettings.h:159
Aws::MediaConvert::Model::HlsEncryptionSettings::SetEncryptionMethod
void SetEncryptionMethod(HlsEncryptionType &&value)
Definition: HlsEncryptionSettings.h:125
Aws::MediaConvert::Model::HlsEncryptionSettings::SetConstantInitializationVector
void SetConstantInitializationVector(const char *value)
Definition: HlsEncryptionSettings.h:79
Aws::MediaConvert::Model::HlsEncryptionSettings::HlsEncryptionSettings
HlsEncryptionSettings()
Aws::MediaConvert::Model::HlsEncryptionSettings::WithConstantInitializationVector
HlsEncryptionSettings & WithConstantInitializationVector(const Aws::String &value)
Definition: HlsEncryptionSettings.h:86
Aws::MediaConvert::Model::HlsEncryptionSettings::SetConstantInitializationVector
void SetConstantInitializationVector(Aws::String &&value)
Definition: HlsEncryptionSettings.h:72
Aws::Utils::Json::JsonView
Definition: JsonSerializer.h:235
AWSString.h
Aws::MediaConvert::Model::HlsEncryptionType
HlsEncryptionType
Definition: HlsEncryptionType.h:17
Aws::Utils::Json::JsonValue
Definition: JsonSerializer.h:33
Aws::MediaConvert::Model::HlsEncryptionSettings::StaticKeyProviderHasBeenSet
bool StaticKeyProviderHasBeenSet() const
Definition: HlsEncryptionSettings.h:271
Aws::MediaConvert::Model::HlsEncryptionSettings::InitializationVectorInManifestHasBeenSet
bool InitializationVectorInManifestHasBeenSet() const
Definition: HlsEncryptionSettings.h:152
StaticKeyProvider.h
Aws::MediaConvert::Model::HlsEncryptionSettings::Jsonize
Aws::Utils::Json::JsonValue Jsonize() const
Aws::MediaConvert::Model::HlsEncryptionSettings::operator=
HlsEncryptionSettings & operator=(Aws::Utils::Json::JsonView jsonValue)
Aws::MediaConvert::Model::HlsEncryptionSettings::TypeHasBeenSet
bool TypeHasBeenSet() const
Definition: HlsEncryptionSettings.h:306
HlsKeyProviderType.h
Aws::MediaConvert::Model::HlsEncryptionSettings::SetType
void SetType(HlsKeyProviderType &&value)
Definition: HlsEncryptionSettings.h:320
Aws::MediaConvert::Model::HlsEncryptionSettings::SetSpekeKeyProvider
void SetSpekeKeyProvider(SpekeKeyProvider &&value)
Definition: HlsEncryptionSettings.h:246
Aws::MediaConvert::Model::HlsEncryptionSettings::SetOfflineEncrypted
void SetOfflineEncrypted(HlsOfflineEncrypted &&value)
Definition: HlsEncryptionSettings.h:205
Aws::MigrationHubStrategyRecommendations::Model::OutputFormat::NOT_SET
@ NOT_SET
Aws
Definition: AccessManagementClient.h:15
Aws::MediaConvert::Model::HlsEncryptionSettings::SetConstantInitializationVector
void SetConstantInitializationVector(const Aws::String &value)
Definition: HlsEncryptionSettings.h:65
Aws::MediaConvert::Model::HlsEncryptionSettings::WithSpekeKeyProvider
HlsEncryptionSettings & WithSpekeKeyProvider(SpekeKeyProvider &&value)
Definition: HlsEncryptionSettings.h:260
Aws::String
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Definition: AWSString.h:97
Aws::MediaConvert::Model::HlsEncryptionSettings::WithConstantInitializationVector
HlsEncryptionSettings & WithConstantInitializationVector(Aws::String &&value)
Definition: HlsEncryptionSettings.h:93
Aws::MediaConvert::Model::HlsEncryptionSettings::GetOfflineEncrypted
const HlsOfflineEncrypted & GetOfflineEncrypted() const
Definition: HlsEncryptionSettings.h:187
Aws::MediaConvert::Model::HlsEncryptionSettings::HlsEncryptionSettings
HlsEncryptionSettings(Aws::Utils::Json::JsonView jsonValue)
Aws::MediaConvert::Model::HlsEncryptionSettings::WithEncryptionMethod
HlsEncryptionSettings & WithEncryptionMethod(const HlsEncryptionType &value)
Definition: HlsEncryptionSettings.h:131
Aws::MediaConvert::Model::HlsEncryptionSettings::WithInitializationVectorInManifest
HlsEncryptionSettings & WithInitializationVectorInManifest(const HlsInitializationVectorInManifest &value)
Definition: HlsEncryptionSettings.h:173
Aws::MediaConvert::Model::HlsEncryptionSettings::SetEncryptionMethod
void SetEncryptionMethod(const HlsEncryptionType &value)
Definition: HlsEncryptionSettings.h:119
Aws::MediaConvert::Model::HlsEncryptionSettings::WithOfflineEncrypted
HlsEncryptionSettings & WithOfflineEncrypted(const HlsOfflineEncrypted &value)
Definition: HlsEncryptionSettings.h:211
Aws::MediaConvert::Model::HlsEncryptionSettings::SpekeKeyProviderHasBeenSet
bool SpekeKeyProviderHasBeenSet() const
Definition: HlsEncryptionSettings.h:232
Aws::MediaConvert::Model::HlsEncryptionSettings::GetType
const HlsKeyProviderType & GetType() const
Definition: HlsEncryptionSettings.h:299
Aws::MediaConvert::Model::HlsEncryptionSettings::WithType
HlsEncryptionSettings & WithType(const HlsKeyProviderType &value)
Definition: HlsEncryptionSettings.h:327
SpekeKeyProvider.h