/*
* 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 s3control-2018-08-20.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.S3Control.Model
{
///
/// A container for the bucket-level configuration for Amazon S3 Storage Lens.
///
///
///
/// For more information about S3 Storage Lens, see Assessing
/// your storage activity and usage with S3 Storage Lens in the Amazon S3 User
/// Guide.
///
///
public partial class BucketLevel
{
private ActivityMetrics _activityMetrics;
private AdvancedCostOptimizationMetrics _advancedCostOptimizationMetrics;
private AdvancedDataProtectionMetrics _advancedDataProtectionMetrics;
private DetailedStatusCodesMetrics _detailedStatusCodesMetrics;
private PrefixLevel _prefixLevel;
///
/// Gets and sets the property ActivityMetrics.
///
/// A container for the bucket-level activity metrics for S3 Storage Lens.
///
///
public ActivityMetrics ActivityMetrics
{
get { return this._activityMetrics; }
set { this._activityMetrics = value; }
}
// Check to see if ActivityMetrics property is set
internal bool IsSetActivityMetrics()
{
return this._activityMetrics != null;
}
///
/// Gets and sets the property AdvancedCostOptimizationMetrics.
///
/// A container for bucket-level advanced cost-optimization metrics for S3 Storage Lens.
///
///
public AdvancedCostOptimizationMetrics AdvancedCostOptimizationMetrics
{
get { return this._advancedCostOptimizationMetrics; }
set { this._advancedCostOptimizationMetrics = value; }
}
// Check to see if AdvancedCostOptimizationMetrics property is set
internal bool IsSetAdvancedCostOptimizationMetrics()
{
return this._advancedCostOptimizationMetrics != null;
}
///
/// Gets and sets the property AdvancedDataProtectionMetrics.
///
/// A container for bucket-level advanced data-protection metrics for S3 Storage Lens.
///
///
public AdvancedDataProtectionMetrics AdvancedDataProtectionMetrics
{
get { return this._advancedDataProtectionMetrics; }
set { this._advancedDataProtectionMetrics = value; }
}
// Check to see if AdvancedDataProtectionMetrics property is set
internal bool IsSetAdvancedDataProtectionMetrics()
{
return this._advancedDataProtectionMetrics != null;
}
///
/// Gets and sets the property DetailedStatusCodesMetrics.
///
/// A container for bucket-level detailed status code metrics for S3 Storage Lens.
///
///
public DetailedStatusCodesMetrics DetailedStatusCodesMetrics
{
get { return this._detailedStatusCodesMetrics; }
set { this._detailedStatusCodesMetrics = value; }
}
// Check to see if DetailedStatusCodesMetrics property is set
internal bool IsSetDetailedStatusCodesMetrics()
{
return this._detailedStatusCodesMetrics != null;
}
///
/// Gets and sets the property PrefixLevel.
///
/// A container for the prefix-level metrics for S3 Storage Lens.
///
///
public PrefixLevel PrefixLevel
{
get { return this._prefixLevel; }
set { this._prefixLevel = value; }
}
// Check to see if PrefixLevel property is set
internal bool IsSetPrefixLevel()
{
return this._prefixLevel != null;
}
}
}