7#include <aws/core/utils/DateTime.h>
8#include <aws/core/utils/memory/stl/AWSString.h>
9#include <aws/core/utils/memory/stl/AWSVector.h>
10#include <aws/invoicing/Invoicing_EXPORTS.h>
11#include <aws/invoicing/model/BillType.h>
12#include <aws/invoicing/model/BillingPeriod.h>
13#include <aws/invoicing/model/EinvoiceDeliveryStatus.h>
14#include <aws/invoicing/model/Entity.h>
15#include <aws/invoicing/model/InvoiceCurrencyAmount.h>
16#include <aws/invoicing/model/InvoiceFrequency.h>
17#include <aws/invoicing/model/InvoiceType.h>
18#include <aws/invoicing/model/ReceiverRole.h>
19#include <aws/invoicing/model/TaxAuthorityStatus.h>
51 template <
typename AccountIdT = Aws::String>
53 m_accountIdHasBeenSet =
true;
54 m_accountId = std::forward<AccountIdT>(value);
56 template <
typename AccountIdT = Aws::String>
69 template <
typename InvoiceIdT = Aws::String>
71 m_invoiceIdHasBeenSet =
true;
72 m_invoiceId = std::forward<InvoiceIdT>(value);
74 template <
typename InvoiceIdT = Aws::String>
87 template <
typename IssuedDateT = Aws::Utils::DateTime>
89 m_issuedDateHasBeenSet =
true;
90 m_issuedDate = std::forward<IssuedDateT>(value);
92 template <
typename IssuedDateT = Aws::Utils::DateTime>
105 template <
typename DueDateT = Aws::Utils::DateTime>
107 m_dueDateHasBeenSet =
true;
108 m_dueDate = std::forward<DueDateT>(value);
110 template <
typename DueDateT = Aws::Utils::DateTime>
124 template <
typename BillSourceAccountsT = Aws::Vector<Aws::String>>
126 m_billSourceAccountsHasBeenSet =
true;
127 m_billSourceAccounts = std::forward<BillSourceAccountsT>(value);
129 template <
typename BillSourceAccountsT = Aws::Vector<Aws::String>>
134 template <
typename BillSourceAccountsT = Aws::String>
136 m_billSourceAccountsHasBeenSet =
true;
137 m_billSourceAccounts.emplace_back(std::forward<BillSourceAccountsT>(value));
149 m_billSourceAccountsTotalCountHasBeenSet =
true;
150 m_billSourceAccountsTotalCount = value;
165 m_receiverRoleHasBeenSet =
true;
166 m_receiverRole = value;
180 template <
typename EntityT = Entity>
182 m_entityHasBeenSet =
true;
183 m_entity = std::forward<EntityT>(value);
185 template <
typename EntityT = Entity>
198 template <
typename BillingPeriodT = BillingPeriod>
200 m_billingPeriodHasBeenSet =
true;
201 m_billingPeriod = std::forward<BillingPeriodT>(value);
203 template <
typename BillingPeriodT = BillingPeriod>
217 m_invoiceFrequencyHasBeenSet =
true;
218 m_invoiceFrequency = value;
233 m_billTypeHasBeenSet =
true;
249 m_invoiceTypeHasBeenSet =
true;
250 m_invoiceType = value;
265 template <
typename CommercialInvoiceIdT = Aws::String>
267 m_commercialInvoiceIdHasBeenSet =
true;
268 m_commercialInvoiceId = std::forward<CommercialInvoiceIdT>(value);
270 template <
typename CommercialInvoiceIdT = Aws::String>
283 template <
typename OriginalInvoiceIdT = Aws::String>
285 m_originalInvoiceIdHasBeenSet =
true;
286 m_originalInvoiceId = std::forward<OriginalInvoiceIdT>(value);
288 template <
typename OriginalInvoiceIdT = Aws::String>
301 template <
typename PurchaseOrderNumberT = Aws::String>
303 m_purchaseOrderNumberHasBeenSet =
true;
304 m_purchaseOrderNumber = std::forward<PurchaseOrderNumberT>(value);
306 template <
typename PurchaseOrderNumberT = Aws::String>
320 m_einvoiceDeliveryStatusHasBeenSet =
true;
321 m_einvoiceDeliveryStatus = value;
337 m_taxAuthorityStatusHasBeenSet =
true;
338 m_taxAuthorityStatus = value;
352 template <
typename BaseCurrencyAmountT = InvoiceCurrencyAmount>
354 m_baseCurrencyAmountHasBeenSet =
true;
355 m_baseCurrencyAmount = std::forward<BaseCurrencyAmountT>(value);
357 template <
typename BaseCurrencyAmountT = InvoiceCurrencyAmount>
370 template <
typename TaxCurrencyAmountT = InvoiceCurrencyAmount>
372 m_taxCurrencyAmountHasBeenSet =
true;
373 m_taxCurrencyAmount = std::forward<TaxCurrencyAmountT>(value);
375 template <
typename TaxCurrencyAmountT = InvoiceCurrencyAmount>
388 template <
typename PaymentCurrencyAmountT = InvoiceCurrencyAmount>
390 m_paymentCurrencyAmountHasBeenSet =
true;
391 m_paymentCurrencyAmount = std::forward<PaymentCurrencyAmountT>(value);
393 template <
typename PaymentCurrencyAmountT = InvoiceCurrencyAmount>
410 int m_billSourceAccountsTotalCount{0};
416 BillingPeriod m_billingPeriod;
434 InvoiceCurrencyAmount m_baseCurrencyAmount;
436 InvoiceCurrencyAmount m_taxCurrencyAmount;
438 InvoiceCurrencyAmount m_paymentCurrencyAmount;
439 bool m_accountIdHasBeenSet =
false;
440 bool m_invoiceIdHasBeenSet =
false;
441 bool m_issuedDateHasBeenSet =
false;
442 bool m_dueDateHasBeenSet =
false;
443 bool m_billSourceAccountsHasBeenSet =
false;
444 bool m_billSourceAccountsTotalCountHasBeenSet =
false;
445 bool m_receiverRoleHasBeenSet =
false;
446 bool m_entityHasBeenSet =
false;
447 bool m_billingPeriodHasBeenSet =
false;
448 bool m_invoiceFrequencyHasBeenSet =
false;
449 bool m_billTypeHasBeenSet =
false;
450 bool m_invoiceTypeHasBeenSet =
false;
451 bool m_commercialInvoiceIdHasBeenSet =
false;
452 bool m_originalInvoiceIdHasBeenSet =
false;
453 bool m_purchaseOrderNumberHasBeenSet =
false;
454 bool m_einvoiceDeliveryStatusHasBeenSet =
false;
455 bool m_taxAuthorityStatusHasBeenSet =
false;
456 bool m_baseCurrencyAmountHasBeenSet =
false;
457 bool m_taxCurrencyAmountHasBeenSet =
false;
458 bool m_paymentCurrencyAmountHasBeenSet =
false;
AWS_INVOICING_API InvoiceSummary(Aws::Utils::Json::JsonView jsonValue)
void SetBillSourceAccountsTotalCount(int value)
bool EntityHasBeenSet() const
bool BillSourceAccountsHasBeenSet() const
const InvoiceCurrencyAmount & GetBaseCurrencyAmount() const
bool TaxCurrencyAmountHasBeenSet() const
void SetPurchaseOrderNumber(PurchaseOrderNumberT &&value)
InvoiceSummary & WithIssuedDate(IssuedDateT &&value)
void SetInvoiceType(InvoiceType value)
void SetBillingPeriod(BillingPeriodT &&value)
void SetAccountId(AccountIdT &&value)
InvoiceSummary & WithBaseCurrencyAmount(BaseCurrencyAmountT &&value)
bool ReceiverRoleHasBeenSet() const
bool BaseCurrencyAmountHasBeenSet() const
const Aws::Vector< Aws::String > & GetBillSourceAccounts() const
void SetBillSourceAccounts(BillSourceAccountsT &&value)
AWS_INVOICING_API Aws::Utils::Json::JsonValue Jsonize() const
bool EinvoiceDeliveryStatusHasBeenSet() const
void SetEntity(EntityT &&value)
void SetCommercialInvoiceId(CommercialInvoiceIdT &&value)
InvoiceSummary & WithPurchaseOrderNumber(PurchaseOrderNumberT &&value)
InvoiceSummary & WithPaymentCurrencyAmount(PaymentCurrencyAmountT &&value)
InvoiceFrequency GetInvoiceFrequency() const
bool CommercialInvoiceIdHasBeenSet() const
AWS_INVOICING_API InvoiceSummary()=default
InvoiceSummary & WithInvoiceType(InvoiceType value)
void SetBillType(BillType value)
void SetTaxCurrencyAmount(TaxCurrencyAmountT &&value)
InvoiceSummary & WithDueDate(DueDateT &&value)
const Aws::String & GetInvoiceId() const
const Aws::Utils::DateTime & GetDueDate() const
InvoiceSummary & WithTaxCurrencyAmount(TaxCurrencyAmountT &&value)
void SetEinvoiceDeliveryStatus(EinvoiceDeliveryStatus value)
InvoiceType GetInvoiceType() const
InvoiceSummary & WithInvoiceFrequency(InvoiceFrequency value)
bool DueDateHasBeenSet() const
InvoiceSummary & WithBillSourceAccountsTotalCount(int value)
bool BillSourceAccountsTotalCountHasBeenSet() const
void SetInvoiceId(InvoiceIdT &&value)
InvoiceSummary & WithReceiverRole(ReceiverRole value)
void SetReceiverRole(ReceiverRole value)
const Entity & GetEntity() const
InvoiceSummary & WithOriginalInvoiceId(OriginalInvoiceIdT &&value)
bool OriginalInvoiceIdHasBeenSet() const
InvoiceSummary & WithBillingPeriod(BillingPeriodT &&value)
EinvoiceDeliveryStatus GetEinvoiceDeliveryStatus() const
void SetInvoiceFrequency(InvoiceFrequency value)
int GetBillSourceAccountsTotalCount() const
const InvoiceCurrencyAmount & GetTaxCurrencyAmount() const
InvoiceSummary & AddBillSourceAccounts(BillSourceAccountsT &&value)
const Aws::Utils::DateTime & GetIssuedDate() const
bool AccountIdHasBeenSet() const
ReceiverRole GetReceiverRole() const
TaxAuthorityStatus GetTaxAuthorityStatus() const
void SetIssuedDate(IssuedDateT &&value)
bool BillingPeriodHasBeenSet() const
bool InvoiceTypeHasBeenSet() const
const InvoiceCurrencyAmount & GetPaymentCurrencyAmount() const
void SetPaymentCurrencyAmount(PaymentCurrencyAmountT &&value)
bool PurchaseOrderNumberHasBeenSet() const
const Aws::String & GetCommercialInvoiceId() const
bool PaymentCurrencyAmountHasBeenSet() const
bool BillTypeHasBeenSet() const
InvoiceSummary & WithTaxAuthorityStatus(TaxAuthorityStatus value)
bool IssuedDateHasBeenSet() const
const Aws::String & GetAccountId() const
bool InvoiceIdHasBeenSet() const
BillType GetBillType() const
InvoiceSummary & WithBillSourceAccounts(BillSourceAccountsT &&value)
InvoiceSummary & WithEntity(EntityT &&value)
bool InvoiceFrequencyHasBeenSet() const
InvoiceSummary & WithAccountId(AccountIdT &&value)
const Aws::String & GetPurchaseOrderNumber() const
void SetBaseCurrencyAmount(BaseCurrencyAmountT &&value)
const Aws::String & GetOriginalInvoiceId() const
AWS_INVOICING_API InvoiceSummary & operator=(Aws::Utils::Json::JsonView jsonValue)
bool TaxAuthorityStatusHasBeenSet() const
InvoiceSummary & WithInvoiceId(InvoiceIdT &&value)
InvoiceSummary & WithEinvoiceDeliveryStatus(EinvoiceDeliveryStatus value)
void SetOriginalInvoiceId(OriginalInvoiceIdT &&value)
InvoiceSummary & WithCommercialInvoiceId(CommercialInvoiceIdT &&value)
InvoiceSummary & WithBillType(BillType value)
const BillingPeriod & GetBillingPeriod() const
void SetDueDate(DueDateT &&value)
void SetTaxAuthorityStatus(TaxAuthorityStatus value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
std::vector< T, Aws::Allocator< T > > Vector
Aws::Utils::Json::JsonValue JsonValue