/* * 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 macie2-2020-01-01.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.Macie2.Model { /// /// Provides data for a specific usage metric and the corresponding quota for an Amazon /// Macie account. /// public partial class UsageByAccount { private Currency _currency; private string _estimatedCost; private ServiceLimit _serviceLimit; private UsageType _type; /// /// Gets and sets the property Currency. /// /// The type of currency that the value for the metric (estimatedCost) is reported in. /// /// public Currency Currency { get { return this._currency; } set { this._currency = value; } } // Check to see if Currency property is set internal bool IsSetCurrency() { return this._currency != null; } /// /// Gets and sets the property EstimatedCost. /// /// The estimated value for the metric. /// /// public string EstimatedCost { get { return this._estimatedCost; } set { this._estimatedCost = value; } } // Check to see if EstimatedCost property is set internal bool IsSetEstimatedCost() { return this._estimatedCost != null; } /// /// Gets and sets the property ServiceLimit. /// /// The current value for the quota that corresponds to the metric specified by the type /// field. /// /// public ServiceLimit ServiceLimit { get { return this._serviceLimit; } set { this._serviceLimit = value; } } // Check to see if ServiceLimit property is set internal bool IsSetServiceLimit() { return this._serviceLimit != null; } /// /// Gets and sets the property Type. /// /// The name of the metric. Possible values are: AUTOMATED_OBJECT_MONITORING, to monitor /// S3 objects for automated sensitive data discovery; AUTOMATED_SENSITIVE_DATA_DISCOVERY, /// to analyze S3 objects for automated sensitive data discovery; DATA_INVENTORY_EVALUATION, /// to monitor S3 buckets; and, SENSITIVE_DATA_DISCOVERY, to run classification jobs. /// /// public UsageType Type { get { return this._type; } set { this._type = value; } } // Check to see if Type property is set internal bool IsSetType() { return this._type != null; } } }