7#include <aws/core/utils/memory/stl/AWSString.h>
8#include <aws/savingsplans/SavingsPlans_EXPORTS.h>
9#include <aws/savingsplans/model/CurrencyCode.h>
10#include <aws/savingsplans/model/SavingsPlanPaymentOption.h>
11#include <aws/savingsplans/model/SavingsPlanType.h>
22namespace SavingsPlans {
43 template <
typename OfferingIdT = Aws::String>
45 m_offeringIdHasBeenSet =
true;
46 m_offeringId = std::forward<OfferingIdT>(value);
48 template <
typename OfferingIdT = Aws::String>
62 m_paymentOptionHasBeenSet =
true;
63 m_paymentOption = value;
78 m_planTypeHasBeenSet =
true;
94 m_durationSecondsHasBeenSet =
true;
95 m_durationSeconds = value;
110 m_currencyHasBeenSet =
true;
125 template <
typename PlanDescriptionT = Aws::String>
127 m_planDescriptionHasBeenSet =
true;
128 m_planDescription = std::forward<PlanDescriptionT>(value);
130 template <
typename PlanDescriptionT = Aws::String>
143 long long m_durationSeconds{0};
148 bool m_offeringIdHasBeenSet =
false;
149 bool m_paymentOptionHasBeenSet =
false;
150 bool m_planTypeHasBeenSet =
false;
151 bool m_durationSecondsHasBeenSet =
false;
152 bool m_currencyHasBeenSet =
false;
153 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