/**
* Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
* SPDX-License-Identifier: Apache-2.0.
*/
#pragma once
#include Card data parameters that are required to verify CVV (Card Verification
* Value) for the payment card.See Also:
AWS
* API Reference
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 CardVerificationValue1& WithCardExpiryDate(const Aws::String& value) { SetCardExpiryDate(value); return *this;} /** *The expiry date of a payment card.
*/ inline CardVerificationValue1& WithCardExpiryDate(Aws::String&& value) { SetCardExpiryDate(std::move(value)); return *this;} /** *The expiry date of a payment card.
*/ inline CardVerificationValue1& WithCardExpiryDate(const char* value) { SetCardExpiryDate(value); return *this;} /** *The service code of the payment card. This is different from Card Security * Code (CSC).
*/ inline const Aws::String& GetServiceCode() const{ return m_serviceCode; } /** *The service code of the payment card. This is different from Card Security * Code (CSC).
*/ inline bool ServiceCodeHasBeenSet() const { return m_serviceCodeHasBeenSet; } /** *The service code of the payment card. This is different from Card Security * Code (CSC).
*/ inline void SetServiceCode(const Aws::String& value) { m_serviceCodeHasBeenSet = true; m_serviceCode = value; } /** *The service code of the payment card. This is different from Card Security * Code (CSC).
*/ inline void SetServiceCode(Aws::String&& value) { m_serviceCodeHasBeenSet = true; m_serviceCode = std::move(value); } /** *The service code of the payment card. This is different from Card Security * Code (CSC).
*/ inline void SetServiceCode(const char* value) { m_serviceCodeHasBeenSet = true; m_serviceCode.assign(value); } /** *The service code of the payment card. This is different from Card Security * Code (CSC).
*/ inline CardVerificationValue1& WithServiceCode(const Aws::String& value) { SetServiceCode(value); return *this;} /** *The service code of the payment card. This is different from Card Security * Code (CSC).
*/ inline CardVerificationValue1& WithServiceCode(Aws::String&& value) { SetServiceCode(std::move(value)); return *this;} /** *The service code of the payment card. This is different from Card Security * Code (CSC).
*/ inline CardVerificationValue1& WithServiceCode(const char* value) { SetServiceCode(value); return *this;} private: Aws::String m_cardExpiryDate; bool m_cardExpiryDateHasBeenSet = false; Aws::String m_serviceCode; bool m_serviceCodeHasBeenSet = false; }; } // namespace Model } // namespace PaymentCryptographyData } // namespace Aws