/** * 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 for tranlation between ISO9564 PIN format 0,3,4 * tranlation.

See Also:

AWS * API Reference

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

The Primary Account Number (PAN) of the cardholder. A PAN is a unique * identifier for a payment credit or debit card and associates the card to a * specific account holder.

*/ inline const Aws::String& GetPrimaryAccountNumber() const{ return m_primaryAccountNumber; } /** *

The Primary Account Number (PAN) of the cardholder. A PAN is a unique * identifier for a payment credit or debit card and associates the card to a * specific account holder.

*/ inline bool PrimaryAccountNumberHasBeenSet() const { return m_primaryAccountNumberHasBeenSet; } /** *

The Primary Account Number (PAN) of the cardholder. A PAN is a unique * identifier for a payment credit or debit card and associates the card to a * specific account holder.

*/ inline void SetPrimaryAccountNumber(const Aws::String& value) { m_primaryAccountNumberHasBeenSet = true; m_primaryAccountNumber = value; } /** *

The Primary Account Number (PAN) of the cardholder. A PAN is a unique * identifier for a payment credit or debit card and associates the card to a * specific account holder.

*/ inline void SetPrimaryAccountNumber(Aws::String&& value) { m_primaryAccountNumberHasBeenSet = true; m_primaryAccountNumber = std::move(value); } /** *

The Primary Account Number (PAN) of the cardholder. A PAN is a unique * identifier for a payment credit or debit card and associates the card to a * specific account holder.

*/ inline void SetPrimaryAccountNumber(const char* value) { m_primaryAccountNumberHasBeenSet = true; m_primaryAccountNumber.assign(value); } /** *

The Primary Account Number (PAN) of the cardholder. A PAN is a unique * identifier for a payment credit or debit card and associates the card to a * specific account holder.

*/ inline TranslationPinDataIsoFormat034& WithPrimaryAccountNumber(const Aws::String& value) { SetPrimaryAccountNumber(value); return *this;} /** *

The Primary Account Number (PAN) of the cardholder. A PAN is a unique * identifier for a payment credit or debit card and associates the card to a * specific account holder.

*/ inline TranslationPinDataIsoFormat034& WithPrimaryAccountNumber(Aws::String&& value) { SetPrimaryAccountNumber(std::move(value)); return *this;} /** *

The Primary Account Number (PAN) of the cardholder. A PAN is a unique * identifier for a payment credit or debit card and associates the card to a * specific account holder.

*/ inline TranslationPinDataIsoFormat034& WithPrimaryAccountNumber(const char* value) { SetPrimaryAccountNumber(value); return *this;} private: Aws::String m_primaryAccountNumber; bool m_primaryAccountNumberHasBeenSet = false; }; } // namespace Model } // namespace PaymentCryptographyData } // namespace Aws