7#include <aws/savingsplans/SavingsPlans_EXPORTS.h>
8#include <aws/core/utils/memory/stl/AWSString.h>
9#include <aws/savingsplans/model/SavingsPlanPaymentOption.h>
10#include <aws/savingsplans/model/SavingsPlanType.h>
11#include <aws/savingsplans/model/CurrencyCode.h>
51 inline void SetOfferingId(
const char* value) { m_offeringIdHasBeenSet =
true; m_offeringId.assign(value); }
87 inline void SetDurationSeconds(
long long value) { m_durationSecondsHasBeenSet =
true; m_durationSeconds = value; }
111 inline void SetPlanDescription(
const char* value) { m_planDescriptionHasBeenSet =
true; m_planDescription.assign(value); }
119 bool m_offeringIdHasBeenSet =
false;
122 bool m_paymentOptionHasBeenSet =
false;
125 bool m_planTypeHasBeenSet =
false;
127 long long m_durationSeconds;
128 bool m_durationSecondsHasBeenSet =
false;
131 bool m_currencyHasBeenSet =
false;
134 bool m_planDescriptionHasBeenSet =
false;
bool CurrencyHasBeenSet() const
void SetPlanDescription(Aws::String &&value)
AWS_SAVINGSPLANS_API ParentSavingsPlanOffering & operator=(Aws::Utils::Json::JsonView jsonValue)
const SavingsPlanType & GetPlanType() const
const CurrencyCode & GetCurrency() const
void SetPaymentOption(SavingsPlanPaymentOption &&value)
ParentSavingsPlanOffering & WithOfferingId(const Aws::String &value)
void SetOfferingId(const Aws::String &value)
ParentSavingsPlanOffering & WithCurrency(const CurrencyCode &value)
const Aws::String & GetPlanDescription() const
bool PlanTypeHasBeenSet() const
const SavingsPlanPaymentOption & GetPaymentOption() const
ParentSavingsPlanOffering & WithOfferingId(Aws::String &&value)
ParentSavingsPlanOffering & WithPlanType(const SavingsPlanType &value)
ParentSavingsPlanOffering & WithPaymentOption(const SavingsPlanPaymentOption &value)
ParentSavingsPlanOffering & WithPlanDescription(Aws::String &&value)
void SetCurrency(CurrencyCode &&value)
void SetPlanType(const SavingsPlanType &value)
void SetPaymentOption(const SavingsPlanPaymentOption &value)
ParentSavingsPlanOffering & WithPlanType(SavingsPlanType &&value)
void SetPlanDescription(const char *value)
void SetOfferingId(const char *value)
const Aws::String & GetOfferingId() const
long long GetDurationSeconds() const
ParentSavingsPlanOffering & WithPlanDescription(const Aws::String &value)
void SetPlanDescription(const Aws::String &value)
ParentSavingsPlanOffering & WithOfferingId(const char *value)
void SetOfferingId(Aws::String &&value)
bool PaymentOptionHasBeenSet() const
AWS_SAVINGSPLANS_API Aws::Utils::Json::JsonValue Jsonize() const
AWS_SAVINGSPLANS_API ParentSavingsPlanOffering()
void SetPlanType(SavingsPlanType &&value)
void SetDurationSeconds(long long value)
void SetCurrency(const CurrencyCode &value)
bool PlanDescriptionHasBeenSet() const
bool OfferingIdHasBeenSet() const
ParentSavingsPlanOffering & WithCurrency(CurrencyCode &&value)
bool DurationSecondsHasBeenSet() const
ParentSavingsPlanOffering & WithPlanDescription(const char *value)
ParentSavingsPlanOffering & WithPaymentOption(SavingsPlanPaymentOption &&value)
ParentSavingsPlanOffering & WithDurationSeconds(long long value)
AWS_SAVINGSPLANS_API ParentSavingsPlanOffering(Aws::Utils::Json::JsonView jsonValue)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue