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/UsageBasedRateCardItem.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 RateCardsT = Aws::Vector<UsageBasedRateCardItem>>
62 void SetRateCards(RateCardsT&& value) { m_rateCardsHasBeenSet =
true; m_rateCards = std::forward<RateCardsT>(value); }
63 template<
typename RateCardsT = Aws::Vector<UsageBasedRateCardItem>>
65 template<
typename RateCardsT = UsageBasedRateCardItem>
75 template<
typename TypeT = Aws::String>
76 void SetType(TypeT&& value) { m_typeHasBeenSet =
true; m_type = std::forward<TypeT>(value); }
77 template<
typename TypeT = Aws::String>
83 bool m_currencyCodeHasBeenSet =
false;
86 bool m_rateCardsHasBeenSet =
false;
89 bool m_typeHasBeenSet =
false;
bool CurrencyCodeHasBeenSet() const
AWS_AGREEMENTSERVICE_API UsageBasedPricingTerm()=default
UsageBasedPricingTerm & WithRateCards(RateCardsT &&value)
void SetCurrencyCode(CurrencyCodeT &&value)
const Aws::String & GetCurrencyCode() const
AWS_AGREEMENTSERVICE_API UsageBasedPricingTerm(Aws::Utils::Json::JsonView jsonValue)
UsageBasedPricingTerm & WithType(TypeT &&value)
const Aws::Vector< UsageBasedRateCardItem > & GetRateCards() const
AWS_AGREEMENTSERVICE_API Aws::Utils::Json::JsonValue Jsonize() const
bool RateCardsHasBeenSet() const
const Aws::String & GetType() const
UsageBasedPricingTerm & AddRateCards(RateCardsT &&value)
UsageBasedPricingTerm & WithCurrencyCode(CurrencyCodeT &&value)
void SetType(TypeT &&value)
bool TypeHasBeenSet() const
void SetRateCards(RateCardsT &&value)
AWS_AGREEMENTSERVICE_API UsageBasedPricingTerm & operator=(Aws::Utils::Json::JsonView jsonValue)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
std::vector< T, Aws::Allocator< T > > Vector
Aws::Utils::Json::JsonValue JsonValue