7#include <aws/marketplace-agreement/AgreementService_EXPORTS.h>
8#include <aws/marketplace-agreement/model/ConfigurableUpfrontPricingTermConfiguration.h>
9#include <aws/core/utils/memory/stl/AWSString.h>
10#include <aws/core/utils/memory/stl/AWSVector.h>
11#include <aws/marketplace-agreement/model/ConfigurableUpfrontRateCardItem.h>
24namespace AgreementService
51 template<
typename ConfigurationT = ConfigurableUpfrontPricingTermConfiguration>
52 void SetConfiguration(ConfigurationT&& value) { m_configurationHasBeenSet =
true; m_configuration = std::forward<ConfigurationT>(value); }
53 template<
typename ConfigurationT = ConfigurableUpfrontPricingTermConfiguration>
63 template<
typename CurrencyCodeT = Aws::String>
64 void SetCurrencyCode(CurrencyCodeT&& value) { m_currencyCodeHasBeenSet =
true; m_currencyCode = std::forward<CurrencyCodeT>(value); }
65 template<
typename CurrencyCodeT = Aws::String>
75 template<
typename RateCardsT = Aws::Vector<ConfigurableUpfrontRateCardItem>>
76 void SetRateCards(RateCardsT&& value) { m_rateCardsHasBeenSet =
true; m_rateCards = std::forward<RateCardsT>(value); }
77 template<
typename RateCardsT = Aws::Vector<ConfigurableUpfrontRateCardItem>>
79 template<
typename RateCardsT = ConfigurableUpfrontRateCardItem>
89 template<
typename TypeT = Aws::String>
90 void SetType(TypeT&& value) { m_typeHasBeenSet =
true; m_type = std::forward<TypeT>(value); }
91 template<
typename TypeT = Aws::String>
97 bool m_configurationHasBeenSet =
false;
100 bool m_currencyCodeHasBeenSet =
false;
103 bool m_rateCardsHasBeenSet =
false;
106 bool m_typeHasBeenSet =
false;
void SetCurrencyCode(CurrencyCodeT &&value)
ConfigurableUpfrontPricingTerm & WithConfiguration(ConfigurationT &&value)
bool ConfigurationHasBeenSet() const
bool RateCardsHasBeenSet() const
AWS_AGREEMENTSERVICE_API ConfigurableUpfrontPricingTerm & operator=(Aws::Utils::Json::JsonView jsonValue)
ConfigurableUpfrontPricingTerm & WithRateCards(RateCardsT &&value)
const ConfigurableUpfrontPricingTermConfiguration & GetConfiguration() const
AWS_AGREEMENTSERVICE_API Aws::Utils::Json::JsonValue Jsonize() const
void SetRateCards(RateCardsT &&value)
bool TypeHasBeenSet() const
const Aws::Vector< ConfigurableUpfrontRateCardItem > & GetRateCards() const
ConfigurableUpfrontPricingTerm & WithCurrencyCode(CurrencyCodeT &&value)
ConfigurableUpfrontPricingTerm & WithType(TypeT &&value)
AWS_AGREEMENTSERVICE_API ConfigurableUpfrontPricingTerm()=default
AWS_AGREEMENTSERVICE_API ConfigurableUpfrontPricingTerm(Aws::Utils::Json::JsonView jsonValue)
ConfigurableUpfrontPricingTerm & AddRateCards(RateCardsT &&value)
const Aws::String & GetCurrencyCode() const
void SetType(TypeT &&value)
void SetConfiguration(ConfigurationT &&value)
bool CurrencyCodeHasBeenSet() const
const Aws::String & GetType() const
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
std::vector< T, Aws::Allocator< T > > Vector
Aws::Utils::Json::JsonValue JsonValue