AWS SDK for C++

AWS SDK for C++ Version 1.11.743

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