AWS SDK for C++

AWS SDK for C++ Version 1.11.440

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();
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 inline void SetMethod(const Aws::String& value) { m_methodHasBeenSet = true; m_method = value; }
50 inline void SetMethod(Aws::String&& value) { m_methodHasBeenSet = true; m_method = std::move(value); }
51 inline void SetMethod(const char* value) { m_methodHasBeenSet = true; m_method.assign(value); }
52 inline HlsContentProtection& WithMethod(const Aws::String& value) { SetMethod(value); return *this;}
53 inline HlsContentProtection& WithMethod(Aws::String&& value) { SetMethod(std::move(value)); return *this;}
54 inline HlsContentProtection& WithMethod(const char* value) { SetMethod(value); return *this;}
56
58
65 inline const Aws::String& GetKey() const{ return m_key; }
66 inline bool KeyHasBeenSet() const { return m_keyHasBeenSet; }
67 inline void SetKey(const Aws::String& value) { m_keyHasBeenSet = true; m_key = value; }
68 inline void SetKey(Aws::String&& value) { m_keyHasBeenSet = true; m_key = std::move(value); }
69 inline void SetKey(const char* value) { m_keyHasBeenSet = true; m_key.assign(value); }
70 inline HlsContentProtection& WithKey(const Aws::String& value) { SetKey(value); return *this;}
71 inline HlsContentProtection& WithKey(Aws::String&& value) { SetKey(std::move(value)); return *this;}
72 inline HlsContentProtection& WithKey(const char* value) { SetKey(value); return *this;}
74
76
84 inline const Aws::String& GetKeyMd5() const{ return m_keyMd5; }
85 inline bool KeyMd5HasBeenSet() const { return m_keyMd5HasBeenSet; }
86 inline void SetKeyMd5(const Aws::String& value) { m_keyMd5HasBeenSet = true; m_keyMd5 = value; }
87 inline void SetKeyMd5(Aws::String&& value) { m_keyMd5HasBeenSet = true; m_keyMd5 = std::move(value); }
88 inline void SetKeyMd5(const char* value) { m_keyMd5HasBeenSet = true; m_keyMd5.assign(value); }
89 inline HlsContentProtection& WithKeyMd5(const Aws::String& value) { SetKeyMd5(value); return *this;}
90 inline HlsContentProtection& WithKeyMd5(Aws::String&& value) { SetKeyMd5(std::move(value)); return *this;}
91 inline HlsContentProtection& WithKeyMd5(const char* value) { SetKeyMd5(value); return *this;}
93
95
102 inline const Aws::String& GetInitializationVector() const{ return m_initializationVector; }
103 inline bool InitializationVectorHasBeenSet() const { return m_initializationVectorHasBeenSet; }
104 inline void SetInitializationVector(const Aws::String& value) { m_initializationVectorHasBeenSet = true; m_initializationVector = value; }
105 inline void SetInitializationVector(Aws::String&& value) { m_initializationVectorHasBeenSet = true; m_initializationVector = std::move(value); }
106 inline void SetInitializationVector(const char* value) { m_initializationVectorHasBeenSet = true; m_initializationVector.assign(value); }
108 inline HlsContentProtection& WithInitializationVector(Aws::String&& value) { SetInitializationVector(std::move(value)); return *this;}
109 inline HlsContentProtection& WithInitializationVector(const char* value) { SetInitializationVector(value); return *this;}
111
113
118 inline const Aws::String& GetLicenseAcquisitionUrl() const{ return m_licenseAcquisitionUrl; }
119 inline bool LicenseAcquisitionUrlHasBeenSet() const { return m_licenseAcquisitionUrlHasBeenSet; }
120 inline void SetLicenseAcquisitionUrl(const Aws::String& value) { m_licenseAcquisitionUrlHasBeenSet = true; m_licenseAcquisitionUrl = value; }
121 inline void SetLicenseAcquisitionUrl(Aws::String&& value) { m_licenseAcquisitionUrlHasBeenSet = true; m_licenseAcquisitionUrl = std::move(value); }
122 inline void SetLicenseAcquisitionUrl(const char* value) { m_licenseAcquisitionUrlHasBeenSet = true; m_licenseAcquisitionUrl.assign(value); }
124 inline HlsContentProtection& WithLicenseAcquisitionUrl(Aws::String&& value) { SetLicenseAcquisitionUrl(std::move(value)); return *this;}
125 inline HlsContentProtection& WithLicenseAcquisitionUrl(const char* value) { SetLicenseAcquisitionUrl(value); return *this;}
127
129
135 inline const Aws::String& GetKeyStoragePolicy() const{ return m_keyStoragePolicy; }
136 inline bool KeyStoragePolicyHasBeenSet() const { return m_keyStoragePolicyHasBeenSet; }
137 inline void SetKeyStoragePolicy(const Aws::String& value) { m_keyStoragePolicyHasBeenSet = true; m_keyStoragePolicy = value; }
138 inline void SetKeyStoragePolicy(Aws::String&& value) { m_keyStoragePolicyHasBeenSet = true; m_keyStoragePolicy = std::move(value); }
139 inline void SetKeyStoragePolicy(const char* value) { m_keyStoragePolicyHasBeenSet = true; m_keyStoragePolicy.assign(value); }
140 inline HlsContentProtection& WithKeyStoragePolicy(const Aws::String& value) { SetKeyStoragePolicy(value); return *this;}
141 inline HlsContentProtection& WithKeyStoragePolicy(Aws::String&& value) { SetKeyStoragePolicy(std::move(value)); return *this;}
142 inline HlsContentProtection& WithKeyStoragePolicy(const char* value) { SetKeyStoragePolicy(value); return *this;}
144 private:
145
146 Aws::String m_method;
147 bool m_methodHasBeenSet = false;
148
149 Aws::String m_key;
150 bool m_keyHasBeenSet = false;
151
152 Aws::String m_keyMd5;
153 bool m_keyMd5HasBeenSet = false;
154
155 Aws::String m_initializationVector;
156 bool m_initializationVectorHasBeenSet = false;
157
158 Aws::String m_licenseAcquisitionUrl;
159 bool m_licenseAcquisitionUrlHasBeenSet = false;
160
161 Aws::String m_keyStoragePolicy;
162 bool m_keyStoragePolicyHasBeenSet = false;
163 };
164
165} // namespace Model
166} // namespace ElasticTranscoder
167} // namespace Aws
HlsContentProtection & WithMethod(const Aws::String &value)
HlsContentProtection & WithKeyStoragePolicy(const Aws::String &value)
HlsContentProtection & WithLicenseAcquisitionUrl(const char *value)
HlsContentProtection & WithKeyMd5(Aws::String &&value)
HlsContentProtection & WithLicenseAcquisitionUrl(Aws::String &&value)
HlsContentProtection & WithKey(const Aws::String &value)
AWS_ELASTICTRANSCODER_API HlsContentProtection & operator=(Aws::Utils::Json::JsonView jsonValue)
HlsContentProtection & WithInitializationVector(const char *value)
HlsContentProtection & WithMethod(Aws::String &&value)
HlsContentProtection & WithKeyStoragePolicy(Aws::String &&value)
HlsContentProtection & WithKeyMd5(const char *value)
AWS_ELASTICTRANSCODER_API Aws::Utils::Json::JsonValue Jsonize() const
AWS_ELASTICTRANSCODER_API HlsContentProtection(Aws::Utils::Json::JsonView jsonValue)
HlsContentProtection & WithKeyMd5(const Aws::String &value)
HlsContentProtection & WithInitializationVector(Aws::String &&value)
HlsContentProtection & WithKey(Aws::String &&value)
HlsContentProtection & WithInitializationVector(const Aws::String &value)
HlsContentProtection & WithKey(const char *value)
HlsContentProtection & WithMethod(const char *value)
HlsContentProtection & WithLicenseAcquisitionUrl(const Aws::String &value)
HlsContentProtection & WithKeyStoragePolicy(const char *value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue