/**
* Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
* SPDX-License-Identifier: Apache-2.0.
*/
#pragma once
#include The details that define an aggregation based on Amazon EC2
* instances.See Also:
AWS
* API Reference
The AMI IDs associated with the Amazon EC2 instances to aggregate findings * for.
*/ inline const Aws::VectorThe AMI IDs associated with the Amazon EC2 instances to aggregate findings * for.
*/ inline bool AmisHasBeenSet() const { return m_amisHasBeenSet; } /** *The AMI IDs associated with the Amazon EC2 instances to aggregate findings * for.
*/ inline void SetAmis(const Aws::VectorThe AMI IDs associated with the Amazon EC2 instances to aggregate findings * for.
*/ inline void SetAmis(Aws::VectorThe AMI IDs associated with the Amazon EC2 instances to aggregate findings * for.
*/ inline Ec2InstanceAggregation& WithAmis(const Aws::VectorThe AMI IDs associated with the Amazon EC2 instances to aggregate findings * for.
*/ inline Ec2InstanceAggregation& WithAmis(Aws::VectorThe AMI IDs associated with the Amazon EC2 instances to aggregate findings * for.
*/ inline Ec2InstanceAggregation& AddAmis(const StringFilter& value) { m_amisHasBeenSet = true; m_amis.push_back(value); return *this; } /** *The AMI IDs associated with the Amazon EC2 instances to aggregate findings * for.
*/ inline Ec2InstanceAggregation& AddAmis(StringFilter&& value) { m_amisHasBeenSet = true; m_amis.push_back(std::move(value)); return *this; } /** *The Amazon EC2 instance IDs to aggregate findings for.
*/ inline const Aws::VectorThe Amazon EC2 instance IDs to aggregate findings for.
*/ inline bool InstanceIdsHasBeenSet() const { return m_instanceIdsHasBeenSet; } /** *The Amazon EC2 instance IDs to aggregate findings for.
*/ inline void SetInstanceIds(const Aws::VectorThe Amazon EC2 instance IDs to aggregate findings for.
*/ inline void SetInstanceIds(Aws::VectorThe Amazon EC2 instance IDs to aggregate findings for.
*/ inline Ec2InstanceAggregation& WithInstanceIds(const Aws::VectorThe Amazon EC2 instance IDs to aggregate findings for.
*/ inline Ec2InstanceAggregation& WithInstanceIds(Aws::VectorThe Amazon EC2 instance IDs to aggregate findings for.
*/ inline Ec2InstanceAggregation& AddInstanceIds(const StringFilter& value) { m_instanceIdsHasBeenSet = true; m_instanceIds.push_back(value); return *this; } /** *The Amazon EC2 instance IDs to aggregate findings for.
*/ inline Ec2InstanceAggregation& AddInstanceIds(StringFilter&& value) { m_instanceIdsHasBeenSet = true; m_instanceIds.push_back(std::move(value)); return *this; } /** *The Amazon EC2 instance tags to aggregate findings for.
*/ inline const Aws::VectorThe Amazon EC2 instance tags to aggregate findings for.
*/ inline bool InstanceTagsHasBeenSet() const { return m_instanceTagsHasBeenSet; } /** *The Amazon EC2 instance tags to aggregate findings for.
*/ inline void SetInstanceTags(const Aws::VectorThe Amazon EC2 instance tags to aggregate findings for.
*/ inline void SetInstanceTags(Aws::VectorThe Amazon EC2 instance tags to aggregate findings for.
*/ inline Ec2InstanceAggregation& WithInstanceTags(const Aws::VectorThe Amazon EC2 instance tags to aggregate findings for.
*/ inline Ec2InstanceAggregation& WithInstanceTags(Aws::VectorThe Amazon EC2 instance tags to aggregate findings for.
*/ inline Ec2InstanceAggregation& AddInstanceTags(const MapFilter& value) { m_instanceTagsHasBeenSet = true; m_instanceTags.push_back(value); return *this; } /** *The Amazon EC2 instance tags to aggregate findings for.
*/ inline Ec2InstanceAggregation& AddInstanceTags(MapFilter&& value) { m_instanceTagsHasBeenSet = true; m_instanceTags.push_back(std::move(value)); return *this; } /** *The operating system types to aggregate findings for. Valid values must be
* uppercase and underscore separated, examples are ORACLE_LINUX_7
and
* ALPINE_LINUX_3_8
.
The operating system types to aggregate findings for. Valid values must be
* uppercase and underscore separated, examples are ORACLE_LINUX_7
and
* ALPINE_LINUX_3_8
.
The operating system types to aggregate findings for. Valid values must be
* uppercase and underscore separated, examples are ORACLE_LINUX_7
and
* ALPINE_LINUX_3_8
.
The operating system types to aggregate findings for. Valid values must be
* uppercase and underscore separated, examples are ORACLE_LINUX_7
and
* ALPINE_LINUX_3_8
.
The operating system types to aggregate findings for. Valid values must be
* uppercase and underscore separated, examples are ORACLE_LINUX_7
and
* ALPINE_LINUX_3_8
.
The operating system types to aggregate findings for. Valid values must be
* uppercase and underscore separated, examples are ORACLE_LINUX_7
and
* ALPINE_LINUX_3_8
.
The operating system types to aggregate findings for. Valid values must be
* uppercase and underscore separated, examples are ORACLE_LINUX_7
and
* ALPINE_LINUX_3_8
.
The operating system types to aggregate findings for. Valid values must be
* uppercase and underscore separated, examples are ORACLE_LINUX_7
and
* ALPINE_LINUX_3_8
.
The value to sort results by.
*/ inline const Ec2InstanceSortBy& GetSortBy() const{ return m_sortBy; } /** *The value to sort results by.
*/ inline bool SortByHasBeenSet() const { return m_sortByHasBeenSet; } /** *The value to sort results by.
*/ inline void SetSortBy(const Ec2InstanceSortBy& value) { m_sortByHasBeenSet = true; m_sortBy = value; } /** *The value to sort results by.
*/ inline void SetSortBy(Ec2InstanceSortBy&& value) { m_sortByHasBeenSet = true; m_sortBy = std::move(value); } /** *The value to sort results by.
*/ inline Ec2InstanceAggregation& WithSortBy(const Ec2InstanceSortBy& value) { SetSortBy(value); return *this;} /** *The value to sort results by.
*/ inline Ec2InstanceAggregation& WithSortBy(Ec2InstanceSortBy&& value) { SetSortBy(std::move(value)); return *this;} /** *The order to sort results by.
*/ inline const SortOrder& GetSortOrder() const{ return m_sortOrder; } /** *The order to sort results by.
*/ inline bool SortOrderHasBeenSet() const { return m_sortOrderHasBeenSet; } /** *The order to sort results by.
*/ inline void SetSortOrder(const SortOrder& value) { m_sortOrderHasBeenSet = true; m_sortOrder = value; } /** *The order to sort results by.
*/ inline void SetSortOrder(SortOrder&& value) { m_sortOrderHasBeenSet = true; m_sortOrder = std::move(value); } /** *The order to sort results by.
*/ inline Ec2InstanceAggregation& WithSortOrder(const SortOrder& value) { SetSortOrder(value); return *this;} /** *The order to sort results by.
*/ inline Ec2InstanceAggregation& WithSortOrder(SortOrder&& value) { SetSortOrder(std::move(value)); return *this;} private: Aws::Vector