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-vod/MediaPackageVod_EXPORTS.h>
8#include <aws/core/utils/memory/stl/AWSString.h>
9#include <aws/mediapackage-vod/model/SpekeKeyProvider.h>
10#include <utility>
11
12namespace Aws
13{
14namespace Utils
15{
16namespace Json
17{
18 class JsonValue;
19 class JsonView;
20} // namespace Json
21} // namespace Utils
22namespace MediaPackageVod
23{
24namespace Model
25{
26
33 {
34 public:
35 AWS_MEDIAPACKAGEVOD_API CmafEncryption();
36 AWS_MEDIAPACKAGEVOD_API CmafEncryption(Aws::Utils::Json::JsonView jsonValue);
37 AWS_MEDIAPACKAGEVOD_API CmafEncryption& operator=(Aws::Utils::Json::JsonView jsonValue);
38 AWS_MEDIAPACKAGEVOD_API Aws::Utils::Json::JsonValue Jsonize() const;
39
40
42
47 inline const Aws::String& GetConstantInitializationVector() const{ return m_constantInitializationVector; }
48 inline bool ConstantInitializationVectorHasBeenSet() const { return m_constantInitializationVectorHasBeenSet; }
49 inline void SetConstantInitializationVector(const Aws::String& value) { m_constantInitializationVectorHasBeenSet = true; m_constantInitializationVector = value; }
50 inline void SetConstantInitializationVector(Aws::String&& value) { m_constantInitializationVectorHasBeenSet = true; m_constantInitializationVector = std::move(value); }
51 inline void SetConstantInitializationVector(const char* value) { m_constantInitializationVectorHasBeenSet = true; m_constantInitializationVector.assign(value); }
54 inline CmafEncryption& WithConstantInitializationVector(const char* value) { SetConstantInitializationVector(value); return *this;}
56
58
59 inline const SpekeKeyProvider& GetSpekeKeyProvider() const{ return m_spekeKeyProvider; }
60 inline bool SpekeKeyProviderHasBeenSet() const { return m_spekeKeyProviderHasBeenSet; }
61 inline void SetSpekeKeyProvider(const SpekeKeyProvider& value) { m_spekeKeyProviderHasBeenSet = true; m_spekeKeyProvider = value; }
62 inline void SetSpekeKeyProvider(SpekeKeyProvider&& value) { m_spekeKeyProviderHasBeenSet = true; m_spekeKeyProvider = std::move(value); }
63 inline CmafEncryption& WithSpekeKeyProvider(const SpekeKeyProvider& value) { SetSpekeKeyProvider(value); return *this;}
64 inline CmafEncryption& WithSpekeKeyProvider(SpekeKeyProvider&& value) { SetSpekeKeyProvider(std::move(value)); return *this;}
66 private:
67
68 Aws::String m_constantInitializationVector;
69 bool m_constantInitializationVectorHasBeenSet = false;
70
71 SpekeKeyProvider m_spekeKeyProvider;
72 bool m_spekeKeyProviderHasBeenSet = false;
73 };
74
75} // namespace Model
76} // namespace MediaPackageVod
77} // namespace Aws
void SetConstantInitializationVector(Aws::String &&value)
AWS_MEDIAPACKAGEVOD_API CmafEncryption()
AWS_MEDIAPACKAGEVOD_API Aws::Utils::Json::JsonValue Jsonize() const
CmafEncryption & WithConstantInitializationVector(const char *value)
void SetConstantInitializationVector(const Aws::String &value)
const Aws::String & GetConstantInitializationVector() const
void SetConstantInitializationVector(const char *value)
CmafEncryption & WithConstantInitializationVector(Aws::String &&value)
void SetSpekeKeyProvider(const SpekeKeyProvider &value)
CmafEncryption & WithSpekeKeyProvider(const SpekeKeyProvider &value)
CmafEncryption & WithConstantInitializationVector(const Aws::String &value)
const SpekeKeyProvider & GetSpekeKeyProvider() const
AWS_MEDIAPACKAGEVOD_API CmafEncryption & operator=(Aws::Utils::Json::JsonView jsonValue)
void SetSpekeKeyProvider(SpekeKeyProvider &&value)
CmafEncryption & WithSpekeKeyProvider(SpekeKeyProvider &&value)
AWS_MEDIAPACKAGEVOD_API CmafEncryption(Aws::Utils::Json::JsonView jsonValue)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue