/**
* Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
* SPDX-License-Identifier: Apache-2.0.
*/
#pragma once
#include Specifies the inventory type and attribute for the aggregation
* execution.See Also:
AWS
* API Reference
The inventory type and attribute name for aggregation.
*/ inline const Aws::String& GetExpression() const{ return m_expression; } /** *The inventory type and attribute name for aggregation.
*/ inline bool ExpressionHasBeenSet() const { return m_expressionHasBeenSet; } /** *The inventory type and attribute name for aggregation.
*/ inline void SetExpression(const Aws::String& value) { m_expressionHasBeenSet = true; m_expression = value; } /** *The inventory type and attribute name for aggregation.
*/ inline void SetExpression(Aws::String&& value) { m_expressionHasBeenSet = true; m_expression = std::move(value); } /** *The inventory type and attribute name for aggregation.
*/ inline void SetExpression(const char* value) { m_expressionHasBeenSet = true; m_expression.assign(value); } /** *The inventory type and attribute name for aggregation.
*/ inline InventoryAggregator& WithExpression(const Aws::String& value) { SetExpression(value); return *this;} /** *The inventory type and attribute name for aggregation.
*/ inline InventoryAggregator& WithExpression(Aws::String&& value) { SetExpression(std::move(value)); return *this;} /** *The inventory type and attribute name for aggregation.
*/ inline InventoryAggregator& WithExpression(const char* value) { SetExpression(value); return *this;} /** *Nested aggregators to further refine aggregation for an inventory type.
*/ inline const Aws::VectorNested aggregators to further refine aggregation for an inventory type.
*/ inline bool AggregatorsHasBeenSet() const { return m_aggregatorsHasBeenSet; } /** *Nested aggregators to further refine aggregation for an inventory type.
*/ inline void SetAggregators(const Aws::VectorNested aggregators to further refine aggregation for an inventory type.
*/ inline void SetAggregators(Aws::VectorNested aggregators to further refine aggregation for an inventory type.
*/ inline InventoryAggregator& WithAggregators(const Aws::VectorNested aggregators to further refine aggregation for an inventory type.
*/ inline InventoryAggregator& WithAggregators(Aws::VectorNested aggregators to further refine aggregation for an inventory type.
*/ inline InventoryAggregator& AddAggregators(const InventoryAggregator& value) { m_aggregatorsHasBeenSet = true; m_aggregators.push_back(value); return *this; } /** *Nested aggregators to further refine aggregation for an inventory type.
*/ inline InventoryAggregator& AddAggregators(InventoryAggregator&& value) { m_aggregatorsHasBeenSet = true; m_aggregators.push_back(std::move(value)); return *this; } /** *A user-defined set of one or more filters on which to aggregate inventory * data. Groups return a count of resources that match and don't match the * specified criteria.
*/ inline const Aws::VectorA user-defined set of one or more filters on which to aggregate inventory * data. Groups return a count of resources that match and don't match the * specified criteria.
*/ inline bool GroupsHasBeenSet() const { return m_groupsHasBeenSet; } /** *A user-defined set of one or more filters on which to aggregate inventory * data. Groups return a count of resources that match and don't match the * specified criteria.
*/ inline void SetGroups(const Aws::VectorA user-defined set of one or more filters on which to aggregate inventory * data. Groups return a count of resources that match and don't match the * specified criteria.
*/ inline void SetGroups(Aws::VectorA user-defined set of one or more filters on which to aggregate inventory * data. Groups return a count of resources that match and don't match the * specified criteria.
*/ inline InventoryAggregator& WithGroups(const Aws::VectorA user-defined set of one or more filters on which to aggregate inventory * data. Groups return a count of resources that match and don't match the * specified criteria.
*/ inline InventoryAggregator& WithGroups(Aws::VectorA user-defined set of one or more filters on which to aggregate inventory * data. Groups return a count of resources that match and don't match the * specified criteria.
*/ inline InventoryAggregator& AddGroups(const InventoryGroup& value) { m_groupsHasBeenSet = true; m_groups.push_back(value); return *this; } /** *A user-defined set of one or more filters on which to aggregate inventory * data. Groups return a count of resources that match and don't match the * specified criteria.
*/ inline InventoryAggregator& AddGroups(InventoryGroup&& value) { m_groupsHasBeenSet = true; m_groups.push_back(std::move(value)); return *this; } private: Aws::String m_expression; bool m_expressionHasBeenSet = false; Aws::Vector