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 SetDuration(
const char* value) { m_durationHasBeenSet =
true; m_duration.assign(value); }
80 inline void SetType(
const char* value) { m_typeHasBeenSet =
true; m_type.assign(value); }
88 bool m_durationHasBeenSet =
false;
91 bool m_grantsHasBeenSet =
false;
94 bool m_typeHasBeenSet =
false;
bool GrantsHasBeenSet() const
void SetType(const char *value)
FreeTrialPricingTerm & WithDuration(const char *value)
AWS_AGREEMENTSERVICE_API FreeTrialPricingTerm()
void SetGrants(Aws::Vector< GrantItem > &&value)
const Aws::Vector< GrantItem > & GetGrants() const
AWS_AGREEMENTSERVICE_API Aws::Utils::Json::JsonValue Jsonize() const
void SetDuration(const char *value)
FreeTrialPricingTerm & WithGrants(Aws::Vector< GrantItem > &&value)
void SetDuration(Aws::String &&value)
const Aws::String & GetType() const
FreeTrialPricingTerm & AddGrants(const GrantItem &value)
AWS_AGREEMENTSERVICE_API FreeTrialPricingTerm(Aws::Utils::Json::JsonView jsonValue)
FreeTrialPricingTerm & WithType(const Aws::String &value)
void SetDuration(const Aws::String &value)
bool TypeHasBeenSet() const
FreeTrialPricingTerm & WithDuration(Aws::String &&value)
AWS_AGREEMENTSERVICE_API FreeTrialPricingTerm & operator=(Aws::Utils::Json::JsonView jsonValue)
FreeTrialPricingTerm & WithType(const char *value)
bool DurationHasBeenSet() const
FreeTrialPricingTerm & WithDuration(const Aws::String &value)
void SetType(Aws::String &&value)
FreeTrialPricingTerm & WithGrants(const Aws::Vector< GrantItem > &value)
FreeTrialPricingTerm & WithType(Aws::String &&value)
void SetGrants(const Aws::Vector< GrantItem > &value)
const Aws::String & GetDuration() const
void SetType(const Aws::String &value)
FreeTrialPricingTerm & AddGrants(GrantItem &&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