7#include <aws/cost-optimization-hub/CostOptimizationHub_EXPORTS.h>
8#include <aws/core/utils/memory/stl/AWSString.h>
21namespace CostOptimizationHub
49 inline void SetAccountScope(
const char* value) { m_accountScopeHasBeenSet =
true; m_accountScope.assign(value); }
63 inline void SetService(
const char* value) { m_serviceHasBeenSet =
true; m_service.assign(value); }
78 inline void SetNormalizedUnitsToPurchase(
const char* value) { m_normalizedUnitsToPurchaseHasBeenSet =
true; m_normalizedUnitsToPurchase.assign(value); }
92 inline void SetTerm(
const char* value) { m_termHasBeenSet =
true; m_term.assign(value); }
106 inline void SetPaymentOption(
const char* value) { m_paymentOptionHasBeenSet =
true; m_paymentOption.assign(value); }
135 inline void SetInstanceFamily(
const char* value) { m_instanceFamilyHasBeenSet =
true; m_instanceFamily.assign(value); }
149 inline void SetInstanceType(
const char* value) { m_instanceTypeHasBeenSet =
true; m_instanceType.assign(value); }
163 inline void SetReservedInstancesRegion(
const char* value) { m_reservedInstancesRegionHasBeenSet =
true; m_reservedInstancesRegion.assign(value); }
175 inline void SetSizeFlexEligible(
bool value) { m_sizeFlexEligibleHasBeenSet =
true; m_sizeFlexEligible = value; }
188 inline void SetCurrentGeneration(
const char* value) { m_currentGenerationHasBeenSet =
true; m_currentGeneration.assign(value); }
202 inline void SetUpfrontCost(
const char* value) { m_upfrontCostHasBeenSet =
true; m_upfrontCost.assign(value); }
216 inline void SetMonthlyRecurringCost(
const char* value) { m_monthlyRecurringCostHasBeenSet =
true; m_monthlyRecurringCost.assign(value); }
230 inline void SetLicenseModel(
const char* value) { m_licenseModelHasBeenSet =
true; m_licenseModel.assign(value); }
244 inline void SetDatabaseEdition(
const char* value) { m_databaseEditionHasBeenSet =
true; m_databaseEdition.assign(value); }
258 inline void SetDatabaseEngine(
const char* value) { m_databaseEngineHasBeenSet =
true; m_databaseEngine.assign(value); }
274 inline void SetDeploymentOption(
const char* value) { m_deploymentOptionHasBeenSet =
true; m_deploymentOption.assign(value); }
282 bool m_accountScopeHasBeenSet =
false;
285 bool m_serviceHasBeenSet =
false;
288 bool m_normalizedUnitsToPurchaseHasBeenSet =
false;
291 bool m_termHasBeenSet =
false;
294 bool m_paymentOptionHasBeenSet =
false;
297 bool m_numberOfInstancesToPurchaseHasBeenSet =
false;
300 bool m_instanceFamilyHasBeenSet =
false;
303 bool m_instanceTypeHasBeenSet =
false;
306 bool m_reservedInstancesRegionHasBeenSet =
false;
308 bool m_sizeFlexEligible;
309 bool m_sizeFlexEligibleHasBeenSet =
false;
312 bool m_currentGenerationHasBeenSet =
false;
315 bool m_upfrontCostHasBeenSet =
false;
318 bool m_monthlyRecurringCostHasBeenSet =
false;
321 bool m_licenseModelHasBeenSet =
false;
324 bool m_databaseEditionHasBeenSet =
false;
327 bool m_databaseEngineHasBeenSet =
false;
330 bool m_deploymentOptionHasBeenSet =
false;
bool InstanceFamilyHasBeenSet() const
AWS_COSTOPTIMIZATIONHUB_API RdsReservedInstancesConfiguration & operator=(Aws::Utils::Json::JsonView jsonValue)
void SetDeploymentOption(const Aws::String &value)
RdsReservedInstancesConfiguration & WithCurrentGeneration(Aws::String &&value)
RdsReservedInstancesConfiguration & WithPaymentOption(const Aws::String &value)
void SetDeploymentOption(Aws::String &&value)
RdsReservedInstancesConfiguration & WithNumberOfInstancesToPurchase(const Aws::String &value)
void SetAccountScope(Aws::String &&value)
void SetTerm(const Aws::String &value)
void SetDeploymentOption(const char *value)
const Aws::String & GetReservedInstancesRegion() const
void SetInstanceType(const Aws::String &value)
RdsReservedInstancesConfiguration & WithUpfrontCost(const char *value)
AWS_COSTOPTIMIZATIONHUB_API RdsReservedInstancesConfiguration(Aws::Utils::Json::JsonView jsonValue)
RdsReservedInstancesConfiguration & WithInstanceType(const char *value)
bool NumberOfInstancesToPurchaseHasBeenSet() const
bool InstanceTypeHasBeenSet() const
void SetUpfrontCost(const Aws::String &value)
void SetReservedInstancesRegion(Aws::String &&value)
RdsReservedInstancesConfiguration & WithTerm(Aws::String &&value)
RdsReservedInstancesConfiguration & WithDatabaseEdition(const Aws::String &value)
bool CurrentGenerationHasBeenSet() const
void SetInstanceFamily(const char *value)
void SetPaymentOption(const Aws::String &value)
const Aws::String & GetNumberOfInstancesToPurchase() const
RdsReservedInstancesConfiguration & WithDatabaseEngine(const char *value)
RdsReservedInstancesConfiguration & WithNormalizedUnitsToPurchase(const Aws::String &value)
bool UpfrontCostHasBeenSet() const
const Aws::String & GetPaymentOption() const
void SetInstanceType(Aws::String &&value)
void SetUpfrontCost(const char *value)
void SetInstanceFamily(Aws::String &&value)
bool SizeFlexEligibleHasBeenSet() const
RdsReservedInstancesConfiguration & WithTerm(const Aws::String &value)
void SetNormalizedUnitsToPurchase(const Aws::String &value)
RdsReservedInstancesConfiguration & WithService(const Aws::String &value)
RdsReservedInstancesConfiguration & WithInstanceFamily(Aws::String &&value)
void SetMonthlyRecurringCost(const Aws::String &value)
RdsReservedInstancesConfiguration & WithLicenseModel(const Aws::String &value)
RdsReservedInstancesConfiguration & WithPaymentOption(const char *value)
void SetDatabaseEdition(Aws::String &&value)
void SetDatabaseEngine(const char *value)
void SetInstanceFamily(const Aws::String &value)
RdsReservedInstancesConfiguration & WithMonthlyRecurringCost(const Aws::String &value)
void SetPaymentOption(const char *value)
void SetTerm(Aws::String &&value)
void SetDatabaseEngine(Aws::String &&value)
RdsReservedInstancesConfiguration & WithCurrentGeneration(const char *value)
void SetNumberOfInstancesToPurchase(Aws::String &&value)
void SetNormalizedUnitsToPurchase(Aws::String &&value)
RdsReservedInstancesConfiguration & WithAccountScope(const char *value)
void SetService(const char *value)
RdsReservedInstancesConfiguration & WithAccountScope(Aws::String &&value)
AWS_COSTOPTIMIZATIONHUB_API RdsReservedInstancesConfiguration()
void SetInstanceType(const char *value)
void SetPaymentOption(Aws::String &&value)
RdsReservedInstancesConfiguration & WithInstanceType(const Aws::String &value)
const Aws::String & GetDeploymentOption() const
void SetDatabaseEngine(const Aws::String &value)
void SetTerm(const char *value)
RdsReservedInstancesConfiguration & WithTerm(const char *value)
RdsReservedInstancesConfiguration & WithInstanceFamily(const Aws::String &value)
RdsReservedInstancesConfiguration & WithDeploymentOption(Aws::String &&value)
const Aws::String & GetLicenseModel() const
void SetReservedInstancesRegion(const char *value)
const Aws::String & GetDatabaseEdition() const
RdsReservedInstancesConfiguration & WithNormalizedUnitsToPurchase(Aws::String &&value)
RdsReservedInstancesConfiguration & WithNormalizedUnitsToPurchase(const char *value)
void SetService(Aws::String &&value)
const Aws::String & GetNormalizedUnitsToPurchase() const
RdsReservedInstancesConfiguration & WithReservedInstancesRegion(const char *value)
RdsReservedInstancesConfiguration & WithLicenseModel(const char *value)
RdsReservedInstancesConfiguration & WithLicenseModel(Aws::String &&value)
RdsReservedInstancesConfiguration & WithPaymentOption(Aws::String &&value)
bool TermHasBeenSet() const
void SetMonthlyRecurringCost(Aws::String &&value)
RdsReservedInstancesConfiguration & WithReservedInstancesRegion(const Aws::String &value)
void SetUpfrontCost(Aws::String &&value)
bool NormalizedUnitsToPurchaseHasBeenSet() const
RdsReservedInstancesConfiguration & WithMonthlyRecurringCost(const char *value)
void SetNormalizedUnitsToPurchase(const char *value)
void SetAccountScope(const Aws::String &value)
RdsReservedInstancesConfiguration & WithUpfrontCost(const Aws::String &value)
RdsReservedInstancesConfiguration & WithDatabaseEngine(const Aws::String &value)
void SetLicenseModel(const char *value)
void SetLicenseModel(Aws::String &&value)
const Aws::String & GetMonthlyRecurringCost() const
RdsReservedInstancesConfiguration & WithDatabaseEngine(Aws::String &&value)
RdsReservedInstancesConfiguration & WithInstanceType(Aws::String &&value)
RdsReservedInstancesConfiguration & WithDatabaseEdition(Aws::String &&value)
const Aws::String & GetInstanceFamily() const
RdsReservedInstancesConfiguration & WithCurrentGeneration(const Aws::String &value)
const Aws::String & GetInstanceType() const
RdsReservedInstancesConfiguration & WithSizeFlexEligible(bool value)
RdsReservedInstancesConfiguration & WithNumberOfInstancesToPurchase(const char *value)
const Aws::String & GetService() const
const Aws::String & GetTerm() const
RdsReservedInstancesConfiguration & WithNumberOfInstancesToPurchase(Aws::String &&value)
bool DeploymentOptionHasBeenSet() const
RdsReservedInstancesConfiguration & WithService(const char *value)
RdsReservedInstancesConfiguration & WithUpfrontCost(Aws::String &&value)
void SetCurrentGeneration(const char *value)
void SetCurrentGeneration(const Aws::String &value)
void SetDatabaseEdition(const Aws::String &value)
bool ServiceHasBeenSet() const
RdsReservedInstancesConfiguration & WithAccountScope(const Aws::String &value)
void SetSizeFlexEligible(bool value)
bool MonthlyRecurringCostHasBeenSet() const
const Aws::String & GetDatabaseEngine() const
void SetDatabaseEdition(const char *value)
void SetReservedInstancesRegion(const Aws::String &value)
bool ReservedInstancesRegionHasBeenSet() const
AWS_COSTOPTIMIZATIONHUB_API Aws::Utils::Json::JsonValue Jsonize() const
bool DatabaseEngineHasBeenSet() const
RdsReservedInstancesConfiguration & WithDeploymentOption(const Aws::String &value)
bool PaymentOptionHasBeenSet() const
RdsReservedInstancesConfiguration & WithService(Aws::String &&value)
void SetNumberOfInstancesToPurchase(const Aws::String &value)
void SetMonthlyRecurringCost(const char *value)
void SetCurrentGeneration(Aws::String &&value)
RdsReservedInstancesConfiguration & WithDatabaseEdition(const char *value)
RdsReservedInstancesConfiguration & WithInstanceFamily(const char *value)
bool DatabaseEditionHasBeenSet() const
void SetAccountScope(const char *value)
const Aws::String & GetUpfrontCost() const
bool AccountScopeHasBeenSet() const
bool LicenseModelHasBeenSet() const
RdsReservedInstancesConfiguration & WithReservedInstancesRegion(Aws::String &&value)
RdsReservedInstancesConfiguration & WithDeploymentOption(const char *value)
RdsReservedInstancesConfiguration & WithMonthlyRecurringCost(Aws::String &&value)
void SetNumberOfInstancesToPurchase(const char *value)
void SetLicenseModel(const Aws::String &value)
void SetService(const Aws::String &value)
bool GetSizeFlexEligible() const
const Aws::String & GetCurrentGeneration() const
const Aws::String & GetAccountScope() const
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue