/* * Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. * * Licensed under the Apache License, Version 2.0 (the "License"). * You may not use this file except in compliance with the License. * A copy of the License is located at * * http://aws.amazon.com/apache2.0 * * or in the "license" file accompanying this file. This file is distributed * on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either * express or implied. See the License for the specific language governing * permissions and limitations under the License. */ /* * Do not modify this file. This file is generated from the ssm-2014-11-06.normal.json service model. */ using System; using System.Collections.Generic; using System.Xml.Serialization; using System.Text; using System.IO; using System.Net; using Amazon.Runtime; using Amazon.Runtime.Internal; namespace Amazon.SimpleSystemsManagement.Model { /// /// One or more aggregators for viewing counts of OpsData using different dimensions such /// as Source, CreatedTime, or Source and CreatedTime, /// to name a few. /// public partial class OpsAggregator { private List _aggregators = new List(); private string _aggregatorType; private string _attributeName; private List _filters = new List(); private string _typeName; private Dictionary _values = new Dictionary(); /// /// Gets and sets the property Aggregators. /// /// A nested aggregator for viewing counts of OpsData. /// /// [AWSProperty(Min=1, Max=12)] public List Aggregators { get { return this._aggregators; } set { this._aggregators = value; } } // Check to see if Aggregators property is set internal bool IsSetAggregators() { return this._aggregators != null && this._aggregators.Count > 0; } /// /// Gets and sets the property AggregatorType. /// /// Either a Range or Count aggregator for limiting an OpsData /// summary. /// /// [AWSProperty(Min=1, Max=20)] public string AggregatorType { get { return this._aggregatorType; } set { this._aggregatorType = value; } } // Check to see if AggregatorType property is set internal bool IsSetAggregatorType() { return this._aggregatorType != null; } /// /// Gets and sets the property AttributeName. /// /// The name of an OpsData attribute on which to limit the count of OpsData. /// /// [AWSProperty(Min=1, Max=128)] public string AttributeName { get { return this._attributeName; } set { this._attributeName = value; } } // Check to see if AttributeName property is set internal bool IsSetAttributeName() { return this._attributeName != null; } /// /// Gets and sets the property Filters. /// /// The aggregator filters. /// /// [AWSProperty(Min=1, Max=5)] public List Filters { get { return this._filters; } set { this._filters = value; } } // Check to see if Filters property is set internal bool IsSetFilters() { return this._filters != null && this._filters.Count > 0; } /// /// Gets and sets the property TypeName. /// /// The data type name to use for viewing counts of OpsData. /// /// [AWSProperty(Min=1, Max=100)] public string TypeName { get { return this._typeName; } set { this._typeName = value; } } // Check to see if TypeName property is set internal bool IsSetTypeName() { return this._typeName != null; } /// /// Gets and sets the property Values. /// /// The aggregator value. /// /// [AWSProperty(Min=0, Max=5)] public Dictionary Values { get { return this._values; } set { this._values = value; } } // Check to see if Values property is set internal bool IsSetValues() { return this._values != null && this._values.Count > 0; } } }