/**
* Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
* SPDX-License-Identifier: Apache-2.0.
*/
#pragma once
#include Data security configuration.See Also:
AWS
* API Reference
ID for the KMS key that Amazon Comprehend uses to encrypt trained custom * models. The ModelKmsKeyId can be either of the following formats:
KMS Key ID: "1234abcd-12ab-34cd-56ef-1234567890ab"
Amazon Resource Name (ARN) of a KMS Key:
* "arn:aws:kms:us-west-2:111122223333:key/1234abcd-12ab-34cd-56ef-1234567890ab"
*
ID for the KMS key that Amazon Comprehend uses to encrypt trained custom * models. The ModelKmsKeyId can be either of the following formats:
KMS Key ID: "1234abcd-12ab-34cd-56ef-1234567890ab"
Amazon Resource Name (ARN) of a KMS Key:
* "arn:aws:kms:us-west-2:111122223333:key/1234abcd-12ab-34cd-56ef-1234567890ab"
*
ID for the KMS key that Amazon Comprehend uses to encrypt trained custom * models. The ModelKmsKeyId can be either of the following formats:
KMS Key ID: "1234abcd-12ab-34cd-56ef-1234567890ab"
Amazon Resource Name (ARN) of a KMS Key:
* "arn:aws:kms:us-west-2:111122223333:key/1234abcd-12ab-34cd-56ef-1234567890ab"
*
ID for the KMS key that Amazon Comprehend uses to encrypt trained custom * models. The ModelKmsKeyId can be either of the following formats:
KMS Key ID: "1234abcd-12ab-34cd-56ef-1234567890ab"
Amazon Resource Name (ARN) of a KMS Key:
* "arn:aws:kms:us-west-2:111122223333:key/1234abcd-12ab-34cd-56ef-1234567890ab"
*
ID for the KMS key that Amazon Comprehend uses to encrypt trained custom * models. The ModelKmsKeyId can be either of the following formats:
KMS Key ID: "1234abcd-12ab-34cd-56ef-1234567890ab"
Amazon Resource Name (ARN) of a KMS Key:
* "arn:aws:kms:us-west-2:111122223333:key/1234abcd-12ab-34cd-56ef-1234567890ab"
*
ID for the KMS key that Amazon Comprehend uses to encrypt trained custom * models. The ModelKmsKeyId can be either of the following formats:
KMS Key ID: "1234abcd-12ab-34cd-56ef-1234567890ab"
Amazon Resource Name (ARN) of a KMS Key:
* "arn:aws:kms:us-west-2:111122223333:key/1234abcd-12ab-34cd-56ef-1234567890ab"
*
ID for the KMS key that Amazon Comprehend uses to encrypt trained custom * models. The ModelKmsKeyId can be either of the following formats:
KMS Key ID: "1234abcd-12ab-34cd-56ef-1234567890ab"
Amazon Resource Name (ARN) of a KMS Key:
* "arn:aws:kms:us-west-2:111122223333:key/1234abcd-12ab-34cd-56ef-1234567890ab"
*
ID for the KMS key that Amazon Comprehend uses to encrypt trained custom * models. The ModelKmsKeyId can be either of the following formats:
KMS Key ID: "1234abcd-12ab-34cd-56ef-1234567890ab"
Amazon Resource Name (ARN) of a KMS Key:
* "arn:aws:kms:us-west-2:111122223333:key/1234abcd-12ab-34cd-56ef-1234567890ab"
*
ID for the KMS key that Amazon Comprehend uses to encrypt the volume.
*/ inline const Aws::String& GetVolumeKmsKeyId() const{ return m_volumeKmsKeyId; } /** *ID for the KMS key that Amazon Comprehend uses to encrypt the volume.
*/ inline bool VolumeKmsKeyIdHasBeenSet() const { return m_volumeKmsKeyIdHasBeenSet; } /** *ID for the KMS key that Amazon Comprehend uses to encrypt the volume.
*/ inline void SetVolumeKmsKeyId(const Aws::String& value) { m_volumeKmsKeyIdHasBeenSet = true; m_volumeKmsKeyId = value; } /** *ID for the KMS key that Amazon Comprehend uses to encrypt the volume.
*/ inline void SetVolumeKmsKeyId(Aws::String&& value) { m_volumeKmsKeyIdHasBeenSet = true; m_volumeKmsKeyId = std::move(value); } /** *ID for the KMS key that Amazon Comprehend uses to encrypt the volume.
*/ inline void SetVolumeKmsKeyId(const char* value) { m_volumeKmsKeyIdHasBeenSet = true; m_volumeKmsKeyId.assign(value); } /** *ID for the KMS key that Amazon Comprehend uses to encrypt the volume.
*/ inline DataSecurityConfig& WithVolumeKmsKeyId(const Aws::String& value) { SetVolumeKmsKeyId(value); return *this;} /** *ID for the KMS key that Amazon Comprehend uses to encrypt the volume.
*/ inline DataSecurityConfig& WithVolumeKmsKeyId(Aws::String&& value) { SetVolumeKmsKeyId(std::move(value)); return *this;} /** *ID for the KMS key that Amazon Comprehend uses to encrypt the volume.
*/ inline DataSecurityConfig& WithVolumeKmsKeyId(const char* value) { SetVolumeKmsKeyId(value); return *this;} /** *ID for the KMS key that Amazon Comprehend uses to encrypt the data in the * data lake.
*/ inline const Aws::String& GetDataLakeKmsKeyId() const{ return m_dataLakeKmsKeyId; } /** *ID for the KMS key that Amazon Comprehend uses to encrypt the data in the * data lake.
*/ inline bool DataLakeKmsKeyIdHasBeenSet() const { return m_dataLakeKmsKeyIdHasBeenSet; } /** *ID for the KMS key that Amazon Comprehend uses to encrypt the data in the * data lake.
*/ inline void SetDataLakeKmsKeyId(const Aws::String& value) { m_dataLakeKmsKeyIdHasBeenSet = true; m_dataLakeKmsKeyId = value; } /** *ID for the KMS key that Amazon Comprehend uses to encrypt the data in the * data lake.
*/ inline void SetDataLakeKmsKeyId(Aws::String&& value) { m_dataLakeKmsKeyIdHasBeenSet = true; m_dataLakeKmsKeyId = std::move(value); } /** *ID for the KMS key that Amazon Comprehend uses to encrypt the data in the * data lake.
*/ inline void SetDataLakeKmsKeyId(const char* value) { m_dataLakeKmsKeyIdHasBeenSet = true; m_dataLakeKmsKeyId.assign(value); } /** *ID for the KMS key that Amazon Comprehend uses to encrypt the data in the * data lake.
*/ inline DataSecurityConfig& WithDataLakeKmsKeyId(const Aws::String& value) { SetDataLakeKmsKeyId(value); return *this;} /** *ID for the KMS key that Amazon Comprehend uses to encrypt the data in the * data lake.
*/ inline DataSecurityConfig& WithDataLakeKmsKeyId(Aws::String&& value) { SetDataLakeKmsKeyId(std::move(value)); return *this;} /** *ID for the KMS key that Amazon Comprehend uses to encrypt the data in the * data lake.
*/ inline DataSecurityConfig& WithDataLakeKmsKeyId(const char* value) { SetDataLakeKmsKeyId(value); return *this;} inline const VpcConfig& GetVpcConfig() const{ return m_vpcConfig; } inline bool VpcConfigHasBeenSet() const { return m_vpcConfigHasBeenSet; } inline void SetVpcConfig(const VpcConfig& value) { m_vpcConfigHasBeenSet = true; m_vpcConfig = value; } inline void SetVpcConfig(VpcConfig&& value) { m_vpcConfigHasBeenSet = true; m_vpcConfig = std::move(value); } inline DataSecurityConfig& WithVpcConfig(const VpcConfig& value) { SetVpcConfig(value); return *this;} inline DataSecurityConfig& WithVpcConfig(VpcConfig&& value) { SetVpcConfig(std::move(value)); return *this;} private: Aws::String m_modelKmsKeyId; bool m_modelKmsKeyIdHasBeenSet = false; Aws::String m_volumeKmsKeyId; bool m_volumeKmsKeyIdHasBeenSet = false; Aws::String m_dataLakeKmsKeyId; bool m_dataLakeKmsKeyIdHasBeenSet = false; VpcConfig m_vpcConfig; bool m_vpcConfigHasBeenSet = false; }; } // namespace Model } // namespace Comprehend } // namespace Aws