AWS SDK for C++

AWS SDK for C++ Version 1.11.717

Loading...
Searching...
No Matches
UpdateDataSecurityConfig.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 UpdateDataSecurityConfig() = default;
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>
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 UpdateDataSecurityConfig& WithVolumeKmsKeyId(VolumeKmsKeyIdT&& value) {
71 SetVolumeKmsKeyId(std::forward<VolumeKmsKeyIdT>(value));
72 return *this;
73 }
75
77
78 inline const VpcConfig& GetVpcConfig() const { return m_vpcConfig; }
79 inline bool VpcConfigHasBeenSet() const { return m_vpcConfigHasBeenSet; }
80 template <typename VpcConfigT = VpcConfig>
81 void SetVpcConfig(VpcConfigT&& value) {
82 m_vpcConfigHasBeenSet = true;
83 m_vpcConfig = std::forward<VpcConfigT>(value);
84 }
85 template <typename VpcConfigT = VpcConfig>
87 SetVpcConfig(std::forward<VpcConfigT>(value));
88 return *this;
89 }
91 private:
92 Aws::String m_modelKmsKeyId;
93
94 Aws::String m_volumeKmsKeyId;
95
96 VpcConfig m_vpcConfig;
97 bool m_modelKmsKeyIdHasBeenSet = false;
98 bool m_volumeKmsKeyIdHasBeenSet = false;
99 bool m_vpcConfigHasBeenSet = false;
100};
101
102} // namespace Model
103} // namespace Comprehend
104} // namespace Aws
UpdateDataSecurityConfig & WithVolumeKmsKeyId(VolumeKmsKeyIdT &&value)
AWS_COMPREHEND_API UpdateDataSecurityConfig()=default
AWS_COMPREHEND_API UpdateDataSecurityConfig & operator=(Aws::Utils::Json::JsonView jsonValue)
UpdateDataSecurityConfig & WithModelKmsKeyId(ModelKmsKeyIdT &&value)
UpdateDataSecurityConfig & WithVpcConfig(VpcConfigT &&value)
AWS_COMPREHEND_API Aws::Utils::Json::JsonValue Jsonize() const
AWS_COMPREHEND_API UpdateDataSecurityConfig(Aws::Utils::Json::JsonView jsonValue)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue