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

Parameters that are required to generate or verify Visa PIN.

See * Also:

AWS * API Reference

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

The value for PIN verification index. It is used in the Visa PIN algorithm to * calculate the PVV (PIN Verification Value).

*/ inline int GetPinVerificationKeyIndex() const{ return m_pinVerificationKeyIndex; } /** *

The value for PIN verification index. It is used in the Visa PIN algorithm to * calculate the PVV (PIN Verification Value).

*/ inline bool PinVerificationKeyIndexHasBeenSet() const { return m_pinVerificationKeyIndexHasBeenSet; } /** *

The value for PIN verification index. It is used in the Visa PIN algorithm to * calculate the PVV (PIN Verification Value).

*/ inline void SetPinVerificationKeyIndex(int value) { m_pinVerificationKeyIndexHasBeenSet = true; m_pinVerificationKeyIndex = value; } /** *

The value for PIN verification index. It is used in the Visa PIN algorithm to * calculate the PVV (PIN Verification Value).

*/ inline VisaPin& WithPinVerificationKeyIndex(int value) { SetPinVerificationKeyIndex(value); return *this;} private: int m_pinVerificationKeyIndex; bool m_pinVerificationKeyIndexHasBeenSet = false; }; } // namespace Model } // namespace PaymentCryptographyData } // namespace Aws