AWS SDK for C++

AWS SDK for C++ Version 1.11.717

Loading...
Searching...
No Matches
EncryptionConfiguration.h
1
6#pragma once
7#include <aws/core/utils/memory/stl/AWSVector.h>
8#include <aws/glue/Glue_EXPORTS.h>
9#include <aws/glue/model/CloudWatchEncryption.h>
10#include <aws/glue/model/DataQualityEncryption.h>
11#include <aws/glue/model/JobBookmarksEncryption.h>
12#include <aws/glue/model/S3Encryption.h>
13
14#include <utility>
15
16namespace Aws {
17namespace Utils {
18namespace Json {
19class JsonValue;
20class JsonView;
21} // namespace Json
22} // namespace Utils
23namespace Glue {
24namespace Model {
25
32 public:
33 AWS_GLUE_API EncryptionConfiguration() = default;
37
39
43 inline const Aws::Vector<S3Encryption>& GetS3Encryption() const { return m_s3Encryption; }
44 inline bool S3EncryptionHasBeenSet() const { return m_s3EncryptionHasBeenSet; }
45 template <typename S3EncryptionT = Aws::Vector<S3Encryption>>
46 void SetS3Encryption(S3EncryptionT&& value) {
47 m_s3EncryptionHasBeenSet = true;
48 m_s3Encryption = std::forward<S3EncryptionT>(value);
49 }
50 template <typename S3EncryptionT = Aws::Vector<S3Encryption>>
51 EncryptionConfiguration& WithS3Encryption(S3EncryptionT&& value) {
52 SetS3Encryption(std::forward<S3EncryptionT>(value));
53 return *this;
54 }
55 template <typename S3EncryptionT = S3Encryption>
56 EncryptionConfiguration& AddS3Encryption(S3EncryptionT&& value) {
57 m_s3EncryptionHasBeenSet = true;
58 m_s3Encryption.emplace_back(std::forward<S3EncryptionT>(value));
59 return *this;
60 }
62
64
67 inline const CloudWatchEncryption& GetCloudWatchEncryption() const { return m_cloudWatchEncryption; }
68 inline bool CloudWatchEncryptionHasBeenSet() const { return m_cloudWatchEncryptionHasBeenSet; }
69 template <typename CloudWatchEncryptionT = CloudWatchEncryption>
70 void SetCloudWatchEncryption(CloudWatchEncryptionT&& value) {
71 m_cloudWatchEncryptionHasBeenSet = true;
72 m_cloudWatchEncryption = std::forward<CloudWatchEncryptionT>(value);
73 }
74 template <typename CloudWatchEncryptionT = CloudWatchEncryption>
75 EncryptionConfiguration& WithCloudWatchEncryption(CloudWatchEncryptionT&& value) {
76 SetCloudWatchEncryption(std::forward<CloudWatchEncryptionT>(value));
77 return *this;
78 }
80
82
85 inline const JobBookmarksEncryption& GetJobBookmarksEncryption() const { return m_jobBookmarksEncryption; }
86 inline bool JobBookmarksEncryptionHasBeenSet() const { return m_jobBookmarksEncryptionHasBeenSet; }
87 template <typename JobBookmarksEncryptionT = JobBookmarksEncryption>
88 void SetJobBookmarksEncryption(JobBookmarksEncryptionT&& value) {
89 m_jobBookmarksEncryptionHasBeenSet = true;
90 m_jobBookmarksEncryption = std::forward<JobBookmarksEncryptionT>(value);
91 }
92 template <typename JobBookmarksEncryptionT = JobBookmarksEncryption>
93 EncryptionConfiguration& WithJobBookmarksEncryption(JobBookmarksEncryptionT&& value) {
94 SetJobBookmarksEncryption(std::forward<JobBookmarksEncryptionT>(value));
95 return *this;
96 }
98
100
103 inline const DataQualityEncryption& GetDataQualityEncryption() const { return m_dataQualityEncryption; }
104 inline bool DataQualityEncryptionHasBeenSet() const { return m_dataQualityEncryptionHasBeenSet; }
105 template <typename DataQualityEncryptionT = DataQualityEncryption>
106 void SetDataQualityEncryption(DataQualityEncryptionT&& value) {
107 m_dataQualityEncryptionHasBeenSet = true;
108 m_dataQualityEncryption = std::forward<DataQualityEncryptionT>(value);
109 }
110 template <typename DataQualityEncryptionT = DataQualityEncryption>
111 EncryptionConfiguration& WithDataQualityEncryption(DataQualityEncryptionT&& value) {
112 SetDataQualityEncryption(std::forward<DataQualityEncryptionT>(value));
113 return *this;
114 }
116 private:
117 Aws::Vector<S3Encryption> m_s3Encryption;
118
119 CloudWatchEncryption m_cloudWatchEncryption;
120
121 JobBookmarksEncryption m_jobBookmarksEncryption;
122
123 DataQualityEncryption m_dataQualityEncryption;
124 bool m_s3EncryptionHasBeenSet = false;
125 bool m_cloudWatchEncryptionHasBeenSet = false;
126 bool m_jobBookmarksEncryptionHasBeenSet = false;
127 bool m_dataQualityEncryptionHasBeenSet = false;
128};
129
130} // namespace Model
131} // namespace Glue
132} // namespace Aws
EncryptionConfiguration & WithCloudWatchEncryption(CloudWatchEncryptionT &&value)
void SetDataQualityEncryption(DataQualityEncryptionT &&value)
const DataQualityEncryption & GetDataQualityEncryption() const
EncryptionConfiguration & WithDataQualityEncryption(DataQualityEncryptionT &&value)
EncryptionConfiguration & WithJobBookmarksEncryption(JobBookmarksEncryptionT &&value)
void SetJobBookmarksEncryption(JobBookmarksEncryptionT &&value)
AWS_GLUE_API EncryptionConfiguration(Aws::Utils::Json::JsonView jsonValue)
AWS_GLUE_API EncryptionConfiguration & operator=(Aws::Utils::Json::JsonView jsonValue)
EncryptionConfiguration & WithS3Encryption(S3EncryptionT &&value)
AWS_GLUE_API Aws::Utils::Json::JsonValue Jsonize() const
void SetCloudWatchEncryption(CloudWatchEncryptionT &&value)
AWS_GLUE_API EncryptionConfiguration()=default
const CloudWatchEncryption & GetCloudWatchEncryption() const
EncryptionConfiguration & AddS3Encryption(S3EncryptionT &&value)
const JobBookmarksEncryption & GetJobBookmarksEncryption() const
const Aws::Vector< S3Encryption > & GetS3Encryption() const
std::vector< T, Aws::Allocator< T > > Vector
Aws::Utils::Json::JsonValue JsonValue