/** * Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. * SPDX-License-Identifier: Apache-2.0. */ #pragma once #include #include #include namespace Aws { template class AmazonWebServiceResult; namespace Utils { namespace Json { class JsonValue; } // namespace Json } // namespace Utils namespace PaymentCryptographyData { namespace Model { class VerifyPinDataResult { public: AWS_PAYMENTCRYPTOGRAPHYDATA_API VerifyPinDataResult(); AWS_PAYMENTCRYPTOGRAPHYDATA_API VerifyPinDataResult(const Aws::AmazonWebServiceResult& result); AWS_PAYMENTCRYPTOGRAPHYDATA_API VerifyPinDataResult& operator=(const Aws::AmazonWebServiceResult& result); /** *

The keyARN of the PEK that Amazon Web Services Payment * Cryptography uses for encrypted pin block generation.

*/ inline const Aws::String& GetEncryptionKeyArn() const{ return m_encryptionKeyArn; } /** *

The keyARN of the PEK that Amazon Web Services Payment * Cryptography uses for encrypted pin block generation.

*/ inline void SetEncryptionKeyArn(const Aws::String& value) { m_encryptionKeyArn = value; } /** *

The keyARN of the PEK that Amazon Web Services Payment * Cryptography uses for encrypted pin block generation.

*/ inline void SetEncryptionKeyArn(Aws::String&& value) { m_encryptionKeyArn = std::move(value); } /** *

The keyARN of the PEK that Amazon Web Services Payment * Cryptography uses for encrypted pin block generation.

*/ inline void SetEncryptionKeyArn(const char* value) { m_encryptionKeyArn.assign(value); } /** *

The keyARN of the PEK that Amazon Web Services Payment * Cryptography uses for encrypted pin block generation.

*/ inline VerifyPinDataResult& WithEncryptionKeyArn(const Aws::String& value) { SetEncryptionKeyArn(value); return *this;} /** *

The keyARN of the PEK that Amazon Web Services Payment * Cryptography uses for encrypted pin block generation.

*/ inline VerifyPinDataResult& WithEncryptionKeyArn(Aws::String&& value) { SetEncryptionKeyArn(std::move(value)); return *this;} /** *

The keyARN of the PEK that Amazon Web Services Payment * Cryptography uses for encrypted pin block generation.

*/ inline VerifyPinDataResult& WithEncryptionKeyArn(const char* value) { SetEncryptionKeyArn(value); return *this;} /** *

The key check value (KCV) of the encryption key. The KCV is used to check if * all parties holding a given key have the same key or to detect that a key has * changed. Amazon Web Services Payment Cryptography calculates the KCV by using * standard algorithms, typically by encrypting 8 or 16 bytes or "00" or "01" and * then truncating the result to the first 3 bytes, or 6 hex digits, of the * resulting cryptogram.

*/ inline const Aws::String& GetEncryptionKeyCheckValue() const{ return m_encryptionKeyCheckValue; } /** *

The key check value (KCV) of the encryption key. The KCV is used to check if * all parties holding a given key have the same key or to detect that a key has * changed. Amazon Web Services Payment Cryptography calculates the KCV by using * standard algorithms, typically by encrypting 8 or 16 bytes or "00" or "01" and * then truncating the result to the first 3 bytes, or 6 hex digits, of the * resulting cryptogram.

*/ inline void SetEncryptionKeyCheckValue(const Aws::String& value) { m_encryptionKeyCheckValue = value; } /** *

The key check value (KCV) of the encryption key. The KCV is used to check if * all parties holding a given key have the same key or to detect that a key has * changed. Amazon Web Services Payment Cryptography calculates the KCV by using * standard algorithms, typically by encrypting 8 or 16 bytes or "00" or "01" and * then truncating the result to the first 3 bytes, or 6 hex digits, of the * resulting cryptogram.

*/ inline void SetEncryptionKeyCheckValue(Aws::String&& value) { m_encryptionKeyCheckValue = std::move(value); } /** *

The key check value (KCV) of the encryption key. The KCV is used to check if * all parties holding a given key have the same key or to detect that a key has * changed. Amazon Web Services Payment Cryptography calculates the KCV by using * standard algorithms, typically by encrypting 8 or 16 bytes or "00" or "01" and * then truncating the result to the first 3 bytes, or 6 hex digits, of the * resulting cryptogram.

*/ inline void SetEncryptionKeyCheckValue(const char* value) { m_encryptionKeyCheckValue.assign(value); } /** *

The key check value (KCV) of the encryption key. The KCV is used to check if * all parties holding a given key have the same key or to detect that a key has * changed. Amazon Web Services Payment Cryptography calculates the KCV by using * standard algorithms, typically by encrypting 8 or 16 bytes or "00" or "01" and * then truncating the result to the first 3 bytes, or 6 hex digits, of the * resulting cryptogram.

*/ inline VerifyPinDataResult& WithEncryptionKeyCheckValue(const Aws::String& value) { SetEncryptionKeyCheckValue(value); return *this;} /** *

The key check value (KCV) of the encryption key. The KCV is used to check if * all parties holding a given key have the same key or to detect that a key has * changed. Amazon Web Services Payment Cryptography calculates the KCV by using * standard algorithms, typically by encrypting 8 or 16 bytes or "00" or "01" and * then truncating the result to the first 3 bytes, or 6 hex digits, of the * resulting cryptogram.

*/ inline VerifyPinDataResult& WithEncryptionKeyCheckValue(Aws::String&& value) { SetEncryptionKeyCheckValue(std::move(value)); return *this;} /** *

The key check value (KCV) of the encryption key. The KCV is used to check if * all parties holding a given key have the same key or to detect that a key has * changed. Amazon Web Services Payment Cryptography calculates the KCV by using * standard algorithms, typically by encrypting 8 or 16 bytes or "00" or "01" and * then truncating the result to the first 3 bytes, or 6 hex digits, of the * resulting cryptogram.

*/ inline VerifyPinDataResult& WithEncryptionKeyCheckValue(const char* value) { SetEncryptionKeyCheckValue(value); return *this;} /** *

The keyARN of the PIN encryption key that Amazon Web Services * Payment Cryptography uses for PIN or PIN Offset verification.

*/ inline const Aws::String& GetVerificationKeyArn() const{ return m_verificationKeyArn; } /** *

The keyARN of the PIN encryption key that Amazon Web Services * Payment Cryptography uses for PIN or PIN Offset verification.

*/ inline void SetVerificationKeyArn(const Aws::String& value) { m_verificationKeyArn = value; } /** *

The keyARN of the PIN encryption key that Amazon Web Services * Payment Cryptography uses for PIN or PIN Offset verification.

*/ inline void SetVerificationKeyArn(Aws::String&& value) { m_verificationKeyArn = std::move(value); } /** *

The keyARN of the PIN encryption key that Amazon Web Services * Payment Cryptography uses for PIN or PIN Offset verification.

*/ inline void SetVerificationKeyArn(const char* value) { m_verificationKeyArn.assign(value); } /** *

The keyARN of the PIN encryption key that Amazon Web Services * Payment Cryptography uses for PIN or PIN Offset verification.

*/ inline VerifyPinDataResult& WithVerificationKeyArn(const Aws::String& value) { SetVerificationKeyArn(value); return *this;} /** *

The keyARN of the PIN encryption key that Amazon Web Services * Payment Cryptography uses for PIN or PIN Offset verification.

*/ inline VerifyPinDataResult& WithVerificationKeyArn(Aws::String&& value) { SetVerificationKeyArn(std::move(value)); return *this;} /** *

The keyARN of the PIN encryption key that Amazon Web Services * Payment Cryptography uses for PIN or PIN Offset verification.

*/ inline VerifyPinDataResult& WithVerificationKeyArn(const char* value) { SetVerificationKeyArn(value); return *this;} /** *

The key check value (KCV) of the encryption key. The KCV is used to check if * all parties holding a given key have the same key or to detect that a key has * changed. Amazon Web Services Payment Cryptography calculates the KCV by using * standard algorithms, typically by encrypting 8 or 16 bytes or "00" or "01" and * then truncating the result to the first 3 bytes, or 6 hex digits, of the * resulting cryptogram.

*/ inline const Aws::String& GetVerificationKeyCheckValue() const{ return m_verificationKeyCheckValue; } /** *

The key check value (KCV) of the encryption key. The KCV is used to check if * all parties holding a given key have the same key or to detect that a key has * changed. Amazon Web Services Payment Cryptography calculates the KCV by using * standard algorithms, typically by encrypting 8 or 16 bytes or "00" or "01" and * then truncating the result to the first 3 bytes, or 6 hex digits, of the * resulting cryptogram.

*/ inline void SetVerificationKeyCheckValue(const Aws::String& value) { m_verificationKeyCheckValue = value; } /** *

The key check value (KCV) of the encryption key. The KCV is used to check if * all parties holding a given key have the same key or to detect that a key has * changed. Amazon Web Services Payment Cryptography calculates the KCV by using * standard algorithms, typically by encrypting 8 or 16 bytes or "00" or "01" and * then truncating the result to the first 3 bytes, or 6 hex digits, of the * resulting cryptogram.

*/ inline void SetVerificationKeyCheckValue(Aws::String&& value) { m_verificationKeyCheckValue = std::move(value); } /** *

The key check value (KCV) of the encryption key. The KCV is used to check if * all parties holding a given key have the same key or to detect that a key has * changed. Amazon Web Services Payment Cryptography calculates the KCV by using * standard algorithms, typically by encrypting 8 or 16 bytes or "00" or "01" and * then truncating the result to the first 3 bytes, or 6 hex digits, of the * resulting cryptogram.

*/ inline void SetVerificationKeyCheckValue(const char* value) { m_verificationKeyCheckValue.assign(value); } /** *

The key check value (KCV) of the encryption key. The KCV is used to check if * all parties holding a given key have the same key or to detect that a key has * changed. Amazon Web Services Payment Cryptography calculates the KCV by using * standard algorithms, typically by encrypting 8 or 16 bytes or "00" or "01" and * then truncating the result to the first 3 bytes, or 6 hex digits, of the * resulting cryptogram.

*/ inline VerifyPinDataResult& WithVerificationKeyCheckValue(const Aws::String& value) { SetVerificationKeyCheckValue(value); return *this;} /** *

The key check value (KCV) of the encryption key. The KCV is used to check if * all parties holding a given key have the same key or to detect that a key has * changed. Amazon Web Services Payment Cryptography calculates the KCV by using * standard algorithms, typically by encrypting 8 or 16 bytes or "00" or "01" and * then truncating the result to the first 3 bytes, or 6 hex digits, of the * resulting cryptogram.

*/ inline VerifyPinDataResult& WithVerificationKeyCheckValue(Aws::String&& value) { SetVerificationKeyCheckValue(std::move(value)); return *this;} /** *

The key check value (KCV) of the encryption key. The KCV is used to check if * all parties holding a given key have the same key or to detect that a key has * changed. Amazon Web Services Payment Cryptography calculates the KCV by using * standard algorithms, typically by encrypting 8 or 16 bytes or "00" or "01" and * then truncating the result to the first 3 bytes, or 6 hex digits, of the * resulting cryptogram.

*/ inline VerifyPinDataResult& WithVerificationKeyCheckValue(const char* value) { SetVerificationKeyCheckValue(value); return *this;} inline const Aws::String& GetRequestId() const{ return m_requestId; } inline void SetRequestId(const Aws::String& value) { m_requestId = value; } inline void SetRequestId(Aws::String&& value) { m_requestId = std::move(value); } inline void SetRequestId(const char* value) { m_requestId.assign(value); } inline VerifyPinDataResult& WithRequestId(const Aws::String& value) { SetRequestId(value); return *this;} inline VerifyPinDataResult& WithRequestId(Aws::String&& value) { SetRequestId(std::move(value)); return *this;} inline VerifyPinDataResult& WithRequestId(const char* value) { SetRequestId(value); return *this;} private: Aws::String m_encryptionKeyArn; Aws::String m_encryptionKeyCheckValue; Aws::String m_verificationKeyArn; Aws::String m_verificationKeyCheckValue; Aws::String m_requestId; }; } // namespace Model } // namespace PaymentCryptographyData } // namespace Aws