7#include <aws/invoicing/Invoicing_EXPORTS.h>
8#include <aws/core/utils/memory/stl/AWSString.h>
9#include <aws/core/utils/DateTime.h>
10#include <aws/invoicing/model/Entity.h>
11#include <aws/invoicing/model/BillingPeriod.h>
12#include <aws/invoicing/model/InvoiceType.h>
13#include <aws/invoicing/model/InvoiceCurrencyAmount.h>
51 template<
typename AccountIdT = Aws::String>
52 void SetAccountId(AccountIdT&& value) { m_accountIdHasBeenSet =
true; m_accountId = std::forward<AccountIdT>(value); }
53 template<
typename AccountIdT = Aws::String>
63 template<
typename InvoiceIdT = Aws::String>
64 void SetInvoiceId(InvoiceIdT&& value) { m_invoiceIdHasBeenSet =
true; m_invoiceId = std::forward<InvoiceIdT>(value); }
65 template<
typename InvoiceIdT = Aws::String>
75 template<
typename IssuedDateT = Aws::Utils::DateTime>
76 void SetIssuedDate(IssuedDateT&& value) { m_issuedDateHasBeenSet =
true; m_issuedDate = std::forward<IssuedDateT>(value); }
77 template<
typename IssuedDateT = Aws::Utils::DateTime>
87 template<
typename DueDateT = Aws::Utils::DateTime>
88 void SetDueDate(DueDateT&& value) { m_dueDateHasBeenSet =
true; m_dueDate = std::forward<DueDateT>(value); }
89 template<
typename DueDateT = Aws::Utils::DateTime>
99 template<
typename EntityT = Entity>
100 void SetEntity(EntityT&& value) { m_entityHasBeenSet =
true; m_entity = std::forward<EntityT>(value); }
101 template<
typename EntityT = Entity>
111 template<
typename BillingPeriodT = BillingPeriod>
112 void SetBillingPeriod(BillingPeriodT&& value) { m_billingPeriodHasBeenSet =
true; m_billingPeriod = std::forward<BillingPeriodT>(value); }
113 template<
typename BillingPeriodT = BillingPeriod>
133 template<
typename OriginalInvoiceIdT = Aws::String>
134 void SetOriginalInvoiceId(OriginalInvoiceIdT&& value) { m_originalInvoiceIdHasBeenSet =
true; m_originalInvoiceId = std::forward<OriginalInvoiceIdT>(value); }
135 template<
typename OriginalInvoiceIdT = Aws::String>
145 template<
typename PurchaseOrderNumberT = Aws::String>
146 void SetPurchaseOrderNumber(PurchaseOrderNumberT&& value) { m_purchaseOrderNumberHasBeenSet =
true; m_purchaseOrderNumber = std::forward<PurchaseOrderNumberT>(value); }
147 template<
typename PurchaseOrderNumberT = Aws::String>
157 template<
typename BaseCurrencyAmountT = InvoiceCurrencyAmount>
158 void SetBaseCurrencyAmount(BaseCurrencyAmountT&& value) { m_baseCurrencyAmountHasBeenSet =
true; m_baseCurrencyAmount = std::forward<BaseCurrencyAmountT>(value); }
159 template<
typename BaseCurrencyAmountT = InvoiceCurrencyAmount>
169 template<
typename TaxCurrencyAmountT = InvoiceCurrencyAmount>
170 void SetTaxCurrencyAmount(TaxCurrencyAmountT&& value) { m_taxCurrencyAmountHasBeenSet =
true; m_taxCurrencyAmount = std::forward<TaxCurrencyAmountT>(value); }
171 template<
typename TaxCurrencyAmountT = InvoiceCurrencyAmount>
181 template<
typename PaymentCurrencyAmountT = InvoiceCurrencyAmount>
182 void SetPaymentCurrencyAmount(PaymentCurrencyAmountT&& value) { m_paymentCurrencyAmountHasBeenSet =
true; m_paymentCurrencyAmount = std::forward<PaymentCurrencyAmountT>(value); }
183 template<
typename PaymentCurrencyAmountT = InvoiceCurrencyAmount>
189 bool m_accountIdHasBeenSet =
false;
192 bool m_invoiceIdHasBeenSet =
false;
195 bool m_issuedDateHasBeenSet =
false;
198 bool m_dueDateHasBeenSet =
false;
201 bool m_entityHasBeenSet =
false;
203 BillingPeriod m_billingPeriod;
204 bool m_billingPeriodHasBeenSet =
false;
207 bool m_invoiceTypeHasBeenSet =
false;
210 bool m_originalInvoiceIdHasBeenSet =
false;
213 bool m_purchaseOrderNumberHasBeenSet =
false;
215 InvoiceCurrencyAmount m_baseCurrencyAmount;
216 bool m_baseCurrencyAmountHasBeenSet =
false;
218 InvoiceCurrencyAmount m_taxCurrencyAmount;
219 bool m_taxCurrencyAmountHasBeenSet =
false;
221 InvoiceCurrencyAmount m_paymentCurrencyAmount;
222 bool m_paymentCurrencyAmountHasBeenSet =
false;
AWS_INVOICING_API InvoiceSummary(Aws::Utils::Json::JsonView jsonValue)
bool EntityHasBeenSet() 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 BaseCurrencyAmountHasBeenSet() const
AWS_INVOICING_API Aws::Utils::Json::JsonValue Jsonize() const
void SetEntity(EntityT &&value)
InvoiceSummary & WithPurchaseOrderNumber(PurchaseOrderNumberT &&value)
InvoiceSummary & WithPaymentCurrencyAmount(PaymentCurrencyAmountT &&value)
AWS_INVOICING_API InvoiceSummary()=default
InvoiceSummary & WithInvoiceType(InvoiceType value)
void SetTaxCurrencyAmount(TaxCurrencyAmountT &&value)
InvoiceSummary & WithDueDate(DueDateT &&value)
const Aws::String & GetInvoiceId() const
const Aws::Utils::DateTime & GetDueDate() const
InvoiceSummary & WithTaxCurrencyAmount(TaxCurrencyAmountT &&value)
InvoiceType GetInvoiceType() const
bool DueDateHasBeenSet() const
void SetInvoiceId(InvoiceIdT &&value)
const Entity & GetEntity() const
InvoiceSummary & WithOriginalInvoiceId(OriginalInvoiceIdT &&value)
bool OriginalInvoiceIdHasBeenSet() const
InvoiceSummary & WithBillingPeriod(BillingPeriodT &&value)
const InvoiceCurrencyAmount & GetTaxCurrencyAmount() const
const Aws::Utils::DateTime & GetIssuedDate() const
bool AccountIdHasBeenSet() const
void SetIssuedDate(IssuedDateT &&value)
bool BillingPeriodHasBeenSet() const
bool InvoiceTypeHasBeenSet() const
const InvoiceCurrencyAmount & GetPaymentCurrencyAmount() const
void SetPaymentCurrencyAmount(PaymentCurrencyAmountT &&value)
bool PurchaseOrderNumberHasBeenSet() const
bool PaymentCurrencyAmountHasBeenSet() const
bool IssuedDateHasBeenSet() const
const Aws::String & GetAccountId() const
bool InvoiceIdHasBeenSet() const
InvoiceSummary & WithEntity(EntityT &&value)
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)
InvoiceSummary & WithInvoiceId(InvoiceIdT &&value)
void SetOriginalInvoiceId(OriginalInvoiceIdT &&value)
const BillingPeriod & GetBillingPeriod() const
void SetDueDate(DueDateT &&value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue