7#include <aws/core/utils/DateTime.h>
8#include <aws/core/utils/memory/stl/AWSString.h>
9#include <aws/invoicing/Invoicing_EXPORTS.h>
10#include <aws/invoicing/model/BillingPeriod.h>
11#include <aws/invoicing/model/Entity.h>
12#include <aws/invoicing/model/InvoiceCurrencyAmount.h>
13#include <aws/invoicing/model/InvoiceType.h>
45 template <
typename AccountIdT = Aws::String>
47 m_accountIdHasBeenSet =
true;
48 m_accountId = std::forward<AccountIdT>(value);
50 template <
typename AccountIdT = Aws::String>
63 template <
typename InvoiceIdT = Aws::String>
65 m_invoiceIdHasBeenSet =
true;
66 m_invoiceId = std::forward<InvoiceIdT>(value);
68 template <
typename InvoiceIdT = Aws::String>
81 template <
typename IssuedDateT = Aws::Utils::DateTime>
83 m_issuedDateHasBeenSet =
true;
84 m_issuedDate = std::forward<IssuedDateT>(value);
86 template <
typename IssuedDateT = Aws::Utils::DateTime>
99 template <
typename DueDateT = Aws::Utils::DateTime>
101 m_dueDateHasBeenSet =
true;
102 m_dueDate = std::forward<DueDateT>(value);
104 template <
typename DueDateT = Aws::Utils::DateTime>
117 template <
typename EntityT = Entity>
119 m_entityHasBeenSet =
true;
120 m_entity = std::forward<EntityT>(value);
122 template <
typename EntityT = Entity>
135 template <
typename BillingPeriodT = BillingPeriod>
137 m_billingPeriodHasBeenSet =
true;
138 m_billingPeriod = std::forward<BillingPeriodT>(value);
140 template <
typename BillingPeriodT = BillingPeriod>
154 m_invoiceTypeHasBeenSet =
true;
155 m_invoiceType = value;
169 template <
typename OriginalInvoiceIdT = Aws::String>
171 m_originalInvoiceIdHasBeenSet =
true;
172 m_originalInvoiceId = std::forward<OriginalInvoiceIdT>(value);
174 template <
typename OriginalInvoiceIdT = Aws::String>
187 template <
typename PurchaseOrderNumberT = Aws::String>
189 m_purchaseOrderNumberHasBeenSet =
true;
190 m_purchaseOrderNumber = std::forward<PurchaseOrderNumberT>(value);
192 template <
typename PurchaseOrderNumberT = Aws::String>
205 template <
typename BaseCurrencyAmountT = InvoiceCurrencyAmount>
207 m_baseCurrencyAmountHasBeenSet =
true;
208 m_baseCurrencyAmount = std::forward<BaseCurrencyAmountT>(value);
210 template <
typename BaseCurrencyAmountT = InvoiceCurrencyAmount>
223 template <
typename TaxCurrencyAmountT = InvoiceCurrencyAmount>
225 m_taxCurrencyAmountHasBeenSet =
true;
226 m_taxCurrencyAmount = std::forward<TaxCurrencyAmountT>(value);
228 template <
typename TaxCurrencyAmountT = InvoiceCurrencyAmount>
241 template <
typename PaymentCurrencyAmountT = InvoiceCurrencyAmount>
243 m_paymentCurrencyAmountHasBeenSet =
true;
244 m_paymentCurrencyAmount = std::forward<PaymentCurrencyAmountT>(value);
246 template <
typename PaymentCurrencyAmountT = InvoiceCurrencyAmount>
263 BillingPeriod m_billingPeriod;
271 InvoiceCurrencyAmount m_baseCurrencyAmount;
273 InvoiceCurrencyAmount m_taxCurrencyAmount;
275 InvoiceCurrencyAmount m_paymentCurrencyAmount;
276 bool m_accountIdHasBeenSet =
false;
277 bool m_invoiceIdHasBeenSet =
false;
278 bool m_issuedDateHasBeenSet =
false;
279 bool m_dueDateHasBeenSet =
false;
280 bool m_entityHasBeenSet =
false;
281 bool m_billingPeriodHasBeenSet =
false;
282 bool m_invoiceTypeHasBeenSet =
false;
283 bool m_originalInvoiceIdHasBeenSet =
false;
284 bool m_purchaseOrderNumberHasBeenSet =
false;
285 bool m_baseCurrencyAmountHasBeenSet =
false;
286 bool m_taxCurrencyAmountHasBeenSet =
false;
287 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