AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
EncryptionConfiguration.h
1
6#pragma once
7#include <aws/firehose/Firehose_EXPORTS.h>
8#include <aws/firehose/model/NoEncryptionConfig.h>
9#include <aws/firehose/model/KMSEncryptionConfig.h>
10#include <utility>
11
12namespace Aws
13{
14namespace Utils
15{
16namespace Json
17{
18 class JsonValue;
19 class JsonView;
20} // namespace Json
21} // namespace Utils
22namespace Firehose
23{
24namespace Model
25{
26
34 {
35 public:
36 AWS_FIREHOSE_API EncryptionConfiguration();
39 AWS_FIREHOSE_API Aws::Utils::Json::JsonValue Jsonize() const;
40
41
43
47 inline const NoEncryptionConfig& GetNoEncryptionConfig() const{ return m_noEncryptionConfig; }
48 inline bool NoEncryptionConfigHasBeenSet() const { return m_noEncryptionConfigHasBeenSet; }
49 inline void SetNoEncryptionConfig(const NoEncryptionConfig& value) { m_noEncryptionConfigHasBeenSet = true; m_noEncryptionConfig = value; }
50 inline void SetNoEncryptionConfig(NoEncryptionConfig&& value) { m_noEncryptionConfigHasBeenSet = true; m_noEncryptionConfig = std::move(value); }
54
56
59 inline const KMSEncryptionConfig& GetKMSEncryptionConfig() const{ return m_kMSEncryptionConfig; }
60 inline bool KMSEncryptionConfigHasBeenSet() const { return m_kMSEncryptionConfigHasBeenSet; }
61 inline void SetKMSEncryptionConfig(const KMSEncryptionConfig& value) { m_kMSEncryptionConfigHasBeenSet = true; m_kMSEncryptionConfig = value; }
62 inline void SetKMSEncryptionConfig(KMSEncryptionConfig&& value) { m_kMSEncryptionConfigHasBeenSet = true; m_kMSEncryptionConfig = std::move(value); }
66 private:
67
68 NoEncryptionConfig m_noEncryptionConfig;
69 bool m_noEncryptionConfigHasBeenSet = false;
70
71 KMSEncryptionConfig m_kMSEncryptionConfig;
72 bool m_kMSEncryptionConfigHasBeenSet = false;
73 };
74
75} // namespace Model
76} // namespace Firehose
77} // namespace Aws
void SetKMSEncryptionConfig(const KMSEncryptionConfig &value)
EncryptionConfiguration & WithKMSEncryptionConfig(KMSEncryptionConfig &&value)
const NoEncryptionConfig & GetNoEncryptionConfig() const
AWS_FIREHOSE_API EncryptionConfiguration & operator=(Aws::Utils::Json::JsonView jsonValue)
AWS_FIREHOSE_API EncryptionConfiguration(Aws::Utils::Json::JsonView jsonValue)
AWS_FIREHOSE_API Aws::Utils::Json::JsonValue Jsonize() const
EncryptionConfiguration & WithKMSEncryptionConfig(const KMSEncryptionConfig &value)
EncryptionConfiguration & WithNoEncryptionConfig(const NoEncryptionConfig &value)
void SetKMSEncryptionConfig(KMSEncryptionConfig &&value)
const KMSEncryptionConfig & GetKMSEncryptionConfig() const
void SetNoEncryptionConfig(const NoEncryptionConfig &value)
EncryptionConfiguration & WithNoEncryptionConfig(NoEncryptionConfig &&value)
void SetNoEncryptionConfig(NoEncryptionConfig &&value)
Aws::Utils::Json::JsonValue JsonValue