AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
UpdateDataSecurityConfig.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 UpdateDataSecurityConfig();
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 UpdateDataSecurityConfig& WithModelKmsKeyId(const Aws::String& value) { SetModelKmsKeyId(value); return *this;}
56 inline UpdateDataSecurityConfig& WithModelKmsKeyId(Aws::String&& value) { SetModelKmsKeyId(std::move(value)); return *this;}
57 inline UpdateDataSecurityConfig& 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 UpdateDataSecurityConfig& WithVolumeKmsKeyId(const Aws::String& value) { SetVolumeKmsKeyId(value); return *this;}
70 inline UpdateDataSecurityConfig& WithVolumeKmsKeyId(Aws::String&& value) { SetVolumeKmsKeyId(std::move(value)); return *this;}
71 inline UpdateDataSecurityConfig& WithVolumeKmsKeyId(const char* value) { SetVolumeKmsKeyId(value); return *this;}
73
75
76 inline const VpcConfig& GetVpcConfig() const{ return m_vpcConfig; }
77 inline bool VpcConfigHasBeenSet() const { return m_vpcConfigHasBeenSet; }
78 inline void SetVpcConfig(const VpcConfig& value) { m_vpcConfigHasBeenSet = true; m_vpcConfig = value; }
79 inline void SetVpcConfig(VpcConfig&& value) { m_vpcConfigHasBeenSet = true; m_vpcConfig = std::move(value); }
80 inline UpdateDataSecurityConfig& WithVpcConfig(const VpcConfig& value) { SetVpcConfig(value); return *this;}
81 inline UpdateDataSecurityConfig& WithVpcConfig(VpcConfig&& value) { SetVpcConfig(std::move(value)); return *this;}
83 private:
84
85 Aws::String m_modelKmsKeyId;
86 bool m_modelKmsKeyIdHasBeenSet = false;
87
88 Aws::String m_volumeKmsKeyId;
89 bool m_volumeKmsKeyIdHasBeenSet = false;
90
91 VpcConfig m_vpcConfig;
92 bool m_vpcConfigHasBeenSet = false;
93 };
94
95} // namespace Model
96} // namespace Comprehend
97} // namespace Aws
UpdateDataSecurityConfig & WithVolumeKmsKeyId(const char *value)
UpdateDataSecurityConfig & WithVpcConfig(VpcConfig &&value)
AWS_COMPREHEND_API UpdateDataSecurityConfig & operator=(Aws::Utils::Json::JsonView jsonValue)
UpdateDataSecurityConfig & WithModelKmsKeyId(const Aws::String &value)
UpdateDataSecurityConfig & WithVolumeKmsKeyId(const Aws::String &value)
UpdateDataSecurityConfig & WithVolumeKmsKeyId(Aws::String &&value)
AWS_COMPREHEND_API Aws::Utils::Json::JsonValue Jsonize() const
UpdateDataSecurityConfig & WithModelKmsKeyId(const char *value)
UpdateDataSecurityConfig & WithVpcConfig(const VpcConfig &value)
UpdateDataSecurityConfig & WithModelKmsKeyId(Aws::String &&value)
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