7#include <aws/core/utils/DateTime.h>
8#include <aws/core/utils/memory/stl/AWSString.h>
9#include <aws/payments/Payments_EXPORTS.h>
10#include <aws/payments/model/PaymentInstrumentDetails.h>
11#include <aws/payments/model/PaymentInstrumentStatus.h>
12#include <aws/payments/model/PaymentMethod.h>
48 template <
typename ArnT = Aws::String>
50 m_arnHasBeenSet =
true;
51 m_arn = std::forward<ArnT>(value);
53 template <
typename ArnT = Aws::String>
55 SetArn(std::forward<ArnT>(value));
81 m_paymentMethodHasBeenSet =
true;
82 m_paymentMethod = value;
112 m_statusHasBeenSet =
true;
128 template <
typename DetailsT = PaymentInstrumentDetails>
130 m_detailsHasBeenSet =
true;
131 m_details = std::forward<DetailsT>(value);
133 template <
typename DetailsT = PaymentInstrumentDetails>
146 template <
typename CreatedAtT = Aws::Utils::DateTime>
148 m_createdAtHasBeenSet =
true;
149 m_createdAt = std::forward<CreatedAtT>(value);
151 template <
typename CreatedAtT = Aws::Utils::DateTime>
164 template <
typename UpdatedAtT = Aws::Utils::DateTime>
166 m_updatedAtHasBeenSet =
true;
167 m_updatedAt = std::forward<UpdatedAtT>(value);
169 template <
typename UpdatedAtT = Aws::Utils::DateTime>
182 PaymentInstrumentDetails m_details;
187 bool m_arnHasBeenSet =
false;
188 bool m_paymentMethodHasBeenSet =
false;
189 bool m_statusHasBeenSet =
false;
190 bool m_detailsHasBeenSet =
false;
191 bool m_createdAtHasBeenSet =
false;
192 bool m_updatedAtHasBeenSet =
false;
void SetArn(ArnT &&value)
bool PaymentMethodHasBeenSet() const
PaymentInstrument & WithArn(ArnT &&value)
void SetStatus(PaymentInstrumentStatus value)
const Aws::Utils::DateTime & GetUpdatedAt() const
AWS_PAYMENTS_API Aws::Utils::Json::JsonValue Jsonize() const
PaymentInstrumentStatus GetStatus() const
PaymentInstrument & WithPaymentMethod(PaymentMethod value)
bool StatusHasBeenSet() const
void SetPaymentMethod(PaymentMethod value)
bool UpdatedAtHasBeenSet() const
bool ArnHasBeenSet() const
void SetCreatedAt(CreatedAtT &&value)
PaymentMethod GetPaymentMethod() const
const Aws::Utils::DateTime & GetCreatedAt() const
AWS_PAYMENTS_API PaymentInstrument(Aws::Utils::Json::JsonView jsonValue)
void SetUpdatedAt(UpdatedAtT &&value)
PaymentInstrument & WithStatus(PaymentInstrumentStatus value)
PaymentInstrument & WithCreatedAt(CreatedAtT &&value)
bool CreatedAtHasBeenSet() const
bool DetailsHasBeenSet() const
AWS_PAYMENTS_API PaymentInstrument & operator=(Aws::Utils::Json::JsonView jsonValue)
void SetDetails(DetailsT &&value)
const PaymentInstrumentDetails & GetDetails() const
AWS_PAYMENTS_API PaymentInstrument()=default
PaymentInstrument & WithDetails(DetailsT &&value)
PaymentInstrument & WithUpdatedAt(UpdatedAtT &&value)
const Aws::String & GetArn() const
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue