/** * 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 NimbleStudio { namespace Model { /** *

Configuration of the encryption method that is used for the * studio.

See Also:

AWS * API Reference

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

The ARN for a KMS key that is used to encrypt studio data.

*/ inline const Aws::String& GetKeyArn() const{ return m_keyArn; } /** *

The ARN for a KMS key that is used to encrypt studio data.

*/ inline bool KeyArnHasBeenSet() const { return m_keyArnHasBeenSet; } /** *

The ARN for a KMS key that is used to encrypt studio data.

*/ inline void SetKeyArn(const Aws::String& value) { m_keyArnHasBeenSet = true; m_keyArn = value; } /** *

The ARN for a KMS key that is used to encrypt studio data.

*/ inline void SetKeyArn(Aws::String&& value) { m_keyArnHasBeenSet = true; m_keyArn = std::move(value); } /** *

The ARN for a KMS key that is used to encrypt studio data.

*/ inline void SetKeyArn(const char* value) { m_keyArnHasBeenSet = true; m_keyArn.assign(value); } /** *

The ARN for a KMS key that is used to encrypt studio data.

*/ inline StudioEncryptionConfiguration& WithKeyArn(const Aws::String& value) { SetKeyArn(value); return *this;} /** *

The ARN for a KMS key that is used to encrypt studio data.

*/ inline StudioEncryptionConfiguration& WithKeyArn(Aws::String&& value) { SetKeyArn(std::move(value)); return *this;} /** *

The ARN for a KMS key that is used to encrypt studio data.

*/ inline StudioEncryptionConfiguration& WithKeyArn(const char* value) { SetKeyArn(value); return *this;} /** *

The type of KMS key that is used to encrypt studio data.

*/ inline const StudioEncryptionConfigurationKeyType& GetKeyType() const{ return m_keyType; } /** *

The type of KMS key that is used to encrypt studio data.

*/ inline bool KeyTypeHasBeenSet() const { return m_keyTypeHasBeenSet; } /** *

The type of KMS key that is used to encrypt studio data.

*/ inline void SetKeyType(const StudioEncryptionConfigurationKeyType& value) { m_keyTypeHasBeenSet = true; m_keyType = value; } /** *

The type of KMS key that is used to encrypt studio data.

*/ inline void SetKeyType(StudioEncryptionConfigurationKeyType&& value) { m_keyTypeHasBeenSet = true; m_keyType = std::move(value); } /** *

The type of KMS key that is used to encrypt studio data.

*/ inline StudioEncryptionConfiguration& WithKeyType(const StudioEncryptionConfigurationKeyType& value) { SetKeyType(value); return *this;} /** *

The type of KMS key that is used to encrypt studio data.

*/ inline StudioEncryptionConfiguration& WithKeyType(StudioEncryptionConfigurationKeyType&& value) { SetKeyType(std::move(value)); return *this;} private: Aws::String m_keyArn; bool m_keyArnHasBeenSet = false; StudioEncryptionConfigurationKeyType m_keyType; bool m_keyTypeHasBeenSet = false; }; } // namespace Model } // namespace NimbleStudio } // namespace Aws