AWS SDK for C++

AWS SDK for C++ Version 1.11.764

Loading...
Searching...
No Matches
MediaLiveTransitEncryption.h
1
6#pragma once
7#include <aws/mediaconnect/MediaConnect_EXPORTS.h>
8#include <aws/mediaconnect/model/MediaLiveTransitEncryptionKeyConfiguration.h>
9#include <aws/mediaconnect/model/MediaLiveTransitEncryptionKeyType.h>
10
11#include <utility>
12
13namespace Aws {
14namespace Utils {
15namespace Json {
16class JsonValue;
17class JsonView;
18} // namespace Json
19} // namespace Utils
20namespace MediaConnect {
21namespace Model {
22
32 public:
33 AWS_MEDIACONNECT_API MediaLiveTransitEncryption() = default;
36 AWS_MEDIACONNECT_API Aws::Utils::Json::JsonValue Jsonize() const;
37
39
42 inline MediaLiveTransitEncryptionKeyType GetEncryptionKeyType() const { return m_encryptionKeyType; }
43 inline bool EncryptionKeyTypeHasBeenSet() const { return m_encryptionKeyTypeHasBeenSet; }
45 m_encryptionKeyTypeHasBeenSet = true;
46 m_encryptionKeyType = value;
47 }
50 return *this;
51 }
53
55
58 inline const MediaLiveTransitEncryptionKeyConfiguration& GetEncryptionKeyConfiguration() const { return m_encryptionKeyConfiguration; }
59 inline bool EncryptionKeyConfigurationHasBeenSet() const { return m_encryptionKeyConfigurationHasBeenSet; }
60 template <typename EncryptionKeyConfigurationT = MediaLiveTransitEncryptionKeyConfiguration>
61 void SetEncryptionKeyConfiguration(EncryptionKeyConfigurationT&& value) {
62 m_encryptionKeyConfigurationHasBeenSet = true;
63 m_encryptionKeyConfiguration = std::forward<EncryptionKeyConfigurationT>(value);
64 }
65 template <typename EncryptionKeyConfigurationT = MediaLiveTransitEncryptionKeyConfiguration>
66 MediaLiveTransitEncryption& WithEncryptionKeyConfiguration(EncryptionKeyConfigurationT&& value) {
67 SetEncryptionKeyConfiguration(std::forward<EncryptionKeyConfigurationT>(value));
68 return *this;
69 }
71 private:
73
74 MediaLiveTransitEncryptionKeyConfiguration m_encryptionKeyConfiguration;
75 bool m_encryptionKeyTypeHasBeenSet = false;
76 bool m_encryptionKeyConfigurationHasBeenSet = false;
77};
78
79} // namespace Model
80} // namespace MediaConnect
81} // namespace Aws
AWS_MEDIACONNECT_API MediaLiveTransitEncryption()=default
void SetEncryptionKeyType(MediaLiveTransitEncryptionKeyType value)
AWS_MEDIACONNECT_API MediaLiveTransitEncryption(Aws::Utils::Json::JsonView jsonValue)
AWS_MEDIACONNECT_API Aws::Utils::Json::JsonValue Jsonize() const
MediaLiveTransitEncryption & WithEncryptionKeyConfiguration(EncryptionKeyConfigurationT &&value)
AWS_MEDIACONNECT_API MediaLiveTransitEncryption & operator=(Aws::Utils::Json::JsonView jsonValue)
const MediaLiveTransitEncryptionKeyConfiguration & GetEncryptionKeyConfiguration() const
MediaLiveTransitEncryption & WithEncryptionKeyType(MediaLiveTransitEncryptionKeyType value)
void SetEncryptionKeyConfiguration(EncryptionKeyConfigurationT &&value)
MediaLiveTransitEncryptionKeyType GetEncryptionKeyType() const
Aws::Utils::Json::JsonValue JsonValue