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
51 inline void SetCurrencyCode(
const char* value) { m_currencyCodeHasBeenSet =
true; m_currencyCode.assign(value); }
79 inline void SetType(
const char* value) { m_typeHasBeenSet =
true; m_type.assign(value); }
87 bool m_currencyCodeHasBeenSet =
false;
90 bool m_rateCardsHasBeenSet =
false;
93 bool m_typeHasBeenSet =
false;
UsageBasedPricingTerm & WithCurrencyCode(const Aws::String &value)
bool CurrencyCodeHasBeenSet() const
UsageBasedPricingTerm & WithRateCards(Aws::Vector< UsageBasedRateCardItem > &&value)
UsageBasedPricingTerm & AddRateCards(UsageBasedRateCardItem &&value)
const Aws::String & GetCurrencyCode() const
AWS_AGREEMENTSERVICE_API UsageBasedPricingTerm(Aws::Utils::Json::JsonView jsonValue)
void SetType(const char *value)
void SetCurrencyCode(Aws::String &&value)
const Aws::Vector< UsageBasedRateCardItem > & GetRateCards() const
AWS_AGREEMENTSERVICE_API Aws::Utils::Json::JsonValue Jsonize() const
void SetRateCards(Aws::Vector< UsageBasedRateCardItem > &&value)
UsageBasedPricingTerm & WithCurrencyCode(Aws::String &&value)
bool RateCardsHasBeenSet() const
const Aws::String & GetType() const
UsageBasedPricingTerm & AddRateCards(const UsageBasedRateCardItem &value)
void SetType(const Aws::String &value)
void SetCurrencyCode(const Aws::String &value)
void SetRateCards(const Aws::Vector< UsageBasedRateCardItem > &value)
UsageBasedPricingTerm & WithType(Aws::String &&value)
UsageBasedPricingTerm & WithType(const char *value)
void SetType(Aws::String &&value)
AWS_AGREEMENTSERVICE_API UsageBasedPricingTerm()
bool TypeHasBeenSet() const
void SetCurrencyCode(const char *value)
UsageBasedPricingTerm & WithType(const Aws::String &value)
UsageBasedPricingTerm & WithCurrencyCode(const char *value)
UsageBasedPricingTerm & WithRateCards(const Aws::Vector< UsageBasedRateCardItem > &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