7#include <aws/cost-optimization-hub/CostOptimizationHub_EXPORTS.h>
8#include <aws/core/utils/memory/stl/AWSString.h>
21namespace CostOptimizationHub
47 template<
typename AccountScopeT = Aws::String>
48 void SetAccountScope(AccountScopeT&& value) { m_accountScopeHasBeenSet =
true; m_accountScope = std::forward<AccountScopeT>(value); }
49 template<
typename AccountScopeT = Aws::String>
59 template<
typename ServiceT = Aws::String>
60 void SetService(ServiceT&& value) { m_serviceHasBeenSet =
true; m_service = std::forward<ServiceT>(value); }
61 template<
typename ServiceT = Aws::String>
71 template<
typename TermT = Aws::String>
72 void SetTerm(TermT&& value) { m_termHasBeenSet =
true; m_term = std::forward<TermT>(value); }
73 template<
typename TermT = Aws::String>
83 template<
typename PaymentOptionT = Aws::String>
84 void SetPaymentOption(PaymentOptionT&& value) { m_paymentOptionHasBeenSet =
true; m_paymentOption = std::forward<PaymentOptionT>(value); }
85 template<
typename PaymentOptionT = Aws::String>
95 template<
typename ReservedInstancesRegionT = Aws::String>
96 void SetReservedInstancesRegion(ReservedInstancesRegionT&& value) { m_reservedInstancesRegionHasBeenSet =
true; m_reservedInstancesRegion = std::forward<ReservedInstancesRegionT>(value); }
97 template<
typename ReservedInstancesRegionT = Aws::String>
107 template<
typename UpfrontCostT = Aws::String>
108 void SetUpfrontCost(UpfrontCostT&& value) { m_upfrontCostHasBeenSet =
true; m_upfrontCost = std::forward<UpfrontCostT>(value); }
109 template<
typename UpfrontCostT = Aws::String>
119 template<
typename MonthlyRecurringCostT = Aws::String>
120 void SetMonthlyRecurringCost(MonthlyRecurringCostT&& value) { m_monthlyRecurringCostHasBeenSet =
true; m_monthlyRecurringCost = std::forward<MonthlyRecurringCostT>(value); }
121 template<
typename MonthlyRecurringCostT = Aws::String>
132 template<
typename NormalizedUnitsToPurchaseT = Aws::String>
133 void SetNormalizedUnitsToPurchase(NormalizedUnitsToPurchaseT&& value) { m_normalizedUnitsToPurchaseHasBeenSet =
true; m_normalizedUnitsToPurchase = std::forward<NormalizedUnitsToPurchaseT>(value); }
134 template<
typename NormalizedUnitsToPurchaseT = Aws::String>
145 template<
typename NumberOfInstancesToPurchaseT = Aws::String>
146 void SetNumberOfInstancesToPurchase(NumberOfInstancesToPurchaseT&& value) { m_numberOfInstancesToPurchaseHasBeenSet =
true; m_numberOfInstancesToPurchase = std::forward<NumberOfInstancesToPurchaseT>(value); }
147 template<
typename NumberOfInstancesToPurchaseT = Aws::String>
157 template<
typename InstanceFamilyT = Aws::String>
158 void SetInstanceFamily(InstanceFamilyT&& value) { m_instanceFamilyHasBeenSet =
true; m_instanceFamily = std::forward<InstanceFamilyT>(value); }
159 template<
typename InstanceFamilyT = Aws::String>
169 template<
typename InstanceTypeT = Aws::String>
170 void SetInstanceType(InstanceTypeT&& value) { m_instanceTypeHasBeenSet =
true; m_instanceType = std::forward<InstanceTypeT>(value); }
171 template<
typename InstanceTypeT = Aws::String>
181 inline void SetSizeFlexEligible(
bool value) { m_sizeFlexEligibleHasBeenSet =
true; m_sizeFlexEligible = value; }
192 template<
typename CurrentGenerationT = Aws::String>
193 void SetCurrentGeneration(CurrentGenerationT&& value) { m_currentGenerationHasBeenSet =
true; m_currentGeneration = std::forward<CurrentGenerationT>(value); }
194 template<
typename CurrentGenerationT = Aws::String>
204 template<
typename LicenseModelT = Aws::String>
205 void SetLicenseModel(LicenseModelT&& value) { m_licenseModelHasBeenSet =
true; m_licenseModel = std::forward<LicenseModelT>(value); }
206 template<
typename LicenseModelT = Aws::String>
216 template<
typename DatabaseEditionT = Aws::String>
217 void SetDatabaseEdition(DatabaseEditionT&& value) { m_databaseEditionHasBeenSet =
true; m_databaseEdition = std::forward<DatabaseEditionT>(value); }
218 template<
typename DatabaseEditionT = Aws::String>
228 template<
typename DatabaseEngineT = Aws::String>
229 void SetDatabaseEngine(DatabaseEngineT&& value) { m_databaseEngineHasBeenSet =
true; m_databaseEngine = std::forward<DatabaseEngineT>(value); }
230 template<
typename DatabaseEngineT = Aws::String>
242 template<
typename DeploymentOptionT = Aws::String>
243 void SetDeploymentOption(DeploymentOptionT&& value) { m_deploymentOptionHasBeenSet =
true; m_deploymentOption = std::forward<DeploymentOptionT>(value); }
244 template<
typename DeploymentOptionT = Aws::String>
250 bool m_accountScopeHasBeenSet =
false;
253 bool m_serviceHasBeenSet =
false;
256 bool m_termHasBeenSet =
false;
259 bool m_paymentOptionHasBeenSet =
false;
262 bool m_reservedInstancesRegionHasBeenSet =
false;
265 bool m_upfrontCostHasBeenSet =
false;
268 bool m_monthlyRecurringCostHasBeenSet =
false;
271 bool m_normalizedUnitsToPurchaseHasBeenSet =
false;
274 bool m_numberOfInstancesToPurchaseHasBeenSet =
false;
277 bool m_instanceFamilyHasBeenSet =
false;
280 bool m_instanceTypeHasBeenSet =
false;
282 bool m_sizeFlexEligible{
false};
283 bool m_sizeFlexEligibleHasBeenSet =
false;
286 bool m_currentGenerationHasBeenSet =
false;
289 bool m_licenseModelHasBeenSet =
false;
292 bool m_databaseEditionHasBeenSet =
false;
295 bool m_databaseEngineHasBeenSet =
false;
298 bool m_deploymentOptionHasBeenSet =
false;
bool InstanceFamilyHasBeenSet() const
AWS_COSTOPTIMIZATIONHUB_API RdsReservedInstancesConfiguration & operator=(Aws::Utils::Json::JsonView jsonValue)
RdsReservedInstancesConfiguration & WithDeploymentOption(DeploymentOptionT &&value)
void SetLicenseModel(LicenseModelT &&value)
void SetPaymentOption(PaymentOptionT &&value)
void SetService(ServiceT &&value)
RdsReservedInstancesConfiguration & WithDatabaseEngine(DatabaseEngineT &&value)
const Aws::String & GetReservedInstancesRegion() const
RdsReservedInstancesConfiguration & WithInstanceFamily(InstanceFamilyT &&value)
AWS_COSTOPTIMIZATIONHUB_API RdsReservedInstancesConfiguration(Aws::Utils::Json::JsonView jsonValue)
RdsReservedInstancesConfiguration & WithNumberOfInstancesToPurchase(NumberOfInstancesToPurchaseT &&value)
bool NumberOfInstancesToPurchaseHasBeenSet() const
bool InstanceTypeHasBeenSet() const
RdsReservedInstancesConfiguration & WithCurrentGeneration(CurrentGenerationT &&value)
RdsReservedInstancesConfiguration & WithNormalizedUnitsToPurchase(NormalizedUnitsToPurchaseT &&value)
void SetNormalizedUnitsToPurchase(NormalizedUnitsToPurchaseT &&value)
bool CurrentGenerationHasBeenSet() const
const Aws::String & GetNumberOfInstancesToPurchase() const
void SetDatabaseEdition(DatabaseEditionT &&value)
bool UpfrontCostHasBeenSet() const
const Aws::String & GetPaymentOption() const
bool SizeFlexEligibleHasBeenSet() const
void SetReservedInstancesRegion(ReservedInstancesRegionT &&value)
RdsReservedInstancesConfiguration & WithPaymentOption(PaymentOptionT &&value)
RdsReservedInstancesConfiguration & WithUpfrontCost(UpfrontCostT &&value)
void SetDatabaseEngine(DatabaseEngineT &&value)
RdsReservedInstancesConfiguration & WithDatabaseEdition(DatabaseEditionT &&value)
const Aws::String & GetDeploymentOption() const
void SetDeploymentOption(DeploymentOptionT &&value)
RdsReservedInstancesConfiguration & WithReservedInstancesRegion(ReservedInstancesRegionT &&value)
const Aws::String & GetLicenseModel() const
const Aws::String & GetDatabaseEdition() const
const Aws::String & GetNormalizedUnitsToPurchase() const
bool TermHasBeenSet() const
bool NormalizedUnitsToPurchaseHasBeenSet() const
RdsReservedInstancesConfiguration & WithInstanceType(InstanceTypeT &&value)
void SetMonthlyRecurringCost(MonthlyRecurringCostT &&value)
RdsReservedInstancesConfiguration & WithService(ServiceT &&value)
const Aws::String & GetMonthlyRecurringCost() const
const Aws::String & GetInstanceFamily() const
void SetCurrentGeneration(CurrentGenerationT &&value)
const Aws::String & GetInstanceType() const
RdsReservedInstancesConfiguration & WithSizeFlexEligible(bool value)
const Aws::String & GetService() const
void SetInstanceType(InstanceTypeT &&value)
const Aws::String & GetTerm() const
bool DeploymentOptionHasBeenSet() const
AWS_COSTOPTIMIZATIONHUB_API RdsReservedInstancesConfiguration()=default
void SetAccountScope(AccountScopeT &&value)
bool ServiceHasBeenSet() const
RdsReservedInstancesConfiguration & WithLicenseModel(LicenseModelT &&value)
void SetSizeFlexEligible(bool value)
bool MonthlyRecurringCostHasBeenSet() const
const Aws::String & GetDatabaseEngine() const
bool ReservedInstancesRegionHasBeenSet() const
void SetTerm(TermT &&value)
RdsReservedInstancesConfiguration & WithTerm(TermT &&value)
AWS_COSTOPTIMIZATIONHUB_API Aws::Utils::Json::JsonValue Jsonize() const
RdsReservedInstancesConfiguration & WithAccountScope(AccountScopeT &&value)
bool DatabaseEngineHasBeenSet() const
bool PaymentOptionHasBeenSet() const
void SetInstanceFamily(InstanceFamilyT &&value)
RdsReservedInstancesConfiguration & WithMonthlyRecurringCost(MonthlyRecurringCostT &&value)
bool DatabaseEditionHasBeenSet() const
const Aws::String & GetUpfrontCost() const
bool AccountScopeHasBeenSet() const
void SetUpfrontCost(UpfrontCostT &&value)
bool LicenseModelHasBeenSet() const
void SetNumberOfInstancesToPurchase(NumberOfInstancesToPurchaseT &&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