7#include <aws/core/utils/memory/stl/AWSString.h>
8#include <aws/payments/Payments_EXPORTS.h>
9#include <aws/payments/model/CardBrand.h>
10#include <aws/payments/model/CardType.h>
31 AWS_PAYMENTS_API
Card() =
default;
43 m_brandHasBeenSet =
true;
58 template <
typename Last4T = Aws::String>
60 m_last4HasBeenSet =
true;
61 m_last4 = std::forward<Last4T>(value);
63 template <
typename Last4T = Aws::String>
65 SetLast4(std::forward<Last4T>(value));
77 m_expirationMonthHasBeenSet =
true;
78 m_expirationMonth = value;
93 m_expirationYearHasBeenSet =
true;
94 m_expirationYear = value;
109 m_cardTypeHasBeenSet =
true;
124 template <
typename IssuingBankT = Aws::String>
126 m_issuingBankHasBeenSet =
true;
127 m_issuingBank = std::forward<IssuingBankT>(value);
129 template <
typename IssuingBankT = Aws::String>
142 template <
typename IssuerCountryT = Aws::String>
144 m_issuerCountryHasBeenSet =
true;
145 m_issuerCountry = std::forward<IssuerCountryT>(value);
147 template <
typename IssuerCountryT = Aws::String>
158 int m_expirationMonth{0};
160 int m_expirationYear{0};
167 bool m_brandHasBeenSet =
false;
168 bool m_last4HasBeenSet =
false;
169 bool m_expirationMonthHasBeenSet =
false;
170 bool m_expirationYearHasBeenSet =
false;
171 bool m_cardTypeHasBeenSet =
false;
172 bool m_issuingBankHasBeenSet =
false;
173 bool m_issuerCountryHasBeenSet =
false;
Card & WithIssuerCountry(IssuerCountryT &&value)
void SetExpirationYear(int value)
AWS_PAYMENTS_API Card()=default
const Aws::String & GetLast4() const
const Aws::String & GetIssuingBank() const
AWS_PAYMENTS_API Card & operator=(Aws::Utils::Json::JsonView jsonValue)
int GetExpirationYear() const
AWS_PAYMENTS_API Card(Aws::Utils::Json::JsonView jsonValue)
bool Last4HasBeenSet() const
CardBrand GetBrand() const
void SetLast4(Last4T &&value)
AWS_PAYMENTS_API Aws::Utils::Json::JsonValue Jsonize() const
bool CardTypeHasBeenSet() const
void SetExpirationMonth(int value)
bool IssuingBankHasBeenSet() const
bool IssuerCountryHasBeenSet() const
bool BrandHasBeenSet() const
void SetIssuerCountry(IssuerCountryT &&value)
bool ExpirationYearHasBeenSet() const
Card & WithIssuingBank(IssuingBankT &&value)
Card & WithCardType(CardType value)
Card & WithLast4(Last4T &&value)
void SetCardType(CardType value)
void SetBrand(CardBrand value)
CardType GetCardType() const
const Aws::String & GetIssuerCountry() const
int GetExpirationMonth() const
void SetIssuingBank(IssuingBankT &&value)
bool ExpirationMonthHasBeenSet() const
Card & WithExpirationYear(int value)
Card & WithBrand(CardBrand value)
Card & WithExpirationMonth(int value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue