AWS SDK for C++

AWS SDK for C++ Version 1.11.907

Loading...
Searching...
No Matches
TlsEncryption.h
1
6#pragma once
7#include <aws/mediaconnect/MediaConnect_EXPORTS.h>
8#include <aws/mediaconnect/model/TlsEncryptionConfiguration.h>
9#include <aws/mediaconnect/model/TlsEncryptionType.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
30 public:
31 AWS_MEDIACONNECT_API TlsEncryption() = default;
32 AWS_MEDIACONNECT_API TlsEncryption(Aws::Utils::Json::JsonView jsonValue);
33 AWS_MEDIACONNECT_API TlsEncryption& operator=(Aws::Utils::Json::JsonView jsonValue);
34 AWS_MEDIACONNECT_API Aws::Utils::Json::JsonValue Jsonize() const;
35
37
40 inline TlsEncryptionType GetEncryptionType() const { return m_encryptionType; }
41 inline bool EncryptionTypeHasBeenSet() const { return m_encryptionTypeHasBeenSet; }
43 m_encryptionTypeHasBeenSet = true;
44 m_encryptionType = value;
45 }
47 SetEncryptionType(value);
48 return *this;
49 }
51
53
56 inline const TlsEncryptionConfiguration& GetEncryptionConfiguration() const { return m_encryptionConfiguration; }
57 inline bool EncryptionConfigurationHasBeenSet() const { return m_encryptionConfigurationHasBeenSet; }
58 template <typename EncryptionConfigurationT = TlsEncryptionConfiguration>
59 void SetEncryptionConfiguration(EncryptionConfigurationT&& value) {
60 m_encryptionConfigurationHasBeenSet = true;
61 m_encryptionConfiguration = std::forward<EncryptionConfigurationT>(value);
62 }
63 template <typename EncryptionConfigurationT = TlsEncryptionConfiguration>
64 TlsEncryption& WithEncryptionConfiguration(EncryptionConfigurationT&& value) {
65 SetEncryptionConfiguration(std::forward<EncryptionConfigurationT>(value));
66 return *this;
67 }
69 private:
71
72 TlsEncryptionConfiguration m_encryptionConfiguration;
73 bool m_encryptionTypeHasBeenSet = false;
74 bool m_encryptionConfigurationHasBeenSet = false;
75};
76
77} // namespace Model
78} // namespace MediaConnect
79} // namespace Aws
TlsEncryption & WithEncryptionType(TlsEncryptionType value)
AWS_MEDIACONNECT_API TlsEncryption & operator=(Aws::Utils::Json::JsonView jsonValue)
AWS_MEDIACONNECT_API TlsEncryption(Aws::Utils::Json::JsonView jsonValue)
void SetEncryptionConfiguration(EncryptionConfigurationT &&value)
TlsEncryption & WithEncryptionConfiguration(EncryptionConfigurationT &&value)
const TlsEncryptionConfiguration & GetEncryptionConfiguration() const
AWS_MEDIACONNECT_API TlsEncryption()=default
void SetEncryptionType(TlsEncryptionType value)
AWS_MEDIACONNECT_API Aws::Utils::Json::JsonValue Jsonize() const
TlsEncryptionType GetEncryptionType() const
Aws::Utils::Json::JsonValue JsonValue