AWS SDK for C++  1.9.106
AWS SDK for C++
InputDecryptionSettings.h
Go to the documentation of this file.
1 
6 #pragma once
10 #include <utility>
11 
12 namespace Aws
13 {
14 namespace Utils
15 {
16 namespace Json
17 {
18  class JsonValue;
19  class JsonView;
20 } // namespace Json
21 } // namespace Utils
22 namespace MediaConvert
23 {
24 namespace Model
25 {
26 
36  {
37  public:
42 
43 
47  inline const DecryptionMode& GetDecryptionMode() const{ return m_decryptionMode; }
48 
52  inline bool DecryptionModeHasBeenSet() const { return m_decryptionModeHasBeenSet; }
53 
57  inline void SetDecryptionMode(const DecryptionMode& value) { m_decryptionModeHasBeenSet = true; m_decryptionMode = value; }
58 
62  inline void SetDecryptionMode(DecryptionMode&& value) { m_decryptionModeHasBeenSet = true; m_decryptionMode = std::move(value); }
63 
67  inline InputDecryptionSettings& WithDecryptionMode(const DecryptionMode& value) { SetDecryptionMode(value); return *this;}
68 
72  inline InputDecryptionSettings& WithDecryptionMode(DecryptionMode&& value) { SetDecryptionMode(std::move(value)); return *this;}
73 
74 
82  inline const Aws::String& GetEncryptedDecryptionKey() const{ return m_encryptedDecryptionKey; }
83 
91  inline bool EncryptedDecryptionKeyHasBeenSet() const { return m_encryptedDecryptionKeyHasBeenSet; }
92 
100  inline void SetEncryptedDecryptionKey(const Aws::String& value) { m_encryptedDecryptionKeyHasBeenSet = true; m_encryptedDecryptionKey = value; }
101 
109  inline void SetEncryptedDecryptionKey(Aws::String&& value) { m_encryptedDecryptionKeyHasBeenSet = true; m_encryptedDecryptionKey = std::move(value); }
110 
118  inline void SetEncryptedDecryptionKey(const char* value) { m_encryptedDecryptionKeyHasBeenSet = true; m_encryptedDecryptionKey.assign(value); }
119 
127  inline InputDecryptionSettings& WithEncryptedDecryptionKey(const Aws::String& value) { SetEncryptedDecryptionKey(value); return *this;}
128 
136  inline InputDecryptionSettings& WithEncryptedDecryptionKey(Aws::String&& value) { SetEncryptedDecryptionKey(std::move(value)); return *this;}
137 
145  inline InputDecryptionSettings& WithEncryptedDecryptionKey(const char* value) { SetEncryptedDecryptionKey(value); return *this;}
146 
147 
155  inline const Aws::String& GetInitializationVector() const{ return m_initializationVector; }
156 
164  inline bool InitializationVectorHasBeenSet() const { return m_initializationVectorHasBeenSet; }
165 
173  inline void SetInitializationVector(const Aws::String& value) { m_initializationVectorHasBeenSet = true; m_initializationVector = value; }
174 
182  inline void SetInitializationVector(Aws::String&& value) { m_initializationVectorHasBeenSet = true; m_initializationVector = std::move(value); }
183 
191  inline void SetInitializationVector(const char* value) { m_initializationVectorHasBeenSet = true; m_initializationVector.assign(value); }
192 
200  inline InputDecryptionSettings& WithInitializationVector(const Aws::String& value) { SetInitializationVector(value); return *this;}
201 
209  inline InputDecryptionSettings& WithInitializationVector(Aws::String&& value) { SetInitializationVector(std::move(value)); return *this;}
210 
218  inline InputDecryptionSettings& WithInitializationVector(const char* value) { SetInitializationVector(value); return *this;}
219 
220 
226  inline const Aws::String& GetKmsKeyRegion() const{ return m_kmsKeyRegion; }
227 
233  inline bool KmsKeyRegionHasBeenSet() const { return m_kmsKeyRegionHasBeenSet; }
234 
240  inline void SetKmsKeyRegion(const Aws::String& value) { m_kmsKeyRegionHasBeenSet = true; m_kmsKeyRegion = value; }
241 
247  inline void SetKmsKeyRegion(Aws::String&& value) { m_kmsKeyRegionHasBeenSet = true; m_kmsKeyRegion = std::move(value); }
248 
254  inline void SetKmsKeyRegion(const char* value) { m_kmsKeyRegionHasBeenSet = true; m_kmsKeyRegion.assign(value); }
255 
261  inline InputDecryptionSettings& WithKmsKeyRegion(const Aws::String& value) { SetKmsKeyRegion(value); return *this;}
262 
268  inline InputDecryptionSettings& WithKmsKeyRegion(Aws::String&& value) { SetKmsKeyRegion(std::move(value)); return *this;}
269 
275  inline InputDecryptionSettings& WithKmsKeyRegion(const char* value) { SetKmsKeyRegion(value); return *this;}
276 
277  private:
278 
279  DecryptionMode m_decryptionMode;
280  bool m_decryptionModeHasBeenSet;
281 
282  Aws::String m_encryptedDecryptionKey;
283  bool m_encryptedDecryptionKeyHasBeenSet;
284 
285  Aws::String m_initializationVector;
286  bool m_initializationVectorHasBeenSet;
287 
288  Aws::String m_kmsKeyRegion;
289  bool m_kmsKeyRegionHasBeenSet;
290  };
291 
292 } // namespace Model
293 } // namespace MediaConvert
294 } // namespace Aws
DecryptionMode.h
Aws::MediaConvert::Model::InputDecryptionSettings::GetInitializationVector
const Aws::String & GetInitializationVector() const
Definition: InputDecryptionSettings.h:155
Aws::MediaConvert::Model::InputDecryptionSettings::WithEncryptedDecryptionKey
InputDecryptionSettings & WithEncryptedDecryptionKey(const Aws::String &value)
Definition: InputDecryptionSettings.h:127
MediaConvert_EXPORTS.h
Aws::MediaConvert::Model::InputDecryptionSettings::WithEncryptedDecryptionKey
InputDecryptionSettings & WithEncryptedDecryptionKey(const char *value)
Definition: InputDecryptionSettings.h:145
AWS_MEDIACONVERT_API
#define AWS_MEDIACONVERT_API
Definition: MediaConvert_EXPORTS.h:28
Aws::MediaConvert::Model::DecryptionMode
DecryptionMode
Definition: DecryptionMode.h:17
Aws::MediaConvert::Model::InputDecryptionSettings::GetKmsKeyRegion
const Aws::String & GetKmsKeyRegion() const
Definition: InputDecryptionSettings.h:226
Aws::MediaConvert::Model::InputDecryptionSettings::operator=
InputDecryptionSettings & operator=(Aws::Utils::Json::JsonView jsonValue)
Aws::MediaConvert::Model::InputDecryptionSettings::WithDecryptionMode
InputDecryptionSettings & WithDecryptionMode(const DecryptionMode &value)
Definition: InputDecryptionSettings.h:67
Aws::MediaConvert::Model::InputDecryptionSettings::SetEncryptedDecryptionKey
void SetEncryptedDecryptionKey(const Aws::String &value)
Definition: InputDecryptionSettings.h:100
Aws::MediaConvert::Model::InputDecryptionSettings::SetKmsKeyRegion
void SetKmsKeyRegion(const char *value)
Definition: InputDecryptionSettings.h:254
Aws::MediaConvert::Model::InputDecryptionSettings::WithDecryptionMode
InputDecryptionSettings & WithDecryptionMode(DecryptionMode &&value)
Definition: InputDecryptionSettings.h:72
Aws::MediaConvert::Model::InputDecryptionSettings::InputDecryptionSettings
InputDecryptionSettings()
Aws::MediaConvert::Model::InputDecryptionSettings::WithKmsKeyRegion
InputDecryptionSettings & WithKmsKeyRegion(const Aws::String &value)
Definition: InputDecryptionSettings.h:261
Aws::MediaConvert::Model::InputDecryptionSettings::DecryptionModeHasBeenSet
bool DecryptionModeHasBeenSet() const
Definition: InputDecryptionSettings.h:52
Aws::MediaConvert::Model::InputDecryptionSettings::SetEncryptedDecryptionKey
void SetEncryptedDecryptionKey(const char *value)
Definition: InputDecryptionSettings.h:118
Aws::MediaConvert::Model::InputDecryptionSettings::SetEncryptedDecryptionKey
void SetEncryptedDecryptionKey(Aws::String &&value)
Definition: InputDecryptionSettings.h:109
Aws::MediaConvert::Model::InputDecryptionSettings::KmsKeyRegionHasBeenSet
bool KmsKeyRegionHasBeenSet() const
Definition: InputDecryptionSettings.h:233
Aws::MediaConvert::Model::InputDecryptionSettings::SetKmsKeyRegion
void SetKmsKeyRegion(Aws::String &&value)
Definition: InputDecryptionSettings.h:247
Aws::MediaConvert::Model::InputDecryptionSettings::WithInitializationVector
InputDecryptionSettings & WithInitializationVector(const char *value)
Definition: InputDecryptionSettings.h:218
Aws::MediaConvert::Model::InputDecryptionSettings::Jsonize
Aws::Utils::Json::JsonValue Jsonize() const
Aws::MediaConvert::Model::InputDecryptionSettings
Definition: InputDecryptionSettings.h:36
Aws::MediaConvert::Model::InputDecryptionSettings::SetInitializationVector
void SetInitializationVector(Aws::String &&value)
Definition: InputDecryptionSettings.h:182
Aws::MediaConvert::Model::InputDecryptionSettings::SetInitializationVector
void SetInitializationVector(const char *value)
Definition: InputDecryptionSettings.h:191
Aws::Utils::Json::JsonView
Definition: JsonSerializer.h:235
AWSString.h
Aws::MediaConvert::Model::InputDecryptionSettings::SetDecryptionMode
void SetDecryptionMode(const DecryptionMode &value)
Definition: InputDecryptionSettings.h:57
Aws::Utils::Json::JsonValue
Definition: JsonSerializer.h:33
Aws::MediaConvert::Model::InputDecryptionSettings::GetDecryptionMode
const DecryptionMode & GetDecryptionMode() const
Definition: InputDecryptionSettings.h:47
Aws::MediaConvert::Model::InputDecryptionSettings::WithInitializationVector
InputDecryptionSettings & WithInitializationVector(const Aws::String &value)
Definition: InputDecryptionSettings.h:200
Aws::MediaConvert::Model::InputDecryptionSettings::WithEncryptedDecryptionKey
InputDecryptionSettings & WithEncryptedDecryptionKey(Aws::String &&value)
Definition: InputDecryptionSettings.h:136
Aws::MediaConvert::Model::InputDecryptionSettings::InitializationVectorHasBeenSet
bool InitializationVectorHasBeenSet() const
Definition: InputDecryptionSettings.h:164
Aws
Definition: AccessManagementClient.h:15
Aws::MediaConvert::Model::InputDecryptionSettings::EncryptedDecryptionKeyHasBeenSet
bool EncryptedDecryptionKeyHasBeenSet() const
Definition: InputDecryptionSettings.h:91
Aws::MediaConvert::Model::InputDecryptionSettings::SetDecryptionMode
void SetDecryptionMode(DecryptionMode &&value)
Definition: InputDecryptionSettings.h:62
Aws::MediaConvert::Model::InputDecryptionSettings::SetInitializationVector
void SetInitializationVector(const Aws::String &value)
Definition: InputDecryptionSettings.h:173
Aws::String
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Definition: AWSString.h:97
Aws::MediaConvert::Model::InputDecryptionSettings::WithInitializationVector
InputDecryptionSettings & WithInitializationVector(Aws::String &&value)
Definition: InputDecryptionSettings.h:209
Aws::MediaConvert::Model::InputDecryptionSettings::WithKmsKeyRegion
InputDecryptionSettings & WithKmsKeyRegion(Aws::String &&value)
Definition: InputDecryptionSettings.h:268
Aws::MediaConvert::Model::InputDecryptionSettings::InputDecryptionSettings
InputDecryptionSettings(Aws::Utils::Json::JsonView jsonValue)
Aws::MediaConvert::Model::InputDecryptionSettings::GetEncryptedDecryptionKey
const Aws::String & GetEncryptedDecryptionKey() const
Definition: InputDecryptionSettings.h:82
Aws::MediaConvert::Model::InputDecryptionSettings::SetKmsKeyRegion
void SetKmsKeyRegion(const Aws::String &value)
Definition: InputDecryptionSettings.h:240
Aws::MediaConvert::Model::InputDecryptionSettings::WithKmsKeyRegion
InputDecryptionSettings & WithKmsKeyRegion(const char *value)
Definition: InputDecryptionSettings.h:275