AWS SDK for C++

AWS SDK for C++ Version 1.11.607

Loading...
Searching...
No Matches
HlsContentProtection.h
1
6#pragma once
7#include <aws/elastictranscoder/ElasticTranscoder_EXPORTS.h>
8#include <aws/core/utils/memory/stl/AWSString.h>
9#include <utility>
10
11namespace Aws
12{
13namespace Utils
14{
15namespace Json
16{
17 class JsonValue;
18 class JsonView;
19} // namespace Json
20} // namespace Utils
21namespace ElasticTranscoder
22{
23namespace Model
24{
25
33 {
34 public:
35 AWS_ELASTICTRANSCODER_API HlsContentProtection() = default;
36 AWS_ELASTICTRANSCODER_API HlsContentProtection(Aws::Utils::Json::JsonView jsonValue);
37 AWS_ELASTICTRANSCODER_API HlsContentProtection& operator=(Aws::Utils::Json::JsonView jsonValue);
38 AWS_ELASTICTRANSCODER_API Aws::Utils::Json::JsonValue Jsonize() const;
39
40
42
47 inline const Aws::String& GetMethod() const { return m_method; }
48 inline bool MethodHasBeenSet() const { return m_methodHasBeenSet; }
49 template<typename MethodT = Aws::String>
50 void SetMethod(MethodT&& value) { m_methodHasBeenSet = true; m_method = std::forward<MethodT>(value); }
51 template<typename MethodT = Aws::String>
52 HlsContentProtection& WithMethod(MethodT&& value) { SetMethod(std::forward<MethodT>(value)); return *this;}
54
56
63 inline const Aws::String& GetKey() const { return m_key; }
64 inline bool KeyHasBeenSet() const { return m_keyHasBeenSet; }
65 template<typename KeyT = Aws::String>
66 void SetKey(KeyT&& value) { m_keyHasBeenSet = true; m_key = std::forward<KeyT>(value); }
67 template<typename KeyT = Aws::String>
68 HlsContentProtection& WithKey(KeyT&& value) { SetKey(std::forward<KeyT>(value)); return *this;}
70
72
80 inline const Aws::String& GetKeyMd5() const { return m_keyMd5; }
81 inline bool KeyMd5HasBeenSet() const { return m_keyMd5HasBeenSet; }
82 template<typename KeyMd5T = Aws::String>
83 void SetKeyMd5(KeyMd5T&& value) { m_keyMd5HasBeenSet = true; m_keyMd5 = std::forward<KeyMd5T>(value); }
84 template<typename KeyMd5T = Aws::String>
85 HlsContentProtection& WithKeyMd5(KeyMd5T&& value) { SetKeyMd5(std::forward<KeyMd5T>(value)); return *this;}
87
89
96 inline const Aws::String& GetInitializationVector() const { return m_initializationVector; }
97 inline bool InitializationVectorHasBeenSet() const { return m_initializationVectorHasBeenSet; }
98 template<typename InitializationVectorT = Aws::String>
99 void SetInitializationVector(InitializationVectorT&& value) { m_initializationVectorHasBeenSet = true; m_initializationVector = std::forward<InitializationVectorT>(value); }
100 template<typename InitializationVectorT = Aws::String>
101 HlsContentProtection& WithInitializationVector(InitializationVectorT&& value) { SetInitializationVector(std::forward<InitializationVectorT>(value)); return *this;}
103
105
110 inline const Aws::String& GetLicenseAcquisitionUrl() const { return m_licenseAcquisitionUrl; }
111 inline bool LicenseAcquisitionUrlHasBeenSet() const { return m_licenseAcquisitionUrlHasBeenSet; }
112 template<typename LicenseAcquisitionUrlT = Aws::String>
113 void SetLicenseAcquisitionUrl(LicenseAcquisitionUrlT&& value) { m_licenseAcquisitionUrlHasBeenSet = true; m_licenseAcquisitionUrl = std::forward<LicenseAcquisitionUrlT>(value); }
114 template<typename LicenseAcquisitionUrlT = Aws::String>
115 HlsContentProtection& WithLicenseAcquisitionUrl(LicenseAcquisitionUrlT&& value) { SetLicenseAcquisitionUrl(std::forward<LicenseAcquisitionUrlT>(value)); return *this;}
117
119
125 inline const Aws::String& GetKeyStoragePolicy() const { return m_keyStoragePolicy; }
126 inline bool KeyStoragePolicyHasBeenSet() const { return m_keyStoragePolicyHasBeenSet; }
127 template<typename KeyStoragePolicyT = Aws::String>
128 void SetKeyStoragePolicy(KeyStoragePolicyT&& value) { m_keyStoragePolicyHasBeenSet = true; m_keyStoragePolicy = std::forward<KeyStoragePolicyT>(value); }
129 template<typename KeyStoragePolicyT = Aws::String>
130 HlsContentProtection& WithKeyStoragePolicy(KeyStoragePolicyT&& value) { SetKeyStoragePolicy(std::forward<KeyStoragePolicyT>(value)); return *this;}
132 private:
133
134 Aws::String m_method;
135 bool m_methodHasBeenSet = false;
136
137 Aws::String m_key;
138 bool m_keyHasBeenSet = false;
139
140 Aws::String m_keyMd5;
141 bool m_keyMd5HasBeenSet = false;
142
143 Aws::String m_initializationVector;
144 bool m_initializationVectorHasBeenSet = false;
145
146 Aws::String m_licenseAcquisitionUrl;
147 bool m_licenseAcquisitionUrlHasBeenSet = false;
148
149 Aws::String m_keyStoragePolicy;
150 bool m_keyStoragePolicyHasBeenSet = false;
151 };
152
153} // namespace Model
154} // namespace ElasticTranscoder
155} // namespace Aws
HlsContentProtection & WithKeyMd5(KeyMd5T &&value)
HlsContentProtection & WithInitializationVector(InitializationVectorT &&value)
HlsContentProtection & WithKeyStoragePolicy(KeyStoragePolicyT &&value)
HlsContentProtection & WithLicenseAcquisitionUrl(LicenseAcquisitionUrlT &&value)
AWS_ELASTICTRANSCODER_API HlsContentProtection & operator=(Aws::Utils::Json::JsonView jsonValue)
AWS_ELASTICTRANSCODER_API Aws::Utils::Json::JsonValue Jsonize() const
HlsContentProtection & WithMethod(MethodT &&value)
AWS_ELASTICTRANSCODER_API HlsContentProtection(Aws::Utils::Json::JsonView jsonValue)
void SetLicenseAcquisitionUrl(LicenseAcquisitionUrlT &&value)
AWS_ELASTICTRANSCODER_API HlsContentProtection()=default
void SetInitializationVector(InitializationVectorT &&value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue