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
51 inline void SetCurrencyCode(
const char* value) { m_currencyCodeHasBeenSet =
true; m_currencyCode.assign(value); }
65 inline void SetDuration(
const char* value) { m_durationHasBeenSet =
true; m_duration.assign(value); }
94 inline void SetPrice(
const char* value) { m_priceHasBeenSet =
true; m_price.assign(value); }
108 inline void SetType(
const char* value) { m_typeHasBeenSet =
true; m_type.assign(value); }
116 bool m_currencyCodeHasBeenSet =
false;
119 bool m_durationHasBeenSet =
false;
122 bool m_grantsHasBeenSet =
false;
125 bool m_priceHasBeenSet =
false;
128 bool m_typeHasBeenSet =
false;
const Aws::String & GetCurrencyCode() const
AWS_AGREEMENTSERVICE_API Aws::Utils::Json::JsonValue Jsonize() const
FixedUpfrontPricingTerm & WithType(const char *value)
bool TypeHasBeenSet() const
const Aws::String & GetType() const
FixedUpfrontPricingTerm & WithCurrencyCode(const Aws::String &value)
bool PriceHasBeenSet() const
void SetGrants(const Aws::Vector< GrantItem > &value)
void SetDuration(const Aws::String &value)
const Aws::String & GetPrice() const
FixedUpfrontPricingTerm & WithPrice(Aws::String &&value)
FixedUpfrontPricingTerm & WithCurrencyCode(const char *value)
void SetCurrencyCode(Aws::String &&value)
void SetDuration(const char *value)
FixedUpfrontPricingTerm & WithPrice(const char *value)
void SetCurrencyCode(const char *value)
FixedUpfrontPricingTerm & WithType(Aws::String &&value)
void SetType(const Aws::String &value)
FixedUpfrontPricingTerm & WithGrants(const Aws::Vector< GrantItem > &value)
FixedUpfrontPricingTerm & AddGrants(GrantItem &&value)
FixedUpfrontPricingTerm & WithDuration(Aws::String &&value)
const Aws::Vector< GrantItem > & GetGrants() const
void SetPrice(const char *value)
bool CurrencyCodeHasBeenSet() const
AWS_AGREEMENTSERVICE_API FixedUpfrontPricingTerm()
bool GrantsHasBeenSet() const
void SetPrice(const Aws::String &value)
FixedUpfrontPricingTerm & WithDuration(const Aws::String &value)
FixedUpfrontPricingTerm & WithGrants(Aws::Vector< GrantItem > &&value)
FixedUpfrontPricingTerm & WithPrice(const Aws::String &value)
const Aws::String & GetDuration() const
AWS_AGREEMENTSERVICE_API FixedUpfrontPricingTerm & operator=(Aws::Utils::Json::JsonView jsonValue)
FixedUpfrontPricingTerm & WithDuration(const char *value)
FixedUpfrontPricingTerm & WithType(const Aws::String &value)
void SetType(Aws::String &&value)
AWS_AGREEMENTSERVICE_API FixedUpfrontPricingTerm(Aws::Utils::Json::JsonView jsonValue)
FixedUpfrontPricingTerm & AddGrants(const GrantItem &value)
bool DurationHasBeenSet() const
void SetGrants(Aws::Vector< GrantItem > &&value)
void SetDuration(Aws::String &&value)
void SetCurrencyCode(const Aws::String &value)
void SetPrice(Aws::String &&value)
FixedUpfrontPricingTerm & WithCurrencyCode(Aws::String &&value)
void SetType(const char *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