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

Parameters that are required to generate or verify Visa PIN.

See * Also:

AWS * API Reference

*/ class VisaPinVerification { public: AWS_PAYMENTCRYPTOGRAPHYDATA_API VisaPinVerification(); AWS_PAYMENTCRYPTOGRAPHYDATA_API VisaPinVerification(Aws::Utils::Json::JsonView jsonValue); AWS_PAYMENTCRYPTOGRAPHYDATA_API VisaPinVerification& 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 VisaPinVerification& WithPinVerificationKeyIndex(int value) { SetPinVerificationKeyIndex(value); return *this;} /** *

Parameters that are required to generate or verify Visa PVV (PIN Verification * Value).

*/ inline const Aws::String& GetVerificationValue() const{ return m_verificationValue; } /** *

Parameters that are required to generate or verify Visa PVV (PIN Verification * Value).

*/ inline bool VerificationValueHasBeenSet() const { return m_verificationValueHasBeenSet; } /** *

Parameters that are required to generate or verify Visa PVV (PIN Verification * Value).

*/ inline void SetVerificationValue(const Aws::String& value) { m_verificationValueHasBeenSet = true; m_verificationValue = value; } /** *

Parameters that are required to generate or verify Visa PVV (PIN Verification * Value).

*/ inline void SetVerificationValue(Aws::String&& value) { m_verificationValueHasBeenSet = true; m_verificationValue = std::move(value); } /** *

Parameters that are required to generate or verify Visa PVV (PIN Verification * Value).

*/ inline void SetVerificationValue(const char* value) { m_verificationValueHasBeenSet = true; m_verificationValue.assign(value); } /** *

Parameters that are required to generate or verify Visa PVV (PIN Verification * Value).

*/ inline VisaPinVerification& WithVerificationValue(const Aws::String& value) { SetVerificationValue(value); return *this;} /** *

Parameters that are required to generate or verify Visa PVV (PIN Verification * Value).

*/ inline VisaPinVerification& WithVerificationValue(Aws::String&& value) { SetVerificationValue(std::move(value)); return *this;} /** *

Parameters that are required to generate or verify Visa PVV (PIN Verification * Value).

*/ inline VisaPinVerification& WithVerificationValue(const char* value) { SetVerificationValue(value); return *this;} private: int m_pinVerificationKeyIndex; bool m_pinVerificationKeyIndexHasBeenSet = false; Aws::String m_verificationValue; bool m_verificationValueHasBeenSet = false; }; } // namespace Model } // namespace PaymentCryptographyData } // namespace Aws