AWS SDK for C++

AWS SDK for C++ Version 1.11.718

Loading...
Searching...
No Matches
InputDecryptionSettings.h
1
6#pragma once
7#include <aws/core/utils/memory/stl/AWSString.h>
8#include <aws/mediaconvert/MediaConvert_EXPORTS.h>
9#include <aws/mediaconvert/model/DecryptionMode.h>
10
11#include <utility>
12
13namespace Aws {
14namespace Utils {
15namespace Json {
16class JsonValue;
17class JsonView;
18} // namespace Json
19} // namespace Utils
20namespace MediaConvert {
21namespace Model {
22
32 public:
33 AWS_MEDIACONVERT_API InputDecryptionSettings() = default;
34 AWS_MEDIACONVERT_API InputDecryptionSettings(Aws::Utils::Json::JsonView jsonValue);
36 AWS_MEDIACONVERT_API Aws::Utils::Json::JsonValue Jsonize() const;
37
39
42 inline DecryptionMode GetDecryptionMode() const { return m_decryptionMode; }
43 inline bool DecryptionModeHasBeenSet() const { return m_decryptionModeHasBeenSet; }
44 inline void SetDecryptionMode(DecryptionMode value) {
45 m_decryptionModeHasBeenSet = true;
46 m_decryptionMode = value;
47 }
49 SetDecryptionMode(value);
50 return *this;
51 }
53
55
62 inline const Aws::String& GetEncryptedDecryptionKey() const { return m_encryptedDecryptionKey; }
63 inline bool EncryptedDecryptionKeyHasBeenSet() const { return m_encryptedDecryptionKeyHasBeenSet; }
64 template <typename EncryptedDecryptionKeyT = Aws::String>
65 void SetEncryptedDecryptionKey(EncryptedDecryptionKeyT&& value) {
66 m_encryptedDecryptionKeyHasBeenSet = true;
67 m_encryptedDecryptionKey = std::forward<EncryptedDecryptionKeyT>(value);
68 }
69 template <typename EncryptedDecryptionKeyT = Aws::String>
70 InputDecryptionSettings& WithEncryptedDecryptionKey(EncryptedDecryptionKeyT&& value) {
71 SetEncryptedDecryptionKey(std::forward<EncryptedDecryptionKeyT>(value));
72 return *this;
73 }
75
77
84 inline const Aws::String& GetInitializationVector() const { return m_initializationVector; }
85 inline bool InitializationVectorHasBeenSet() const { return m_initializationVectorHasBeenSet; }
86 template <typename InitializationVectorT = Aws::String>
87 void SetInitializationVector(InitializationVectorT&& value) {
88 m_initializationVectorHasBeenSet = true;
89 m_initializationVector = std::forward<InitializationVectorT>(value);
90 }
91 template <typename InitializationVectorT = Aws::String>
92 InputDecryptionSettings& WithInitializationVector(InitializationVectorT&& value) {
93 SetInitializationVector(std::forward<InitializationVectorT>(value));
94 return *this;
95 }
97
99
104 inline const Aws::String& GetKmsKeyRegion() const { return m_kmsKeyRegion; }
105 inline bool KmsKeyRegionHasBeenSet() const { return m_kmsKeyRegionHasBeenSet; }
106 template <typename KmsKeyRegionT = Aws::String>
107 void SetKmsKeyRegion(KmsKeyRegionT&& value) {
108 m_kmsKeyRegionHasBeenSet = true;
109 m_kmsKeyRegion = std::forward<KmsKeyRegionT>(value);
110 }
111 template <typename KmsKeyRegionT = Aws::String>
113 SetKmsKeyRegion(std::forward<KmsKeyRegionT>(value));
114 return *this;
115 }
117 private:
118 DecryptionMode m_decryptionMode{DecryptionMode::NOT_SET};
119
120 Aws::String m_encryptedDecryptionKey;
121
122 Aws::String m_initializationVector;
123
124 Aws::String m_kmsKeyRegion;
125 bool m_decryptionModeHasBeenSet = false;
126 bool m_encryptedDecryptionKeyHasBeenSet = false;
127 bool m_initializationVectorHasBeenSet = false;
128 bool m_kmsKeyRegionHasBeenSet = false;
129};
130
131} // namespace Model
132} // namespace MediaConvert
133} // namespace Aws
void SetInitializationVector(InitializationVectorT &&value)
InputDecryptionSettings & WithKmsKeyRegion(KmsKeyRegionT &&value)
void SetEncryptedDecryptionKey(EncryptedDecryptionKeyT &&value)
InputDecryptionSettings & WithEncryptedDecryptionKey(EncryptedDecryptionKeyT &&value)
InputDecryptionSettings & WithInitializationVector(InitializationVectorT &&value)
InputDecryptionSettings & WithDecryptionMode(DecryptionMode value)
AWS_MEDIACONVERT_API InputDecryptionSettings(Aws::Utils::Json::JsonView jsonValue)
AWS_MEDIACONVERT_API InputDecryptionSettings()=default
AWS_MEDIACONVERT_API InputDecryptionSettings & operator=(Aws::Utils::Json::JsonView jsonValue)
AWS_MEDIACONVERT_API Aws::Utils::Json::JsonValue Jsonize() const
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue