7#include <aws/core/utils/memory/stl/AWSString.h>
8#include <aws/core/utils/memory/stl/AWSVector.h>
9#include <aws/invoicing/Invoicing_EXPORTS.h>
10#include <aws/invoicing/model/DiscountsBreakdownAmount.h>
42 template <
typename BreakdownT = Aws::Vector<DiscountsBreakdownAmount>>
44 m_breakdownHasBeenSet =
true;
45 m_breakdown = std::forward<BreakdownT>(value);
47 template <
typename BreakdownT = Aws::Vector<DiscountsBreakdownAmount>>
52 template <
typename BreakdownT = DiscountsBreakdownAmount>
54 m_breakdownHasBeenSet =
true;
55 m_breakdown.emplace_back(std::forward<BreakdownT>(value));
66 template <
typename TotalAmountT = Aws::String>
68 m_totalAmountHasBeenSet =
true;
69 m_totalAmount = std::forward<TotalAmountT>(value);
71 template <
typename TotalAmountT = Aws::String>
81 bool m_breakdownHasBeenSet =
false;
82 bool m_totalAmountHasBeenSet =
false;
DiscountsBreakdown & WithBreakdown(BreakdownT &&value)
AWS_INVOICING_API DiscountsBreakdown & operator=(Aws::Utils::Json::JsonView jsonValue)
bool TotalAmountHasBeenSet() const
AWS_INVOICING_API DiscountsBreakdown()=default
void SetTotalAmount(TotalAmountT &&value)
const Aws::String & GetTotalAmount() const
bool BreakdownHasBeenSet() const
const Aws::Vector< DiscountsBreakdownAmount > & GetBreakdown() const
AWS_INVOICING_API Aws::Utils::Json::JsonValue Jsonize() const
AWS_INVOICING_API DiscountsBreakdown(Aws::Utils::Json::JsonView jsonValue)
void SetBreakdown(BreakdownT &&value)
DiscountsBreakdown & WithTotalAmount(TotalAmountT &&value)
DiscountsBreakdown & AddBreakdown(BreakdownT &&value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
std::vector< T, Aws::Allocator< T > > Vector
Aws::Utils::Json::JsonValue JsonValue