7#include <aws/core/utils/memory/stl/AWSString.h>
8#include <aws/invoicing/Invoicing_EXPORTS.h>
9#include <aws/invoicing/model/DiscountsBreakdown.h>
10#include <aws/invoicing/model/FeesBreakdown.h>
11#include <aws/invoicing/model/TaxesBreakdown.h>
44 template <
typename SubTotalAmountT = Aws::String>
46 m_subTotalAmountHasBeenSet =
true;
47 m_subTotalAmount = std::forward<SubTotalAmountT>(value);
49 template <
typename SubTotalAmountT = Aws::String>
62 template <
typename DiscountsT = DiscountsBreakdown>
64 m_discountsHasBeenSet =
true;
65 m_discounts = std::forward<DiscountsT>(value);
67 template <
typename DiscountsT = DiscountsBreakdown>
80 template <
typename TaxesT = TaxesBreakdown>
82 m_taxesHasBeenSet =
true;
83 m_taxes = std::forward<TaxesT>(value);
85 template <
typename TaxesT = TaxesBreakdown>
87 SetTaxes(std::forward<TaxesT>(value));
98 template <
typename FeesT = FeesBreakdown>
100 m_feesHasBeenSet =
true;
101 m_fees = std::forward<FeesT>(value);
103 template <
typename FeesT = FeesBreakdown>
105 SetFees(std::forward<FeesT>(value));
117 bool m_subTotalAmountHasBeenSet =
false;
118 bool m_discountsHasBeenSet =
false;
119 bool m_taxesHasBeenSet =
false;
120 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