AWS SDK for C++

AWS SDK for C++ Version 1.11.751

Loading...
Searching...
No Matches
RouterInputTransitEncryption.h
1
6#pragma once
7#include <aws/mediaconnect/MediaConnect_EXPORTS.h>
8#include <aws/mediaconnect/model/RouterInputTransitEncryptionKeyConfiguration.h>
9#include <aws/mediaconnect/model/RouterInputTransitEncryptionKeyType.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 RouterInputTransitEncryption() = default;
34 AWS_MEDIACONNECT_API Aws::Utils::Json::JsonValue Jsonize() const;
35
37
40 inline RouterInputTransitEncryptionKeyType GetEncryptionKeyType() const { return m_encryptionKeyType; }
41 inline bool EncryptionKeyTypeHasBeenSet() const { return m_encryptionKeyTypeHasBeenSet; }
43 m_encryptionKeyTypeHasBeenSet = true;
44 m_encryptionKeyType = value;
45 }
48 return *this;
49 }
51
53
57 inline const RouterInputTransitEncryptionKeyConfiguration& GetEncryptionKeyConfiguration() const { return m_encryptionKeyConfiguration; }
58 inline bool EncryptionKeyConfigurationHasBeenSet() const { return m_encryptionKeyConfigurationHasBeenSet; }
59 template <typename EncryptionKeyConfigurationT = RouterInputTransitEncryptionKeyConfiguration>
60 void SetEncryptionKeyConfiguration(EncryptionKeyConfigurationT&& value) {
61 m_encryptionKeyConfigurationHasBeenSet = true;
62 m_encryptionKeyConfiguration = std::forward<EncryptionKeyConfigurationT>(value);
63 }
64 template <typename EncryptionKeyConfigurationT = RouterInputTransitEncryptionKeyConfiguration>
65 RouterInputTransitEncryption& WithEncryptionKeyConfiguration(EncryptionKeyConfigurationT&& value) {
66 SetEncryptionKeyConfiguration(std::forward<EncryptionKeyConfigurationT>(value));
67 return *this;
68 }
70 private:
72
73 RouterInputTransitEncryptionKeyConfiguration m_encryptionKeyConfiguration;
74 bool m_encryptionKeyTypeHasBeenSet = false;
75 bool m_encryptionKeyConfigurationHasBeenSet = false;
76};
77
78} // namespace Model
79} // namespace MediaConnect
80} // namespace Aws
RouterInputTransitEncryptionKeyType GetEncryptionKeyType() const
AWS_MEDIACONNECT_API Aws::Utils::Json::JsonValue Jsonize() const
AWS_MEDIACONNECT_API RouterInputTransitEncryption(Aws::Utils::Json::JsonView jsonValue)
RouterInputTransitEncryption & WithEncryptionKeyConfiguration(EncryptionKeyConfigurationT &&value)
AWS_MEDIACONNECT_API RouterInputTransitEncryption & operator=(Aws::Utils::Json::JsonView jsonValue)
const RouterInputTransitEncryptionKeyConfiguration & GetEncryptionKeyConfiguration() const
void SetEncryptionKeyConfiguration(EncryptionKeyConfigurationT &&value)
AWS_MEDIACONNECT_API RouterInputTransitEncryption()=default
RouterInputTransitEncryption & WithEncryptionKeyType(RouterInputTransitEncryptionKeyType value)
void SetEncryptionKeyType(RouterInputTransitEncryptionKeyType value)
Aws::Utils::Json::JsonValue JsonValue