AWS SDK for C++

AWS SDK for C++ Version 1.11.612

Loading...
Searching...
No Matches
EncryptionConfiguration.h
1
6#pragma once
7#include <aws/glue/Glue_EXPORTS.h>
8#include <aws/core/utils/memory/stl/AWSVector.h>
9#include <aws/glue/model/CloudWatchEncryption.h>
10#include <aws/glue/model/JobBookmarksEncryption.h>
11#include <aws/glue/model/DataQualityEncryption.h>
12#include <aws/glue/model/S3Encryption.h>
13#include <utility>
14
15namespace Aws
16{
17namespace Utils
18{
19namespace Json
20{
21 class JsonValue;
22 class JsonView;
23} // namespace Json
24} // namespace Utils
25namespace Glue
26{
27namespace Model
28{
29
36 {
37 public:
38 AWS_GLUE_API EncryptionConfiguration() = default;
42
43
45
49 inline const Aws::Vector<S3Encryption>& GetS3Encryption() const { return m_s3Encryption; }
50 inline bool S3EncryptionHasBeenSet() const { return m_s3EncryptionHasBeenSet; }
51 template<typename S3EncryptionT = Aws::Vector<S3Encryption>>
52 void SetS3Encryption(S3EncryptionT&& value) { m_s3EncryptionHasBeenSet = true; m_s3Encryption = std::forward<S3EncryptionT>(value); }
53 template<typename S3EncryptionT = Aws::Vector<S3Encryption>>
54 EncryptionConfiguration& WithS3Encryption(S3EncryptionT&& value) { SetS3Encryption(std::forward<S3EncryptionT>(value)); return *this;}
55 template<typename S3EncryptionT = S3Encryption>
56 EncryptionConfiguration& AddS3Encryption(S3EncryptionT&& value) { m_s3EncryptionHasBeenSet = true; m_s3Encryption.emplace_back(std::forward<S3EncryptionT>(value)); return *this; }
58
60
63 inline const CloudWatchEncryption& GetCloudWatchEncryption() const { return m_cloudWatchEncryption; }
64 inline bool CloudWatchEncryptionHasBeenSet() const { return m_cloudWatchEncryptionHasBeenSet; }
65 template<typename CloudWatchEncryptionT = CloudWatchEncryption>
66 void SetCloudWatchEncryption(CloudWatchEncryptionT&& value) { m_cloudWatchEncryptionHasBeenSet = true; m_cloudWatchEncryption = std::forward<CloudWatchEncryptionT>(value); }
67 template<typename CloudWatchEncryptionT = CloudWatchEncryption>
68 EncryptionConfiguration& WithCloudWatchEncryption(CloudWatchEncryptionT&& value) { SetCloudWatchEncryption(std::forward<CloudWatchEncryptionT>(value)); return *this;}
70
72
75 inline const JobBookmarksEncryption& GetJobBookmarksEncryption() const { return m_jobBookmarksEncryption; }
76 inline bool JobBookmarksEncryptionHasBeenSet() const { return m_jobBookmarksEncryptionHasBeenSet; }
77 template<typename JobBookmarksEncryptionT = JobBookmarksEncryption>
78 void SetJobBookmarksEncryption(JobBookmarksEncryptionT&& value) { m_jobBookmarksEncryptionHasBeenSet = true; m_jobBookmarksEncryption = std::forward<JobBookmarksEncryptionT>(value); }
79 template<typename JobBookmarksEncryptionT = JobBookmarksEncryption>
80 EncryptionConfiguration& WithJobBookmarksEncryption(JobBookmarksEncryptionT&& value) { SetJobBookmarksEncryption(std::forward<JobBookmarksEncryptionT>(value)); return *this;}
82
84
87 inline const DataQualityEncryption& GetDataQualityEncryption() const { return m_dataQualityEncryption; }
88 inline bool DataQualityEncryptionHasBeenSet() const { return m_dataQualityEncryptionHasBeenSet; }
89 template<typename DataQualityEncryptionT = DataQualityEncryption>
90 void SetDataQualityEncryption(DataQualityEncryptionT&& value) { m_dataQualityEncryptionHasBeenSet = true; m_dataQualityEncryption = std::forward<DataQualityEncryptionT>(value); }
91 template<typename DataQualityEncryptionT = DataQualityEncryption>
92 EncryptionConfiguration& WithDataQualityEncryption(DataQualityEncryptionT&& value) { SetDataQualityEncryption(std::forward<DataQualityEncryptionT>(value)); return *this;}
94 private:
95
96 Aws::Vector<S3Encryption> m_s3Encryption;
97 bool m_s3EncryptionHasBeenSet = false;
98
99 CloudWatchEncryption m_cloudWatchEncryption;
100 bool m_cloudWatchEncryptionHasBeenSet = false;
101
102 JobBookmarksEncryption m_jobBookmarksEncryption;
103 bool m_jobBookmarksEncryptionHasBeenSet = false;
104
105 DataQualityEncryption m_dataQualityEncryption;
106 bool m_dataQualityEncryptionHasBeenSet = false;
107 };
108
109} // namespace Model
110} // namespace Glue
111} // 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