AWS SDK for C++

AWS SDK for C++ Version 1.11.440

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();
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 inline void SetModelKmsKeyId(const Aws::String& value) { m_modelKmsKeyIdHasBeenSet = true; m_modelKmsKeyId = value; }
53 inline void SetModelKmsKeyId(Aws::String&& value) { m_modelKmsKeyIdHasBeenSet = true; m_modelKmsKeyId = std::move(value); }
54 inline void SetModelKmsKeyId(const char* value) { m_modelKmsKeyIdHasBeenSet = true; m_modelKmsKeyId.assign(value); }
55 inline DataSecurityConfig& WithModelKmsKeyId(const Aws::String& value) { SetModelKmsKeyId(value); return *this;}
56 inline DataSecurityConfig& WithModelKmsKeyId(Aws::String&& value) { SetModelKmsKeyId(std::move(value)); return *this;}
57 inline DataSecurityConfig& WithModelKmsKeyId(const char* value) { SetModelKmsKeyId(value); return *this;}
59
61
64 inline const Aws::String& GetVolumeKmsKeyId() const{ return m_volumeKmsKeyId; }
65 inline bool VolumeKmsKeyIdHasBeenSet() const { return m_volumeKmsKeyIdHasBeenSet; }
66 inline void SetVolumeKmsKeyId(const Aws::String& value) { m_volumeKmsKeyIdHasBeenSet = true; m_volumeKmsKeyId = value; }
67 inline void SetVolumeKmsKeyId(Aws::String&& value) { m_volumeKmsKeyIdHasBeenSet = true; m_volumeKmsKeyId = std::move(value); }
68 inline void SetVolumeKmsKeyId(const char* value) { m_volumeKmsKeyIdHasBeenSet = true; m_volumeKmsKeyId.assign(value); }
69 inline DataSecurityConfig& WithVolumeKmsKeyId(const Aws::String& value) { SetVolumeKmsKeyId(value); return *this;}
70 inline DataSecurityConfig& WithVolumeKmsKeyId(Aws::String&& value) { SetVolumeKmsKeyId(std::move(value)); return *this;}
71 inline DataSecurityConfig& WithVolumeKmsKeyId(const char* value) { SetVolumeKmsKeyId(value); return *this;}
73
75
79 inline const Aws::String& GetDataLakeKmsKeyId() const{ return m_dataLakeKmsKeyId; }
80 inline bool DataLakeKmsKeyIdHasBeenSet() const { return m_dataLakeKmsKeyIdHasBeenSet; }
81 inline void SetDataLakeKmsKeyId(const Aws::String& value) { m_dataLakeKmsKeyIdHasBeenSet = true; m_dataLakeKmsKeyId = value; }
82 inline void SetDataLakeKmsKeyId(Aws::String&& value) { m_dataLakeKmsKeyIdHasBeenSet = true; m_dataLakeKmsKeyId = std::move(value); }
83 inline void SetDataLakeKmsKeyId(const char* value) { m_dataLakeKmsKeyIdHasBeenSet = true; m_dataLakeKmsKeyId.assign(value); }
84 inline DataSecurityConfig& WithDataLakeKmsKeyId(const Aws::String& value) { SetDataLakeKmsKeyId(value); return *this;}
85 inline DataSecurityConfig& WithDataLakeKmsKeyId(Aws::String&& value) { SetDataLakeKmsKeyId(std::move(value)); return *this;}
86 inline DataSecurityConfig& WithDataLakeKmsKeyId(const char* value) { SetDataLakeKmsKeyId(value); return *this;}
88
90
91 inline const VpcConfig& GetVpcConfig() const{ return m_vpcConfig; }
92 inline bool VpcConfigHasBeenSet() const { return m_vpcConfigHasBeenSet; }
93 inline void SetVpcConfig(const VpcConfig& value) { m_vpcConfigHasBeenSet = true; m_vpcConfig = value; }
94 inline void SetVpcConfig(VpcConfig&& value) { m_vpcConfigHasBeenSet = true; m_vpcConfig = std::move(value); }
95 inline DataSecurityConfig& WithVpcConfig(const VpcConfig& value) { SetVpcConfig(value); return *this;}
96 inline DataSecurityConfig& WithVpcConfig(VpcConfig&& value) { SetVpcConfig(std::move(value)); return *this;}
98 private:
99
100 Aws::String m_modelKmsKeyId;
101 bool m_modelKmsKeyIdHasBeenSet = false;
102
103 Aws::String m_volumeKmsKeyId;
104 bool m_volumeKmsKeyIdHasBeenSet = false;
105
106 Aws::String m_dataLakeKmsKeyId;
107 bool m_dataLakeKmsKeyIdHasBeenSet = false;
108
109 VpcConfig m_vpcConfig;
110 bool m_vpcConfigHasBeenSet = false;
111 };
112
113} // namespace Model
114} // namespace Comprehend
115} // namespace Aws
const Aws::String & GetDataLakeKmsKeyId() const
AWS_COMPREHEND_API DataSecurityConfig(Aws::Utils::Json::JsonView jsonValue)
AWS_COMPREHEND_API DataSecurityConfig & operator=(Aws::Utils::Json::JsonView jsonValue)
DataSecurityConfig & WithDataLakeKmsKeyId(Aws::String &&value)
DataSecurityConfig & WithModelKmsKeyId(Aws::String &&value)
DataSecurityConfig & WithVolumeKmsKeyId(const char *value)
const Aws::String & GetVolumeKmsKeyId() const
void SetDataLakeKmsKeyId(const Aws::String &value)
DataSecurityConfig & WithModelKmsKeyId(const char *value)
DataSecurityConfig & WithModelKmsKeyId(const Aws::String &value)
AWS_COMPREHEND_API Aws::Utils::Json::JsonValue Jsonize() const
DataSecurityConfig & WithVolumeKmsKeyId(Aws::String &&value)
void SetVolumeKmsKeyId(const Aws::String &value)
void SetModelKmsKeyId(const Aws::String &value)
DataSecurityConfig & WithDataLakeKmsKeyId(const char *value)
DataSecurityConfig & WithVpcConfig(const VpcConfig &value)
DataSecurityConfig & WithDataLakeKmsKeyId(const Aws::String &value)
DataSecurityConfig & WithVpcConfig(VpcConfig &&value)
DataSecurityConfig & WithVolumeKmsKeyId(const Aws::String &value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue