7#include <aws/invoicing/Invoicing_EXPORTS.h>
8#include <aws/core/utils/memory/stl/AWSString.h>
9#include <aws/invoicing/model/DiscountsBreakdown.h>
10#include <aws/invoicing/model/TaxesBreakdown.h>
11#include <aws/invoicing/model/FeesBreakdown.h>
50 template<
typename SubTotalAmountT = Aws::String>
51 void SetSubTotalAmount(SubTotalAmountT&& value) { m_subTotalAmountHasBeenSet =
true; m_subTotalAmount = std::forward<SubTotalAmountT>(value); }
52 template<
typename SubTotalAmountT = Aws::String>
62 template<
typename DiscountsT = DiscountsBreakdown>
63 void SetDiscounts(DiscountsT&& value) { m_discountsHasBeenSet =
true; m_discounts = std::forward<DiscountsT>(value); }
64 template<
typename DiscountsT = DiscountsBreakdown>
74 template<
typename TaxesT = TaxesBreakdown>
75 void SetTaxes(TaxesT&& value) { m_taxesHasBeenSet =
true; m_taxes = std::forward<TaxesT>(value); }
76 template<
typename TaxesT = TaxesBreakdown>
86 template<
typename FeesT = FeesBreakdown>
87 void SetFees(FeesT&& value) { m_feesHasBeenSet =
true; m_fees = std::forward<FeesT>(value); }
88 template<
typename FeesT = FeesBreakdown>
94 bool m_subTotalAmountHasBeenSet =
false;
97 bool m_discountsHasBeenSet =
false;
100 bool m_taxesHasBeenSet =
false;
103 bool m_feesHasBeenSet =
false;
AmountBreakdown & WithTaxes(TaxesT &&value)
const Aws::String & GetSubTotalAmount() const
AWS_INVOICING_API Aws::Utils::Json::JsonValue Jsonize() const
const DiscountsBreakdown & GetDiscounts() const
void SetDiscounts(DiscountsT &&value)
AmountBreakdown & WithSubTotalAmount(SubTotalAmountT &&value)
AWS_INVOICING_API AmountBreakdown(Aws::Utils::Json::JsonView jsonValue)
AmountBreakdown & WithFees(FeesT &&value)
bool DiscountsHasBeenSet() const
AWS_INVOICING_API AmountBreakdown()=default
void SetTaxes(TaxesT &&value)
const TaxesBreakdown & GetTaxes() const
const FeesBreakdown & GetFees() const
void SetFees(FeesT &&value)
void SetSubTotalAmount(SubTotalAmountT &&value)
AmountBreakdown & WithDiscounts(DiscountsT &&value)
bool TaxesHasBeenSet() const
bool FeesHasBeenSet() const
AWS_INVOICING_API AmountBreakdown & operator=(Aws::Utils::Json::JsonView jsonValue)
bool SubTotalAmountHasBeenSet() const
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue