7#include <aws/invoicing/Invoicing_EXPORTS.h>
8#include <aws/core/utils/memory/stl/AWSString.h>
9#include <aws/invoicing/model/AmountBreakdown.h>
10#include <aws/invoicing/model/CurrencyExchangeDetails.h>
49 template<
typename TotalAmountT = Aws::String>
50 void SetTotalAmount(TotalAmountT&& value) { m_totalAmountHasBeenSet =
true; m_totalAmount = std::forward<TotalAmountT>(value); }
51 template<
typename TotalAmountT = Aws::String>
61 template<
typename TotalAmountBeforeTaxT = Aws::String>
62 void SetTotalAmountBeforeTax(TotalAmountBeforeTaxT&& value) { m_totalAmountBeforeTaxHasBeenSet =
true; m_totalAmountBeforeTax = std::forward<TotalAmountBeforeTaxT>(value); }
63 template<
typename TotalAmountBeforeTaxT = Aws::String>
73 template<
typename CurrencyCodeT = Aws::String>
74 void SetCurrencyCode(CurrencyCodeT&& value) { m_currencyCodeHasBeenSet =
true; m_currencyCode = std::forward<CurrencyCodeT>(value); }
75 template<
typename CurrencyCodeT = Aws::String>
85 template<
typename AmountBreakdownT = AmountBreakdown>
86 void SetAmountBreakdown(AmountBreakdownT&& value) { m_amountBreakdownHasBeenSet =
true; m_amountBreakdown = std::forward<AmountBreakdownT>(value); }
87 template<
typename AmountBreakdownT = AmountBreakdown>
97 template<
typename CurrencyExchangeDetailsT = CurrencyExchangeDetails>
98 void SetCurrencyExchangeDetails(CurrencyExchangeDetailsT&& value) { m_currencyExchangeDetailsHasBeenSet =
true; m_currencyExchangeDetails = std::forward<CurrencyExchangeDetailsT>(value); }
99 template<
typename CurrencyExchangeDetailsT = CurrencyExchangeDetails>
105 bool m_totalAmountHasBeenSet =
false;
108 bool m_totalAmountBeforeTaxHasBeenSet =
false;
111 bool m_currencyCodeHasBeenSet =
false;
114 bool m_amountBreakdownHasBeenSet =
false;
117 bool m_currencyExchangeDetailsHasBeenSet =
false;
void SetTotalAmountBeforeTax(TotalAmountBeforeTaxT &&value)
bool TotalAmountHasBeenSet() const
AWS_INVOICING_API InvoiceCurrencyAmount & operator=(Aws::Utils::Json::JsonView jsonValue)
const Aws::String & GetTotalAmountBeforeTax() const
InvoiceCurrencyAmount & WithAmountBreakdown(AmountBreakdownT &&value)
const CurrencyExchangeDetails & GetCurrencyExchangeDetails() const
bool CurrencyExchangeDetailsHasBeenSet() const
InvoiceCurrencyAmount & WithTotalAmount(TotalAmountT &&value)
const Aws::String & GetCurrencyCode() const
AWS_INVOICING_API InvoiceCurrencyAmount(Aws::Utils::Json::JsonView jsonValue)
InvoiceCurrencyAmount & WithCurrencyCode(CurrencyCodeT &&value)
bool AmountBreakdownHasBeenSet() const
AWS_INVOICING_API InvoiceCurrencyAmount()=default
InvoiceCurrencyAmount & WithCurrencyExchangeDetails(CurrencyExchangeDetailsT &&value)
AWS_INVOICING_API Aws::Utils::Json::JsonValue Jsonize() const
InvoiceCurrencyAmount & WithTotalAmountBeforeTax(TotalAmountBeforeTaxT &&value)
void SetCurrencyExchangeDetails(CurrencyExchangeDetailsT &&value)
void SetTotalAmount(TotalAmountT &&value)
const AmountBreakdown & GetAmountBreakdown() const
bool TotalAmountBeforeTaxHasBeenSet() const
void SetCurrencyCode(CurrencyCodeT &&value)
void SetAmountBreakdown(AmountBreakdownT &&value)
bool CurrencyCodeHasBeenSet() const
const Aws::String & GetTotalAmount() const
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue