7#include <aws/payments/Payments_EXPORTS.h>
8#include <aws/payments/model/Card.h>
9#include <aws/payments/model/CnBankRedirect.h>
10#include <aws/payments/model/InNetBanking.h>
11#include <aws/payments/model/SepaBankAccount.h>
12#include <aws/payments/model/UkBacsBankAccount.h>
13#include <aws/payments/model/Upi.h>
14#include <aws/payments/model/UsAchBankAccount.h>
47 template <
typename CardT = Card>
49 m_cardHasBeenSet =
true;
50 m_card = std::forward<CardT>(value);
52 template <
typename CardT = Card>
54 SetCard(std::forward<CardT>(value));
66 template <
typename UsAchBankAccountT = UsAchBankAccount>
68 m_usAchBankAccountHasBeenSet =
true;
69 m_usAchBankAccount = std::forward<UsAchBankAccountT>(value);
71 template <
typename UsAchBankAccountT = UsAchBankAccount>
85 template <
typename SepaBankAccountT = SepaBankAccount>
87 m_sepaBankAccountHasBeenSet =
true;
88 m_sepaBankAccount = std::forward<SepaBankAccountT>(value);
90 template <
typename SepaBankAccountT = SepaBankAccount>
103 template <
typename UkBacsBankAccountT = UkBacsBankAccount>
105 m_ukBacsBankAccountHasBeenSet =
true;
106 m_ukBacsBankAccount = std::forward<UkBacsBankAccountT>(value);
108 template <
typename UkBacsBankAccountT = UkBacsBankAccount>
121 template <
typename InNetBankingT = InNetBanking>
123 m_inNetBankingHasBeenSet =
true;
124 m_inNetBanking = std::forward<InNetBankingT>(value);
126 template <
typename InNetBankingT = InNetBanking>
139 template <
typename CnBankRedirectT = CnBankRedirect>
141 m_cnBankRedirectHasBeenSet =
true;
142 m_cnBankRedirect = std::forward<CnBankRedirectT>(value);
144 template <
typename CnBankRedirectT = CnBankRedirect>
157 template <
typename UpiT = Upi>
159 m_upiHasBeenSet =
true;
160 m_upi = std::forward<UpiT>(value);
162 template <
typename UpiT = Upi>
164 SetUpi(std::forward<UpiT>(value));
182 bool m_cardHasBeenSet =
false;
183 bool m_usAchBankAccountHasBeenSet =
false;
184 bool m_sepaBankAccountHasBeenSet =
false;
185 bool m_ukBacsBankAccountHasBeenSet =
false;
186 bool m_inNetBankingHasBeenSet =
false;
187 bool m_cnBankRedirectHasBeenSet =
false;
188 bool m_upiHasBeenSet =
false;
AWS_PAYMENTS_API PaymentInstrumentDetails()=default
PaymentInstrumentDetails & WithUkBacsBankAccount(UkBacsBankAccountT &&value)
bool UsAchBankAccountHasBeenSet() const
const CnBankRedirect & GetCnBankRedirect() const
void SetSepaBankAccount(SepaBankAccountT &&value)
PaymentInstrumentDetails & WithSepaBankAccount(SepaBankAccountT &&value)
const UsAchBankAccount & GetUsAchBankAccount() const
const Card & GetCard() const
AWS_PAYMENTS_API PaymentInstrumentDetails & operator=(Aws::Utils::Json::JsonView jsonValue)
AWS_PAYMENTS_API Aws::Utils::Json::JsonValue Jsonize() const
bool CardHasBeenSet() const
void SetInNetBanking(InNetBankingT &&value)
void SetUpi(UpiT &&value)
bool SepaBankAccountHasBeenSet() const
bool InNetBankingHasBeenSet() const
bool UkBacsBankAccountHasBeenSet() const
const InNetBanking & GetInNetBanking() const
PaymentInstrumentDetails & WithUpi(UpiT &&value)
const Upi & GetUpi() const
PaymentInstrumentDetails & WithCard(CardT &&value)
PaymentInstrumentDetails & WithUsAchBankAccount(UsAchBankAccountT &&value)
void SetUkBacsBankAccount(UkBacsBankAccountT &&value)
PaymentInstrumentDetails & WithInNetBanking(InNetBankingT &&value)
bool UpiHasBeenSet() const
const SepaBankAccount & GetSepaBankAccount() const
void SetCnBankRedirect(CnBankRedirectT &&value)
bool CnBankRedirectHasBeenSet() const
void SetUsAchBankAccount(UsAchBankAccountT &&value)
const UkBacsBankAccount & GetUkBacsBankAccount() const
AWS_PAYMENTS_API PaymentInstrumentDetails(Aws::Utils::Json::JsonView jsonValue)
PaymentInstrumentDetails & WithCnBankRedirect(CnBankRedirectT &&value)
void SetCard(CardT &&value)
Aws::Utils::Json::JsonValue JsonValue