7#include <aws/marketplace-agreement/AgreementService_EXPORTS.h>
8#include <aws/core/utils/memory/stl/AWSString.h>
9#include <aws/core/utils/memory/stl/AWSVector.h>
10#include <aws/marketplace-agreement/model/GrantItem.h>
23namespace AgreementService
49 template<
typename CurrencyCodeT = Aws::String>
50 void SetCurrencyCode(CurrencyCodeT&& value) { m_currencyCodeHasBeenSet =
true; m_currencyCode = std::forward<CurrencyCodeT>(value); }
51 template<
typename CurrencyCodeT = Aws::String>
61 template<
typename DurationT = Aws::String>
62 void SetDuration(DurationT&& value) { m_durationHasBeenSet =
true; m_duration = std::forward<DurationT>(value); }
63 template<
typename DurationT = Aws::String>
74 template<
typename GrantsT = Aws::Vector<GrantItem>>
75 void SetGrants(GrantsT&& value) { m_grantsHasBeenSet =
true; m_grants = std::forward<GrantsT>(value); }
76 template<
typename GrantsT = Aws::Vector<GrantItem>>
78 template<
typename GrantsT = GrantItem>
88 template<
typename PriceT = Aws::String>
89 void SetPrice(PriceT&& value) { m_priceHasBeenSet =
true; m_price = std::forward<PriceT>(value); }
90 template<
typename PriceT = Aws::String>
100 template<
typename TypeT = Aws::String>
101 void SetType(TypeT&& value) { m_typeHasBeenSet =
true; m_type = std::forward<TypeT>(value); }
102 template<
typename TypeT = Aws::String>
108 bool m_currencyCodeHasBeenSet =
false;
111 bool m_durationHasBeenSet =
false;
114 bool m_grantsHasBeenSet =
false;
117 bool m_priceHasBeenSet =
false;
120 bool m_typeHasBeenSet =
false;
const Aws::String & GetCurrencyCode() const
AWS_AGREEMENTSERVICE_API Aws::Utils::Json::JsonValue Jsonize() const
bool TypeHasBeenSet() const
const Aws::String & GetType() const
bool PriceHasBeenSet() const
FixedUpfrontPricingTerm & WithCurrencyCode(CurrencyCodeT &&value)
const Aws::String & GetPrice() const
void SetGrants(GrantsT &&value)
FixedUpfrontPricingTerm & WithType(TypeT &&value)
void SetCurrencyCode(CurrencyCodeT &&value)
FixedUpfrontPricingTerm & AddGrants(GrantsT &&value)
FixedUpfrontPricingTerm & WithPrice(PriceT &&value)
void SetDuration(DurationT &&value)
const Aws::Vector< GrantItem > & GetGrants() const
bool CurrencyCodeHasBeenSet() const
FixedUpfrontPricingTerm & WithDuration(DurationT &&value)
bool GrantsHasBeenSet() const
void SetType(TypeT &&value)
const Aws::String & GetDuration() const
AWS_AGREEMENTSERVICE_API FixedUpfrontPricingTerm()=default
AWS_AGREEMENTSERVICE_API FixedUpfrontPricingTerm & operator=(Aws::Utils::Json::JsonView jsonValue)
AWS_AGREEMENTSERVICE_API FixedUpfrontPricingTerm(Aws::Utils::Json::JsonView jsonValue)
bool DurationHasBeenSet() const
FixedUpfrontPricingTerm & WithGrants(GrantsT &&value)
void SetPrice(PriceT &&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