/** * 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, translate, or verify PIN * data.

See Also:

AWS * API Reference

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

The PIN offset value.

*/ inline const Aws::String& GetPinOffset() const{ return m_pinOffset; } /** *

The PIN offset value.

*/ inline bool PinOffsetHasBeenSet() const { return m_pinOffsetHasBeenSet; } /** *

The PIN offset value.

*/ inline void SetPinOffset(const Aws::String& value) { m_pinOffsetHasBeenSet = true; m_pinOffset = value; } /** *

The PIN offset value.

*/ inline void SetPinOffset(Aws::String&& value) { m_pinOffsetHasBeenSet = true; m_pinOffset = std::move(value); } /** *

The PIN offset value.

*/ inline void SetPinOffset(const char* value) { m_pinOffsetHasBeenSet = true; m_pinOffset.assign(value); } /** *

The PIN offset value.

*/ inline PinData& WithPinOffset(const Aws::String& value) { SetPinOffset(value); return *this;} /** *

The PIN offset value.

*/ inline PinData& WithPinOffset(Aws::String&& value) { SetPinOffset(std::move(value)); return *this;} /** *

The PIN offset value.

*/ inline PinData& WithPinOffset(const char* value) { SetPinOffset(value); return *this;} /** *

The unique data to identify a cardholder. In most cases, this is the same as * cardholder's Primary Account Number (PAN). If a value is not provided, it * defaults to PAN.

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

The unique data to identify a cardholder. In most cases, this is the same as * cardholder's Primary Account Number (PAN). If a value is not provided, it * defaults to PAN.

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

The unique data to identify a cardholder. In most cases, this is the same as * cardholder's Primary Account Number (PAN). If a value is not provided, it * defaults to PAN.

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

The unique data to identify a cardholder. In most cases, this is the same as * cardholder's Primary Account Number (PAN). If a value is not provided, it * defaults to PAN.

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

The unique data to identify a cardholder. In most cases, this is the same as * cardholder's Primary Account Number (PAN). If a value is not provided, it * defaults to PAN.

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

The unique data to identify a cardholder. In most cases, this is the same as * cardholder's Primary Account Number (PAN). If a value is not provided, it * defaults to PAN.

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

The unique data to identify a cardholder. In most cases, this is the same as * cardholder's Primary Account Number (PAN). If a value is not provided, it * defaults to PAN.

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

The unique data to identify a cardholder. In most cases, this is the same as * cardholder's Primary Account Number (PAN). If a value is not provided, it * defaults to PAN.

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