/** * 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 dCVC (Dynamic Card * Verification Code).

See Also:

AWS * API Reference

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

The transaction counter value that comes from the terminal.

*/ inline const Aws::String& GetApplicationTransactionCounter() const{ return m_applicationTransactionCounter; } /** *

The transaction counter value that comes from the terminal.

*/ inline bool ApplicationTransactionCounterHasBeenSet() const { return m_applicationTransactionCounterHasBeenSet; } /** *

The transaction counter value that comes from the terminal.

*/ inline void SetApplicationTransactionCounter(const Aws::String& value) { m_applicationTransactionCounterHasBeenSet = true; m_applicationTransactionCounter = value; } /** *

The transaction counter value that comes from the terminal.

*/ inline void SetApplicationTransactionCounter(Aws::String&& value) { m_applicationTransactionCounterHasBeenSet = true; m_applicationTransactionCounter = std::move(value); } /** *

The transaction counter value that comes from the terminal.

*/ inline void SetApplicationTransactionCounter(const char* value) { m_applicationTransactionCounterHasBeenSet = true; m_applicationTransactionCounter.assign(value); } /** *

The transaction counter value that comes from the terminal.

*/ inline DiscoverDynamicCardVerificationCode& WithApplicationTransactionCounter(const Aws::String& value) { SetApplicationTransactionCounter(value); return *this;} /** *

The transaction counter value that comes from the terminal.

*/ inline DiscoverDynamicCardVerificationCode& WithApplicationTransactionCounter(Aws::String&& value) { SetApplicationTransactionCounter(std::move(value)); return *this;} /** *

The transaction counter value that comes from the terminal.

*/ inline DiscoverDynamicCardVerificationCode& WithApplicationTransactionCounter(const char* value) { SetApplicationTransactionCounter(value); return *this;} /** *

The expiry date of a payment card.

*/ inline const Aws::String& GetCardExpiryDate() const{ return m_cardExpiryDate; } /** *

The expiry date of a payment card.

*/ inline bool CardExpiryDateHasBeenSet() const { return m_cardExpiryDateHasBeenSet; } /** *

The expiry date of a payment card.

*/ inline void SetCardExpiryDate(const Aws::String& value) { m_cardExpiryDateHasBeenSet = true; m_cardExpiryDate = value; } /** *

The expiry date of a payment card.

*/ inline void SetCardExpiryDate(Aws::String&& value) { m_cardExpiryDateHasBeenSet = true; m_cardExpiryDate = std::move(value); } /** *

The expiry date of a payment card.

*/ inline void SetCardExpiryDate(const char* value) { m_cardExpiryDateHasBeenSet = true; m_cardExpiryDate.assign(value); } /** *

The expiry date of a payment card.

*/ inline DiscoverDynamicCardVerificationCode& WithCardExpiryDate(const Aws::String& value) { SetCardExpiryDate(value); return *this;} /** *

The expiry date of a payment card.

*/ inline DiscoverDynamicCardVerificationCode& WithCardExpiryDate(Aws::String&& value) { SetCardExpiryDate(std::move(value)); return *this;} /** *

The expiry date of a payment card.

*/ inline DiscoverDynamicCardVerificationCode& WithCardExpiryDate(const char* value) { SetCardExpiryDate(value); return *this;} /** *

A random number that is generated by the issuer.

*/ inline const Aws::String& GetUnpredictableNumber() const{ return m_unpredictableNumber; } /** *

A random number that is generated by the issuer.

*/ inline bool UnpredictableNumberHasBeenSet() const { return m_unpredictableNumberHasBeenSet; } /** *

A random number that is generated by the issuer.

*/ inline void SetUnpredictableNumber(const Aws::String& value) { m_unpredictableNumberHasBeenSet = true; m_unpredictableNumber = value; } /** *

A random number that is generated by the issuer.

*/ inline void SetUnpredictableNumber(Aws::String&& value) { m_unpredictableNumberHasBeenSet = true; m_unpredictableNumber = std::move(value); } /** *

A random number that is generated by the issuer.

*/ inline void SetUnpredictableNumber(const char* value) { m_unpredictableNumberHasBeenSet = true; m_unpredictableNumber.assign(value); } /** *

A random number that is generated by the issuer.

*/ inline DiscoverDynamicCardVerificationCode& WithUnpredictableNumber(const Aws::String& value) { SetUnpredictableNumber(value); return *this;} /** *

A random number that is generated by the issuer.

*/ inline DiscoverDynamicCardVerificationCode& WithUnpredictableNumber(Aws::String&& value) { SetUnpredictableNumber(std::move(value)); return *this;} /** *

A random number that is generated by the issuer.

*/ inline DiscoverDynamicCardVerificationCode& WithUnpredictableNumber(const char* value) { SetUnpredictableNumber(value); return *this;} private: Aws::String m_applicationTransactionCounter; bool m_applicationTransactionCounterHasBeenSet = false; Aws::String m_cardExpiryDate; bool m_cardExpiryDateHasBeenSet = false; Aws::String m_unpredictableNumber; bool m_unpredictableNumberHasBeenSet = false; }; } // namespace Model } // namespace PaymentCryptographyData } // namespace Aws