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

The object representing the passwords that were used to encrypt the data * related to the bot recommendation, as well as the KMS key ARN used to encrypt * the associated metadata.

See Also:

AWS * API Reference

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

The KMS key ARN used to encrypt the metadata associated with the bot * recommendation.

*/ inline const Aws::String& GetKmsKeyArn() const{ return m_kmsKeyArn; } /** *

The KMS key ARN used to encrypt the metadata associated with the bot * recommendation.

*/ inline bool KmsKeyArnHasBeenSet() const { return m_kmsKeyArnHasBeenSet; } /** *

The KMS key ARN used to encrypt the metadata associated with the bot * recommendation.

*/ inline void SetKmsKeyArn(const Aws::String& value) { m_kmsKeyArnHasBeenSet = true; m_kmsKeyArn = value; } /** *

The KMS key ARN used to encrypt the metadata associated with the bot * recommendation.

*/ inline void SetKmsKeyArn(Aws::String&& value) { m_kmsKeyArnHasBeenSet = true; m_kmsKeyArn = std::move(value); } /** *

The KMS key ARN used to encrypt the metadata associated with the bot * recommendation.

*/ inline void SetKmsKeyArn(const char* value) { m_kmsKeyArnHasBeenSet = true; m_kmsKeyArn.assign(value); } /** *

The KMS key ARN used to encrypt the metadata associated with the bot * recommendation.

*/ inline EncryptionSetting& WithKmsKeyArn(const Aws::String& value) { SetKmsKeyArn(value); return *this;} /** *

The KMS key ARN used to encrypt the metadata associated with the bot * recommendation.

*/ inline EncryptionSetting& WithKmsKeyArn(Aws::String&& value) { SetKmsKeyArn(std::move(value)); return *this;} /** *

The KMS key ARN used to encrypt the metadata associated with the bot * recommendation.

*/ inline EncryptionSetting& WithKmsKeyArn(const char* value) { SetKmsKeyArn(value); return *this;} /** *

The password used to encrypt the recommended bot recommendation file.

*/ inline const Aws::String& GetBotLocaleExportPassword() const{ return m_botLocaleExportPassword; } /** *

The password used to encrypt the recommended bot recommendation file.

*/ inline bool BotLocaleExportPasswordHasBeenSet() const { return m_botLocaleExportPasswordHasBeenSet; } /** *

The password used to encrypt the recommended bot recommendation file.

*/ inline void SetBotLocaleExportPassword(const Aws::String& value) { m_botLocaleExportPasswordHasBeenSet = true; m_botLocaleExportPassword = value; } /** *

The password used to encrypt the recommended bot recommendation file.

*/ inline void SetBotLocaleExportPassword(Aws::String&& value) { m_botLocaleExportPasswordHasBeenSet = true; m_botLocaleExportPassword = std::move(value); } /** *

The password used to encrypt the recommended bot recommendation file.

*/ inline void SetBotLocaleExportPassword(const char* value) { m_botLocaleExportPasswordHasBeenSet = true; m_botLocaleExportPassword.assign(value); } /** *

The password used to encrypt the recommended bot recommendation file.

*/ inline EncryptionSetting& WithBotLocaleExportPassword(const Aws::String& value) { SetBotLocaleExportPassword(value); return *this;} /** *

The password used to encrypt the recommended bot recommendation file.

*/ inline EncryptionSetting& WithBotLocaleExportPassword(Aws::String&& value) { SetBotLocaleExportPassword(std::move(value)); return *this;} /** *

The password used to encrypt the recommended bot recommendation file.

*/ inline EncryptionSetting& WithBotLocaleExportPassword(const char* value) { SetBotLocaleExportPassword(value); return *this;} /** *

The password used to encrypt the associated transcript file.

*/ inline const Aws::String& GetAssociatedTranscriptsPassword() const{ return m_associatedTranscriptsPassword; } /** *

The password used to encrypt the associated transcript file.

*/ inline bool AssociatedTranscriptsPasswordHasBeenSet() const { return m_associatedTranscriptsPasswordHasBeenSet; } /** *

The password used to encrypt the associated transcript file.

*/ inline void SetAssociatedTranscriptsPassword(const Aws::String& value) { m_associatedTranscriptsPasswordHasBeenSet = true; m_associatedTranscriptsPassword = value; } /** *

The password used to encrypt the associated transcript file.

*/ inline void SetAssociatedTranscriptsPassword(Aws::String&& value) { m_associatedTranscriptsPasswordHasBeenSet = true; m_associatedTranscriptsPassword = std::move(value); } /** *

The password used to encrypt the associated transcript file.

*/ inline void SetAssociatedTranscriptsPassword(const char* value) { m_associatedTranscriptsPasswordHasBeenSet = true; m_associatedTranscriptsPassword.assign(value); } /** *

The password used to encrypt the associated transcript file.

*/ inline EncryptionSetting& WithAssociatedTranscriptsPassword(const Aws::String& value) { SetAssociatedTranscriptsPassword(value); return *this;} /** *

The password used to encrypt the associated transcript file.

*/ inline EncryptionSetting& WithAssociatedTranscriptsPassword(Aws::String&& value) { SetAssociatedTranscriptsPassword(std::move(value)); return *this;} /** *

The password used to encrypt the associated transcript file.

*/ inline EncryptionSetting& WithAssociatedTranscriptsPassword(const char* value) { SetAssociatedTranscriptsPassword(value); return *this;} private: Aws::String m_kmsKeyArn; bool m_kmsKeyArnHasBeenSet = false; Aws::String m_botLocaleExportPassword; bool m_botLocaleExportPasswordHasBeenSet = false; Aws::String m_associatedTranscriptsPassword; bool m_associatedTranscriptsPasswordHasBeenSet = false; }; } // namespace Model } // namespace LexModelsV2 } // namespace Aws