AWS SDK for C++

AWS SDK for C++ Version 1.11.924

Loading...
Searching...
No Matches
EndpointEncryptionConfiguration.h
1
6#pragma once
7#include <aws/mediaconnect/MediaConnect_EXPORTS.h>
8#include <aws/mediaconnect/model/AutomaticEndpointEncryptionConfiguration.h>
9#include <aws/mediaconnect/model/SecretsManagerEndpointEncryptionConfiguration.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
33 public:
34 AWS_MEDIACONNECT_API EndpointEncryptionConfiguration() = default;
37 AWS_MEDIACONNECT_API Aws::Utils::Json::JsonValue Jsonize() const;
38
40
44 inline const SecretsManagerEndpointEncryptionConfiguration& GetSecretsManager() const { return m_secretsManager; }
45 inline bool SecretsManagerHasBeenSet() const { return m_secretsManagerHasBeenSet; }
46 template <typename SecretsManagerT = SecretsManagerEndpointEncryptionConfiguration>
47 void SetSecretsManager(SecretsManagerT&& value) {
48 m_secretsManagerHasBeenSet = true;
49 m_secretsManager = std::forward<SecretsManagerT>(value);
50 }
51 template <typename SecretsManagerT = SecretsManagerEndpointEncryptionConfiguration>
53 SetSecretsManager(std::forward<SecretsManagerT>(value));
54 return *this;
55 }
57
59
63 inline const AutomaticEndpointEncryptionConfiguration& GetAutomatic() const { return m_automatic; }
64 inline bool AutomaticHasBeenSet() const { return m_automaticHasBeenSet; }
65 template <typename AutomaticT = AutomaticEndpointEncryptionConfiguration>
66 void SetAutomatic(AutomaticT&& value) {
67 m_automaticHasBeenSet = true;
68 m_automatic = std::forward<AutomaticT>(value);
69 }
70 template <typename AutomaticT = AutomaticEndpointEncryptionConfiguration>
72 SetAutomatic(std::forward<AutomaticT>(value));
73 return *this;
74 }
76 private:
78
80 bool m_secretsManagerHasBeenSet = false;
81 bool m_automaticHasBeenSet = false;
82};
83
84} // namespace Model
85} // namespace MediaConnect
86} // namespace Aws
AWS_MEDIACONNECT_API EndpointEncryptionConfiguration()=default
AWS_MEDIACONNECT_API Aws::Utils::Json::JsonValue Jsonize() const
const SecretsManagerEndpointEncryptionConfiguration & GetSecretsManager() const
EndpointEncryptionConfiguration & WithSecretsManager(SecretsManagerT &&value)
AWS_MEDIACONNECT_API EndpointEncryptionConfiguration(Aws::Utils::Json::JsonView jsonValue)
const AutomaticEndpointEncryptionConfiguration & GetAutomatic() const
AWS_MEDIACONNECT_API EndpointEncryptionConfiguration & operator=(Aws::Utils::Json::JsonView jsonValue)
EndpointEncryptionConfiguration & WithAutomatic(AutomaticT &&value)
Aws::Utils::Json::JsonValue JsonValue