7#include <aws/billing/Billing_EXPORTS.h>
8#include <aws/core/utils/memory/stl/AWSString.h>
42 template <
typename DiscountAmountT = Aws::String>
44 m_discountAmountHasBeenSet =
true;
45 m_discountAmount = std::forward<DiscountAmountT>(value);
47 template <
typename DiscountAmountT = Aws::String>
61 template <
typename DiscountPercentageT = Aws::String>
63 m_discountPercentageHasBeenSet =
true;
64 m_discountPercentage = std::forward<DiscountPercentageT>(value);
66 template <
typename DiscountPercentageT = Aws::String>
82 template <
typename DiscountTypeT = Aws::String>
84 m_discountTypeHasBeenSet =
true;
85 m_discountType = std::forward<DiscountTypeT>(value);
87 template <
typename DiscountTypeT = Aws::String>
100 template <
typename DiscountSourceT = Aws::String>
102 m_discountSourceHasBeenSet =
true;
103 m_discountSource = std::forward<DiscountSourceT>(value);
105 template <
typename DiscountSourceT = Aws::String>
119 bool m_discountAmountHasBeenSet =
false;
120 bool m_discountPercentageHasBeenSet =
false;
121 bool m_discountTypeHasBeenSet =
false;
122 bool m_discountSourceHasBeenSet =
false;
bool DiscountPercentageHasBeenSet() const
void SetDiscountSource(DiscountSourceT &&value)
BusinessSupportDiscount & WithDiscountSource(DiscountSourceT &&value)
bool DiscountTypeHasBeenSet() const
void SetDiscountPercentage(DiscountPercentageT &&value)
void SetDiscountType(DiscountTypeT &&value)
bool DiscountSourceHasBeenSet() const
BusinessSupportDiscount & WithDiscountAmount(DiscountAmountT &&value)
AWS_BILLING_API Aws::Utils::Json::JsonValue Jsonize() const
const Aws::String & GetDiscountSource() const
const Aws::String & GetDiscountType() const
const Aws::String & GetDiscountAmount() const
const Aws::String & GetDiscountPercentage() const
void SetDiscountAmount(DiscountAmountT &&value)
AWS_BILLING_API BusinessSupportDiscount()=default
bool DiscountAmountHasBeenSet() const
AWS_BILLING_API BusinessSupportDiscount & operator=(Aws::Utils::Json::JsonView jsonValue)
BusinessSupportDiscount & WithDiscountType(DiscountTypeT &&value)
BusinessSupportDiscount & WithDiscountPercentage(DiscountPercentageT &&value)
AWS_BILLING_API BusinessSupportDiscount(Aws::Utils::Json::JsonView jsonValue)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue