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

The KMS key details.

See Also:

AWS * API Reference

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

The encryption key ARN.

*/ inline const Aws::String& GetKmsEncryptionKeyArn() const{ return m_kmsEncryptionKeyArn; } /** *

The encryption key ARN.

*/ inline bool KmsEncryptionKeyArnHasBeenSet() const { return m_kmsEncryptionKeyArnHasBeenSet; } /** *

The encryption key ARN.

*/ inline void SetKmsEncryptionKeyArn(const Aws::String& value) { m_kmsEncryptionKeyArnHasBeenSet = true; m_kmsEncryptionKeyArn = value; } /** *

The encryption key ARN.

*/ inline void SetKmsEncryptionKeyArn(Aws::String&& value) { m_kmsEncryptionKeyArnHasBeenSet = true; m_kmsEncryptionKeyArn = std::move(value); } /** *

The encryption key ARN.

*/ inline void SetKmsEncryptionKeyArn(const char* value) { m_kmsEncryptionKeyArnHasBeenSet = true; m_kmsEncryptionKeyArn.assign(value); } /** *

The encryption key ARN.

*/ inline KMSKey& WithKmsEncryptionKeyArn(const Aws::String& value) { SetKmsEncryptionKeyArn(value); return *this;} /** *

The encryption key ARN.

*/ inline KMSKey& WithKmsEncryptionKeyArn(Aws::String&& value) { SetKmsEncryptionKeyArn(std::move(value)); return *this;} /** *

The encryption key ARN.

*/ inline KMSKey& WithKmsEncryptionKeyArn(const char* value) { SetKmsEncryptionKeyArn(value); return *this;} private: Aws::String m_kmsEncryptionKeyArn; bool m_kmsEncryptionKeyArnHasBeenSet = false; }; } // namespace Model } // namespace FraudDetector } // namespace Aws