7#include <aws/savingsplans/SavingsPlans_EXPORTS.h>
8#include <aws/core/utils/memory/stl/AWSString.h>
9#include <aws/core/utils/memory/stl/AWSVector.h>
10#include <aws/savingsplans/model/SavingsPlanType.h>
11#include <aws/savingsplans/model/SavingsPlanPaymentOption.h>
12#include <aws/savingsplans/model/CurrencyCode.h>
13#include <aws/savingsplans/model/SavingsPlanProductType.h>
14#include <aws/savingsplans/model/SavingsPlanOfferingProperty.h>
54 inline void SetOfferingId(
const char* value) { m_offeringIdHasBeenSet =
true; m_offeringId.assign(value); }
94 inline void SetDescription(
const char* value) { m_descriptionHasBeenSet =
true; m_description.assign(value); }
118 inline void SetDurationSeconds(
long long value) { m_durationSecondsHasBeenSet =
true; m_durationSeconds = value; }
142 inline void SetServiceCode(
const char* value) { m_serviceCodeHasBeenSet =
true; m_serviceCode.assign(value); }
156 inline void SetUsageType(
const char* value) { m_usageTypeHasBeenSet =
true; m_usageType.assign(value); }
171 inline void SetOperation(
const char* value) { m_operationHasBeenSet =
true; m_operation.assign(value); }
193 bool m_offeringIdHasBeenSet =
false;
196 bool m_productTypesHasBeenSet =
false;
199 bool m_planTypeHasBeenSet =
false;
202 bool m_descriptionHasBeenSet =
false;
205 bool m_paymentOptionHasBeenSet =
false;
207 long long m_durationSeconds;
208 bool m_durationSecondsHasBeenSet =
false;
211 bool m_currencyHasBeenSet =
false;
214 bool m_serviceCodeHasBeenSet =
false;
217 bool m_usageTypeHasBeenSet =
false;
220 bool m_operationHasBeenSet =
false;
223 bool m_propertiesHasBeenSet =
false;
void SetOperation(Aws::String &&value)
SavingsPlanOffering & WithOfferingId(const char *value)
bool OperationHasBeenSet() const
bool PaymentOptionHasBeenSet() const
void SetOperation(const Aws::String &value)
void SetCurrency(CurrencyCode &&value)
void SetProductTypes(Aws::Vector< SavingsPlanProductType > &&value)
SavingsPlanOffering & WithCurrency(const CurrencyCode &value)
SavingsPlanOffering & WithOfferingId(Aws::String &&value)
AWS_SAVINGSPLANS_API Aws::Utils::Json::JsonValue Jsonize() const
SavingsPlanOffering & WithServiceCode(Aws::String &&value)
SavingsPlanOffering & WithProperties(Aws::Vector< SavingsPlanOfferingProperty > &&value)
AWS_SAVINGSPLANS_API SavingsPlanOffering()
const SavingsPlanType & GetPlanType() const
bool ProductTypesHasBeenSet() const
SavingsPlanOffering & WithOperation(Aws::String &&value)
const Aws::Vector< SavingsPlanProductType > & GetProductTypes() const
SavingsPlanOffering & WithPlanType(const SavingsPlanType &value)
long long GetDurationSeconds() const
void SetUsageType(const Aws::String &value)
void SetProperties(Aws::Vector< SavingsPlanOfferingProperty > &&value)
SavingsPlanOffering & AddProductTypes(const SavingsPlanProductType &value)
AWS_SAVINGSPLANS_API SavingsPlanOffering(Aws::Utils::Json::JsonView jsonValue)
void SetPaymentOption(SavingsPlanPaymentOption &&value)
void SetDurationSeconds(long long value)
const Aws::String & GetOfferingId() const
void SetOfferingId(const Aws::String &value)
void SetDescription(Aws::String &&value)
SavingsPlanOffering & WithProductTypes(const Aws::Vector< SavingsPlanProductType > &value)
bool OfferingIdHasBeenSet() const
void SetServiceCode(Aws::String &&value)
SavingsPlanOffering & WithProperties(const Aws::Vector< SavingsPlanOfferingProperty > &value)
SavingsPlanOffering & WithPaymentOption(SavingsPlanPaymentOption &&value)
const Aws::String & GetOperation() const
SavingsPlanOffering & WithServiceCode(const Aws::String &value)
void SetOfferingId(const char *value)
void SetProductTypes(const Aws::Vector< SavingsPlanProductType > &value)
SavingsPlanOffering & AddProductTypes(SavingsPlanProductType &&value)
void SetOfferingId(Aws::String &&value)
const Aws::String & GetDescription() const
SavingsPlanOffering & WithCurrency(CurrencyCode &&value)
SavingsPlanOffering & WithPaymentOption(const SavingsPlanPaymentOption &value)
SavingsPlanOffering & WithOperation(const Aws::String &value)
const SavingsPlanPaymentOption & GetPaymentOption() const
SavingsPlanOffering & WithUsageType(const Aws::String &value)
SavingsPlanOffering & WithUsageType(Aws::String &&value)
SavingsPlanOffering & WithDurationSeconds(long long value)
void SetProperties(const Aws::Vector< SavingsPlanOfferingProperty > &value)
SavingsPlanOffering & WithPlanType(SavingsPlanType &&value)
SavingsPlanOffering & AddProperties(SavingsPlanOfferingProperty &&value)
SavingsPlanOffering & WithDescription(Aws::String &&value)
void SetDescription(const char *value)
bool ServiceCodeHasBeenSet() const
void SetUsageType(Aws::String &&value)
SavingsPlanOffering & WithProductTypes(Aws::Vector< SavingsPlanProductType > &&value)
const Aws::Vector< SavingsPlanOfferingProperty > & GetProperties() const
void SetPlanType(const SavingsPlanType &value)
bool DescriptionHasBeenSet() const
void SetOperation(const char *value)
void SetServiceCode(const Aws::String &value)
const CurrencyCode & GetCurrency() const
void SetPaymentOption(const SavingsPlanPaymentOption &value)
bool PropertiesHasBeenSet() const
SavingsPlanOffering & WithDescription(const char *value)
bool DurationSecondsHasBeenSet() const
const Aws::String & GetServiceCode() const
void SetDescription(const Aws::String &value)
const Aws::String & GetUsageType() const
void SetCurrency(const CurrencyCode &value)
SavingsPlanOffering & WithOfferingId(const Aws::String &value)
bool PlanTypeHasBeenSet() const
SavingsPlanOffering & WithUsageType(const char *value)
SavingsPlanOffering & AddProperties(const SavingsPlanOfferingProperty &value)
void SetUsageType(const char *value)
bool UsageTypeHasBeenSet() const
bool CurrencyHasBeenSet() const
SavingsPlanOffering & WithDescription(const Aws::String &value)
AWS_SAVINGSPLANS_API SavingsPlanOffering & operator=(Aws::Utils::Json::JsonView jsonValue)
void SetPlanType(SavingsPlanType &&value)
SavingsPlanOffering & WithOperation(const char *value)
SavingsPlanOffering & WithServiceCode(const char *value)
void SetServiceCode(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