AWS SDK for C++

AWS SDK for C++ Version 1.11.744

Loading...
Searching...
No Matches
FlowTransitEncryptionKeyConfiguration.h
1
6#pragma once
7#include <aws/mediaconnect/MediaConnect_EXPORTS.h>
8#include <aws/mediaconnect/model/AutomaticEncryptionKeyConfiguration.h>
9#include <aws/mediaconnect/model/SecretsManagerEncryptionKeyConfiguration.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 FlowTransitEncryptionKeyConfiguration() = default;
34 AWS_MEDIACONNECT_API Aws::Utils::Json::JsonValue Jsonize() const;
35
37
38 inline const SecretsManagerEncryptionKeyConfiguration& GetSecretsManager() const { return m_secretsManager; }
39 inline bool SecretsManagerHasBeenSet() const { return m_secretsManagerHasBeenSet; }
40 template <typename SecretsManagerT = SecretsManagerEncryptionKeyConfiguration>
41 void SetSecretsManager(SecretsManagerT&& value) {
42 m_secretsManagerHasBeenSet = true;
43 m_secretsManager = std::forward<SecretsManagerT>(value);
44 }
45 template <typename SecretsManagerT = SecretsManagerEncryptionKeyConfiguration>
47 SetSecretsManager(std::forward<SecretsManagerT>(value));
48 return *this;
49 }
51
53
54 inline const AutomaticEncryptionKeyConfiguration& GetAutomatic() const { return m_automatic; }
55 inline bool AutomaticHasBeenSet() const { return m_automaticHasBeenSet; }
56 template <typename AutomaticT = AutomaticEncryptionKeyConfiguration>
57 void SetAutomatic(AutomaticT&& value) {
58 m_automaticHasBeenSet = true;
59 m_automatic = std::forward<AutomaticT>(value);
60 }
61 template <typename AutomaticT = AutomaticEncryptionKeyConfiguration>
63 SetAutomatic(std::forward<AutomaticT>(value));
64 return *this;
65 }
67 private:
69
71 bool m_secretsManagerHasBeenSet = false;
72 bool m_automaticHasBeenSet = false;
73};
74
75} // namespace Model
76} // namespace MediaConnect
77} // namespace Aws
FlowTransitEncryptionKeyConfiguration & WithAutomatic(AutomaticT &&value)
AWS_MEDIACONNECT_API FlowTransitEncryptionKeyConfiguration()=default
FlowTransitEncryptionKeyConfiguration & WithSecretsManager(SecretsManagerT &&value)
const SecretsManagerEncryptionKeyConfiguration & GetSecretsManager() const
AWS_MEDIACONNECT_API FlowTransitEncryptionKeyConfiguration & operator=(Aws::Utils::Json::JsonView jsonValue)
AWS_MEDIACONNECT_API FlowTransitEncryptionKeyConfiguration(Aws::Utils::Json::JsonView jsonValue)
AWS_MEDIACONNECT_API Aws::Utils::Json::JsonValue Jsonize() const
Aws::Utils::Json::JsonValue JsonValue