|
14 | 14 | #include <aws/compute-optimizer/model/EffectiveRecommendationPreferences.h>
|
15 | 15 | #include <aws/compute-optimizer/model/UtilizationMetric.h>
|
16 | 16 | #include <aws/compute-optimizer/model/AutoScalingGroupRecommendationOption.h>
|
| 17 | +#include <aws/compute-optimizer/model/InferredWorkloadType.h> |
17 | 18 | #include <utility>
|
18 | 19 |
|
19 | 20 | namespace Aws
|
@@ -529,6 +530,143 @@ namespace Model
|
529 | 530 | */
|
530 | 531 | inline AutoScalingGroupRecommendation& WithEffectiveRecommendationPreferences(EffectiveRecommendationPreferences&& value) { SetEffectiveRecommendationPreferences(std::move(value)); return *this;}
|
531 | 532 |
|
| 533 | + |
| 534 | + /** |
| 535 | + * <p>The applications that might be running on the instances in the Auto Scaling |
| 536 | + * group as inferred by Compute Optimizer.</p> <p>Compute Optimizer can infer if |
| 537 | + * one of the following applications might be running on the instances:</p> <ul> |
| 538 | + * <li> <p> <code>AmazonEmr</code> - Infers that Amazon EMR might be running on the |
| 539 | + * instances.</p> </li> <li> <p> <code>ApacheCassandra</code> - Infers that Apache |
| 540 | + * Cassandra might be running on the instances.</p> </li> <li> <p> |
| 541 | + * <code>ApacheHadoop</code> - Infers that Apache Hadoop might be running on the |
| 542 | + * instances.</p> </li> <li> <p> <code>Memcached</code> - Infers that Memcached |
| 543 | + * might be running on the instances.</p> </li> <li> <p> <code>NGINX</code> - |
| 544 | + * Infers that NGINX might be running on the instances.</p> </li> <li> <p> |
| 545 | + * <code>PostgreSql</code> - Infers that PostgreSQL might be running on the |
| 546 | + * instances.</p> </li> <li> <p> <code>Redis</code> - Infers that Redis might be |
| 547 | + * running on the instances.</p> </li> </ul> |
| 548 | + */ |
| 549 | + inline const Aws::Vector<InferredWorkloadType>& GetInferredWorkloadTypes() const{ return m_inferredWorkloadTypes; } |
| 550 | + |
| 551 | + /** |
| 552 | + * <p>The applications that might be running on the instances in the Auto Scaling |
| 553 | + * group as inferred by Compute Optimizer.</p> <p>Compute Optimizer can infer if |
| 554 | + * one of the following applications might be running on the instances:</p> <ul> |
| 555 | + * <li> <p> <code>AmazonEmr</code> - Infers that Amazon EMR might be running on the |
| 556 | + * instances.</p> </li> <li> <p> <code>ApacheCassandra</code> - Infers that Apache |
| 557 | + * Cassandra might be running on the instances.</p> </li> <li> <p> |
| 558 | + * <code>ApacheHadoop</code> - Infers that Apache Hadoop might be running on the |
| 559 | + * instances.</p> </li> <li> <p> <code>Memcached</code> - Infers that Memcached |
| 560 | + * might be running on the instances.</p> </li> <li> <p> <code>NGINX</code> - |
| 561 | + * Infers that NGINX might be running on the instances.</p> </li> <li> <p> |
| 562 | + * <code>PostgreSql</code> - Infers that PostgreSQL might be running on the |
| 563 | + * instances.</p> </li> <li> <p> <code>Redis</code> - Infers that Redis might be |
| 564 | + * running on the instances.</p> </li> </ul> |
| 565 | + */ |
| 566 | + inline bool InferredWorkloadTypesHasBeenSet() const { return m_inferredWorkloadTypesHasBeenSet; } |
| 567 | + |
| 568 | + /** |
| 569 | + * <p>The applications that might be running on the instances in the Auto Scaling |
| 570 | + * group as inferred by Compute Optimizer.</p> <p>Compute Optimizer can infer if |
| 571 | + * one of the following applications might be running on the instances:</p> <ul> |
| 572 | + * <li> <p> <code>AmazonEmr</code> - Infers that Amazon EMR might be running on the |
| 573 | + * instances.</p> </li> <li> <p> <code>ApacheCassandra</code> - Infers that Apache |
| 574 | + * Cassandra might be running on the instances.</p> </li> <li> <p> |
| 575 | + * <code>ApacheHadoop</code> - Infers that Apache Hadoop might be running on the |
| 576 | + * instances.</p> </li> <li> <p> <code>Memcached</code> - Infers that Memcached |
| 577 | + * might be running on the instances.</p> </li> <li> <p> <code>NGINX</code> - |
| 578 | + * Infers that NGINX might be running on the instances.</p> </li> <li> <p> |
| 579 | + * <code>PostgreSql</code> - Infers that PostgreSQL might be running on the |
| 580 | + * instances.</p> </li> <li> <p> <code>Redis</code> - Infers that Redis might be |
| 581 | + * running on the instances.</p> </li> </ul> |
| 582 | + */ |
| 583 | + inline void SetInferredWorkloadTypes(const Aws::Vector<InferredWorkloadType>& value) { m_inferredWorkloadTypesHasBeenSet = true; m_inferredWorkloadTypes = value; } |
| 584 | + |
| 585 | + /** |
| 586 | + * <p>The applications that might be running on the instances in the Auto Scaling |
| 587 | + * group as inferred by Compute Optimizer.</p> <p>Compute Optimizer can infer if |
| 588 | + * one of the following applications might be running on the instances:</p> <ul> |
| 589 | + * <li> <p> <code>AmazonEmr</code> - Infers that Amazon EMR might be running on the |
| 590 | + * instances.</p> </li> <li> <p> <code>ApacheCassandra</code> - Infers that Apache |
| 591 | + * Cassandra might be running on the instances.</p> </li> <li> <p> |
| 592 | + * <code>ApacheHadoop</code> - Infers that Apache Hadoop might be running on the |
| 593 | + * instances.</p> </li> <li> <p> <code>Memcached</code> - Infers that Memcached |
| 594 | + * might be running on the instances.</p> </li> <li> <p> <code>NGINX</code> - |
| 595 | + * Infers that NGINX might be running on the instances.</p> </li> <li> <p> |
| 596 | + * <code>PostgreSql</code> - Infers that PostgreSQL might be running on the |
| 597 | + * instances.</p> </li> <li> <p> <code>Redis</code> - Infers that Redis might be |
| 598 | + * running on the instances.</p> </li> </ul> |
| 599 | + */ |
| 600 | + inline void SetInferredWorkloadTypes(Aws::Vector<InferredWorkloadType>&& value) { m_inferredWorkloadTypesHasBeenSet = true; m_inferredWorkloadTypes = std::move(value); } |
| 601 | + |
| 602 | + /** |
| 603 | + * <p>The applications that might be running on the instances in the Auto Scaling |
| 604 | + * group as inferred by Compute Optimizer.</p> <p>Compute Optimizer can infer if |
| 605 | + * one of the following applications might be running on the instances:</p> <ul> |
| 606 | + * <li> <p> <code>AmazonEmr</code> - Infers that Amazon EMR might be running on the |
| 607 | + * instances.</p> </li> <li> <p> <code>ApacheCassandra</code> - Infers that Apache |
| 608 | + * Cassandra might be running on the instances.</p> </li> <li> <p> |
| 609 | + * <code>ApacheHadoop</code> - Infers that Apache Hadoop might be running on the |
| 610 | + * instances.</p> </li> <li> <p> <code>Memcached</code> - Infers that Memcached |
| 611 | + * might be running on the instances.</p> </li> <li> <p> <code>NGINX</code> - |
| 612 | + * Infers that NGINX might be running on the instances.</p> </li> <li> <p> |
| 613 | + * <code>PostgreSql</code> - Infers that PostgreSQL might be running on the |
| 614 | + * instances.</p> </li> <li> <p> <code>Redis</code> - Infers that Redis might be |
| 615 | + * running on the instances.</p> </li> </ul> |
| 616 | + */ |
| 617 | + inline AutoScalingGroupRecommendation& WithInferredWorkloadTypes(const Aws::Vector<InferredWorkloadType>& value) { SetInferredWorkloadTypes(value); return *this;} |
| 618 | + |
| 619 | + /** |
| 620 | + * <p>The applications that might be running on the instances in the Auto Scaling |
| 621 | + * group as inferred by Compute Optimizer.</p> <p>Compute Optimizer can infer if |
| 622 | + * one of the following applications might be running on the instances:</p> <ul> |
| 623 | + * <li> <p> <code>AmazonEmr</code> - Infers that Amazon EMR might be running on the |
| 624 | + * instances.</p> </li> <li> <p> <code>ApacheCassandra</code> - Infers that Apache |
| 625 | + * Cassandra might be running on the instances.</p> </li> <li> <p> |
| 626 | + * <code>ApacheHadoop</code> - Infers that Apache Hadoop might be running on the |
| 627 | + * instances.</p> </li> <li> <p> <code>Memcached</code> - Infers that Memcached |
| 628 | + * might be running on the instances.</p> </li> <li> <p> <code>NGINX</code> - |
| 629 | + * Infers that NGINX might be running on the instances.</p> </li> <li> <p> |
| 630 | + * <code>PostgreSql</code> - Infers that PostgreSQL might be running on the |
| 631 | + * instances.</p> </li> <li> <p> <code>Redis</code> - Infers that Redis might be |
| 632 | + * running on the instances.</p> </li> </ul> |
| 633 | + */ |
| 634 | + inline AutoScalingGroupRecommendation& WithInferredWorkloadTypes(Aws::Vector<InferredWorkloadType>&& value) { SetInferredWorkloadTypes(std::move(value)); return *this;} |
| 635 | + |
| 636 | + /** |
| 637 | + * <p>The applications that might be running on the instances in the Auto Scaling |
| 638 | + * group as inferred by Compute Optimizer.</p> <p>Compute Optimizer can infer if |
| 639 | + * one of the following applications might be running on the instances:</p> <ul> |
| 640 | + * <li> <p> <code>AmazonEmr</code> - Infers that Amazon EMR might be running on the |
| 641 | + * instances.</p> </li> <li> <p> <code>ApacheCassandra</code> - Infers that Apache |
| 642 | + * Cassandra might be running on the instances.</p> </li> <li> <p> |
| 643 | + * <code>ApacheHadoop</code> - Infers that Apache Hadoop might be running on the |
| 644 | + * instances.</p> </li> <li> <p> <code>Memcached</code> - Infers that Memcached |
| 645 | + * might be running on the instances.</p> </li> <li> <p> <code>NGINX</code> - |
| 646 | + * Infers that NGINX might be running on the instances.</p> </li> <li> <p> |
| 647 | + * <code>PostgreSql</code> - Infers that PostgreSQL might be running on the |
| 648 | + * instances.</p> </li> <li> <p> <code>Redis</code> - Infers that Redis might be |
| 649 | + * running on the instances.</p> </li> </ul> |
| 650 | + */ |
| 651 | + inline AutoScalingGroupRecommendation& AddInferredWorkloadTypes(const InferredWorkloadType& value) { m_inferredWorkloadTypesHasBeenSet = true; m_inferredWorkloadTypes.push_back(value); return *this; } |
| 652 | + |
| 653 | + /** |
| 654 | + * <p>The applications that might be running on the instances in the Auto Scaling |
| 655 | + * group as inferred by Compute Optimizer.</p> <p>Compute Optimizer can infer if |
| 656 | + * one of the following applications might be running on the instances:</p> <ul> |
| 657 | + * <li> <p> <code>AmazonEmr</code> - Infers that Amazon EMR might be running on the |
| 658 | + * instances.</p> </li> <li> <p> <code>ApacheCassandra</code> - Infers that Apache |
| 659 | + * Cassandra might be running on the instances.</p> </li> <li> <p> |
| 660 | + * <code>ApacheHadoop</code> - Infers that Apache Hadoop might be running on the |
| 661 | + * instances.</p> </li> <li> <p> <code>Memcached</code> - Infers that Memcached |
| 662 | + * might be running on the instances.</p> </li> <li> <p> <code>NGINX</code> - |
| 663 | + * Infers that NGINX might be running on the instances.</p> </li> <li> <p> |
| 664 | + * <code>PostgreSql</code> - Infers that PostgreSQL might be running on the |
| 665 | + * instances.</p> </li> <li> <p> <code>Redis</code> - Infers that Redis might be |
| 666 | + * running on the instances.</p> </li> </ul> |
| 667 | + */ |
| 668 | + inline AutoScalingGroupRecommendation& AddInferredWorkloadTypes(InferredWorkloadType&& value) { m_inferredWorkloadTypesHasBeenSet = true; m_inferredWorkloadTypes.push_back(std::move(value)); return *this; } |
| 669 | + |
532 | 670 | private:
|
533 | 671 |
|
534 | 672 | Aws::String m_accountId;
|
@@ -563,6 +701,9 @@ namespace Model
|
563 | 701 |
|
564 | 702 | EffectiveRecommendationPreferences m_effectiveRecommendationPreferences;
|
565 | 703 | bool m_effectiveRecommendationPreferencesHasBeenSet;
|
| 704 | + |
| 705 | + Aws::Vector<InferredWorkloadType> m_inferredWorkloadTypes; |
| 706 | + bool m_inferredWorkloadTypesHasBeenSet; |
566 | 707 | };
|
567 | 708 |
|
568 | 709 | } // namespace Model
|
|
0 commit comments