AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
InputDecryptionSettings.h
1
6#pragma once
7#include <aws/mediaconvert/MediaConvert_EXPORTS.h>
8#include <aws/mediaconvert/model/DecryptionMode.h>
9#include <aws/core/utils/memory/stl/AWSString.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 MediaConvert
23{
24namespace Model
25{
26
36 {
37 public:
38 AWS_MEDIACONVERT_API InputDecryptionSettings();
39 AWS_MEDIACONVERT_API InputDecryptionSettings(Aws::Utils::Json::JsonView jsonValue);
41 AWS_MEDIACONVERT_API Aws::Utils::Json::JsonValue Jsonize() const;
42
43
45
48 inline const DecryptionMode& GetDecryptionMode() const{ return m_decryptionMode; }
49 inline bool DecryptionModeHasBeenSet() const { return m_decryptionModeHasBeenSet; }
50 inline void SetDecryptionMode(const DecryptionMode& value) { m_decryptionModeHasBeenSet = true; m_decryptionMode = value; }
51 inline void SetDecryptionMode(DecryptionMode&& value) { m_decryptionModeHasBeenSet = true; m_decryptionMode = std::move(value); }
52 inline InputDecryptionSettings& WithDecryptionMode(const DecryptionMode& value) { SetDecryptionMode(value); return *this;}
53 inline InputDecryptionSettings& WithDecryptionMode(DecryptionMode&& value) { SetDecryptionMode(std::move(value)); return *this;}
55
57
64 inline const Aws::String& GetEncryptedDecryptionKey() const{ return m_encryptedDecryptionKey; }
65 inline bool EncryptedDecryptionKeyHasBeenSet() const { return m_encryptedDecryptionKeyHasBeenSet; }
66 inline void SetEncryptedDecryptionKey(const Aws::String& value) { m_encryptedDecryptionKeyHasBeenSet = true; m_encryptedDecryptionKey = value; }
67 inline void SetEncryptedDecryptionKey(Aws::String&& value) { m_encryptedDecryptionKeyHasBeenSet = true; m_encryptedDecryptionKey = std::move(value); }
68 inline void SetEncryptedDecryptionKey(const char* value) { m_encryptedDecryptionKeyHasBeenSet = true; m_encryptedDecryptionKey.assign(value); }
71 inline InputDecryptionSettings& WithEncryptedDecryptionKey(const char* value) { SetEncryptedDecryptionKey(value); return *this;}
73
75
82 inline const Aws::String& GetInitializationVector() const{ return m_initializationVector; }
83 inline bool InitializationVectorHasBeenSet() const { return m_initializationVectorHasBeenSet; }
84 inline void SetInitializationVector(const Aws::String& value) { m_initializationVectorHasBeenSet = true; m_initializationVector = value; }
85 inline void SetInitializationVector(Aws::String&& value) { m_initializationVectorHasBeenSet = true; m_initializationVector = std::move(value); }
86 inline void SetInitializationVector(const char* value) { m_initializationVectorHasBeenSet = true; m_initializationVector.assign(value); }
88 inline InputDecryptionSettings& WithInitializationVector(Aws::String&& value) { SetInitializationVector(std::move(value)); return *this;}
89 inline InputDecryptionSettings& WithInitializationVector(const char* value) { SetInitializationVector(value); return *this;}
91
93
98 inline const Aws::String& GetKmsKeyRegion() const{ return m_kmsKeyRegion; }
99 inline bool KmsKeyRegionHasBeenSet() const { return m_kmsKeyRegionHasBeenSet; }
100 inline void SetKmsKeyRegion(const Aws::String& value) { m_kmsKeyRegionHasBeenSet = true; m_kmsKeyRegion = value; }
101 inline void SetKmsKeyRegion(Aws::String&& value) { m_kmsKeyRegionHasBeenSet = true; m_kmsKeyRegion = std::move(value); }
102 inline void SetKmsKeyRegion(const char* value) { m_kmsKeyRegionHasBeenSet = true; m_kmsKeyRegion.assign(value); }
103 inline InputDecryptionSettings& WithKmsKeyRegion(const Aws::String& value) { SetKmsKeyRegion(value); return *this;}
104 inline InputDecryptionSettings& WithKmsKeyRegion(Aws::String&& value) { SetKmsKeyRegion(std::move(value)); return *this;}
105 inline InputDecryptionSettings& WithKmsKeyRegion(const char* value) { SetKmsKeyRegion(value); return *this;}
107 private:
108
109 DecryptionMode m_decryptionMode;
110 bool m_decryptionModeHasBeenSet = false;
111
112 Aws::String m_encryptedDecryptionKey;
113 bool m_encryptedDecryptionKeyHasBeenSet = false;
114
115 Aws::String m_initializationVector;
116 bool m_initializationVectorHasBeenSet = false;
117
118 Aws::String m_kmsKeyRegion;
119 bool m_kmsKeyRegionHasBeenSet = false;
120 };
121
122} // namespace Model
123} // namespace MediaConvert
124} // namespace Aws
InputDecryptionSettings & WithInitializationVector(Aws::String &&value)
InputDecryptionSettings & WithInitializationVector(const Aws::String &value)
InputDecryptionSettings & WithDecryptionMode(DecryptionMode &&value)
InputDecryptionSettings & WithInitializationVector(const char *value)
InputDecryptionSettings & WithKmsKeyRegion(Aws::String &&value)
InputDecryptionSettings & WithEncryptedDecryptionKey(const Aws::String &value)
AWS_MEDIACONVERT_API InputDecryptionSettings(Aws::Utils::Json::JsonView jsonValue)
AWS_MEDIACONVERT_API InputDecryptionSettings & operator=(Aws::Utils::Json::JsonView jsonValue)
InputDecryptionSettings & WithKmsKeyRegion(const char *value)
InputDecryptionSettings & WithEncryptedDecryptionKey(Aws::String &&value)
InputDecryptionSettings & WithKmsKeyRegion(const Aws::String &value)
InputDecryptionSettings & WithEncryptedDecryptionKey(const char *value)
AWS_MEDIACONVERT_API Aws::Utils::Json::JsonValue Jsonize() const
InputDecryptionSettings & WithDecryptionMode(const DecryptionMode &value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue