/** * 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 ARPC response generation using method2 after * ARQC verification is successful.

See Also:

AWS * API Reference

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

The data indicating whether the issuer approves or declines an online * transaction using an EMV chip card.

*/ inline const Aws::String& GetCardStatusUpdate() const{ return m_cardStatusUpdate; } /** *

The data indicating whether the issuer approves or declines an online * transaction using an EMV chip card.

*/ inline bool CardStatusUpdateHasBeenSet() const { return m_cardStatusUpdateHasBeenSet; } /** *

The data indicating whether the issuer approves or declines an online * transaction using an EMV chip card.

*/ inline void SetCardStatusUpdate(const Aws::String& value) { m_cardStatusUpdateHasBeenSet = true; m_cardStatusUpdate = value; } /** *

The data indicating whether the issuer approves or declines an online * transaction using an EMV chip card.

*/ inline void SetCardStatusUpdate(Aws::String&& value) { m_cardStatusUpdateHasBeenSet = true; m_cardStatusUpdate = std::move(value); } /** *

The data indicating whether the issuer approves or declines an online * transaction using an EMV chip card.

*/ inline void SetCardStatusUpdate(const char* value) { m_cardStatusUpdateHasBeenSet = true; m_cardStatusUpdate.assign(value); } /** *

The data indicating whether the issuer approves or declines an online * transaction using an EMV chip card.

*/ inline CryptogramVerificationArpcMethod2& WithCardStatusUpdate(const Aws::String& value) { SetCardStatusUpdate(value); return *this;} /** *

The data indicating whether the issuer approves or declines an online * transaction using an EMV chip card.

*/ inline CryptogramVerificationArpcMethod2& WithCardStatusUpdate(Aws::String&& value) { SetCardStatusUpdate(std::move(value)); return *this;} /** *

The data indicating whether the issuer approves or declines an online * transaction using an EMV chip card.

*/ inline CryptogramVerificationArpcMethod2& WithCardStatusUpdate(const char* value) { SetCardStatusUpdate(value); return *this;} /** *

The proprietary authentication data used by issuer for communication during * online transaction using an EMV chip card.

*/ inline const Aws::String& GetProprietaryAuthenticationData() const{ return m_proprietaryAuthenticationData; } /** *

The proprietary authentication data used by issuer for communication during * online transaction using an EMV chip card.

*/ inline bool ProprietaryAuthenticationDataHasBeenSet() const { return m_proprietaryAuthenticationDataHasBeenSet; } /** *

The proprietary authentication data used by issuer for communication during * online transaction using an EMV chip card.

*/ inline void SetProprietaryAuthenticationData(const Aws::String& value) { m_proprietaryAuthenticationDataHasBeenSet = true; m_proprietaryAuthenticationData = value; } /** *

The proprietary authentication data used by issuer for communication during * online transaction using an EMV chip card.

*/ inline void SetProprietaryAuthenticationData(Aws::String&& value) { m_proprietaryAuthenticationDataHasBeenSet = true; m_proprietaryAuthenticationData = std::move(value); } /** *

The proprietary authentication data used by issuer for communication during * online transaction using an EMV chip card.

*/ inline void SetProprietaryAuthenticationData(const char* value) { m_proprietaryAuthenticationDataHasBeenSet = true; m_proprietaryAuthenticationData.assign(value); } /** *

The proprietary authentication data used by issuer for communication during * online transaction using an EMV chip card.

*/ inline CryptogramVerificationArpcMethod2& WithProprietaryAuthenticationData(const Aws::String& value) { SetProprietaryAuthenticationData(value); return *this;} /** *

The proprietary authentication data used by issuer for communication during * online transaction using an EMV chip card.

*/ inline CryptogramVerificationArpcMethod2& WithProprietaryAuthenticationData(Aws::String&& value) { SetProprietaryAuthenticationData(std::move(value)); return *this;} /** *

The proprietary authentication data used by issuer for communication during * online transaction using an EMV chip card.

*/ inline CryptogramVerificationArpcMethod2& WithProprietaryAuthenticationData(const char* value) { SetProprietaryAuthenticationData(value); return *this;} private: Aws::String m_cardStatusUpdate; bool m_cardStatusUpdateHasBeenSet = false; Aws::String m_proprietaryAuthenticationData; bool m_proprietaryAuthenticationDataHasBeenSet = false; }; } // namespace Model } // namespace PaymentCryptographyData } // namespace Aws