/** * 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.

See Also:

AWS * API Reference

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

The encryption mode applied to user data. Valid values are:

  • *

    DISABLED: encryption is disabled

  • SSEKMS: use of server-side * encryption with Key Management Service (SSE-KMS) for user data stored in Amazon * S3.

*/ inline const MLUserDataEncryptionModeString& GetMlUserDataEncryptionMode() const{ return m_mlUserDataEncryptionMode; } /** *

The encryption mode applied to user data. Valid values are:

  • *

    DISABLED: encryption is disabled

  • SSEKMS: use of server-side * encryption with Key Management Service (SSE-KMS) for user data stored in Amazon * S3.

*/ inline bool MlUserDataEncryptionModeHasBeenSet() const { return m_mlUserDataEncryptionModeHasBeenSet; } /** *

The encryption mode applied to user data. Valid values are:

  • *

    DISABLED: encryption is disabled

  • SSEKMS: use of server-side * encryption with Key Management Service (SSE-KMS) for user data stored in Amazon * S3.

*/ inline void SetMlUserDataEncryptionMode(const MLUserDataEncryptionModeString& value) { m_mlUserDataEncryptionModeHasBeenSet = true; m_mlUserDataEncryptionMode = value; } /** *

The encryption mode applied to user data. Valid values are:

  • *

    DISABLED: encryption is disabled

  • SSEKMS: use of server-side * encryption with Key Management Service (SSE-KMS) for user data stored in Amazon * S3.

*/ inline void SetMlUserDataEncryptionMode(MLUserDataEncryptionModeString&& value) { m_mlUserDataEncryptionModeHasBeenSet = true; m_mlUserDataEncryptionMode = std::move(value); } /** *

The encryption mode applied to user data. Valid values are:

  • *

    DISABLED: encryption is disabled

  • SSEKMS: use of server-side * encryption with Key Management Service (SSE-KMS) for user data stored in Amazon * S3.

*/ inline MLUserDataEncryption& WithMlUserDataEncryptionMode(const MLUserDataEncryptionModeString& value) { SetMlUserDataEncryptionMode(value); return *this;} /** *

The encryption mode applied to user data. Valid values are:

  • *

    DISABLED: encryption is disabled

  • SSEKMS: use of server-side * encryption with Key Management Service (SSE-KMS) for user data stored in Amazon * S3.

*/ inline MLUserDataEncryption& WithMlUserDataEncryptionMode(MLUserDataEncryptionModeString&& value) { SetMlUserDataEncryptionMode(std::move(value)); return *this;} /** *

The ID for the customer-provided KMS key.

*/ inline const Aws::String& GetKmsKeyId() const{ return m_kmsKeyId; } /** *

The ID for the customer-provided KMS key.

*/ inline bool KmsKeyIdHasBeenSet() const { return m_kmsKeyIdHasBeenSet; } /** *

The ID for the customer-provided KMS key.

*/ inline void SetKmsKeyId(const Aws::String& value) { m_kmsKeyIdHasBeenSet = true; m_kmsKeyId = value; } /** *

The ID for the customer-provided KMS key.

*/ inline void SetKmsKeyId(Aws::String&& value) { m_kmsKeyIdHasBeenSet = true; m_kmsKeyId = std::move(value); } /** *

The ID for the customer-provided KMS key.

*/ inline void SetKmsKeyId(const char* value) { m_kmsKeyIdHasBeenSet = true; m_kmsKeyId.assign(value); } /** *

The ID for the customer-provided KMS key.

*/ inline MLUserDataEncryption& WithKmsKeyId(const Aws::String& value) { SetKmsKeyId(value); return *this;} /** *

The ID for the customer-provided KMS key.

*/ inline MLUserDataEncryption& WithKmsKeyId(Aws::String&& value) { SetKmsKeyId(std::move(value)); return *this;} /** *

The ID for the customer-provided KMS key.

*/ inline MLUserDataEncryption& WithKmsKeyId(const char* value) { SetKmsKeyId(value); return *this;} private: MLUserDataEncryptionModeString m_mlUserDataEncryptionMode; bool m_mlUserDataEncryptionModeHasBeenSet = false; Aws::String m_kmsKeyId; bool m_kmsKeyIdHasBeenSet = false; }; } // namespace Model } // namespace Glue } // namespace Aws