7#include <aws/core/utils/memory/stl/AWSString.h>
8#include <aws/partnercentral-selling/PartnerCentralSelling_EXPORTS.h>
9#include <aws/partnercentral-selling/model/MonetaryValue.h>
20namespace PartnerCentralSelling {
40 template <
typename ValueT = MonetaryValue>
42 m_valueHasBeenSet =
true;
43 m_value = std::forward<ValueT>(value);
45 template <
typename ValueT = MonetaryValue>
47 SetValue(std::forward<ValueT>(value));
59 template <
typename DiscountT = Aws::String>
61 m_discountHasBeenSet =
true;
62 m_discount = std::forward<DiscountT>(value);
64 template <
typename DiscountT = Aws::String>
77 template <
typename EffectiveDateT = Aws::String>
79 m_effectiveDateHasBeenSet =
true;
80 m_effectiveDate = std::forward<EffectiveDateT>(value);
82 template <
typename EffectiveDateT = Aws::String>
95 template <
typename ExpirationDateT = Aws::String>
97 m_expirationDateHasBeenSet =
true;
98 m_expirationDate = std::forward<ExpirationDateT>(value);
100 template <
typename ExpirationDateT = Aws::String>
114 bool m_valueHasBeenSet =
false;
115 bool m_discountHasBeenSet =
false;
116 bool m_effectiveDateHasBeenSet =
false;
117 bool m_expirationDateHasBeenSet =
false;
AWS_PARTNERCENTRALSELLING_API AwsSoftwareRevenue(Aws::Utils::Json::JsonView jsonValue)
const MonetaryValue & GetValue() const
AWS_PARTNERCENTRALSELLING_API AwsSoftwareRevenue()=default
void SetDiscount(DiscountT &&value)
const Aws::String & GetDiscount() const
AwsSoftwareRevenue & WithDiscount(DiscountT &&value)
const Aws::String & GetEffectiveDate() const
bool DiscountHasBeenSet() const
AwsSoftwareRevenue & WithEffectiveDate(EffectiveDateT &&value)
AwsSoftwareRevenue & WithExpirationDate(ExpirationDateT &&value)
bool ExpirationDateHasBeenSet() const
void SetExpirationDate(ExpirationDateT &&value)
AWS_PARTNERCENTRALSELLING_API AwsSoftwareRevenue & operator=(Aws::Utils::Json::JsonView jsonValue)
void SetValue(ValueT &&value)
const Aws::String & GetExpirationDate() const
bool ValueHasBeenSet() const
void SetEffectiveDate(EffectiveDateT &&value)
bool EffectiveDateHasBeenSet() const
AWS_PARTNERCENTRALSELLING_API Aws::Utils::Json::JsonValue Jsonize() const
AwsSoftwareRevenue & WithValue(ValueT &&value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue