/**
* Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
* SPDX-License-Identifier: Apache-2.0.
*/
#pragma once
#include One or more aggregators for viewing counts of OpsData using different
* dimensions such as Source
, CreatedTime
, or
* Source and CreatedTime
, to name a few.See Also:
* AWS
* API Reference
Either a Range
or Count
aggregator for limiting an
* OpsData summary.
Either a Range
or Count
aggregator for limiting an
* OpsData summary.
Either a Range
or Count
aggregator for limiting an
* OpsData summary.
Either a Range
or Count
aggregator for limiting an
* OpsData summary.
Either a Range
or Count
aggregator for limiting an
* OpsData summary.
Either a Range
or Count
aggregator for limiting an
* OpsData summary.
Either a Range
or Count
aggregator for limiting an
* OpsData summary.
Either a Range
or Count
aggregator for limiting an
* OpsData summary.
The data type name to use for viewing counts of OpsData.
*/ inline const Aws::String& GetTypeName() const{ return m_typeName; } /** *The data type name to use for viewing counts of OpsData.
*/ inline bool TypeNameHasBeenSet() const { return m_typeNameHasBeenSet; } /** *The data type name to use for viewing counts of OpsData.
*/ inline void SetTypeName(const Aws::String& value) { m_typeNameHasBeenSet = true; m_typeName = value; } /** *The data type name to use for viewing counts of OpsData.
*/ inline void SetTypeName(Aws::String&& value) { m_typeNameHasBeenSet = true; m_typeName = std::move(value); } /** *The data type name to use for viewing counts of OpsData.
*/ inline void SetTypeName(const char* value) { m_typeNameHasBeenSet = true; m_typeName.assign(value); } /** *The data type name to use for viewing counts of OpsData.
*/ inline OpsAggregator& WithTypeName(const Aws::String& value) { SetTypeName(value); return *this;} /** *The data type name to use for viewing counts of OpsData.
*/ inline OpsAggregator& WithTypeName(Aws::String&& value) { SetTypeName(std::move(value)); return *this;} /** *The data type name to use for viewing counts of OpsData.
*/ inline OpsAggregator& WithTypeName(const char* value) { SetTypeName(value); return *this;} /** *The name of an OpsData attribute on which to limit the count of OpsData.
*/ inline const Aws::String& GetAttributeName() const{ return m_attributeName; } /** *The name of an OpsData attribute on which to limit the count of OpsData.
*/ inline bool AttributeNameHasBeenSet() const { return m_attributeNameHasBeenSet; } /** *The name of an OpsData attribute on which to limit the count of OpsData.
*/ inline void SetAttributeName(const Aws::String& value) { m_attributeNameHasBeenSet = true; m_attributeName = value; } /** *The name of an OpsData attribute on which to limit the count of OpsData.
*/ inline void SetAttributeName(Aws::String&& value) { m_attributeNameHasBeenSet = true; m_attributeName = std::move(value); } /** *The name of an OpsData attribute on which to limit the count of OpsData.
*/ inline void SetAttributeName(const char* value) { m_attributeNameHasBeenSet = true; m_attributeName.assign(value); } /** *The name of an OpsData attribute on which to limit the count of OpsData.
*/ inline OpsAggregator& WithAttributeName(const Aws::String& value) { SetAttributeName(value); return *this;} /** *The name of an OpsData attribute on which to limit the count of OpsData.
*/ inline OpsAggregator& WithAttributeName(Aws::String&& value) { SetAttributeName(std::move(value)); return *this;} /** *The name of an OpsData attribute on which to limit the count of OpsData.
*/ inline OpsAggregator& WithAttributeName(const char* value) { SetAttributeName(value); return *this;} /** *The aggregator value.
*/ inline const Aws::MapThe aggregator value.
*/ inline bool ValuesHasBeenSet() const { return m_valuesHasBeenSet; } /** *The aggregator value.
*/ inline void SetValues(const Aws::MapThe aggregator value.
*/ inline void SetValues(Aws::MapThe aggregator value.
*/ inline OpsAggregator& WithValues(const Aws::MapThe aggregator value.
*/ inline OpsAggregator& WithValues(Aws::MapThe aggregator value.
*/ inline OpsAggregator& AddValues(const Aws::String& key, const Aws::String& value) { m_valuesHasBeenSet = true; m_values.emplace(key, value); return *this; } /** *The aggregator value.
*/ inline OpsAggregator& AddValues(Aws::String&& key, const Aws::String& value) { m_valuesHasBeenSet = true; m_values.emplace(std::move(key), value); return *this; } /** *The aggregator value.
*/ inline OpsAggregator& AddValues(const Aws::String& key, Aws::String&& value) { m_valuesHasBeenSet = true; m_values.emplace(key, std::move(value)); return *this; } /** *The aggregator value.
*/ inline OpsAggregator& AddValues(Aws::String&& key, Aws::String&& value) { m_valuesHasBeenSet = true; m_values.emplace(std::move(key), std::move(value)); return *this; } /** *The aggregator value.
*/ inline OpsAggregator& AddValues(const char* key, Aws::String&& value) { m_valuesHasBeenSet = true; m_values.emplace(key, std::move(value)); return *this; } /** *The aggregator value.
*/ inline OpsAggregator& AddValues(Aws::String&& key, const char* value) { m_valuesHasBeenSet = true; m_values.emplace(std::move(key), value); return *this; } /** *The aggregator value.
*/ inline OpsAggregator& AddValues(const char* key, const char* value) { m_valuesHasBeenSet = true; m_values.emplace(key, value); return *this; } /** *The aggregator filters.
*/ inline const Aws::VectorThe aggregator filters.
*/ inline bool FiltersHasBeenSet() const { return m_filtersHasBeenSet; } /** *The aggregator filters.
*/ inline void SetFilters(const Aws::VectorThe aggregator filters.
*/ inline void SetFilters(Aws::VectorThe aggregator filters.
*/ inline OpsAggregator& WithFilters(const Aws::VectorThe aggregator filters.
*/ inline OpsAggregator& WithFilters(Aws::VectorThe aggregator filters.
*/ inline OpsAggregator& AddFilters(const OpsFilter& value) { m_filtersHasBeenSet = true; m_filters.push_back(value); return *this; } /** *The aggregator filters.
*/ inline OpsAggregator& AddFilters(OpsFilter&& value) { m_filtersHasBeenSet = true; m_filters.push_back(std::move(value)); return *this; } /** *A nested aggregator for viewing counts of OpsData.
*/ inline const Aws::VectorA nested aggregator for viewing counts of OpsData.
*/ inline bool AggregatorsHasBeenSet() const { return m_aggregatorsHasBeenSet; } /** *A nested aggregator for viewing counts of OpsData.
*/ inline void SetAggregators(const Aws::VectorA nested aggregator for viewing counts of OpsData.
*/ inline void SetAggregators(Aws::VectorA nested aggregator for viewing counts of OpsData.
*/ inline OpsAggregator& WithAggregators(const Aws::VectorA nested aggregator for viewing counts of OpsData.
*/ inline OpsAggregator& WithAggregators(Aws::VectorA nested aggregator for viewing counts of OpsData.
*/ inline OpsAggregator& AddAggregators(const OpsAggregator& value) { m_aggregatorsHasBeenSet = true; m_aggregators.push_back(value); return *this; } /** *A nested aggregator for viewing counts of OpsData.
*/ inline OpsAggregator& AddAggregators(OpsAggregator&& value) { m_aggregatorsHasBeenSet = true; m_aggregators.push_back(std::move(value)); return *this; } private: Aws::String m_aggregatorType; bool m_aggregatorTypeHasBeenSet = false; Aws::String m_typeName; bool m_typeNameHasBeenSet = false; Aws::String m_attributeName; bool m_attributeNameHasBeenSet = false; Aws::Map