7#include <aws/savingsplans/SavingsPlans_EXPORTS.h>
8#include <aws/core/utils/memory/stl/AWSString.h>
9#include <aws/savingsplans/model/CurrencyCode.h>
10#include <aws/savingsplans/model/SavingsPlanRateUnit.h>
11#include <aws/savingsplans/model/SavingsPlanProductType.h>
12#include <aws/savingsplans/model/SavingsPlanRateServiceCode.h>
13#include <aws/core/utils/memory/stl/AWSVector.h>
14#include <aws/savingsplans/model/SavingsPlanRateProperty.h>
54 inline void SetRate(
const char* value) { m_rateHasBeenSet =
true; m_rate.assign(value); }
116 inline void SetUsageType(
const char* value) { m_usageTypeHasBeenSet =
true; m_usageType.assign(value); }
131 inline void SetOperation(
const char* value) { m_operationHasBeenSet =
true; m_operation.assign(value); }
153 bool m_rateHasBeenSet =
false;
156 bool m_currencyHasBeenSet =
false;
159 bool m_unitHasBeenSet =
false;
162 bool m_productTypeHasBeenSet =
false;
165 bool m_serviceCodeHasBeenSet =
false;
168 bool m_usageTypeHasBeenSet =
false;
171 bool m_operationHasBeenSet =
false;
174 bool m_propertiesHasBeenSet =
false;
const SavingsPlanRateUnit & GetUnit() const
bool RateHasBeenSet() const
void SetProductType(const SavingsPlanProductType &value)
const SavingsPlanRateServiceCode & GetServiceCode() const
void SetOperation(const char *value)
SavingsPlanRate & WithServiceCode(SavingsPlanRateServiceCode &&value)
SavingsPlanRate & WithUsageType(const Aws::String &value)
AWS_SAVINGSPLANS_API SavingsPlanRate(Aws::Utils::Json::JsonView jsonValue)
void SetUnit(const SavingsPlanRateUnit &value)
SavingsPlanRate & WithRate(const Aws::String &value)
bool OperationHasBeenSet() const
const SavingsPlanProductType & GetProductType() const
bool ProductTypeHasBeenSet() const
bool UnitHasBeenSet() const
SavingsPlanRate & WithCurrency(CurrencyCode &&value)
bool CurrencyHasBeenSet() const
SavingsPlanRate & WithProperties(const Aws::Vector< SavingsPlanRateProperty > &value)
void SetCurrency(CurrencyCode &&value)
bool PropertiesHasBeenSet() const
SavingsPlanRate & WithServiceCode(const SavingsPlanRateServiceCode &value)
const Aws::String & GetRate() const
void SetOperation(const Aws::String &value)
AWS_SAVINGSPLANS_API SavingsPlanRate & operator=(Aws::Utils::Json::JsonView jsonValue)
bool UsageTypeHasBeenSet() const
SavingsPlanRate & WithProperties(Aws::Vector< SavingsPlanRateProperty > &&value)
SavingsPlanRate & WithOperation(Aws::String &&value)
void SetCurrency(const CurrencyCode &value)
SavingsPlanRate & WithUsageType(const char *value)
SavingsPlanRate & WithCurrency(const CurrencyCode &value)
void SetServiceCode(SavingsPlanRateServiceCode &&value)
AWS_SAVINGSPLANS_API Aws::Utils::Json::JsonValue Jsonize() const
void SetProductType(SavingsPlanProductType &&value)
SavingsPlanRate & WithProductType(const SavingsPlanProductType &value)
void SetUsageType(const char *value)
void SetUsageType(Aws::String &&value)
AWS_SAVINGSPLANS_API SavingsPlanRate()
SavingsPlanRate & WithRate(Aws::String &&value)
void SetServiceCode(const SavingsPlanRateServiceCode &value)
SavingsPlanRate & WithOperation(const Aws::String &value)
void SetProperties(const Aws::Vector< SavingsPlanRateProperty > &value)
const Aws::String & GetOperation() const
bool ServiceCodeHasBeenSet() const
void SetUsageType(const Aws::String &value)
SavingsPlanRate & WithRate(const char *value)
SavingsPlanRate & WithUnit(const SavingsPlanRateUnit &value)
void SetRate(Aws::String &&value)
void SetRate(const Aws::String &value)
SavingsPlanRate & WithUnit(SavingsPlanRateUnit &&value)
void SetProperties(Aws::Vector< SavingsPlanRateProperty > &&value)
SavingsPlanRate & AddProperties(SavingsPlanRateProperty &&value)
const CurrencyCode & GetCurrency() const
SavingsPlanRate & WithOperation(const char *value)
void SetRate(const char *value)
SavingsPlanRate & AddProperties(const SavingsPlanRateProperty &value)
SavingsPlanRate & WithUsageType(Aws::String &&value)
SavingsPlanRate & WithProductType(SavingsPlanProductType &&value)
const Aws::String & GetUsageType() const
const Aws::Vector< SavingsPlanRateProperty > & GetProperties() const
void SetUnit(SavingsPlanRateUnit &&value)
void SetOperation(Aws::String &&value)
SavingsPlanRateServiceCode
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
std::vector< T, Aws::Allocator< T > > Vector
Aws::Utils::Json::JsonValue JsonValue