7#include <aws/core/utils/memory/stl/AWSString.h>
8#include <aws/invoicing/Invoicing_EXPORTS.h>
40 template <
typename DescriptionT = Aws::String>
42 m_descriptionHasBeenSet =
true;
43 m_description = std::forward<DescriptionT>(value);
45 template <
typename DescriptionT = Aws::String>
58 template <
typename AmountT = Aws::String>
60 m_amountHasBeenSet =
true;
61 m_amount = std::forward<AmountT>(value);
63 template <
typename AmountT = Aws::String>
76 template <
typename RateT = Aws::String>
78 m_rateHasBeenSet =
true;
79 m_rate = std::forward<RateT>(value);
81 template <
typename RateT = Aws::String>
83 SetRate(std::forward<RateT>(value));
93 bool m_descriptionHasBeenSet =
false;
94 bool m_amountHasBeenSet =
false;
95 bool m_rateHasBeenSet =
false;
const Aws::String & GetAmount() const
const Aws::String & GetRate() const
bool DescriptionHasBeenSet() const
bool RateHasBeenSet() const
AWS_INVOICING_API Aws::Utils::Json::JsonValue Jsonize() const
DiscountsBreakdownAmount & WithRate(RateT &&value)
const Aws::String & GetDescription() const
bool AmountHasBeenSet() const
void SetDescription(DescriptionT &&value)
AWS_INVOICING_API DiscountsBreakdownAmount()=default
AWS_INVOICING_API DiscountsBreakdownAmount & operator=(Aws::Utils::Json::JsonView jsonValue)
AWS_INVOICING_API DiscountsBreakdownAmount(Aws::Utils::Json::JsonView jsonValue)
DiscountsBreakdownAmount & WithAmount(AmountT &&value)
void SetRate(RateT &&value)
DiscountsBreakdownAmount & WithDescription(DescriptionT &&value)
void SetAmount(AmountT &&value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue