AWS SDK for C++

AWS SDK for C++ Version 1.11.607

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() = default;
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 DecryptionMode GetDecryptionMode() const { return m_decryptionMode; }
49 inline bool DecryptionModeHasBeenSet() const { return m_decryptionModeHasBeenSet; }
50 inline void SetDecryptionMode(DecryptionMode value) { m_decryptionModeHasBeenSet = true; m_decryptionMode = value; }
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) { m_encryptedDecryptionKeyHasBeenSet = true; m_encryptedDecryptionKey = std::forward<EncryptedDecryptionKeyT>(value); }
66 template<typename EncryptedDecryptionKeyT = Aws::String>
67 InputDecryptionSettings& WithEncryptedDecryptionKey(EncryptedDecryptionKeyT&& value) { SetEncryptedDecryptionKey(std::forward<EncryptedDecryptionKeyT>(value)); return *this;}
69
71
78 inline const Aws::String& GetInitializationVector() const { return m_initializationVector; }
79 inline bool InitializationVectorHasBeenSet() const { return m_initializationVectorHasBeenSet; }
80 template<typename InitializationVectorT = Aws::String>
81 void SetInitializationVector(InitializationVectorT&& value) { m_initializationVectorHasBeenSet = true; m_initializationVector = std::forward<InitializationVectorT>(value); }
82 template<typename InitializationVectorT = Aws::String>
83 InputDecryptionSettings& WithInitializationVector(InitializationVectorT&& value) { SetInitializationVector(std::forward<InitializationVectorT>(value)); return *this;}
85
87
92 inline const Aws::String& GetKmsKeyRegion() const { return m_kmsKeyRegion; }
93 inline bool KmsKeyRegionHasBeenSet() const { return m_kmsKeyRegionHasBeenSet; }
94 template<typename KmsKeyRegionT = Aws::String>
95 void SetKmsKeyRegion(KmsKeyRegionT&& value) { m_kmsKeyRegionHasBeenSet = true; m_kmsKeyRegion = std::forward<KmsKeyRegionT>(value); }
96 template<typename KmsKeyRegionT = Aws::String>
97 InputDecryptionSettings& WithKmsKeyRegion(KmsKeyRegionT&& value) { SetKmsKeyRegion(std::forward<KmsKeyRegionT>(value)); return *this;}
99 private:
100
101 DecryptionMode m_decryptionMode{DecryptionMode::NOT_SET};
102 bool m_decryptionModeHasBeenSet = false;
103
104 Aws::String m_encryptedDecryptionKey;
105 bool m_encryptedDecryptionKeyHasBeenSet = false;
106
107 Aws::String m_initializationVector;
108 bool m_initializationVectorHasBeenSet = false;
109
110 Aws::String m_kmsKeyRegion;
111 bool m_kmsKeyRegionHasBeenSet = false;
112 };
113
114} // namespace Model
115} // namespace MediaConvert
116} // 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