AWS SDK for C++

AWS SDK for C++ Version 1.11.612

Loading...
Searching...
No Matches
DataSecurityConfig.h
1
6#pragma once
7#include <aws/comprehend/Comprehend_EXPORTS.h>
8#include <aws/core/utils/memory/stl/AWSString.h>
9#include <aws/comprehend/model/VpcConfig.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 Comprehend
23{
24namespace Model
25{
26
33 {
34 public:
35 AWS_COMPREHEND_API DataSecurityConfig() = default;
36 AWS_COMPREHEND_API DataSecurityConfig(Aws::Utils::Json::JsonView jsonValue);
38 AWS_COMPREHEND_API Aws::Utils::Json::JsonValue Jsonize() const;
39
40
42
50 inline const Aws::String& GetModelKmsKeyId() const { return m_modelKmsKeyId; }
51 inline bool ModelKmsKeyIdHasBeenSet() const { return m_modelKmsKeyIdHasBeenSet; }
52 template<typename ModelKmsKeyIdT = Aws::String>
53 void SetModelKmsKeyId(ModelKmsKeyIdT&& value) { m_modelKmsKeyIdHasBeenSet = true; m_modelKmsKeyId = std::forward<ModelKmsKeyIdT>(value); }
54 template<typename ModelKmsKeyIdT = Aws::String>
55 DataSecurityConfig& WithModelKmsKeyId(ModelKmsKeyIdT&& value) { SetModelKmsKeyId(std::forward<ModelKmsKeyIdT>(value)); return *this;}
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) { m_volumeKmsKeyIdHasBeenSet = true; m_volumeKmsKeyId = std::forward<VolumeKmsKeyIdT>(value); }
66 template<typename VolumeKmsKeyIdT = Aws::String>
67 DataSecurityConfig& WithVolumeKmsKeyId(VolumeKmsKeyIdT&& value) { SetVolumeKmsKeyId(std::forward<VolumeKmsKeyIdT>(value)); return *this;}
69
71
75 inline const Aws::String& GetDataLakeKmsKeyId() const { return m_dataLakeKmsKeyId; }
76 inline bool DataLakeKmsKeyIdHasBeenSet() const { return m_dataLakeKmsKeyIdHasBeenSet; }
77 template<typename DataLakeKmsKeyIdT = Aws::String>
78 void SetDataLakeKmsKeyId(DataLakeKmsKeyIdT&& value) { m_dataLakeKmsKeyIdHasBeenSet = true; m_dataLakeKmsKeyId = std::forward<DataLakeKmsKeyIdT>(value); }
79 template<typename DataLakeKmsKeyIdT = Aws::String>
80 DataSecurityConfig& WithDataLakeKmsKeyId(DataLakeKmsKeyIdT&& value) { SetDataLakeKmsKeyId(std::forward<DataLakeKmsKeyIdT>(value)); return *this;}
82
84
85 inline const VpcConfig& GetVpcConfig() const { return m_vpcConfig; }
86 inline bool VpcConfigHasBeenSet() const { return m_vpcConfigHasBeenSet; }
87 template<typename VpcConfigT = VpcConfig>
88 void SetVpcConfig(VpcConfigT&& value) { m_vpcConfigHasBeenSet = true; m_vpcConfig = std::forward<VpcConfigT>(value); }
89 template<typename VpcConfigT = VpcConfig>
90 DataSecurityConfig& WithVpcConfig(VpcConfigT&& value) { SetVpcConfig(std::forward<VpcConfigT>(value)); return *this;}
92 private:
93
94 Aws::String m_modelKmsKeyId;
95 bool m_modelKmsKeyIdHasBeenSet = false;
96
97 Aws::String m_volumeKmsKeyId;
98 bool m_volumeKmsKeyIdHasBeenSet = false;
99
100 Aws::String m_dataLakeKmsKeyId;
101 bool m_dataLakeKmsKeyIdHasBeenSet = false;
102
103 VpcConfig m_vpcConfig;
104 bool m_vpcConfigHasBeenSet = false;
105 };
106
107} // namespace Model
108} // namespace Comprehend
109} // 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