/** * 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 { /** *

Card data parameters that are required to generate a Card Security Code * (CSC2) for an AMEX payment card.

See Also:

AWS * API Reference

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

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 AmexCardSecurityCodeVersion1& WithCardExpiryDate(const Aws::String& value) { SetCardExpiryDate(value); return *this;} /** *

The expiry date of a payment card.

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

The expiry date of a payment card.

*/ inline AmexCardSecurityCodeVersion1& WithCardExpiryDate(const char* value) { SetCardExpiryDate(value); return *this;} private: Aws::String m_cardExpiryDate; bool m_cardExpiryDateHasBeenSet = false; }; } // namespace Model } // namespace PaymentCryptographyData } // namespace Aws