/** * 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 to derive session key for an Amex payment card.

See * Also:

AWS * API Reference

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

A number that identifies and differentiates payment cards with the same * Primary Account Number (PAN).

*/ inline const Aws::String& GetPanSequenceNumber() const{ return m_panSequenceNumber; } /** *

A number that identifies and differentiates payment cards with the same * Primary Account Number (PAN).

*/ inline bool PanSequenceNumberHasBeenSet() const { return m_panSequenceNumberHasBeenSet; } /** *

A number that identifies and differentiates payment cards with the same * Primary Account Number (PAN).

*/ inline void SetPanSequenceNumber(const Aws::String& value) { m_panSequenceNumberHasBeenSet = true; m_panSequenceNumber = value; } /** *

A number that identifies and differentiates payment cards with the same * Primary Account Number (PAN).

*/ inline void SetPanSequenceNumber(Aws::String&& value) { m_panSequenceNumberHasBeenSet = true; m_panSequenceNumber = std::move(value); } /** *

A number that identifies and differentiates payment cards with the same * Primary Account Number (PAN).

*/ inline void SetPanSequenceNumber(const char* value) { m_panSequenceNumberHasBeenSet = true; m_panSequenceNumber.assign(value); } /** *

A number that identifies and differentiates payment cards with the same * Primary Account Number (PAN).

*/ inline SessionKeyAmex& WithPanSequenceNumber(const Aws::String& value) { SetPanSequenceNumber(value); return *this;} /** *

A number that identifies and differentiates payment cards with the same * Primary Account Number (PAN).

*/ inline SessionKeyAmex& WithPanSequenceNumber(Aws::String&& value) { SetPanSequenceNumber(std::move(value)); return *this;} /** *

A number that identifies and differentiates payment cards with the same * Primary Account Number (PAN).

*/ inline SessionKeyAmex& WithPanSequenceNumber(const char* value) { SetPanSequenceNumber(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 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 SessionKeyAmex& 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 SessionKeyAmex& 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 SessionKeyAmex& WithPrimaryAccountNumber(const char* value) { SetPrimaryAccountNumber(value); return *this;} private: Aws::String m_panSequenceNumber; bool m_panSequenceNumberHasBeenSet = false; Aws::String m_primaryAccountNumber; bool m_primaryAccountNumberHasBeenSet = false; }; } // namespace Model } // namespace PaymentCryptographyData } // namespace Aws