AWS SDK for C++

AWS SDK for C++ Version 1.11.829

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/DocumentDbCluster.h>
11#include <aws/cost-optimization-hub/model/DynamoDbReservedCapacity.h>
12#include <aws/cost-optimization-hub/model/DynamoDbTable.h>
13#include <aws/cost-optimization-hub/model/EbsVolume.h>
14#include <aws/cost-optimization-hub/model/Ec2AutoScalingGroup.h>
15#include <aws/cost-optimization-hub/model/Ec2Instance.h>
16#include <aws/cost-optimization-hub/model/Ec2InstanceSavingsPlans.h>
17#include <aws/cost-optimization-hub/model/Ec2ReservedInstances.h>
18#include <aws/cost-optimization-hub/model/EcsService.h>
19#include <aws/cost-optimization-hub/model/ElastiCacheCluster.h>
20#include <aws/cost-optimization-hub/model/ElastiCacheReservedInstances.h>
21#include <aws/cost-optimization-hub/model/LambdaFunction.h>
22#include <aws/cost-optimization-hub/model/MemoryDbCluster.h>
23#include <aws/cost-optimization-hub/model/MemoryDbReservedInstances.h>
24#include <aws/cost-optimization-hub/model/NatGateway.h>
25#include <aws/cost-optimization-hub/model/OpenSearchReservedInstances.h>
26#include <aws/cost-optimization-hub/model/RdsDbInstance.h>
27#include <aws/cost-optimization-hub/model/RdsDbInstanceStorage.h>
28#include <aws/cost-optimization-hub/model/RdsReservedInstances.h>
29#include <aws/cost-optimization-hub/model/RedshiftReservedInstances.h>
30#include <aws/cost-optimization-hub/model/SageMakerEndpoint.h>
31#include <aws/cost-optimization-hub/model/SageMakerSavingsPlans.h>
32#include <aws/cost-optimization-hub/model/WorkSpaces.h>
33
34#include <utility>
35
36namespace Aws {
37namespace Utils {
38namespace Json {
39class JsonValue;
40class JsonView;
41} // namespace Json
42} // namespace Utils
43namespace CostOptimizationHub {
44namespace Model {
45
53 public:
54 AWS_COSTOPTIMIZATIONHUB_API ResourceDetails() = default;
55 AWS_COSTOPTIMIZATIONHUB_API ResourceDetails(Aws::Utils::Json::JsonView jsonValue);
56 AWS_COSTOPTIMIZATIONHUB_API ResourceDetails& operator=(Aws::Utils::Json::JsonView jsonValue);
57 AWS_COSTOPTIMIZATIONHUB_API Aws::Utils::Json::JsonValue Jsonize() const;
58
60
63 inline const LambdaFunction& GetLambdaFunction() const { return m_lambdaFunction; }
64 inline bool LambdaFunctionHasBeenSet() const { return m_lambdaFunctionHasBeenSet; }
65 template <typename LambdaFunctionT = LambdaFunction>
66 void SetLambdaFunction(LambdaFunctionT&& value) {
67 m_lambdaFunctionHasBeenSet = true;
68 m_lambdaFunction = std::forward<LambdaFunctionT>(value);
69 }
70 template <typename LambdaFunctionT = LambdaFunction>
71 ResourceDetails& WithLambdaFunction(LambdaFunctionT&& value) {
72 SetLambdaFunction(std::forward<LambdaFunctionT>(value));
73 return *this;
74 }
76
78
81 inline const EcsService& GetEcsService() const { return m_ecsService; }
82 inline bool EcsServiceHasBeenSet() const { return m_ecsServiceHasBeenSet; }
83 template <typename EcsServiceT = EcsService>
84 void SetEcsService(EcsServiceT&& value) {
85 m_ecsServiceHasBeenSet = true;
86 m_ecsService = std::forward<EcsServiceT>(value);
87 }
88 template <typename EcsServiceT = EcsService>
89 ResourceDetails& WithEcsService(EcsServiceT&& value) {
90 SetEcsService(std::forward<EcsServiceT>(value));
91 return *this;
92 }
94
96
99 inline const Ec2Instance& GetEc2Instance() const { return m_ec2Instance; }
100 inline bool Ec2InstanceHasBeenSet() const { return m_ec2InstanceHasBeenSet; }
101 template <typename Ec2InstanceT = Ec2Instance>
102 void SetEc2Instance(Ec2InstanceT&& value) {
103 m_ec2InstanceHasBeenSet = true;
104 m_ec2Instance = std::forward<Ec2InstanceT>(value);
105 }
106 template <typename Ec2InstanceT = Ec2Instance>
107 ResourceDetails& WithEc2Instance(Ec2InstanceT&& value) {
108 SetEc2Instance(std::forward<Ec2InstanceT>(value));
109 return *this;
110 }
112
114
117 inline const EbsVolume& GetEbsVolume() const { return m_ebsVolume; }
118 inline bool EbsVolumeHasBeenSet() const { return m_ebsVolumeHasBeenSet; }
119 template <typename EbsVolumeT = EbsVolume>
120 void SetEbsVolume(EbsVolumeT&& value) {
121 m_ebsVolumeHasBeenSet = true;
122 m_ebsVolume = std::forward<EbsVolumeT>(value);
123 }
124 template <typename EbsVolumeT = EbsVolume>
125 ResourceDetails& WithEbsVolume(EbsVolumeT&& value) {
126 SetEbsVolume(std::forward<EbsVolumeT>(value));
127 return *this;
128 }
130
132
135 inline const Ec2AutoScalingGroup& GetEc2AutoScalingGroup() const { return m_ec2AutoScalingGroup; }
136 inline bool Ec2AutoScalingGroupHasBeenSet() const { return m_ec2AutoScalingGroupHasBeenSet; }
137 template <typename Ec2AutoScalingGroupT = Ec2AutoScalingGroup>
138 void SetEc2AutoScalingGroup(Ec2AutoScalingGroupT&& value) {
139 m_ec2AutoScalingGroupHasBeenSet = true;
140 m_ec2AutoScalingGroup = std::forward<Ec2AutoScalingGroupT>(value);
141 }
142 template <typename Ec2AutoScalingGroupT = Ec2AutoScalingGroup>
143 ResourceDetails& WithEc2AutoScalingGroup(Ec2AutoScalingGroupT&& value) {
144 SetEc2AutoScalingGroup(std::forward<Ec2AutoScalingGroupT>(value));
145 return *this;
146 }
148
150
153 inline const Ec2ReservedInstances& GetEc2ReservedInstances() const { return m_ec2ReservedInstances; }
154 inline bool Ec2ReservedInstancesHasBeenSet() const { return m_ec2ReservedInstancesHasBeenSet; }
155 template <typename Ec2ReservedInstancesT = Ec2ReservedInstances>
156 void SetEc2ReservedInstances(Ec2ReservedInstancesT&& value) {
157 m_ec2ReservedInstancesHasBeenSet = true;
158 m_ec2ReservedInstances = std::forward<Ec2ReservedInstancesT>(value);
159 }
160 template <typename Ec2ReservedInstancesT = Ec2ReservedInstances>
161 ResourceDetails& WithEc2ReservedInstances(Ec2ReservedInstancesT&& value) {
162 SetEc2ReservedInstances(std::forward<Ec2ReservedInstancesT>(value));
163 return *this;
164 }
166
168
171 inline const RdsReservedInstances& GetRdsReservedInstances() const { return m_rdsReservedInstances; }
172 inline bool RdsReservedInstancesHasBeenSet() const { return m_rdsReservedInstancesHasBeenSet; }
173 template <typename RdsReservedInstancesT = RdsReservedInstances>
174 void SetRdsReservedInstances(RdsReservedInstancesT&& value) {
175 m_rdsReservedInstancesHasBeenSet = true;
176 m_rdsReservedInstances = std::forward<RdsReservedInstancesT>(value);
177 }
178 template <typename RdsReservedInstancesT = RdsReservedInstances>
179 ResourceDetails& WithRdsReservedInstances(RdsReservedInstancesT&& value) {
180 SetRdsReservedInstances(std::forward<RdsReservedInstancesT>(value));
181 return *this;
182 }
184
186
189 inline const ElastiCacheReservedInstances& GetElastiCacheReservedInstances() const { return m_elastiCacheReservedInstances; }
190 inline bool ElastiCacheReservedInstancesHasBeenSet() const { return m_elastiCacheReservedInstancesHasBeenSet; }
191 template <typename ElastiCacheReservedInstancesT = ElastiCacheReservedInstances>
192 void SetElastiCacheReservedInstances(ElastiCacheReservedInstancesT&& value) {
193 m_elastiCacheReservedInstancesHasBeenSet = true;
194 m_elastiCacheReservedInstances = std::forward<ElastiCacheReservedInstancesT>(value);
195 }
196 template <typename ElastiCacheReservedInstancesT = ElastiCacheReservedInstances>
197 ResourceDetails& WithElastiCacheReservedInstances(ElastiCacheReservedInstancesT&& value) {
198 SetElastiCacheReservedInstances(std::forward<ElastiCacheReservedInstancesT>(value));
199 return *this;
200 }
202
204
207 inline const OpenSearchReservedInstances& GetOpenSearchReservedInstances() const { return m_openSearchReservedInstances; }
208 inline bool OpenSearchReservedInstancesHasBeenSet() const { return m_openSearchReservedInstancesHasBeenSet; }
209 template <typename OpenSearchReservedInstancesT = OpenSearchReservedInstances>
210 void SetOpenSearchReservedInstances(OpenSearchReservedInstancesT&& value) {
211 m_openSearchReservedInstancesHasBeenSet = true;
212 m_openSearchReservedInstances = std::forward<OpenSearchReservedInstancesT>(value);
213 }
214 template <typename OpenSearchReservedInstancesT = OpenSearchReservedInstances>
215 ResourceDetails& WithOpenSearchReservedInstances(OpenSearchReservedInstancesT&& value) {
216 SetOpenSearchReservedInstances(std::forward<OpenSearchReservedInstancesT>(value));
217 return *this;
218 }
220
222
225 inline const RedshiftReservedInstances& GetRedshiftReservedInstances() const { return m_redshiftReservedInstances; }
226 inline bool RedshiftReservedInstancesHasBeenSet() const { return m_redshiftReservedInstancesHasBeenSet; }
227 template <typename RedshiftReservedInstancesT = RedshiftReservedInstances>
228 void SetRedshiftReservedInstances(RedshiftReservedInstancesT&& value) {
229 m_redshiftReservedInstancesHasBeenSet = true;
230 m_redshiftReservedInstances = std::forward<RedshiftReservedInstancesT>(value);
231 }
232 template <typename RedshiftReservedInstancesT = RedshiftReservedInstances>
233 ResourceDetails& WithRedshiftReservedInstances(RedshiftReservedInstancesT&& value) {
234 SetRedshiftReservedInstances(std::forward<RedshiftReservedInstancesT>(value));
235 return *this;
236 }
238
240
243 inline const Ec2InstanceSavingsPlans& GetEc2InstanceSavingsPlans() const { return m_ec2InstanceSavingsPlans; }
244 inline bool Ec2InstanceSavingsPlansHasBeenSet() const { return m_ec2InstanceSavingsPlansHasBeenSet; }
245 template <typename Ec2InstanceSavingsPlansT = Ec2InstanceSavingsPlans>
246 void SetEc2InstanceSavingsPlans(Ec2InstanceSavingsPlansT&& value) {
247 m_ec2InstanceSavingsPlansHasBeenSet = true;
248 m_ec2InstanceSavingsPlans = std::forward<Ec2InstanceSavingsPlansT>(value);
249 }
250 template <typename Ec2InstanceSavingsPlansT = Ec2InstanceSavingsPlans>
251 ResourceDetails& WithEc2InstanceSavingsPlans(Ec2InstanceSavingsPlansT&& value) {
252 SetEc2InstanceSavingsPlans(std::forward<Ec2InstanceSavingsPlansT>(value));
253 return *this;
254 }
256
258
261 inline const ComputeSavingsPlans& GetComputeSavingsPlans() const { return m_computeSavingsPlans; }
262 inline bool ComputeSavingsPlansHasBeenSet() const { return m_computeSavingsPlansHasBeenSet; }
263 template <typename ComputeSavingsPlansT = ComputeSavingsPlans>
264 void SetComputeSavingsPlans(ComputeSavingsPlansT&& value) {
265 m_computeSavingsPlansHasBeenSet = true;
266 m_computeSavingsPlans = std::forward<ComputeSavingsPlansT>(value);
267 }
268 template <typename ComputeSavingsPlansT = ComputeSavingsPlans>
269 ResourceDetails& WithComputeSavingsPlans(ComputeSavingsPlansT&& value) {
270 SetComputeSavingsPlans(std::forward<ComputeSavingsPlansT>(value));
271 return *this;
272 }
274
276
279 inline const SageMakerSavingsPlans& GetSageMakerSavingsPlans() const { return m_sageMakerSavingsPlans; }
280 inline bool SageMakerSavingsPlansHasBeenSet() const { return m_sageMakerSavingsPlansHasBeenSet; }
281 template <typename SageMakerSavingsPlansT = SageMakerSavingsPlans>
282 void SetSageMakerSavingsPlans(SageMakerSavingsPlansT&& value) {
283 m_sageMakerSavingsPlansHasBeenSet = true;
284 m_sageMakerSavingsPlans = std::forward<SageMakerSavingsPlansT>(value);
285 }
286 template <typename SageMakerSavingsPlansT = SageMakerSavingsPlans>
287 ResourceDetails& WithSageMakerSavingsPlans(SageMakerSavingsPlansT&& value) {
288 SetSageMakerSavingsPlans(std::forward<SageMakerSavingsPlansT>(value));
289 return *this;
290 }
292
294
297 inline const RdsDbInstance& GetRdsDbInstance() const { return m_rdsDbInstance; }
298 inline bool RdsDbInstanceHasBeenSet() const { return m_rdsDbInstanceHasBeenSet; }
299 template <typename RdsDbInstanceT = RdsDbInstance>
300 void SetRdsDbInstance(RdsDbInstanceT&& value) {
301 m_rdsDbInstanceHasBeenSet = true;
302 m_rdsDbInstance = std::forward<RdsDbInstanceT>(value);
303 }
304 template <typename RdsDbInstanceT = RdsDbInstance>
305 ResourceDetails& WithRdsDbInstance(RdsDbInstanceT&& value) {
306 SetRdsDbInstance(std::forward<RdsDbInstanceT>(value));
307 return *this;
308 }
310
312
315 inline const RdsDbInstanceStorage& GetRdsDbInstanceStorage() const { return m_rdsDbInstanceStorage; }
316 inline bool RdsDbInstanceStorageHasBeenSet() const { return m_rdsDbInstanceStorageHasBeenSet; }
317 template <typename RdsDbInstanceStorageT = RdsDbInstanceStorage>
318 void SetRdsDbInstanceStorage(RdsDbInstanceStorageT&& value) {
319 m_rdsDbInstanceStorageHasBeenSet = true;
320 m_rdsDbInstanceStorage = std::forward<RdsDbInstanceStorageT>(value);
321 }
322 template <typename RdsDbInstanceStorageT = RdsDbInstanceStorage>
323 ResourceDetails& WithRdsDbInstanceStorage(RdsDbInstanceStorageT&& value) {
324 SetRdsDbInstanceStorage(std::forward<RdsDbInstanceStorageT>(value));
325 return *this;
326 }
328
330
333 inline const AuroraDbClusterStorage& GetAuroraDbClusterStorage() const { return m_auroraDbClusterStorage; }
334 inline bool AuroraDbClusterStorageHasBeenSet() const { return m_auroraDbClusterStorageHasBeenSet; }
335 template <typename AuroraDbClusterStorageT = AuroraDbClusterStorage>
336 void SetAuroraDbClusterStorage(AuroraDbClusterStorageT&& value) {
337 m_auroraDbClusterStorageHasBeenSet = true;
338 m_auroraDbClusterStorage = std::forward<AuroraDbClusterStorageT>(value);
339 }
340 template <typename AuroraDbClusterStorageT = AuroraDbClusterStorage>
341 ResourceDetails& WithAuroraDbClusterStorage(AuroraDbClusterStorageT&& value) {
342 SetAuroraDbClusterStorage(std::forward<AuroraDbClusterStorageT>(value));
343 return *this;
344 }
346
348
351 inline const DynamoDbReservedCapacity& GetDynamoDbReservedCapacity() const { return m_dynamoDbReservedCapacity; }
352 inline bool DynamoDbReservedCapacityHasBeenSet() const { return m_dynamoDbReservedCapacityHasBeenSet; }
353 template <typename DynamoDbReservedCapacityT = DynamoDbReservedCapacity>
354 void SetDynamoDbReservedCapacity(DynamoDbReservedCapacityT&& value) {
355 m_dynamoDbReservedCapacityHasBeenSet = true;
356 m_dynamoDbReservedCapacity = std::forward<DynamoDbReservedCapacityT>(value);
357 }
358 template <typename DynamoDbReservedCapacityT = DynamoDbReservedCapacity>
359 ResourceDetails& WithDynamoDbReservedCapacity(DynamoDbReservedCapacityT&& value) {
360 SetDynamoDbReservedCapacity(std::forward<DynamoDbReservedCapacityT>(value));
361 return *this;
362 }
364
366
369 inline const MemoryDbReservedInstances& GetMemoryDbReservedInstances() const { return m_memoryDbReservedInstances; }
370 inline bool MemoryDbReservedInstancesHasBeenSet() const { return m_memoryDbReservedInstancesHasBeenSet; }
371 template <typename MemoryDbReservedInstancesT = MemoryDbReservedInstances>
372 void SetMemoryDbReservedInstances(MemoryDbReservedInstancesT&& value) {
373 m_memoryDbReservedInstancesHasBeenSet = true;
374 m_memoryDbReservedInstances = std::forward<MemoryDbReservedInstancesT>(value);
375 }
376 template <typename MemoryDbReservedInstancesT = MemoryDbReservedInstances>
377 ResourceDetails& WithMemoryDbReservedInstances(MemoryDbReservedInstancesT&& value) {
378 SetMemoryDbReservedInstances(std::forward<MemoryDbReservedInstancesT>(value));
379 return *this;
380 }
382
384
387 inline const NatGateway& GetNatGateway() const { return m_natGateway; }
388 inline bool NatGatewayHasBeenSet() const { return m_natGatewayHasBeenSet; }
389 template <typename NatGatewayT = NatGateway>
390 void SetNatGateway(NatGatewayT&& value) {
391 m_natGatewayHasBeenSet = true;
392 m_natGateway = std::forward<NatGatewayT>(value);
393 }
394 template <typename NatGatewayT = NatGateway>
395 ResourceDetails& WithNatGateway(NatGatewayT&& value) {
396 SetNatGateway(std::forward<NatGatewayT>(value));
397 return *this;
398 }
400
402
405 inline const DynamoDbTable& GetDynamoDbTable() const { return m_dynamoDbTable; }
406 inline bool DynamoDbTableHasBeenSet() const { return m_dynamoDbTableHasBeenSet; }
407 template <typename DynamoDbTableT = DynamoDbTable>
408 void SetDynamoDbTable(DynamoDbTableT&& value) {
409 m_dynamoDbTableHasBeenSet = true;
410 m_dynamoDbTable = std::forward<DynamoDbTableT>(value);
411 }
412 template <typename DynamoDbTableT = DynamoDbTable>
413 ResourceDetails& WithDynamoDbTable(DynamoDbTableT&& value) {
414 SetDynamoDbTable(std::forward<DynamoDbTableT>(value));
415 return *this;
416 }
418
420
423 inline const ElastiCacheCluster& GetElastiCacheCluster() const { return m_elastiCacheCluster; }
424 inline bool ElastiCacheClusterHasBeenSet() const { return m_elastiCacheClusterHasBeenSet; }
425 template <typename ElastiCacheClusterT = ElastiCacheCluster>
426 void SetElastiCacheCluster(ElastiCacheClusterT&& value) {
427 m_elastiCacheClusterHasBeenSet = true;
428 m_elastiCacheCluster = std::forward<ElastiCacheClusterT>(value);
429 }
430 template <typename ElastiCacheClusterT = ElastiCacheCluster>
431 ResourceDetails& WithElastiCacheCluster(ElastiCacheClusterT&& value) {
432 SetElastiCacheCluster(std::forward<ElastiCacheClusterT>(value));
433 return *this;
434 }
436
438
441 inline const MemoryDbCluster& GetMemoryDbCluster() const { return m_memoryDbCluster; }
442 inline bool MemoryDbClusterHasBeenSet() const { return m_memoryDbClusterHasBeenSet; }
443 template <typename MemoryDbClusterT = MemoryDbCluster>
444 void SetMemoryDbCluster(MemoryDbClusterT&& value) {
445 m_memoryDbClusterHasBeenSet = true;
446 m_memoryDbCluster = std::forward<MemoryDbClusterT>(value);
447 }
448 template <typename MemoryDbClusterT = MemoryDbCluster>
449 ResourceDetails& WithMemoryDbCluster(MemoryDbClusterT&& value) {
450 SetMemoryDbCluster(std::forward<MemoryDbClusterT>(value));
451 return *this;
452 }
454
456
459 inline const DocumentDbCluster& GetDocumentDbCluster() const { return m_documentDbCluster; }
460 inline bool DocumentDbClusterHasBeenSet() const { return m_documentDbClusterHasBeenSet; }
461 template <typename DocumentDbClusterT = DocumentDbCluster>
462 void SetDocumentDbCluster(DocumentDbClusterT&& value) {
463 m_documentDbClusterHasBeenSet = true;
464 m_documentDbCluster = std::forward<DocumentDbClusterT>(value);
465 }
466 template <typename DocumentDbClusterT = DocumentDbCluster>
467 ResourceDetails& WithDocumentDbCluster(DocumentDbClusterT&& value) {
468 SetDocumentDbCluster(std::forward<DocumentDbClusterT>(value));
469 return *this;
470 }
472
474
477 inline const WorkSpaces& GetWorkSpaces() const { return m_workSpaces; }
478 inline bool WorkSpacesHasBeenSet() const { return m_workSpacesHasBeenSet; }
479 template <typename WorkSpacesT = WorkSpaces>
480 void SetWorkSpaces(WorkSpacesT&& value) {
481 m_workSpacesHasBeenSet = true;
482 m_workSpaces = std::forward<WorkSpacesT>(value);
483 }
484 template <typename WorkSpacesT = WorkSpaces>
485 ResourceDetails& WithWorkSpaces(WorkSpacesT&& value) {
486 SetWorkSpaces(std::forward<WorkSpacesT>(value));
487 return *this;
488 }
490
492
495 inline const SageMakerEndpoint& GetSageMakerEndpoint() const { return m_sageMakerEndpoint; }
496 inline bool SageMakerEndpointHasBeenSet() const { return m_sageMakerEndpointHasBeenSet; }
497 template <typename SageMakerEndpointT = SageMakerEndpoint>
498 void SetSageMakerEndpoint(SageMakerEndpointT&& value) {
499 m_sageMakerEndpointHasBeenSet = true;
500 m_sageMakerEndpoint = std::forward<SageMakerEndpointT>(value);
501 }
502 template <typename SageMakerEndpointT = SageMakerEndpoint>
503 ResourceDetails& WithSageMakerEndpoint(SageMakerEndpointT&& value) {
504 SetSageMakerEndpoint(std::forward<SageMakerEndpointT>(value));
505 return *this;
506 }
508 private:
509 LambdaFunction m_lambdaFunction;
510
511 EcsService m_ecsService;
512
513 Ec2Instance m_ec2Instance;
514
515 EbsVolume m_ebsVolume;
516
517 Ec2AutoScalingGroup m_ec2AutoScalingGroup;
518
519 Ec2ReservedInstances m_ec2ReservedInstances;
520
521 RdsReservedInstances m_rdsReservedInstances;
522
523 ElastiCacheReservedInstances m_elastiCacheReservedInstances;
524
525 OpenSearchReservedInstances m_openSearchReservedInstances;
526
527 RedshiftReservedInstances m_redshiftReservedInstances;
528
529 Ec2InstanceSavingsPlans m_ec2InstanceSavingsPlans;
530
531 ComputeSavingsPlans m_computeSavingsPlans;
532
533 SageMakerSavingsPlans m_sageMakerSavingsPlans;
534
535 RdsDbInstance m_rdsDbInstance;
536
537 RdsDbInstanceStorage m_rdsDbInstanceStorage;
538
539 AuroraDbClusterStorage m_auroraDbClusterStorage;
540
541 DynamoDbReservedCapacity m_dynamoDbReservedCapacity;
542
543 MemoryDbReservedInstances m_memoryDbReservedInstances;
544
545 NatGateway m_natGateway;
546
547 DynamoDbTable m_dynamoDbTable;
548
549 ElastiCacheCluster m_elastiCacheCluster;
550
551 MemoryDbCluster m_memoryDbCluster;
552
553 DocumentDbCluster m_documentDbCluster;
554
555 WorkSpaces m_workSpaces;
556
557 SageMakerEndpoint m_sageMakerEndpoint;
558 bool m_lambdaFunctionHasBeenSet = false;
559 bool m_ecsServiceHasBeenSet = false;
560 bool m_ec2InstanceHasBeenSet = false;
561 bool m_ebsVolumeHasBeenSet = false;
562 bool m_ec2AutoScalingGroupHasBeenSet = false;
563 bool m_ec2ReservedInstancesHasBeenSet = false;
564 bool m_rdsReservedInstancesHasBeenSet = false;
565 bool m_elastiCacheReservedInstancesHasBeenSet = false;
566 bool m_openSearchReservedInstancesHasBeenSet = false;
567 bool m_redshiftReservedInstancesHasBeenSet = false;
568 bool m_ec2InstanceSavingsPlansHasBeenSet = false;
569 bool m_computeSavingsPlansHasBeenSet = false;
570 bool m_sageMakerSavingsPlansHasBeenSet = false;
571 bool m_rdsDbInstanceHasBeenSet = false;
572 bool m_rdsDbInstanceStorageHasBeenSet = false;
573 bool m_auroraDbClusterStorageHasBeenSet = false;
574 bool m_dynamoDbReservedCapacityHasBeenSet = false;
575 bool m_memoryDbReservedInstancesHasBeenSet = false;
576 bool m_natGatewayHasBeenSet = false;
577 bool m_dynamoDbTableHasBeenSet = false;
578 bool m_elastiCacheClusterHasBeenSet = false;
579 bool m_memoryDbClusterHasBeenSet = false;
580 bool m_documentDbClusterHasBeenSet = false;
581 bool m_workSpacesHasBeenSet = false;
582 bool m_sageMakerEndpointHasBeenSet = false;
583};
584
585} // namespace Model
586} // namespace CostOptimizationHub
587} // namespace Aws
void SetEc2ReservedInstances(Ec2ReservedInstancesT &&value)
const Ec2AutoScalingGroup & GetEc2AutoScalingGroup() const
const ElastiCacheCluster & GetElastiCacheCluster() const
ResourceDetails & WithMemoryDbReservedInstances(MemoryDbReservedInstancesT &&value)
ResourceDetails & WithEc2InstanceSavingsPlans(Ec2InstanceSavingsPlansT &&value)
const DocumentDbCluster & GetDocumentDbCluster() const
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)
void SetSageMakerEndpoint(SageMakerEndpointT &&value)
ResourceDetails & WithEc2AutoScalingGroup(Ec2AutoScalingGroupT &&value)
void SetRdsDbInstanceStorage(RdsDbInstanceStorageT &&value)
const Ec2InstanceSavingsPlans & GetEc2InstanceSavingsPlans() const
ResourceDetails & WithRdsReservedInstances(RdsReservedInstancesT &&value)
ResourceDetails & WithWorkSpaces(WorkSpacesT &&value)
ResourceDetails & WithSageMakerEndpoint(SageMakerEndpointT &&value)
void SetEc2InstanceSavingsPlans(Ec2InstanceSavingsPlansT &&value)
ResourceDetails & WithComputeSavingsPlans(ComputeSavingsPlansT &&value)
ResourceDetails & WithDynamoDbReservedCapacity(DynamoDbReservedCapacityT &&value)
void SetLambdaFunction(LambdaFunctionT &&value)
const SageMakerEndpoint & GetSageMakerEndpoint() const
const MemoryDbReservedInstances & GetMemoryDbReservedInstances() const
const RdsReservedInstances & GetRdsReservedInstances() const
ResourceDetails & WithElastiCacheCluster(ElastiCacheClusterT &&value)
ResourceDetails & WithEc2Instance(Ec2InstanceT &&value)
ResourceDetails & WithRdsDbInstance(RdsDbInstanceT &&value)
const DynamoDbReservedCapacity & GetDynamoDbReservedCapacity() const
void SetRdsReservedInstances(RdsReservedInstancesT &&value)
void SetComputeSavingsPlans(ComputeSavingsPlansT &&value)
ResourceDetails & WithDocumentDbCluster(DocumentDbClusterT &&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
ResourceDetails & WithDynamoDbTable(DynamoDbTableT &&value)
void SetElastiCacheCluster(ElastiCacheClusterT &&value)
const Ec2ReservedInstances & GetEc2ReservedInstances() const
const SageMakerSavingsPlans & GetSageMakerSavingsPlans() const
AWS_COSTOPTIMIZATIONHUB_API ResourceDetails(Aws::Utils::Json::JsonView jsonValue)
const RdsDbInstanceStorage & GetRdsDbInstanceStorage() const
ResourceDetails & WithMemoryDbCluster(MemoryDbClusterT &&value)
void SetMemoryDbCluster(MemoryDbClusterT &&value)
const MemoryDbCluster & GetMemoryDbCluster() const
void SetDocumentDbCluster(DocumentDbClusterT &&value)
AWS_COSTOPTIMIZATIONHUB_API ResourceDetails()=default
const ComputeSavingsPlans & GetComputeSavingsPlans() const
void SetRedshiftReservedInstances(RedshiftReservedInstancesT &&value)
ResourceDetails & WithLambdaFunction(LambdaFunctionT &&value)
Aws::Utils::Json::JsonValue JsonValue