/** * Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. * SPDX-License-Identifier: Apache-2.0. */ #pragma once #include #include #include #include namespace Aws { namespace Utils { namespace Json { class JsonValue; class JsonView; } // namespace Json } // namespace Utils namespace Glue { namespace Model { /** *

The encryption-at-rest settings of the transform that apply to accessing user * data. Machine learning transforms can access user data encrypted in Amazon S3 * using KMS.

Additionally, imported labels and trained transforms can now * be encrypted using a customer provided KMS key.

See Also:

AWS * API Reference

*/ class TransformEncryption { public: AWS_GLUE_API TransformEncryption(); AWS_GLUE_API TransformEncryption(Aws::Utils::Json::JsonView jsonValue); AWS_GLUE_API TransformEncryption& operator=(Aws::Utils::Json::JsonView jsonValue); AWS_GLUE_API Aws::Utils::Json::JsonValue Jsonize() const; /** *

An MLUserDataEncryption object containing the encryption mode * and customer-provided KMS key ID.

*/ inline const MLUserDataEncryption& GetMlUserDataEncryption() const{ return m_mlUserDataEncryption; } /** *

An MLUserDataEncryption object containing the encryption mode * and customer-provided KMS key ID.

*/ inline bool MlUserDataEncryptionHasBeenSet() const { return m_mlUserDataEncryptionHasBeenSet; } /** *

An MLUserDataEncryption object containing the encryption mode * and customer-provided KMS key ID.

*/ inline void SetMlUserDataEncryption(const MLUserDataEncryption& value) { m_mlUserDataEncryptionHasBeenSet = true; m_mlUserDataEncryption = value; } /** *

An MLUserDataEncryption object containing the encryption mode * and customer-provided KMS key ID.

*/ inline void SetMlUserDataEncryption(MLUserDataEncryption&& value) { m_mlUserDataEncryptionHasBeenSet = true; m_mlUserDataEncryption = std::move(value); } /** *

An MLUserDataEncryption object containing the encryption mode * and customer-provided KMS key ID.

*/ inline TransformEncryption& WithMlUserDataEncryption(const MLUserDataEncryption& value) { SetMlUserDataEncryption(value); return *this;} /** *

An MLUserDataEncryption object containing the encryption mode * and customer-provided KMS key ID.

*/ inline TransformEncryption& WithMlUserDataEncryption(MLUserDataEncryption&& value) { SetMlUserDataEncryption(std::move(value)); return *this;} /** *

The name of the security configuration.

*/ inline const Aws::String& GetTaskRunSecurityConfigurationName() const{ return m_taskRunSecurityConfigurationName; } /** *

The name of the security configuration.

*/ inline bool TaskRunSecurityConfigurationNameHasBeenSet() const { return m_taskRunSecurityConfigurationNameHasBeenSet; } /** *

The name of the security configuration.

*/ inline void SetTaskRunSecurityConfigurationName(const Aws::String& value) { m_taskRunSecurityConfigurationNameHasBeenSet = true; m_taskRunSecurityConfigurationName = value; } /** *

The name of the security configuration.

*/ inline void SetTaskRunSecurityConfigurationName(Aws::String&& value) { m_taskRunSecurityConfigurationNameHasBeenSet = true; m_taskRunSecurityConfigurationName = std::move(value); } /** *

The name of the security configuration.

*/ inline void SetTaskRunSecurityConfigurationName(const char* value) { m_taskRunSecurityConfigurationNameHasBeenSet = true; m_taskRunSecurityConfigurationName.assign(value); } /** *

The name of the security configuration.

*/ inline TransformEncryption& WithTaskRunSecurityConfigurationName(const Aws::String& value) { SetTaskRunSecurityConfigurationName(value); return *this;} /** *

The name of the security configuration.

*/ inline TransformEncryption& WithTaskRunSecurityConfigurationName(Aws::String&& value) { SetTaskRunSecurityConfigurationName(std::move(value)); return *this;} /** *

The name of the security configuration.

*/ inline TransformEncryption& WithTaskRunSecurityConfigurationName(const char* value) { SetTaskRunSecurityConfigurationName(value); return *this;} private: MLUserDataEncryption m_mlUserDataEncryption; bool m_mlUserDataEncryptionHasBeenSet = false; Aws::String m_taskRunSecurityConfigurationName; bool m_taskRunSecurityConfigurationNameHasBeenSet = false; }; } // namespace Model } // namespace Glue } // namespace Aws