AWS SDK for C++

AWS SDK for C++ Version 1.11.752

Loading...
Searching...
No Matches
SrtDecryptionConfiguration.h
1
6#pragma once
7#include <aws/mediaconnect/MediaConnect_EXPORTS.h>
8#include <aws/mediaconnect/model/SecretsManagerEncryptionKeyConfiguration.h>
9
10#include <utility>
11
12namespace Aws {
13namespace Utils {
14namespace Json {
15class JsonValue;
16class JsonView;
17} // namespace Json
18} // namespace Utils
19namespace MediaConnect {
20namespace Model {
21
29 public:
30 AWS_MEDIACONNECT_API SrtDecryptionConfiguration() = default;
33 AWS_MEDIACONNECT_API Aws::Utils::Json::JsonValue Jsonize() const;
34
36
40 inline const SecretsManagerEncryptionKeyConfiguration& GetEncryptionKey() const { return m_encryptionKey; }
41 inline bool EncryptionKeyHasBeenSet() const { return m_encryptionKeyHasBeenSet; }
42 template <typename EncryptionKeyT = SecretsManagerEncryptionKeyConfiguration>
43 void SetEncryptionKey(EncryptionKeyT&& value) {
44 m_encryptionKeyHasBeenSet = true;
45 m_encryptionKey = std::forward<EncryptionKeyT>(value);
46 }
47 template <typename EncryptionKeyT = SecretsManagerEncryptionKeyConfiguration>
49 SetEncryptionKey(std::forward<EncryptionKeyT>(value));
50 return *this;
51 }
53 private:
55 bool m_encryptionKeyHasBeenSet = false;
56};
57
58} // namespace Model
59} // namespace MediaConnect
60} // namespace Aws
AWS_MEDIACONNECT_API SrtDecryptionConfiguration(Aws::Utils::Json::JsonView jsonValue)
AWS_MEDIACONNECT_API SrtDecryptionConfiguration & operator=(Aws::Utils::Json::JsonView jsonValue)
AWS_MEDIACONNECT_API Aws::Utils::Json::JsonValue Jsonize() const
const SecretsManagerEncryptionKeyConfiguration & GetEncryptionKey() const
AWS_MEDIACONNECT_API SrtDecryptionConfiguration()=default
SrtDecryptionConfiguration & WithEncryptionKey(EncryptionKeyT &&value)
Aws::Utils::Json::JsonValue JsonValue