AWS SDK for C++

AWS SDK for C++ Version 1.11.924

Loading...
Searching...
No Matches
SecretsManagerEndpointEncryptionConfiguration.h
1
6#pragma once
7#include <aws/mediaconnect/MediaConnect_EXPORTS.h>
8#include <aws/mediaconnect/model/EndpointEncryptionSecretConfiguration.h>
9#include <aws/mediaconnect/model/EndpointEncryptionSecretType.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 SecretsManagerEndpointEncryptionConfiguration() = default;
34 AWS_MEDIACONNECT_API Aws::Utils::Json::JsonValue Jsonize() const;
35
37
45 inline EndpointEncryptionSecretType GetEncryptionSecretType() const { return m_encryptionSecretType; }
46 inline bool EncryptionSecretTypeHasBeenSet() const { return m_encryptionSecretTypeHasBeenSet; }
48 m_encryptionSecretTypeHasBeenSet = true;
49 m_encryptionSecretType = value;
50 }
56
58
62 inline const EndpointEncryptionSecretConfiguration& GetEncryptionSecret() const { return m_encryptionSecret; }
63 inline bool EncryptionSecretHasBeenSet() const { return m_encryptionSecretHasBeenSet; }
64 template <typename EncryptionSecretT = EndpointEncryptionSecretConfiguration>
65 void SetEncryptionSecret(EncryptionSecretT&& value) {
66 m_encryptionSecretHasBeenSet = true;
67 m_encryptionSecret = std::forward<EncryptionSecretT>(value);
68 }
69 template <typename EncryptionSecretT = EndpointEncryptionSecretConfiguration>
71 SetEncryptionSecret(std::forward<EncryptionSecretT>(value));
72 return *this;
73 }
75 private:
77
78 EndpointEncryptionSecretConfiguration m_encryptionSecret;
79 bool m_encryptionSecretTypeHasBeenSet = false;
80 bool m_encryptionSecretHasBeenSet = false;
81};
82
83} // namespace Model
84} // namespace MediaConnect
85} // namespace Aws
SecretsManagerEndpointEncryptionConfiguration & WithEncryptionSecretType(EndpointEncryptionSecretType value)
AWS_MEDIACONNECT_API SecretsManagerEndpointEncryptionConfiguration & operator=(Aws::Utils::Json::JsonView jsonValue)
AWS_MEDIACONNECT_API SecretsManagerEndpointEncryptionConfiguration(Aws::Utils::Json::JsonView jsonValue)
AWS_MEDIACONNECT_API Aws::Utils::Json::JsonValue Jsonize() const
SecretsManagerEndpointEncryptionConfiguration & WithEncryptionSecret(EncryptionSecretT &&value)
Aws::Utils::Json::JsonValue JsonValue