AWS SDK for C++

AWS SDK for C++ Version 1.11.753

Loading...
Searching...
No Matches
ResourceDetails.h
1
6#pragma once
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>
27
28#include <utility>
29
30namespace Aws {
31namespace Utils {
32namespace Json {
33class JsonValue;
34class JsonView;
35} // namespace Json
36} // namespace Utils
37namespace CostOptimizationHub {
38namespace Model {
39
47 public:
48 AWS_COSTOPTIMIZATIONHUB_API ResourceDetails() = default;
49 AWS_COSTOPTIMIZATIONHUB_API ResourceDetails(Aws::Utils::Json::JsonView jsonValue);
50 AWS_COSTOPTIMIZATIONHUB_API ResourceDetails& operator=(Aws::Utils::Json::JsonView jsonValue);
51 AWS_COSTOPTIMIZATIONHUB_API Aws::Utils::Json::JsonValue Jsonize() const;
52
54
57 inline const LambdaFunction& GetLambdaFunction() const { return m_lambdaFunction; }
58 inline bool LambdaFunctionHasBeenSet() const { return m_lambdaFunctionHasBeenSet; }
59 template <typename LambdaFunctionT = LambdaFunction>
60 void SetLambdaFunction(LambdaFunctionT&& value) {
61 m_lambdaFunctionHasBeenSet = true;
62 m_lambdaFunction = std::forward<LambdaFunctionT>(value);
63 }
64 template <typename LambdaFunctionT = LambdaFunction>
65 ResourceDetails& WithLambdaFunction(LambdaFunctionT&& value) {
66 SetLambdaFunction(std::forward<LambdaFunctionT>(value));
67 return *this;
68 }
70
72
75 inline const EcsService& GetEcsService() const { return m_ecsService; }
76 inline bool EcsServiceHasBeenSet() const { return m_ecsServiceHasBeenSet; }
77 template <typename EcsServiceT = EcsService>
78 void SetEcsService(EcsServiceT&& value) {
79 m_ecsServiceHasBeenSet = true;
80 m_ecsService = std::forward<EcsServiceT>(value);
81 }
82 template <typename EcsServiceT = EcsService>
83 ResourceDetails& WithEcsService(EcsServiceT&& value) {
84 SetEcsService(std::forward<EcsServiceT>(value));
85 return *this;
86 }
88
90
93 inline const Ec2Instance& GetEc2Instance() const { return m_ec2Instance; }
94 inline bool Ec2InstanceHasBeenSet() const { return m_ec2InstanceHasBeenSet; }
95 template <typename Ec2InstanceT = Ec2Instance>
96 void SetEc2Instance(Ec2InstanceT&& value) {
97 m_ec2InstanceHasBeenSet = true;
98 m_ec2Instance = std::forward<Ec2InstanceT>(value);
99 }
100 template <typename Ec2InstanceT = Ec2Instance>
101 ResourceDetails& WithEc2Instance(Ec2InstanceT&& value) {
102 SetEc2Instance(std::forward<Ec2InstanceT>(value));
103 return *this;
104 }
106
108
111 inline const EbsVolume& GetEbsVolume() const { return m_ebsVolume; }
112 inline bool EbsVolumeHasBeenSet() const { return m_ebsVolumeHasBeenSet; }
113 template <typename EbsVolumeT = EbsVolume>
114 void SetEbsVolume(EbsVolumeT&& value) {
115 m_ebsVolumeHasBeenSet = true;
116 m_ebsVolume = std::forward<EbsVolumeT>(value);
117 }
118 template <typename EbsVolumeT = EbsVolume>
119 ResourceDetails& WithEbsVolume(EbsVolumeT&& value) {
120 SetEbsVolume(std::forward<EbsVolumeT>(value));
121 return *this;
122 }
124
126
129 inline const Ec2AutoScalingGroup& GetEc2AutoScalingGroup() const { return m_ec2AutoScalingGroup; }
130 inline bool Ec2AutoScalingGroupHasBeenSet() const { return m_ec2AutoScalingGroupHasBeenSet; }
131 template <typename Ec2AutoScalingGroupT = Ec2AutoScalingGroup>
132 void SetEc2AutoScalingGroup(Ec2AutoScalingGroupT&& value) {
133 m_ec2AutoScalingGroupHasBeenSet = true;
134 m_ec2AutoScalingGroup = std::forward<Ec2AutoScalingGroupT>(value);
135 }
136 template <typename Ec2AutoScalingGroupT = Ec2AutoScalingGroup>
137 ResourceDetails& WithEc2AutoScalingGroup(Ec2AutoScalingGroupT&& value) {
138 SetEc2AutoScalingGroup(std::forward<Ec2AutoScalingGroupT>(value));
139 return *this;
140 }
142
144
147 inline const Ec2ReservedInstances& GetEc2ReservedInstances() const { return m_ec2ReservedInstances; }
148 inline bool Ec2ReservedInstancesHasBeenSet() const { return m_ec2ReservedInstancesHasBeenSet; }
149 template <typename Ec2ReservedInstancesT = Ec2ReservedInstances>
150 void SetEc2ReservedInstances(Ec2ReservedInstancesT&& value) {
151 m_ec2ReservedInstancesHasBeenSet = true;
152 m_ec2ReservedInstances = std::forward<Ec2ReservedInstancesT>(value);
153 }
154 template <typename Ec2ReservedInstancesT = Ec2ReservedInstances>
155 ResourceDetails& WithEc2ReservedInstances(Ec2ReservedInstancesT&& value) {
156 SetEc2ReservedInstances(std::forward<Ec2ReservedInstancesT>(value));
157 return *this;
158 }
160
162
165 inline const RdsReservedInstances& GetRdsReservedInstances() const { return m_rdsReservedInstances; }
166 inline bool RdsReservedInstancesHasBeenSet() const { return m_rdsReservedInstancesHasBeenSet; }
167 template <typename RdsReservedInstancesT = RdsReservedInstances>
168 void SetRdsReservedInstances(RdsReservedInstancesT&& value) {
169 m_rdsReservedInstancesHasBeenSet = true;
170 m_rdsReservedInstances = std::forward<RdsReservedInstancesT>(value);
171 }
172 template <typename RdsReservedInstancesT = RdsReservedInstances>
173 ResourceDetails& WithRdsReservedInstances(RdsReservedInstancesT&& value) {
174 SetRdsReservedInstances(std::forward<RdsReservedInstancesT>(value));
175 return *this;
176 }
178
180
183 inline const ElastiCacheReservedInstances& GetElastiCacheReservedInstances() const { return m_elastiCacheReservedInstances; }
184 inline bool ElastiCacheReservedInstancesHasBeenSet() const { return m_elastiCacheReservedInstancesHasBeenSet; }
185 template <typename ElastiCacheReservedInstancesT = ElastiCacheReservedInstances>
186 void SetElastiCacheReservedInstances(ElastiCacheReservedInstancesT&& value) {
187 m_elastiCacheReservedInstancesHasBeenSet = true;
188 m_elastiCacheReservedInstances = std::forward<ElastiCacheReservedInstancesT>(value);
189 }
190 template <typename ElastiCacheReservedInstancesT = ElastiCacheReservedInstances>
191 ResourceDetails& WithElastiCacheReservedInstances(ElastiCacheReservedInstancesT&& value) {
192 SetElastiCacheReservedInstances(std::forward<ElastiCacheReservedInstancesT>(value));
193 return *this;
194 }
196
198
201 inline const OpenSearchReservedInstances& GetOpenSearchReservedInstances() const { return m_openSearchReservedInstances; }
202 inline bool OpenSearchReservedInstancesHasBeenSet() const { return m_openSearchReservedInstancesHasBeenSet; }
203 template <typename OpenSearchReservedInstancesT = OpenSearchReservedInstances>
204 void SetOpenSearchReservedInstances(OpenSearchReservedInstancesT&& value) {
205 m_openSearchReservedInstancesHasBeenSet = true;
206 m_openSearchReservedInstances = std::forward<OpenSearchReservedInstancesT>(value);
207 }
208 template <typename OpenSearchReservedInstancesT = OpenSearchReservedInstances>
209 ResourceDetails& WithOpenSearchReservedInstances(OpenSearchReservedInstancesT&& value) {
210 SetOpenSearchReservedInstances(std::forward<OpenSearchReservedInstancesT>(value));
211 return *this;
212 }
214
216
219 inline const RedshiftReservedInstances& GetRedshiftReservedInstances() const { return m_redshiftReservedInstances; }
220 inline bool RedshiftReservedInstancesHasBeenSet() const { return m_redshiftReservedInstancesHasBeenSet; }
221 template <typename RedshiftReservedInstancesT = RedshiftReservedInstances>
222 void SetRedshiftReservedInstances(RedshiftReservedInstancesT&& value) {
223 m_redshiftReservedInstancesHasBeenSet = true;
224 m_redshiftReservedInstances = std::forward<RedshiftReservedInstancesT>(value);
225 }
226 template <typename RedshiftReservedInstancesT = RedshiftReservedInstances>
227 ResourceDetails& WithRedshiftReservedInstances(RedshiftReservedInstancesT&& value) {
228 SetRedshiftReservedInstances(std::forward<RedshiftReservedInstancesT>(value));
229 return *this;
230 }
232
234
237 inline const Ec2InstanceSavingsPlans& GetEc2InstanceSavingsPlans() const { return m_ec2InstanceSavingsPlans; }
238 inline bool Ec2InstanceSavingsPlansHasBeenSet() const { return m_ec2InstanceSavingsPlansHasBeenSet; }
239 template <typename Ec2InstanceSavingsPlansT = Ec2InstanceSavingsPlans>
240 void SetEc2InstanceSavingsPlans(Ec2InstanceSavingsPlansT&& value) {
241 m_ec2InstanceSavingsPlansHasBeenSet = true;
242 m_ec2InstanceSavingsPlans = std::forward<Ec2InstanceSavingsPlansT>(value);
243 }
244 template <typename Ec2InstanceSavingsPlansT = Ec2InstanceSavingsPlans>
245 ResourceDetails& WithEc2InstanceSavingsPlans(Ec2InstanceSavingsPlansT&& value) {
246 SetEc2InstanceSavingsPlans(std::forward<Ec2InstanceSavingsPlansT>(value));
247 return *this;
248 }
250
252
255 inline const ComputeSavingsPlans& GetComputeSavingsPlans() const { return m_computeSavingsPlans; }
256 inline bool ComputeSavingsPlansHasBeenSet() const { return m_computeSavingsPlansHasBeenSet; }
257 template <typename ComputeSavingsPlansT = ComputeSavingsPlans>
258 void SetComputeSavingsPlans(ComputeSavingsPlansT&& value) {
259 m_computeSavingsPlansHasBeenSet = true;
260 m_computeSavingsPlans = std::forward<ComputeSavingsPlansT>(value);
261 }
262 template <typename ComputeSavingsPlansT = ComputeSavingsPlans>
263 ResourceDetails& WithComputeSavingsPlans(ComputeSavingsPlansT&& value) {
264 SetComputeSavingsPlans(std::forward<ComputeSavingsPlansT>(value));
265 return *this;
266 }
268
270
273 inline const SageMakerSavingsPlans& GetSageMakerSavingsPlans() const { return m_sageMakerSavingsPlans; }
274 inline bool SageMakerSavingsPlansHasBeenSet() const { return m_sageMakerSavingsPlansHasBeenSet; }
275 template <typename SageMakerSavingsPlansT = SageMakerSavingsPlans>
276 void SetSageMakerSavingsPlans(SageMakerSavingsPlansT&& value) {
277 m_sageMakerSavingsPlansHasBeenSet = true;
278 m_sageMakerSavingsPlans = std::forward<SageMakerSavingsPlansT>(value);
279 }
280 template <typename SageMakerSavingsPlansT = SageMakerSavingsPlans>
281 ResourceDetails& WithSageMakerSavingsPlans(SageMakerSavingsPlansT&& value) {
282 SetSageMakerSavingsPlans(std::forward<SageMakerSavingsPlansT>(value));
283 return *this;
284 }
286
288
291 inline const RdsDbInstance& GetRdsDbInstance() const { return m_rdsDbInstance; }
292 inline bool RdsDbInstanceHasBeenSet() const { return m_rdsDbInstanceHasBeenSet; }
293 template <typename RdsDbInstanceT = RdsDbInstance>
294 void SetRdsDbInstance(RdsDbInstanceT&& value) {
295 m_rdsDbInstanceHasBeenSet = true;
296 m_rdsDbInstance = std::forward<RdsDbInstanceT>(value);
297 }
298 template <typename RdsDbInstanceT = RdsDbInstance>
299 ResourceDetails& WithRdsDbInstance(RdsDbInstanceT&& value) {
300 SetRdsDbInstance(std::forward<RdsDbInstanceT>(value));
301 return *this;
302 }
304
306
309 inline const RdsDbInstanceStorage& GetRdsDbInstanceStorage() const { return m_rdsDbInstanceStorage; }
310 inline bool RdsDbInstanceStorageHasBeenSet() const { return m_rdsDbInstanceStorageHasBeenSet; }
311 template <typename RdsDbInstanceStorageT = RdsDbInstanceStorage>
312 void SetRdsDbInstanceStorage(RdsDbInstanceStorageT&& value) {
313 m_rdsDbInstanceStorageHasBeenSet = true;
314 m_rdsDbInstanceStorage = std::forward<RdsDbInstanceStorageT>(value);
315 }
316 template <typename RdsDbInstanceStorageT = RdsDbInstanceStorage>
317 ResourceDetails& WithRdsDbInstanceStorage(RdsDbInstanceStorageT&& value) {
318 SetRdsDbInstanceStorage(std::forward<RdsDbInstanceStorageT>(value));
319 return *this;
320 }
322
324
327 inline const AuroraDbClusterStorage& GetAuroraDbClusterStorage() const { return m_auroraDbClusterStorage; }
328 inline bool AuroraDbClusterStorageHasBeenSet() const { return m_auroraDbClusterStorageHasBeenSet; }
329 template <typename AuroraDbClusterStorageT = AuroraDbClusterStorage>
330 void SetAuroraDbClusterStorage(AuroraDbClusterStorageT&& value) {
331 m_auroraDbClusterStorageHasBeenSet = true;
332 m_auroraDbClusterStorage = std::forward<AuroraDbClusterStorageT>(value);
333 }
334 template <typename AuroraDbClusterStorageT = AuroraDbClusterStorage>
335 ResourceDetails& WithAuroraDbClusterStorage(AuroraDbClusterStorageT&& value) {
336 SetAuroraDbClusterStorage(std::forward<AuroraDbClusterStorageT>(value));
337 return *this;
338 }
340
342
345 inline const DynamoDbReservedCapacity& GetDynamoDbReservedCapacity() const { return m_dynamoDbReservedCapacity; }
346 inline bool DynamoDbReservedCapacityHasBeenSet() const { return m_dynamoDbReservedCapacityHasBeenSet; }
347 template <typename DynamoDbReservedCapacityT = DynamoDbReservedCapacity>
348 void SetDynamoDbReservedCapacity(DynamoDbReservedCapacityT&& value) {
349 m_dynamoDbReservedCapacityHasBeenSet = true;
350 m_dynamoDbReservedCapacity = std::forward<DynamoDbReservedCapacityT>(value);
351 }
352 template <typename DynamoDbReservedCapacityT = DynamoDbReservedCapacity>
353 ResourceDetails& WithDynamoDbReservedCapacity(DynamoDbReservedCapacityT&& value) {
354 SetDynamoDbReservedCapacity(std::forward<DynamoDbReservedCapacityT>(value));
355 return *this;
356 }
358
360
363 inline const MemoryDbReservedInstances& GetMemoryDbReservedInstances() const { return m_memoryDbReservedInstances; }
364 inline bool MemoryDbReservedInstancesHasBeenSet() const { return m_memoryDbReservedInstancesHasBeenSet; }
365 template <typename MemoryDbReservedInstancesT = MemoryDbReservedInstances>
366 void SetMemoryDbReservedInstances(MemoryDbReservedInstancesT&& value) {
367 m_memoryDbReservedInstancesHasBeenSet = true;
368 m_memoryDbReservedInstances = std::forward<MemoryDbReservedInstancesT>(value);
369 }
370 template <typename MemoryDbReservedInstancesT = MemoryDbReservedInstances>
371 ResourceDetails& WithMemoryDbReservedInstances(MemoryDbReservedInstancesT&& value) {
372 SetMemoryDbReservedInstances(std::forward<MemoryDbReservedInstancesT>(value));
373 return *this;
374 }
376
378
381 inline const NatGateway& GetNatGateway() const { return m_natGateway; }
382 inline bool NatGatewayHasBeenSet() const { return m_natGatewayHasBeenSet; }
383 template <typename NatGatewayT = NatGateway>
384 void SetNatGateway(NatGatewayT&& value) {
385 m_natGatewayHasBeenSet = true;
386 m_natGateway = std::forward<NatGatewayT>(value);
387 }
388 template <typename NatGatewayT = NatGateway>
389 ResourceDetails& WithNatGateway(NatGatewayT&& value) {
390 SetNatGateway(std::forward<NatGatewayT>(value));
391 return *this;
392 }
394 private:
395 LambdaFunction m_lambdaFunction;
396
397 EcsService m_ecsService;
398
399 Ec2Instance m_ec2Instance;
400
401 EbsVolume m_ebsVolume;
402
403 Ec2AutoScalingGroup m_ec2AutoScalingGroup;
404
405 Ec2ReservedInstances m_ec2ReservedInstances;
406
407 RdsReservedInstances m_rdsReservedInstances;
408
409 ElastiCacheReservedInstances m_elastiCacheReservedInstances;
410
411 OpenSearchReservedInstances m_openSearchReservedInstances;
412
413 RedshiftReservedInstances m_redshiftReservedInstances;
414
415 Ec2InstanceSavingsPlans m_ec2InstanceSavingsPlans;
416
417 ComputeSavingsPlans m_computeSavingsPlans;
418
419 SageMakerSavingsPlans m_sageMakerSavingsPlans;
420
421 RdsDbInstance m_rdsDbInstance;
422
423 RdsDbInstanceStorage m_rdsDbInstanceStorage;
424
425 AuroraDbClusterStorage m_auroraDbClusterStorage;
426
427 DynamoDbReservedCapacity m_dynamoDbReservedCapacity;
428
429 MemoryDbReservedInstances m_memoryDbReservedInstances;
430
431 NatGateway m_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;
451};
452
453} // namespace Model
454} // namespace CostOptimizationHub
455} // namespace Aws
void SetEc2ReservedInstances(Ec2ReservedInstancesT &&value)
const Ec2AutoScalingGroup & GetEc2AutoScalingGroup() 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
const RedshiftReservedInstances & GetRedshiftReservedInstances() const
ResourceDetails & WithRdsDbInstanceStorage(RdsDbInstanceStorageT &&value)
ResourceDetails & WithOpenSearchReservedInstances(OpenSearchReservedInstancesT &&value)
ResourceDetails & WithEbsVolume(EbsVolumeT &&value)
ResourceDetails & WithEc2AutoScalingGroup(Ec2AutoScalingGroupT &&value)
void SetRdsDbInstanceStorage(RdsDbInstanceStorageT &&value)
const Ec2InstanceSavingsPlans & GetEc2InstanceSavingsPlans() const
ResourceDetails & WithRdsReservedInstances(RdsReservedInstancesT &&value)
void SetEc2InstanceSavingsPlans(Ec2InstanceSavingsPlansT &&value)
ResourceDetails & WithComputeSavingsPlans(ComputeSavingsPlansT &&value)
ResourceDetails & WithDynamoDbReservedCapacity(DynamoDbReservedCapacityT &&value)
void SetLambdaFunction(LambdaFunctionT &&value)
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 SetAuroraDbClusterStorage(AuroraDbClusterStorageT &&value)
void SetSageMakerSavingsPlans(SageMakerSavingsPlansT &&value)
void SetEc2AutoScalingGroup(Ec2AutoScalingGroupT &&value)
void SetOpenSearchReservedInstances(OpenSearchReservedInstancesT &&value)
void SetElastiCacheReservedInstances(ElastiCacheReservedInstancesT &&value)
ResourceDetails & WithSageMakerSavingsPlans(SageMakerSavingsPlansT &&value)
const OpenSearchReservedInstances & GetOpenSearchReservedInstances() const
void SetMemoryDbReservedInstances(MemoryDbReservedInstancesT &&value)
ResourceDetails & WithAuroraDbClusterStorage(AuroraDbClusterStorageT &&value)
ResourceDetails & WithRedshiftReservedInstances(RedshiftReservedInstancesT &&value)
ResourceDetails & WithEc2ReservedInstances(Ec2ReservedInstancesT &&value)
const LambdaFunction & GetLambdaFunction() const
ResourceDetails & WithEcsService(EcsServiceT &&value)
void SetDynamoDbReservedCapacity(DynamoDbReservedCapacityT &&value)
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
AWS_COSTOPTIMIZATIONHUB_API ResourceDetails()=default
const ComputeSavingsPlans & GetComputeSavingsPlans() const
void SetRedshiftReservedInstances(RedshiftReservedInstancesT &&value)
ResourceDetails & WithLambdaFunction(LambdaFunctionT &&value)
Aws::Utils::Json::JsonValue JsonValue