/*
* 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 account-level Amazon S3 Storage Lens configuration.
///
///
///
/// For more information about S3 Storage Lens, see Assessing
/// your storage activity and usage with S3 Storage Lens in the Amazon S3 User
/// Guide. For a complete list of S3 Storage Lens metrics, see S3
/// Storage Lens metrics glossary in the Amazon S3 User Guide.
///
///
public partial class AccountLevel
{
private ActivityMetrics _activityMetrics;
private AdvancedCostOptimizationMetrics _advancedCostOptimizationMetrics;
private AdvancedDataProtectionMetrics _advancedDataProtectionMetrics;
private BucketLevel _bucketLevel;
private DetailedStatusCodesMetrics _detailedStatusCodesMetrics;
///
/// Gets and sets the property ActivityMetrics.
///
/// A container for S3 Storage Lens activity metrics.
///
///
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 S3 Storage Lens advanced cost-optimization metrics.
///
///
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 S3 Storage Lens advanced data-protection metrics.
///
///
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 BucketLevel.
///
/// A container for the S3 Storage Lens bucket-level configuration.
///
///
[AWSProperty(Required=true)]
public BucketLevel BucketLevel
{
get { return this._bucketLevel; }
set { this._bucketLevel = value; }
}
// Check to see if BucketLevel property is set
internal bool IsSetBucketLevel()
{
return this._bucketLevel != null;
}
///
/// Gets and sets the property DetailedStatusCodesMetrics.
///
/// A container for detailed status code metrics.
///
///
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;
}
}
}