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>
49 template<
typename OfferingIdT = Aws::String>
50 void SetOfferingId(OfferingIdT&& value) { m_offeringIdHasBeenSet =
true; m_offeringId = std::forward<OfferingIdT>(value); }
51 template<
typename OfferingIdT = Aws::String>
81 inline void SetDurationSeconds(
long long value) { m_durationSecondsHasBeenSet =
true; m_durationSeconds = value; }
101 template<
typename PlanDescriptionT = Aws::String>
102 void SetPlanDescription(PlanDescriptionT&& value) { m_planDescriptionHasBeenSet =
true; m_planDescription = std::forward<PlanDescriptionT>(value); }
103 template<
typename PlanDescriptionT = Aws::String>
109 bool m_offeringIdHasBeenSet =
false;
112 bool m_paymentOptionHasBeenSet =
false;
115 bool m_planTypeHasBeenSet =
false;
117 long long m_durationSeconds{0};
118 bool m_durationSecondsHasBeenSet =
false;
121 bool m_currencyHasBeenSet =
false;
124 bool m_planDescriptionHasBeenSet =
false;
bool CurrencyHasBeenSet() const
AWS_SAVINGSPLANS_API ParentSavingsPlanOffering & operator=(Aws::Utils::Json::JsonView jsonValue)
void SetPaymentOption(SavingsPlanPaymentOption value)
const Aws::String & GetPlanDescription() const
SavingsPlanType GetPlanType() const
bool PlanTypeHasBeenSet() const
ParentSavingsPlanOffering & WithPlanDescription(PlanDescriptionT &&value)
CurrencyCode GetCurrency() const
SavingsPlanPaymentOption GetPaymentOption() const
void SetCurrency(CurrencyCode value)
ParentSavingsPlanOffering & WithPaymentOption(SavingsPlanPaymentOption value)
void SetPlanDescription(PlanDescriptionT &&value)
void SetOfferingId(OfferingIdT &&value)
const Aws::String & GetOfferingId() const
long long GetDurationSeconds() const
AWS_SAVINGSPLANS_API ParentSavingsPlanOffering()=default
void SetPlanType(SavingsPlanType value)
ParentSavingsPlanOffering & WithPlanType(SavingsPlanType value)
ParentSavingsPlanOffering & WithCurrency(CurrencyCode value)
bool PaymentOptionHasBeenSet() const
ParentSavingsPlanOffering & WithOfferingId(OfferingIdT &&value)
AWS_SAVINGSPLANS_API Aws::Utils::Json::JsonValue Jsonize() const
void SetDurationSeconds(long long value)
bool PlanDescriptionHasBeenSet() const
bool OfferingIdHasBeenSet() const
bool DurationSecondsHasBeenSet() const
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