AWS SDK for C++

AWS SDK for C++ Version 1.11.745

Loading...
Searching...
No Matches
DataSecurityConfig.h
1
6#pragma once
7#include <aws/comprehend/Comprehend_EXPORTS.h>
8#include <aws/comprehend/model/VpcConfig.h>
9#include <aws/core/utils/memory/stl/AWSString.h>
10
11#include <utility>
12
13namespace Aws {
14namespace Utils {
15namespace Json {
16class JsonValue;
17class JsonView;
18} // namespace Json
19} // namespace Utils
20namespace Comprehend {
21namespace Model {
22
29 public:
30 AWS_COMPREHEND_API DataSecurityConfig() = default;
31 AWS_COMPREHEND_API DataSecurityConfig(Aws::Utils::Json::JsonView jsonValue);
33 AWS_COMPREHEND_API Aws::Utils::Json::JsonValue Jsonize() const;
34
36
44 inline const Aws::String& GetModelKmsKeyId() const { return m_modelKmsKeyId; }
45 inline bool ModelKmsKeyIdHasBeenSet() const { return m_modelKmsKeyIdHasBeenSet; }
46 template <typename ModelKmsKeyIdT = Aws::String>
47 void SetModelKmsKeyId(ModelKmsKeyIdT&& value) {
48 m_modelKmsKeyIdHasBeenSet = true;
49 m_modelKmsKeyId = std::forward<ModelKmsKeyIdT>(value);
50 }
51 template <typename ModelKmsKeyIdT = Aws::String>
52 DataSecurityConfig& WithModelKmsKeyId(ModelKmsKeyIdT&& value) {
53 SetModelKmsKeyId(std::forward<ModelKmsKeyIdT>(value));
54 return *this;
55 }
57
59
62 inline const Aws::String& GetVolumeKmsKeyId() const { return m_volumeKmsKeyId; }
63 inline bool VolumeKmsKeyIdHasBeenSet() const { return m_volumeKmsKeyIdHasBeenSet; }
64 template <typename VolumeKmsKeyIdT = Aws::String>
65 void SetVolumeKmsKeyId(VolumeKmsKeyIdT&& value) {
66 m_volumeKmsKeyIdHasBeenSet = true;
67 m_volumeKmsKeyId = std::forward<VolumeKmsKeyIdT>(value);
68 }
69 template <typename VolumeKmsKeyIdT = Aws::String>
70 DataSecurityConfig& WithVolumeKmsKeyId(VolumeKmsKeyIdT&& value) {
71 SetVolumeKmsKeyId(std::forward<VolumeKmsKeyIdT>(value));
72 return *this;
73 }
75
77
81 inline const Aws::String& GetDataLakeKmsKeyId() const { return m_dataLakeKmsKeyId; }
82 inline bool DataLakeKmsKeyIdHasBeenSet() const { return m_dataLakeKmsKeyIdHasBeenSet; }
83 template <typename DataLakeKmsKeyIdT = Aws::String>
84 void SetDataLakeKmsKeyId(DataLakeKmsKeyIdT&& value) {
85 m_dataLakeKmsKeyIdHasBeenSet = true;
86 m_dataLakeKmsKeyId = std::forward<DataLakeKmsKeyIdT>(value);
87 }
88 template <typename DataLakeKmsKeyIdT = Aws::String>
89 DataSecurityConfig& WithDataLakeKmsKeyId(DataLakeKmsKeyIdT&& value) {
90 SetDataLakeKmsKeyId(std::forward<DataLakeKmsKeyIdT>(value));
91 return *this;
92 }
94
96
97 inline const VpcConfig& GetVpcConfig() const { return m_vpcConfig; }
98 inline bool VpcConfigHasBeenSet() const { return m_vpcConfigHasBeenSet; }
99 template <typename VpcConfigT = VpcConfig>
100 void SetVpcConfig(VpcConfigT&& value) {
101 m_vpcConfigHasBeenSet = true;
102 m_vpcConfig = std::forward<VpcConfigT>(value);
103 }
104 template <typename VpcConfigT = VpcConfig>
105 DataSecurityConfig& WithVpcConfig(VpcConfigT&& value) {
106 SetVpcConfig(std::forward<VpcConfigT>(value));
107 return *this;
108 }
110 private:
111 Aws::String m_modelKmsKeyId;
112
113 Aws::String m_volumeKmsKeyId;
114
115 Aws::String m_dataLakeKmsKeyId;
116
117 VpcConfig m_vpcConfig;
118 bool m_modelKmsKeyIdHasBeenSet = false;
119 bool m_volumeKmsKeyIdHasBeenSet = false;
120 bool m_dataLakeKmsKeyIdHasBeenSet = false;
121 bool m_vpcConfigHasBeenSet = false;
122};
123
124} // namespace Model
125} // namespace Comprehend
126} // namespace Aws
const Aws::String & GetDataLakeKmsKeyId() const
AWS_COMPREHEND_API DataSecurityConfig()=default
AWS_COMPREHEND_API DataSecurityConfig(Aws::Utils::Json::JsonView jsonValue)
DataSecurityConfig & WithModelKmsKeyId(ModelKmsKeyIdT &&value)
DataSecurityConfig & WithVpcConfig(VpcConfigT &&value)
void SetVolumeKmsKeyId(VolumeKmsKeyIdT &&value)
AWS_COMPREHEND_API DataSecurityConfig & operator=(Aws::Utils::Json::JsonView jsonValue)
const Aws::String & GetVolumeKmsKeyId() const
void SetDataLakeKmsKeyId(DataLakeKmsKeyIdT &&value)
AWS_COMPREHEND_API Aws::Utils::Json::JsonValue Jsonize() const
DataSecurityConfig & WithDataLakeKmsKeyId(DataLakeKmsKeyIdT &&value)
DataSecurityConfig & WithVolumeKmsKeyId(VolumeKmsKeyIdT &&value)
void SetModelKmsKeyId(ModelKmsKeyIdT &&value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue