7#include <aws/core/utils/memory/stl/AWSString.h>
8#include <aws/cost-optimization-hub/CostOptimizationHub_EXPORTS.h>
19namespace CostOptimizationHub {
41 template <
typename AccountScopeT = Aws::String>
43 m_accountScopeHasBeenSet =
true;
44 m_accountScope = std::forward<AccountScopeT>(value);
46 template <
typename AccountScopeT = Aws::String>
59 template <
typename ServiceT = Aws::String>
61 m_serviceHasBeenSet =
true;
62 m_service = std::forward<ServiceT>(value);
64 template <
typename ServiceT = Aws::String>
77 template <
typename TermT = Aws::String>
79 m_termHasBeenSet =
true;
80 m_term = std::forward<TermT>(value);
82 template <
typename TermT = Aws::String>
84 SetTerm(std::forward<TermT>(value));
95 template <
typename PaymentOptionT = Aws::String>
97 m_paymentOptionHasBeenSet =
true;
98 m_paymentOption = std::forward<PaymentOptionT>(value);
100 template <
typename PaymentOptionT = Aws::String>
113 template <
typename ReservedInstancesRegionT = Aws::String>
115 m_reservedInstancesRegionHasBeenSet =
true;
116 m_reservedInstancesRegion = std::forward<ReservedInstancesRegionT>(value);
118 template <
typename ReservedInstancesRegionT = Aws::String>
131 template <
typename UpfrontCostT = Aws::String>
133 m_upfrontCostHasBeenSet =
true;
134 m_upfrontCost = std::forward<UpfrontCostT>(value);
136 template <
typename UpfrontCostT = Aws::String>
149 template <
typename MonthlyRecurringCostT = Aws::String>
151 m_monthlyRecurringCostHasBeenSet =
true;
152 m_monthlyRecurringCost = std::forward<MonthlyRecurringCostT>(value);
154 template <
typename MonthlyRecurringCostT = Aws::String>
168 template <
typename NormalizedUnitsToPurchaseT = Aws::String>
170 m_normalizedUnitsToPurchaseHasBeenSet =
true;
171 m_normalizedUnitsToPurchase = std::forward<NormalizedUnitsToPurchaseT>(value);
173 template <
typename NormalizedUnitsToPurchaseT = Aws::String>
187 template <
typename NumberOfInstancesToPurchaseT = Aws::String>
189 m_numberOfInstancesToPurchaseHasBeenSet =
true;
190 m_numberOfInstancesToPurchase = std::forward<NumberOfInstancesToPurchaseT>(value);
192 template <
typename NumberOfInstancesToPurchaseT = Aws::String>
205 template <
typename InstanceFamilyT = Aws::String>
207 m_instanceFamilyHasBeenSet =
true;
208 m_instanceFamily = std::forward<InstanceFamilyT>(value);
210 template <
typename InstanceFamilyT = Aws::String>
223 template <
typename InstanceTypeT = Aws::String>
225 m_instanceTypeHasBeenSet =
true;
226 m_instanceType = std::forward<InstanceTypeT>(value);
228 template <
typename InstanceTypeT = Aws::String>
242 m_sizeFlexEligibleHasBeenSet =
true;
243 m_sizeFlexEligible = value;
258 template <
typename CurrentGenerationT = Aws::String>
260 m_currentGenerationHasBeenSet =
true;
261 m_currentGeneration = std::forward<CurrentGenerationT>(value);
263 template <
typename CurrentGenerationT = Aws::String>
276 template <
typename LicenseModelT = Aws::String>
278 m_licenseModelHasBeenSet =
true;
279 m_licenseModel = std::forward<LicenseModelT>(value);
281 template <
typename LicenseModelT = Aws::String>
294 template <
typename DatabaseEditionT = Aws::String>
296 m_databaseEditionHasBeenSet =
true;
297 m_databaseEdition = std::forward<DatabaseEditionT>(value);
299 template <
typename DatabaseEditionT = Aws::String>
312 template <
typename DatabaseEngineT = Aws::String>
314 m_databaseEngineHasBeenSet =
true;
315 m_databaseEngine = std::forward<DatabaseEngineT>(value);
317 template <
typename DatabaseEngineT = Aws::String>
332 template <
typename DeploymentOptionT = Aws::String>
334 m_deploymentOptionHasBeenSet =
true;
335 m_deploymentOption = std::forward<DeploymentOptionT>(value);
337 template <
typename DeploymentOptionT = Aws::String>
366 bool m_sizeFlexEligible{
false};
377 bool m_accountScopeHasBeenSet =
false;
378 bool m_serviceHasBeenSet =
false;
379 bool m_termHasBeenSet =
false;
380 bool m_paymentOptionHasBeenSet =
false;
381 bool m_reservedInstancesRegionHasBeenSet =
false;
382 bool m_upfrontCostHasBeenSet =
false;
383 bool m_monthlyRecurringCostHasBeenSet =
false;
384 bool m_normalizedUnitsToPurchaseHasBeenSet =
false;
385 bool m_numberOfInstancesToPurchaseHasBeenSet =
false;
386 bool m_instanceFamilyHasBeenSet =
false;
387 bool m_instanceTypeHasBeenSet =
false;
388 bool m_sizeFlexEligibleHasBeenSet =
false;
389 bool m_currentGenerationHasBeenSet =
false;
390 bool m_licenseModelHasBeenSet =
false;
391 bool m_databaseEditionHasBeenSet =
false;
392 bool m_databaseEngineHasBeenSet =
false;
393 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