7#include <aws/cost-optimization-hub/CostOptimizationHub_EXPORTS.h>
8#include <aws/cost-optimization-hub/model/LambdaFunction.h>
9#include <aws/cost-optimization-hub/model/EcsService.h>
10#include <aws/cost-optimization-hub/model/Ec2Instance.h>
11#include <aws/cost-optimization-hub/model/EbsVolume.h>
12#include <aws/cost-optimization-hub/model/Ec2AutoScalingGroup.h>
13#include <aws/cost-optimization-hub/model/Ec2ReservedInstances.h>
14#include <aws/cost-optimization-hub/model/RdsReservedInstances.h>
15#include <aws/cost-optimization-hub/model/ElastiCacheReservedInstances.h>
16#include <aws/cost-optimization-hub/model/OpenSearchReservedInstances.h>
17#include <aws/cost-optimization-hub/model/RedshiftReservedInstances.h>
18#include <aws/cost-optimization-hub/model/Ec2InstanceSavingsPlans.h>
19#include <aws/cost-optimization-hub/model/ComputeSavingsPlans.h>
20#include <aws/cost-optimization-hub/model/SageMakerSavingsPlans.h>
21#include <aws/cost-optimization-hub/model/RdsDbInstance.h>
22#include <aws/cost-optimization-hub/model/RdsDbInstanceStorage.h>
35namespace CostOptimizationHub
237 bool m_lambdaFunctionHasBeenSet =
false;
240 bool m_ecsServiceHasBeenSet =
false;
243 bool m_ec2InstanceHasBeenSet =
false;
246 bool m_ebsVolumeHasBeenSet =
false;
249 bool m_ec2AutoScalingGroupHasBeenSet =
false;
252 bool m_ec2ReservedInstancesHasBeenSet =
false;
255 bool m_rdsReservedInstancesHasBeenSet =
false;
258 bool m_elastiCacheReservedInstancesHasBeenSet =
false;
261 bool m_openSearchReservedInstancesHasBeenSet =
false;
264 bool m_redshiftReservedInstancesHasBeenSet =
false;
267 bool m_ec2InstanceSavingsPlansHasBeenSet =
false;
270 bool m_computeSavingsPlansHasBeenSet =
false;
273 bool m_sageMakerSavingsPlansHasBeenSet =
false;
276 bool m_rdsDbInstanceHasBeenSet =
false;
279 bool m_rdsDbInstanceStorageHasBeenSet =
false;
void SetRdsDbInstanceStorage(const RdsDbInstanceStorage &value)
ResourceDetails & WithRdsDbInstanceStorage(RdsDbInstanceStorage &&value)
const Ec2AutoScalingGroup & GetEc2AutoScalingGroup() const
bool SageMakerSavingsPlansHasBeenSet() const
bool ElastiCacheReservedInstancesHasBeenSet() const
ResourceDetails & WithComputeSavingsPlans(const ComputeSavingsPlans &value)
void SetOpenSearchReservedInstances(const OpenSearchReservedInstances &value)
ResourceDetails & WithRdsReservedInstances(const RdsReservedInstances &value)
AWS_COSTOPTIMIZATIONHUB_API ResourceDetails & operator=(Aws::Utils::Json::JsonView jsonValue)
ResourceDetails & WithSageMakerSavingsPlans(SageMakerSavingsPlans &&value)
bool EbsVolumeHasBeenSet() const
const RedshiftReservedInstances & GetRedshiftReservedInstances() const
void SetElastiCacheReservedInstances(const ElastiCacheReservedInstances &value)
ResourceDetails & WithEbsVolume(const EbsVolume &value)
void SetEc2InstanceSavingsPlans(const Ec2InstanceSavingsPlans &value)
ResourceDetails & WithRedshiftReservedInstances(RedshiftReservedInstances &&value)
const Ec2Instance & GetEc2Instance() const
void SetEc2AutoScalingGroup(const Ec2AutoScalingGroup &value)
bool Ec2AutoScalingGroupHasBeenSet() const
void SetLambdaFunction(const LambdaFunction &value)
ResourceDetails & WithRdsDbInstance(RdsDbInstance &&value)
ResourceDetails & WithEc2Instance(Ec2Instance &&value)
ResourceDetails & WithElastiCacheReservedInstances(const ElastiCacheReservedInstances &value)
ResourceDetails & WithOpenSearchReservedInstances(const OpenSearchReservedInstances &value)
ResourceDetails & WithEc2InstanceSavingsPlans(const Ec2InstanceSavingsPlans &value)
bool RdsDbInstanceStorageHasBeenSet() const
void SetEc2Instance(Ec2Instance &&value)
ResourceDetails & WithEc2ReservedInstances(Ec2ReservedInstances &&value)
const Ec2InstanceSavingsPlans & GetEc2InstanceSavingsPlans() const
ResourceDetails & WithLambdaFunction(const LambdaFunction &value)
ResourceDetails & WithRdsReservedInstances(RdsReservedInstances &&value)
bool LambdaFunctionHasBeenSet() const
void SetEc2AutoScalingGroup(Ec2AutoScalingGroup &&value)
void SetRdsReservedInstances(RdsReservedInstances &&value)
void SetEcsService(const EcsService &value)
ResourceDetails & WithOpenSearchReservedInstances(OpenSearchReservedInstances &&value)
const EbsVolume & GetEbsVolume() const
ResourceDetails & WithComputeSavingsPlans(ComputeSavingsPlans &&value)
void SetEc2Instance(const Ec2Instance &value)
ResourceDetails & WithEc2ReservedInstances(const Ec2ReservedInstances &value)
void SetRedshiftReservedInstances(RedshiftReservedInstances &&value)
const RdsDbInstance & GetRdsDbInstance() const
ResourceDetails & WithElastiCacheReservedInstances(ElastiCacheReservedInstances &&value)
const RdsReservedInstances & GetRdsReservedInstances() const
void SetSageMakerSavingsPlans(SageMakerSavingsPlans &&value)
ResourceDetails & WithEc2Instance(const Ec2Instance &value)
ResourceDetails & WithEcsService(const EcsService &value)
void SetEbsVolume(const EbsVolume &value)
void SetRedshiftReservedInstances(const RedshiftReservedInstances &value)
AWS_COSTOPTIMIZATIONHUB_API Aws::Utils::Json::JsonValue Jsonize() const
bool Ec2InstanceSavingsPlansHasBeenSet() const
const EcsService & GetEcsService() const
bool OpenSearchReservedInstancesHasBeenSet() const
bool RdsReservedInstancesHasBeenSet() const
void SetSageMakerSavingsPlans(const SageMakerSavingsPlans &value)
void SetLambdaFunction(LambdaFunction &&value)
void SetElastiCacheReservedInstances(ElastiCacheReservedInstances &&value)
bool Ec2InstanceHasBeenSet() const
const OpenSearchReservedInstances & GetOpenSearchReservedInstances() const
void SetEc2ReservedInstances(const Ec2ReservedInstances &value)
void SetOpenSearchReservedInstances(OpenSearchReservedInstances &&value)
ResourceDetails & WithRdsDbInstanceStorage(const RdsDbInstanceStorage &value)
const LambdaFunction & GetLambdaFunction() const
bool ComputeSavingsPlansHasBeenSet() const
void SetRdsDbInstance(RdsDbInstance &&value)
ResourceDetails & WithEcsService(EcsService &&value)
bool EcsServiceHasBeenSet() const
const ElastiCacheReservedInstances & GetElastiCacheReservedInstances() const
ResourceDetails & WithRdsDbInstance(const RdsDbInstance &value)
const Ec2ReservedInstances & GetEc2ReservedInstances() const
const SageMakerSavingsPlans & GetSageMakerSavingsPlans() const
AWS_COSTOPTIMIZATIONHUB_API ResourceDetails(Aws::Utils::Json::JsonView jsonValue)
ResourceDetails & WithSageMakerSavingsPlans(const SageMakerSavingsPlans &value)
void SetRdsReservedInstances(const RdsReservedInstances &value)
ResourceDetails & WithEc2AutoScalingGroup(const Ec2AutoScalingGroup &value)
const RdsDbInstanceStorage & GetRdsDbInstanceStorage() const
void SetEcsService(EcsService &&value)
void SetComputeSavingsPlans(ComputeSavingsPlans &&value)
ResourceDetails & WithRedshiftReservedInstances(const RedshiftReservedInstances &value)
ResourceDetails & WithLambdaFunction(LambdaFunction &&value)
void SetRdsDbInstance(const RdsDbInstance &value)
bool RedshiftReservedInstancesHasBeenSet() const
void SetEbsVolume(EbsVolume &&value)
ResourceDetails & WithEc2InstanceSavingsPlans(Ec2InstanceSavingsPlans &&value)
bool Ec2ReservedInstancesHasBeenSet() const
bool RdsDbInstanceHasBeenSet() const
ResourceDetails & WithEc2AutoScalingGroup(Ec2AutoScalingGroup &&value)
const ComputeSavingsPlans & GetComputeSavingsPlans() const
void SetEc2ReservedInstances(Ec2ReservedInstances &&value)
ResourceDetails & WithEbsVolume(EbsVolume &&value)
AWS_COSTOPTIMIZATIONHUB_API ResourceDetails()
void SetRdsDbInstanceStorage(RdsDbInstanceStorage &&value)
void SetEc2InstanceSavingsPlans(Ec2InstanceSavingsPlans &&value)
void SetComputeSavingsPlans(const ComputeSavingsPlans &value)
Aws::Utils::Json::JsonValue JsonValue