/*
* 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 aggregated data for an Amazon Macie usage metric. The value for the metric
/// reports estimated usage data for an account for the preceding 30 days or the current
/// calendar month to date, depending on the time period (timeRange) specified in the
/// request.
///
public partial class UsageTotal
{
private Currency _currency;
private string _estimatedCost;
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 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;
}
}
}