7#include <aws/cost-optimization-hub/CostOptimizationHub_EXPORTS.h>
8#include <aws/cost-optimization-hub/model/AuroraDbClusterStorage.h>
9#include <aws/cost-optimization-hub/model/ComputeSavingsPlans.h>
10#include <aws/cost-optimization-hub/model/DynamoDbReservedCapacity.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/Ec2Instance.h>
14#include <aws/cost-optimization-hub/model/Ec2InstanceSavingsPlans.h>
15#include <aws/cost-optimization-hub/model/Ec2ReservedInstances.h>
16#include <aws/cost-optimization-hub/model/EcsService.h>
17#include <aws/cost-optimization-hub/model/ElastiCacheReservedInstances.h>
18#include <aws/cost-optimization-hub/model/LambdaFunction.h>
19#include <aws/cost-optimization-hub/model/MemoryDbReservedInstances.h>
20#include <aws/cost-optimization-hub/model/NatGateway.h>
21#include <aws/cost-optimization-hub/model/OpenSearchReservedInstances.h>
22#include <aws/cost-optimization-hub/model/RdsDbInstance.h>
23#include <aws/cost-optimization-hub/model/RdsDbInstanceStorage.h>
24#include <aws/cost-optimization-hub/model/RdsReservedInstances.h>
25#include <aws/cost-optimization-hub/model/RedshiftReservedInstances.h>
26#include <aws/cost-optimization-hub/model/SageMakerSavingsPlans.h>
37namespace CostOptimizationHub {
59 template <
typename LambdaFunctionT = LambdaFunction>
61 m_lambdaFunctionHasBeenSet =
true;
62 m_lambdaFunction = std::forward<LambdaFunctionT>(value);
64 template <
typename LambdaFunctionT = LambdaFunction>
77 template <
typename EcsServiceT = EcsService>
79 m_ecsServiceHasBeenSet =
true;
80 m_ecsService = std::forward<EcsServiceT>(value);
82 template <
typename EcsServiceT = EcsService>
95 template <
typename Ec2InstanceT = Ec2Instance>
97 m_ec2InstanceHasBeenSet =
true;
98 m_ec2Instance = std::forward<Ec2InstanceT>(value);
100 template <
typename Ec2InstanceT = Ec2Instance>
113 template <
typename EbsVolumeT = EbsVolume>
115 m_ebsVolumeHasBeenSet =
true;
116 m_ebsVolume = std::forward<EbsVolumeT>(value);
118 template <
typename EbsVolumeT = EbsVolume>
131 template <
typename Ec2AutoScalingGroupT = Ec2AutoScalingGroup>
133 m_ec2AutoScalingGroupHasBeenSet =
true;
134 m_ec2AutoScalingGroup = std::forward<Ec2AutoScalingGroupT>(value);
136 template <
typename Ec2AutoScalingGroupT = Ec2AutoScalingGroup>
149 template <
typename Ec2ReservedInstancesT = Ec2ReservedInstances>
151 m_ec2ReservedInstancesHasBeenSet =
true;
152 m_ec2ReservedInstances = std::forward<Ec2ReservedInstancesT>(value);
154 template <
typename Ec2ReservedInstancesT = Ec2ReservedInstances>
167 template <
typename RdsReservedInstancesT = RdsReservedInstances>
169 m_rdsReservedInstancesHasBeenSet =
true;
170 m_rdsReservedInstances = std::forward<RdsReservedInstancesT>(value);
172 template <
typename RdsReservedInstancesT = RdsReservedInstances>
185 template <
typename ElastiCacheReservedInstancesT = ElastiCacheReservedInstances>
187 m_elastiCacheReservedInstancesHasBeenSet =
true;
188 m_elastiCacheReservedInstances = std::forward<ElastiCacheReservedInstancesT>(value);
190 template <
typename ElastiCacheReservedInstancesT = ElastiCacheReservedInstances>
203 template <
typename OpenSearchReservedInstancesT = OpenSearchReservedInstances>
205 m_openSearchReservedInstancesHasBeenSet =
true;
206 m_openSearchReservedInstances = std::forward<OpenSearchReservedInstancesT>(value);
208 template <
typename OpenSearchReservedInstancesT = OpenSearchReservedInstances>
221 template <
typename RedshiftReservedInstancesT = RedshiftReservedInstances>
223 m_redshiftReservedInstancesHasBeenSet =
true;
224 m_redshiftReservedInstances = std::forward<RedshiftReservedInstancesT>(value);
226 template <
typename RedshiftReservedInstancesT = RedshiftReservedInstances>
239 template <
typename Ec2InstanceSavingsPlansT = Ec2InstanceSavingsPlans>
241 m_ec2InstanceSavingsPlansHasBeenSet =
true;
242 m_ec2InstanceSavingsPlans = std::forward<Ec2InstanceSavingsPlansT>(value);
244 template <
typename Ec2InstanceSavingsPlansT = Ec2InstanceSavingsPlans>
257 template <
typename ComputeSavingsPlansT = ComputeSavingsPlans>
259 m_computeSavingsPlansHasBeenSet =
true;
260 m_computeSavingsPlans = std::forward<ComputeSavingsPlansT>(value);
262 template <
typename ComputeSavingsPlansT = ComputeSavingsPlans>
275 template <
typename SageMakerSavingsPlansT = SageMakerSavingsPlans>
277 m_sageMakerSavingsPlansHasBeenSet =
true;
278 m_sageMakerSavingsPlans = std::forward<SageMakerSavingsPlansT>(value);
280 template <
typename SageMakerSavingsPlansT = SageMakerSavingsPlans>
293 template <
typename RdsDbInstanceT = RdsDbInstance>
295 m_rdsDbInstanceHasBeenSet =
true;
296 m_rdsDbInstance = std::forward<RdsDbInstanceT>(value);
298 template <
typename RdsDbInstanceT = RdsDbInstance>
311 template <
typename RdsDbInstanceStorageT = RdsDbInstanceStorage>
313 m_rdsDbInstanceStorageHasBeenSet =
true;
314 m_rdsDbInstanceStorage = std::forward<RdsDbInstanceStorageT>(value);
316 template <
typename RdsDbInstanceStorageT = RdsDbInstanceStorage>
329 template <
typename AuroraDbClusterStorageT = AuroraDbClusterStorage>
331 m_auroraDbClusterStorageHasBeenSet =
true;
332 m_auroraDbClusterStorage = std::forward<AuroraDbClusterStorageT>(value);
334 template <
typename AuroraDbClusterStorageT = AuroraDbClusterStorage>
347 template <
typename DynamoDbReservedCapacityT = DynamoDbReservedCapacity>
349 m_dynamoDbReservedCapacityHasBeenSet =
true;
350 m_dynamoDbReservedCapacity = std::forward<DynamoDbReservedCapacityT>(value);
352 template <
typename DynamoDbReservedCapacityT = DynamoDbReservedCapacity>
365 template <
typename MemoryDbReservedInstancesT = MemoryDbReservedInstances>
367 m_memoryDbReservedInstancesHasBeenSet =
true;
368 m_memoryDbReservedInstances = std::forward<MemoryDbReservedInstancesT>(value);
370 template <
typename MemoryDbReservedInstancesT = MemoryDbReservedInstances>
383 template <
typename NatGatewayT = NatGateway>
385 m_natGatewayHasBeenSet =
true;
386 m_natGateway = std::forward<NatGatewayT>(value);
388 template <
typename NatGatewayT = NatGateway>
432 bool m_lambdaFunctionHasBeenSet =
false;
433 bool m_ecsServiceHasBeenSet =
false;
434 bool m_ec2InstanceHasBeenSet =
false;
435 bool m_ebsVolumeHasBeenSet =
false;
436 bool m_ec2AutoScalingGroupHasBeenSet =
false;
437 bool m_ec2ReservedInstancesHasBeenSet =
false;
438 bool m_rdsReservedInstancesHasBeenSet =
false;
439 bool m_elastiCacheReservedInstancesHasBeenSet =
false;
440 bool m_openSearchReservedInstancesHasBeenSet =
false;
441 bool m_redshiftReservedInstancesHasBeenSet =
false;
442 bool m_ec2InstanceSavingsPlansHasBeenSet =
false;
443 bool m_computeSavingsPlansHasBeenSet =
false;
444 bool m_sageMakerSavingsPlansHasBeenSet =
false;
445 bool m_rdsDbInstanceHasBeenSet =
false;
446 bool m_rdsDbInstanceStorageHasBeenSet =
false;
447 bool m_auroraDbClusterStorageHasBeenSet =
false;
448 bool m_dynamoDbReservedCapacityHasBeenSet =
false;
449 bool m_memoryDbReservedInstancesHasBeenSet =
false;
450 bool m_natGatewayHasBeenSet =
false;
void SetEc2ReservedInstances(Ec2ReservedInstancesT &&value)
const Ec2AutoScalingGroup & GetEc2AutoScalingGroup() const
bool SageMakerSavingsPlansHasBeenSet() const
bool ElastiCacheReservedInstancesHasBeenSet() const
ResourceDetails & WithMemoryDbReservedInstances(MemoryDbReservedInstancesT &&value)
ResourceDetails & WithEc2InstanceSavingsPlans(Ec2InstanceSavingsPlansT &&value)
ResourceDetails & WithNatGateway(NatGatewayT &&value)
AWS_COSTOPTIMIZATIONHUB_API ResourceDetails & operator=(Aws::Utils::Json::JsonView jsonValue)
const AuroraDbClusterStorage & GetAuroraDbClusterStorage() const
bool EbsVolumeHasBeenSet() const
const RedshiftReservedInstances & GetRedshiftReservedInstances() const
void SetEcsService(EcsServiceT &&value)
ResourceDetails & WithRdsDbInstanceStorage(RdsDbInstanceStorageT &&value)
ResourceDetails & WithOpenSearchReservedInstances(OpenSearchReservedInstancesT &&value)
const Ec2Instance & GetEc2Instance() const
bool Ec2AutoScalingGroupHasBeenSet() const
ResourceDetails & WithEbsVolume(EbsVolumeT &&value)
bool RdsDbInstanceStorageHasBeenSet() const
ResourceDetails & WithEc2AutoScalingGroup(Ec2AutoScalingGroupT &&value)
void SetRdsDbInstanceStorage(RdsDbInstanceStorageT &&value)
const Ec2InstanceSavingsPlans & GetEc2InstanceSavingsPlans() const
bool LambdaFunctionHasBeenSet() const
bool AuroraDbClusterStorageHasBeenSet() const
ResourceDetails & WithRdsReservedInstances(RdsReservedInstancesT &&value)
const EbsVolume & GetEbsVolume() const
void SetEc2InstanceSavingsPlans(Ec2InstanceSavingsPlansT &&value)
ResourceDetails & WithComputeSavingsPlans(ComputeSavingsPlansT &&value)
ResourceDetails & WithDynamoDbReservedCapacity(DynamoDbReservedCapacityT &&value)
void SetLambdaFunction(LambdaFunctionT &&value)
const RdsDbInstance & GetRdsDbInstance() const
const MemoryDbReservedInstances & GetMemoryDbReservedInstances() const
const RdsReservedInstances & GetRdsReservedInstances() const
ResourceDetails & WithEc2Instance(Ec2InstanceT &&value)
ResourceDetails & WithRdsDbInstance(RdsDbInstanceT &&value)
const DynamoDbReservedCapacity & GetDynamoDbReservedCapacity() const
void SetRdsReservedInstances(RdsReservedInstancesT &&value)
void SetComputeSavingsPlans(ComputeSavingsPlansT &&value)
AWS_COSTOPTIMIZATIONHUB_API Aws::Utils::Json::JsonValue Jsonize() const
ResourceDetails & WithElastiCacheReservedInstances(ElastiCacheReservedInstancesT &&value)
void SetEbsVolume(EbsVolumeT &&value)
bool Ec2InstanceSavingsPlansHasBeenSet() const
const EcsService & GetEcsService() const
bool OpenSearchReservedInstancesHasBeenSet() const
void SetAuroraDbClusterStorage(AuroraDbClusterStorageT &&value)
bool RdsReservedInstancesHasBeenSet() const
void SetSageMakerSavingsPlans(SageMakerSavingsPlansT &&value)
void SetEc2AutoScalingGroup(Ec2AutoScalingGroupT &&value)
void SetOpenSearchReservedInstances(OpenSearchReservedInstancesT &&value)
bool DynamoDbReservedCapacityHasBeenSet() const
void SetElastiCacheReservedInstances(ElastiCacheReservedInstancesT &&value)
ResourceDetails & WithSageMakerSavingsPlans(SageMakerSavingsPlansT &&value)
bool Ec2InstanceHasBeenSet() const
const OpenSearchReservedInstances & GetOpenSearchReservedInstances() const
bool MemoryDbReservedInstancesHasBeenSet() const
void SetMemoryDbReservedInstances(MemoryDbReservedInstancesT &&value)
ResourceDetails & WithAuroraDbClusterStorage(AuroraDbClusterStorageT &&value)
bool NatGatewayHasBeenSet() const
ResourceDetails & WithRedshiftReservedInstances(RedshiftReservedInstancesT &&value)
ResourceDetails & WithEc2ReservedInstances(Ec2ReservedInstancesT &&value)
const LambdaFunction & GetLambdaFunction() const
bool ComputeSavingsPlansHasBeenSet() const
ResourceDetails & WithEcsService(EcsServiceT &&value)
void SetEc2Instance(Ec2InstanceT &&value)
void SetDynamoDbReservedCapacity(DynamoDbReservedCapacityT &&value)
bool EcsServiceHasBeenSet() const
const ElastiCacheReservedInstances & GetElastiCacheReservedInstances() const
const Ec2ReservedInstances & GetEc2ReservedInstances() const
const SageMakerSavingsPlans & GetSageMakerSavingsPlans() const
AWS_COSTOPTIMIZATIONHUB_API ResourceDetails(Aws::Utils::Json::JsonView jsonValue)
const RdsDbInstanceStorage & GetRdsDbInstanceStorage() const
const NatGateway & GetNatGateway() const
bool RedshiftReservedInstancesHasBeenSet() const
bool Ec2ReservedInstancesHasBeenSet() const
void SetNatGateway(NatGatewayT &&value)
bool RdsDbInstanceHasBeenSet() const
AWS_COSTOPTIMIZATIONHUB_API ResourceDetails()=default
const ComputeSavingsPlans & GetComputeSavingsPlans() const
void SetRedshiftReservedInstances(RedshiftReservedInstancesT &&value)
void SetRdsDbInstance(RdsDbInstanceT &&value)
ResourceDetails & WithLambdaFunction(LambdaFunctionT &&value)
Aws::Utils::Json::JsonValue JsonValue