AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
CmafEncryption.h
1
6#pragma once
7#include <aws/mediapackage/MediaPackage_EXPORTS.h>
8#include <aws/core/utils/memory/stl/AWSString.h>
9#include <aws/mediapackage/model/CmafEncryptionMethod.h>
10#include <aws/mediapackage/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 MediaPackage
24{
25namespace Model
26{
27
35 {
36 public:
37 AWS_MEDIAPACKAGE_API CmafEncryption();
38 AWS_MEDIAPACKAGE_API CmafEncryption(Aws::Utils::Json::JsonView jsonValue);
39 AWS_MEDIAPACKAGE_API CmafEncryption& operator=(Aws::Utils::Json::JsonView jsonValue);
40 AWS_MEDIAPACKAGE_API Aws::Utils::Json::JsonValue Jsonize() const;
41
42
44
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 CmafEncryption& WithConstantInitializationVector(const char* value) { SetConstantInitializationVector(value); return *this;}
58
60
61 inline const CmafEncryptionMethod& GetEncryptionMethod() const{ return m_encryptionMethod; }
62 inline bool EncryptionMethodHasBeenSet() const { return m_encryptionMethodHasBeenSet; }
63 inline void SetEncryptionMethod(const CmafEncryptionMethod& value) { m_encryptionMethodHasBeenSet = true; m_encryptionMethod = value; }
64 inline void SetEncryptionMethod(CmafEncryptionMethod&& value) { m_encryptionMethodHasBeenSet = true; m_encryptionMethod = std::move(value); }
65 inline CmafEncryption& WithEncryptionMethod(const CmafEncryptionMethod& value) { SetEncryptionMethod(value); return *this;}
66 inline CmafEncryption& WithEncryptionMethod(CmafEncryptionMethod&& value) { SetEncryptionMethod(std::move(value)); return *this;}
68
70
73 inline int GetKeyRotationIntervalSeconds() const{ return m_keyRotationIntervalSeconds; }
74 inline bool KeyRotationIntervalSecondsHasBeenSet() const { return m_keyRotationIntervalSecondsHasBeenSet; }
75 inline void SetKeyRotationIntervalSeconds(int value) { m_keyRotationIntervalSecondsHasBeenSet = true; m_keyRotationIntervalSeconds = value; }
78
80
81 inline const SpekeKeyProvider& GetSpekeKeyProvider() const{ return m_spekeKeyProvider; }
82 inline bool SpekeKeyProviderHasBeenSet() const { return m_spekeKeyProviderHasBeenSet; }
83 inline void SetSpekeKeyProvider(const SpekeKeyProvider& value) { m_spekeKeyProviderHasBeenSet = true; m_spekeKeyProvider = value; }
84 inline void SetSpekeKeyProvider(SpekeKeyProvider&& value) { m_spekeKeyProviderHasBeenSet = true; m_spekeKeyProvider = std::move(value); }
85 inline CmafEncryption& WithSpekeKeyProvider(const SpekeKeyProvider& value) { SetSpekeKeyProvider(value); return *this;}
86 inline CmafEncryption& WithSpekeKeyProvider(SpekeKeyProvider&& value) { SetSpekeKeyProvider(std::move(value)); return *this;}
88 private:
89
90 Aws::String m_constantInitializationVector;
91 bool m_constantInitializationVectorHasBeenSet = false;
92
93 CmafEncryptionMethod m_encryptionMethod;
94 bool m_encryptionMethodHasBeenSet = false;
95
96 int m_keyRotationIntervalSeconds;
97 bool m_keyRotationIntervalSecondsHasBeenSet = false;
98
99 SpekeKeyProvider m_spekeKeyProvider;
100 bool m_spekeKeyProviderHasBeenSet = false;
101 };
102
103} // namespace Model
104} // namespace MediaPackage
105} // namespace Aws
void SetConstantInitializationVector(Aws::String &&value)
CmafEncryption & WithConstantInitializationVector(Aws::String &&value)
CmafEncryption & WithConstantInitializationVector(const Aws::String &value)
CmafEncryption & WithConstantInitializationVector(const char *value)
const Aws::String & GetConstantInitializationVector() const
void SetConstantInitializationVector(const Aws::String &value)
CmafEncryption & WithSpekeKeyProvider(const SpekeKeyProvider &value)
void SetEncryptionMethod(CmafEncryptionMethod &&value)
void SetEncryptionMethod(const CmafEncryptionMethod &value)
AWS_MEDIAPACKAGE_API CmafEncryption & operator=(Aws::Utils::Json::JsonView jsonValue)
void SetSpekeKeyProvider(const SpekeKeyProvider &value)
CmafEncryption & WithEncryptionMethod(const CmafEncryptionMethod &value)
void SetSpekeKeyProvider(SpekeKeyProvider &&value)
const SpekeKeyProvider & GetSpekeKeyProvider() const
AWS_MEDIAPACKAGE_API Aws::Utils::Json::JsonValue Jsonize() const
const CmafEncryptionMethod & GetEncryptionMethod() const
CmafEncryption & WithSpekeKeyProvider(SpekeKeyProvider &&value)
CmafEncryption & WithKeyRotationIntervalSeconds(int value)
CmafEncryption & WithEncryptionMethod(CmafEncryptionMethod &&value)
AWS_MEDIAPACKAGE_API CmafEncryption(Aws::Utils::Json::JsonView jsonValue)
void SetConstantInitializationVector(const char *value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue