AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
PlayReadyDrm.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
36 {
37 public:
38 AWS_ELASTICTRANSCODER_API PlayReadyDrm();
39 AWS_ELASTICTRANSCODER_API PlayReadyDrm(Aws::Utils::Json::JsonView jsonValue);
40 AWS_ELASTICTRANSCODER_API PlayReadyDrm& operator=(Aws::Utils::Json::JsonView jsonValue);
41 AWS_ELASTICTRANSCODER_API Aws::Utils::Json::JsonValue Jsonize() const;
42
43
45
49 inline const Aws::String& GetFormat() const{ return m_format; }
50 inline bool FormatHasBeenSet() const { return m_formatHasBeenSet; }
51 inline void SetFormat(const Aws::String& value) { m_formatHasBeenSet = true; m_format = value; }
52 inline void SetFormat(Aws::String&& value) { m_formatHasBeenSet = true; m_format = std::move(value); }
53 inline void SetFormat(const char* value) { m_formatHasBeenSet = true; m_format.assign(value); }
54 inline PlayReadyDrm& WithFormat(const Aws::String& value) { SetFormat(value); return *this;}
55 inline PlayReadyDrm& WithFormat(Aws::String&& value) { SetFormat(std::move(value)); return *this;}
56 inline PlayReadyDrm& WithFormat(const char* value) { SetFormat(value); return *this;}
58
60
66 inline const Aws::String& GetKey() const{ return m_key; }
67 inline bool KeyHasBeenSet() const { return m_keyHasBeenSet; }
68 inline void SetKey(const Aws::String& value) { m_keyHasBeenSet = true; m_key = value; }
69 inline void SetKey(Aws::String&& value) { m_keyHasBeenSet = true; m_key = std::move(value); }
70 inline void SetKey(const char* value) { m_keyHasBeenSet = true; m_key.assign(value); }
71 inline PlayReadyDrm& WithKey(const Aws::String& value) { SetKey(value); return *this;}
72 inline PlayReadyDrm& WithKey(Aws::String&& value) { SetKey(std::move(value)); return *this;}
73 inline PlayReadyDrm& WithKey(const char* value) { SetKey(value); return *this;}
75
77
83 inline const Aws::String& GetKeyMd5() const{ return m_keyMd5; }
84 inline bool KeyMd5HasBeenSet() const { return m_keyMd5HasBeenSet; }
85 inline void SetKeyMd5(const Aws::String& value) { m_keyMd5HasBeenSet = true; m_keyMd5 = value; }
86 inline void SetKeyMd5(Aws::String&& value) { m_keyMd5HasBeenSet = true; m_keyMd5 = std::move(value); }
87 inline void SetKeyMd5(const char* value) { m_keyMd5HasBeenSet = true; m_keyMd5.assign(value); }
88 inline PlayReadyDrm& WithKeyMd5(const Aws::String& value) { SetKeyMd5(value); return *this;}
89 inline PlayReadyDrm& WithKeyMd5(Aws::String&& value) { SetKeyMd5(std::move(value)); return *this;}
90 inline PlayReadyDrm& WithKeyMd5(const char* value) { SetKeyMd5(value); return *this;}
92
94
101 inline const Aws::String& GetKeyId() const{ return m_keyId; }
102 inline bool KeyIdHasBeenSet() const { return m_keyIdHasBeenSet; }
103 inline void SetKeyId(const Aws::String& value) { m_keyIdHasBeenSet = true; m_keyId = value; }
104 inline void SetKeyId(Aws::String&& value) { m_keyIdHasBeenSet = true; m_keyId = std::move(value); }
105 inline void SetKeyId(const char* value) { m_keyIdHasBeenSet = true; m_keyId.assign(value); }
106 inline PlayReadyDrm& WithKeyId(const Aws::String& value) { SetKeyId(value); return *this;}
107 inline PlayReadyDrm& WithKeyId(Aws::String&& value) { SetKeyId(std::move(value)); return *this;}
108 inline PlayReadyDrm& WithKeyId(const char* value) { SetKeyId(value); return *this;}
110
112
119 inline const Aws::String& GetInitializationVector() const{ return m_initializationVector; }
120 inline bool InitializationVectorHasBeenSet() const { return m_initializationVectorHasBeenSet; }
121 inline void SetInitializationVector(const Aws::String& value) { m_initializationVectorHasBeenSet = true; m_initializationVector = value; }
122 inline void SetInitializationVector(Aws::String&& value) { m_initializationVectorHasBeenSet = true; m_initializationVector = std::move(value); }
123 inline void SetInitializationVector(const char* value) { m_initializationVectorHasBeenSet = true; m_initializationVector.assign(value); }
124 inline PlayReadyDrm& WithInitializationVector(const Aws::String& value) { SetInitializationVector(value); return *this;}
125 inline PlayReadyDrm& WithInitializationVector(Aws::String&& value) { SetInitializationVector(std::move(value)); return *this;}
126 inline PlayReadyDrm& WithInitializationVector(const char* value) { SetInitializationVector(value); return *this;}
128
130
138 inline const Aws::String& GetLicenseAcquisitionUrl() const{ return m_licenseAcquisitionUrl; }
139 inline bool LicenseAcquisitionUrlHasBeenSet() const { return m_licenseAcquisitionUrlHasBeenSet; }
140 inline void SetLicenseAcquisitionUrl(const Aws::String& value) { m_licenseAcquisitionUrlHasBeenSet = true; m_licenseAcquisitionUrl = value; }
141 inline void SetLicenseAcquisitionUrl(Aws::String&& value) { m_licenseAcquisitionUrlHasBeenSet = true; m_licenseAcquisitionUrl = std::move(value); }
142 inline void SetLicenseAcquisitionUrl(const char* value) { m_licenseAcquisitionUrlHasBeenSet = true; m_licenseAcquisitionUrl.assign(value); }
143 inline PlayReadyDrm& WithLicenseAcquisitionUrl(const Aws::String& value) { SetLicenseAcquisitionUrl(value); return *this;}
144 inline PlayReadyDrm& WithLicenseAcquisitionUrl(Aws::String&& value) { SetLicenseAcquisitionUrl(std::move(value)); return *this;}
145 inline PlayReadyDrm& WithLicenseAcquisitionUrl(const char* value) { SetLicenseAcquisitionUrl(value); return *this;}
147 private:
148
149 Aws::String m_format;
150 bool m_formatHasBeenSet = false;
151
152 Aws::String m_key;
153 bool m_keyHasBeenSet = false;
154
155 Aws::String m_keyMd5;
156 bool m_keyMd5HasBeenSet = false;
157
158 Aws::String m_keyId;
159 bool m_keyIdHasBeenSet = false;
160
161 Aws::String m_initializationVector;
162 bool m_initializationVectorHasBeenSet = false;
163
164 Aws::String m_licenseAcquisitionUrl;
165 bool m_licenseAcquisitionUrlHasBeenSet = false;
166 };
167
168} // namespace Model
169} // namespace ElasticTranscoder
170} // namespace Aws
PlayReadyDrm & WithFormat(Aws::String &&value)
PlayReadyDrm & WithKey(const Aws::String &value)
void SetKeyId(const Aws::String &value)
PlayReadyDrm & WithKeyMd5(const Aws::String &value)
AWS_ELASTICTRANSCODER_API PlayReadyDrm & operator=(Aws::Utils::Json::JsonView jsonValue)
PlayReadyDrm & WithLicenseAcquisitionUrl(const char *value)
void SetInitializationVector(Aws::String &&value)
PlayReadyDrm & WithFormat(const char *value)
void SetKey(const Aws::String &value)
const Aws::String & GetKeyMd5() const
PlayReadyDrm & WithLicenseAcquisitionUrl(Aws::String &&value)
void SetLicenseAcquisitionUrl(const char *value)
AWS_ELASTICTRANSCODER_API Aws::Utils::Json::JsonValue Jsonize() const
AWS_ELASTICTRANSCODER_API PlayReadyDrm()
const Aws::String & GetLicenseAcquisitionUrl() const
const Aws::String & GetInitializationVector() const
void SetLicenseAcquisitionUrl(const Aws::String &value)
PlayReadyDrm & WithLicenseAcquisitionUrl(const Aws::String &value)
const Aws::String & GetFormat() const
PlayReadyDrm & WithInitializationVector(Aws::String &&value)
void SetInitializationVector(const Aws::String &value)
PlayReadyDrm & WithKeyMd5(Aws::String &&value)
PlayReadyDrm & WithFormat(const Aws::String &value)
PlayReadyDrm & WithInitializationVector(const char *value)
PlayReadyDrm & WithInitializationVector(const Aws::String &value)
PlayReadyDrm & WithKeyId(const char *value)
void SetLicenseAcquisitionUrl(Aws::String &&value)
PlayReadyDrm & WithKey(Aws::String &&value)
PlayReadyDrm & WithKeyId(const Aws::String &value)
PlayReadyDrm & WithKeyId(Aws::String &&value)
AWS_ELASTICTRANSCODER_API PlayReadyDrm(Aws::Utils::Json::JsonView jsonValue)
void SetFormat(const Aws::String &value)
void SetKeyMd5(const Aws::String &value)
PlayReadyDrm & WithKeyMd5(const char *value)
void SetInitializationVector(const char *value)
PlayReadyDrm & WithKey(const char *value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue