AWS SDK for C++  1.9.160
AWS SDK for C++
CmafEncryptionSettings.h
Go to the documentation of this file.
1 
6 #pragma once
14 #include <utility>
15 
16 namespace Aws
17 {
18 namespace Utils
19 {
20 namespace Json
21 {
22  class JsonValue;
23  class JsonView;
24 } // namespace Json
25 } // namespace Utils
26 namespace MediaConvert
27 {
28 namespace Model
29 {
30 
37  {
38  public:
43 
44 
50  inline const Aws::String& GetConstantInitializationVector() const{ return m_constantInitializationVector; }
51 
57  inline bool ConstantInitializationVectorHasBeenSet() const { return m_constantInitializationVectorHasBeenSet; }
58 
64  inline void SetConstantInitializationVector(const Aws::String& value) { m_constantInitializationVectorHasBeenSet = true; m_constantInitializationVector = value; }
65 
71  inline void SetConstantInitializationVector(Aws::String&& value) { m_constantInitializationVectorHasBeenSet = true; m_constantInitializationVector = std::move(value); }
72 
78  inline void SetConstantInitializationVector(const char* value) { m_constantInitializationVectorHasBeenSet = true; m_constantInitializationVector.assign(value); }
79 
85  inline CmafEncryptionSettings& WithConstantInitializationVector(const Aws::String& value) { SetConstantInitializationVector(value); return *this;}
86 
92  inline CmafEncryptionSettings& WithConstantInitializationVector(Aws::String&& value) { SetConstantInitializationVector(std::move(value)); return *this;}
93 
99  inline CmafEncryptionSettings& WithConstantInitializationVector(const char* value) { SetConstantInitializationVector(value); return *this;}
100 
101 
106  inline const CmafEncryptionType& GetEncryptionMethod() const{ return m_encryptionMethod; }
107 
112  inline bool EncryptionMethodHasBeenSet() const { return m_encryptionMethodHasBeenSet; }
113 
118  inline void SetEncryptionMethod(const CmafEncryptionType& value) { m_encryptionMethodHasBeenSet = true; m_encryptionMethod = value; }
119 
124  inline void SetEncryptionMethod(CmafEncryptionType&& value) { m_encryptionMethodHasBeenSet = true; m_encryptionMethod = std::move(value); }
125 
130  inline CmafEncryptionSettings& WithEncryptionMethod(const CmafEncryptionType& value) { SetEncryptionMethod(value); return *this;}
131 
136  inline CmafEncryptionSettings& WithEncryptionMethod(CmafEncryptionType&& value) { SetEncryptionMethod(std::move(value)); return *this;}
137 
138 
143  inline const CmafInitializationVectorInManifest& GetInitializationVectorInManifest() const{ return m_initializationVectorInManifest; }
144 
149  inline bool InitializationVectorInManifestHasBeenSet() const { return m_initializationVectorInManifestHasBeenSet; }
150 
155  inline void SetInitializationVectorInManifest(const CmafInitializationVectorInManifest& value) { m_initializationVectorInManifestHasBeenSet = true; m_initializationVectorInManifest = value; }
156 
161  inline void SetInitializationVectorInManifest(CmafInitializationVectorInManifest&& value) { m_initializationVectorInManifestHasBeenSet = true; m_initializationVectorInManifest = std::move(value); }
162 
167  inline CmafEncryptionSettings& WithInitializationVectorInManifest(const CmafInitializationVectorInManifest& value) { SetInitializationVectorInManifest(value); return *this;}
168 
173  inline CmafEncryptionSettings& WithInitializationVectorInManifest(CmafInitializationVectorInManifest&& value) { SetInitializationVectorInManifest(std::move(value)); return *this;}
174 
175 
181  inline const SpekeKeyProviderCmaf& GetSpekeKeyProvider() const{ return m_spekeKeyProvider; }
182 
188  inline bool SpekeKeyProviderHasBeenSet() const { return m_spekeKeyProviderHasBeenSet; }
189 
195  inline void SetSpekeKeyProvider(const SpekeKeyProviderCmaf& value) { m_spekeKeyProviderHasBeenSet = true; m_spekeKeyProvider = value; }
196 
202  inline void SetSpekeKeyProvider(SpekeKeyProviderCmaf&& value) { m_spekeKeyProviderHasBeenSet = true; m_spekeKeyProvider = std::move(value); }
203 
209  inline CmafEncryptionSettings& WithSpekeKeyProvider(const SpekeKeyProviderCmaf& value) { SetSpekeKeyProvider(value); return *this;}
210 
216  inline CmafEncryptionSettings& WithSpekeKeyProvider(SpekeKeyProviderCmaf&& value) { SetSpekeKeyProvider(std::move(value)); return *this;}
217 
218 
222  inline const StaticKeyProvider& GetStaticKeyProvider() const{ return m_staticKeyProvider; }
223 
227  inline bool StaticKeyProviderHasBeenSet() const { return m_staticKeyProviderHasBeenSet; }
228 
232  inline void SetStaticKeyProvider(const StaticKeyProvider& value) { m_staticKeyProviderHasBeenSet = true; m_staticKeyProvider = value; }
233 
237  inline void SetStaticKeyProvider(StaticKeyProvider&& value) { m_staticKeyProviderHasBeenSet = true; m_staticKeyProvider = std::move(value); }
238 
242  inline CmafEncryptionSettings& WithStaticKeyProvider(const StaticKeyProvider& value) { SetStaticKeyProvider(value); return *this;}
243 
247  inline CmafEncryptionSettings& WithStaticKeyProvider(StaticKeyProvider&& value) { SetStaticKeyProvider(std::move(value)); return *this;}
248 
249 
255  inline const CmafKeyProviderType& GetType() const{ return m_type; }
256 
262  inline bool TypeHasBeenSet() const { return m_typeHasBeenSet; }
263 
269  inline void SetType(const CmafKeyProviderType& value) { m_typeHasBeenSet = true; m_type = value; }
270 
276  inline void SetType(CmafKeyProviderType&& value) { m_typeHasBeenSet = true; m_type = std::move(value); }
277 
283  inline CmafEncryptionSettings& WithType(const CmafKeyProviderType& value) { SetType(value); return *this;}
284 
290  inline CmafEncryptionSettings& WithType(CmafKeyProviderType&& value) { SetType(std::move(value)); return *this;}
291 
292  private:
293 
294  Aws::String m_constantInitializationVector;
295  bool m_constantInitializationVectorHasBeenSet;
296 
297  CmafEncryptionType m_encryptionMethod;
298  bool m_encryptionMethodHasBeenSet;
299 
300  CmafInitializationVectorInManifest m_initializationVectorInManifest;
301  bool m_initializationVectorInManifestHasBeenSet;
302 
303  SpekeKeyProviderCmaf m_spekeKeyProvider;
304  bool m_spekeKeyProviderHasBeenSet;
305 
306  StaticKeyProvider m_staticKeyProvider;
307  bool m_staticKeyProviderHasBeenSet;
308 
309  CmafKeyProviderType m_type;
310  bool m_typeHasBeenSet;
311  };
312 
313 } // namespace Model
314 } // namespace MediaConvert
315 } // namespace Aws
Aws::MediaConvert::Model::CmafEncryptionSettings::GetInitializationVectorInManifest
const CmafInitializationVectorInManifest & GetInitializationVectorInManifest() const
Definition: CmafEncryptionSettings.h:143
Aws::MediaConvert::Model::CmafEncryptionSettings::GetEncryptionMethod
const CmafEncryptionType & GetEncryptionMethod() const
Definition: CmafEncryptionSettings.h:106
Aws::MediaConvert::Model::CmafEncryptionSettings::TypeHasBeenSet
bool TypeHasBeenSet() const
Definition: CmafEncryptionSettings.h:262
Aws::MediaConvert::Model::CmafEncryptionSettings::GetStaticKeyProvider
const StaticKeyProvider & GetStaticKeyProvider() const
Definition: CmafEncryptionSettings.h:222
Aws::MediaConvert::Model::CmafEncryptionSettings::SetSpekeKeyProvider
void SetSpekeKeyProvider(SpekeKeyProviderCmaf &&value)
Definition: CmafEncryptionSettings.h:202
Aws::MediaConvert::Model::CmafEncryptionSettings::CmafEncryptionSettings
CmafEncryptionSettings(Aws::Utils::Json::JsonView jsonValue)
Aws::MediaConvert::Model::CmafEncryptionSettings::SetInitializationVectorInManifest
void SetInitializationVectorInManifest(CmafInitializationVectorInManifest &&value)
Definition: CmafEncryptionSettings.h:161
Aws::MediaConvert::Model::CmafEncryptionSettings
Definition: CmafEncryptionSettings.h:37
MediaConvert_EXPORTS.h
Aws::MediaConvert::Model::CmafEncryptionSettings::SpekeKeyProviderHasBeenSet
bool SpekeKeyProviderHasBeenSet() const
Definition: CmafEncryptionSettings.h:188
AWS_MEDIACONVERT_API
#define AWS_MEDIACONVERT_API
Definition: MediaConvert_EXPORTS.h:28
Aws::MediaConvert::Model::CmafEncryptionSettings::WithConstantInitializationVector
CmafEncryptionSettings & WithConstantInitializationVector(const char *value)
Definition: CmafEncryptionSettings.h:99
CmafEncryptionType.h
Aws::MediaConvert::Model::CmafEncryptionSettings::GetSpekeKeyProvider
const SpekeKeyProviderCmaf & GetSpekeKeyProvider() const
Definition: CmafEncryptionSettings.h:181
CmafInitializationVectorInManifest.h
Aws::MediaConvert::Model::CmafEncryptionSettings::SetConstantInitializationVector
void SetConstantInitializationVector(const char *value)
Definition: CmafEncryptionSettings.h:78
Aws::MediaConvert::Model::SpekeKeyProviderCmaf
Definition: SpekeKeyProviderCmaf.h:36
Aws::MediaConvert::Model::CmafEncryptionSettings::SetInitializationVectorInManifest
void SetInitializationVectorInManifest(const CmafInitializationVectorInManifest &value)
Definition: CmafEncryptionSettings.h:155
Aws::MediaConvert::Model::CmafEncryptionSettings::WithType
CmafEncryptionSettings & WithType(const CmafKeyProviderType &value)
Definition: CmafEncryptionSettings.h:283
Aws::MediaConvert::Model::CmafEncryptionSettings::SetSpekeKeyProvider
void SetSpekeKeyProvider(const SpekeKeyProviderCmaf &value)
Definition: CmafEncryptionSettings.h:195
Aws::MediaConvert::Model::StaticKeyProvider
Definition: StaticKeyProvider.h:33
Aws::MediaConvert::Model::CmafEncryptionSettings::operator=
CmafEncryptionSettings & operator=(Aws::Utils::Json::JsonView jsonValue)
Aws::MediaConvert::Model::CmafEncryptionSettings::SetConstantInitializationVector
void SetConstantInitializationVector(const Aws::String &value)
Definition: CmafEncryptionSettings.h:64
Aws::MediaConvert::Model::CmafEncryptionSettings::WithConstantInitializationVector
CmafEncryptionSettings & WithConstantInitializationVector(Aws::String &&value)
Definition: CmafEncryptionSettings.h:92
Aws::MediaConvert::Model::CmafEncryptionSettings::SetType
void SetType(CmafKeyProviderType &&value)
Definition: CmafEncryptionSettings.h:276
Aws::MediaConvert::Model::CmafEncryptionSettings::SetType
void SetType(const CmafKeyProviderType &value)
Definition: CmafEncryptionSettings.h:269
Aws::MediaConvert::Model::CmafEncryptionSettings::SetStaticKeyProvider
void SetStaticKeyProvider(const StaticKeyProvider &value)
Definition: CmafEncryptionSettings.h:232
Aws::MediaConvert::Model::CmafEncryptionSettings::GetType
const CmafKeyProviderType & GetType() const
Definition: CmafEncryptionSettings.h:255
Aws::MediaConvert::Model::CmafEncryptionSettings::InitializationVectorInManifestHasBeenSet
bool InitializationVectorInManifestHasBeenSet() const
Definition: CmafEncryptionSettings.h:149
Aws::Utils::Json::JsonView
Definition: JsonSerializer.h:235
Aws::MediaConvert::Model::CmafEncryptionSettings::WithInitializationVectorInManifest
CmafEncryptionSettings & WithInitializationVectorInManifest(const CmafInitializationVectorInManifest &value)
Definition: CmafEncryptionSettings.h:167
Aws::MediaConvert::Model::CmafEncryptionSettings::GetConstantInitializationVector
const Aws::String & GetConstantInitializationVector() const
Definition: CmafEncryptionSettings.h:50
AWSString.h
Aws::Utils::Json::JsonValue
Definition: JsonSerializer.h:33
Aws::MediaConvert::Model::CmafEncryptionSettings::WithInitializationVectorInManifest
CmafEncryptionSettings & WithInitializationVectorInManifest(CmafInitializationVectorInManifest &&value)
Definition: CmafEncryptionSettings.h:173
Aws::MediaConvert::Model::CmafEncryptionSettings::SetConstantInitializationVector
void SetConstantInitializationVector(Aws::String &&value)
Definition: CmafEncryptionSettings.h:71
Aws::MediaConvert::Model::CmafEncryptionSettings::WithSpekeKeyProvider
CmafEncryptionSettings & WithSpekeKeyProvider(SpekeKeyProviderCmaf &&value)
Definition: CmafEncryptionSettings.h:216
StaticKeyProvider.h
Aws::MediaConvert::Model::CmafEncryptionSettings::SetEncryptionMethod
void SetEncryptionMethod(CmafEncryptionType &&value)
Definition: CmafEncryptionSettings.h:124
Aws::MediaConvert::Model::CmafEncryptionSettings::SetStaticKeyProvider
void SetStaticKeyProvider(StaticKeyProvider &&value)
Definition: CmafEncryptionSettings.h:237
SpekeKeyProviderCmaf.h
Aws::MediaConvert::Model::CmafEncryptionSettings::WithStaticKeyProvider
CmafEncryptionSettings & WithStaticKeyProvider(const StaticKeyProvider &value)
Definition: CmafEncryptionSettings.h:242
Aws::MediaConvert::Model::CmafEncryptionType
CmafEncryptionType
Definition: CmafEncryptionType.h:17
Aws::MediaConvert::Model::CmafEncryptionSettings::EncryptionMethodHasBeenSet
bool EncryptionMethodHasBeenSet() const
Definition: CmafEncryptionSettings.h:112
Aws::MigrationHubStrategyRecommendations::Model::OutputFormat::NOT_SET
@ NOT_SET
Aws
Definition: AccessManagementClient.h:15
Aws::MediaConvert::Model::CmafKeyProviderType
CmafKeyProviderType
Definition: CmafKeyProviderType.h:17
Aws::MediaConvert::Model::CmafEncryptionSettings::SetEncryptionMethod
void SetEncryptionMethod(const CmafEncryptionType &value)
Definition: CmafEncryptionSettings.h:118
Aws::String
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Definition: AWSString.h:97
Aws::MediaConvert::Model::CmafEncryptionSettings::WithSpekeKeyProvider
CmafEncryptionSettings & WithSpekeKeyProvider(const SpekeKeyProviderCmaf &value)
Definition: CmafEncryptionSettings.h:209
Aws::MediaConvert::Model::CmafEncryptionSettings::StaticKeyProviderHasBeenSet
bool StaticKeyProviderHasBeenSet() const
Definition: CmafEncryptionSettings.h:227
Aws::MediaConvert::Model::CmafEncryptionSettings::WithConstantInitializationVector
CmafEncryptionSettings & WithConstantInitializationVector(const Aws::String &value)
Definition: CmafEncryptionSettings.h:85
Aws::MediaConvert::Model::CmafEncryptionSettings::WithStaticKeyProvider
CmafEncryptionSettings & WithStaticKeyProvider(StaticKeyProvider &&value)
Definition: CmafEncryptionSettings.h:247
Aws::MediaConvert::Model::CmafEncryptionSettings::WithType
CmafEncryptionSettings & WithType(CmafKeyProviderType &&value)
Definition: CmafEncryptionSettings.h:290
Aws::MediaConvert::Model::CmafEncryptionSettings::Jsonize
Aws::Utils::Json::JsonValue Jsonize() const
Aws::MediaConvert::Model::CmafEncryptionSettings::WithEncryptionMethod
CmafEncryptionSettings & WithEncryptionMethod(const CmafEncryptionType &value)
Definition: CmafEncryptionSettings.h:130
CmafKeyProviderType.h
Aws::MediaConvert::Model::CmafEncryptionSettings::CmafEncryptionSettings
CmafEncryptionSettings()
Aws::MediaConvert::Model::CmafEncryptionSettings::WithEncryptionMethod
CmafEncryptionSettings & WithEncryptionMethod(CmafEncryptionType &&value)
Definition: CmafEncryptionSettings.h:136
Aws::MediaConvert::Model::CmafInitializationVectorInManifest
CmafInitializationVectorInManifest
Definition: CmafInitializationVectorInManifest.h:17
Aws::MediaConvert::Model::CmafEncryptionSettings::ConstantInitializationVectorHasBeenSet
bool ConstantInitializationVectorHasBeenSet() const
Definition: CmafEncryptionSettings.h:57