/**
* Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
* SPDX-License-Identifier: Apache-2.0.
*/
#pragma once
#include Specifies the configuration and any analyses for the analytics filter of an
* Amazon S3 bucket.See Also:
AWS
* API Reference
The ID that identifies the analytics configuration.
*/ inline const Aws::String& GetId() const{ return m_id; } /** *The ID that identifies the analytics configuration.
*/ inline bool IdHasBeenSet() const { return m_idHasBeenSet; } /** *The ID that identifies the analytics configuration.
*/ inline void SetId(const Aws::String& value) { m_idHasBeenSet = true; m_id = value; } /** *The ID that identifies the analytics configuration.
*/ inline void SetId(Aws::String&& value) { m_idHasBeenSet = true; m_id = std::move(value); } /** *The ID that identifies the analytics configuration.
*/ inline void SetId(const char* value) { m_idHasBeenSet = true; m_id.assign(value); } /** *The ID that identifies the analytics configuration.
*/ inline AnalyticsConfiguration& WithId(const Aws::String& value) { SetId(value); return *this;} /** *The ID that identifies the analytics configuration.
*/ inline AnalyticsConfiguration& WithId(Aws::String&& value) { SetId(std::move(value)); return *this;} /** *The ID that identifies the analytics configuration.
*/ inline AnalyticsConfiguration& WithId(const char* value) { SetId(value); return *this;} /** *The filter used to describe a set of objects for analyses. A filter must have * exactly one prefix, one tag, or one conjunction (AnalyticsAndOperator). If no * filter is provided, all objects will be considered in any analysis.
*/ inline const AnalyticsFilter& GetFilter() const{ return m_filter; } /** *The filter used to describe a set of objects for analyses. A filter must have * exactly one prefix, one tag, or one conjunction (AnalyticsAndOperator). If no * filter is provided, all objects will be considered in any analysis.
*/ inline bool FilterHasBeenSet() const { return m_filterHasBeenSet; } /** *The filter used to describe a set of objects for analyses. A filter must have * exactly one prefix, one tag, or one conjunction (AnalyticsAndOperator). If no * filter is provided, all objects will be considered in any analysis.
*/ inline void SetFilter(const AnalyticsFilter& value) { m_filterHasBeenSet = true; m_filter = value; } /** *The filter used to describe a set of objects for analyses. A filter must have * exactly one prefix, one tag, or one conjunction (AnalyticsAndOperator). If no * filter is provided, all objects will be considered in any analysis.
*/ inline void SetFilter(AnalyticsFilter&& value) { m_filterHasBeenSet = true; m_filter = std::move(value); } /** *The filter used to describe a set of objects for analyses. A filter must have * exactly one prefix, one tag, or one conjunction (AnalyticsAndOperator). If no * filter is provided, all objects will be considered in any analysis.
*/ inline AnalyticsConfiguration& WithFilter(const AnalyticsFilter& value) { SetFilter(value); return *this;} /** *The filter used to describe a set of objects for analyses. A filter must have * exactly one prefix, one tag, or one conjunction (AnalyticsAndOperator). If no * filter is provided, all objects will be considered in any analysis.
*/ inline AnalyticsConfiguration& WithFilter(AnalyticsFilter&& value) { SetFilter(std::move(value)); return *this;} /** *Contains data related to access patterns to be collected and made available * to analyze the tradeoffs between different storage classes.
*/ inline const StorageClassAnalysis& GetStorageClassAnalysis() const{ return m_storageClassAnalysis; } /** *Contains data related to access patterns to be collected and made available * to analyze the tradeoffs between different storage classes.
*/ inline bool StorageClassAnalysisHasBeenSet() const { return m_storageClassAnalysisHasBeenSet; } /** *Contains data related to access patterns to be collected and made available * to analyze the tradeoffs between different storage classes.
*/ inline void SetStorageClassAnalysis(const StorageClassAnalysis& value) { m_storageClassAnalysisHasBeenSet = true; m_storageClassAnalysis = value; } /** *Contains data related to access patterns to be collected and made available * to analyze the tradeoffs between different storage classes.
*/ inline void SetStorageClassAnalysis(StorageClassAnalysis&& value) { m_storageClassAnalysisHasBeenSet = true; m_storageClassAnalysis = std::move(value); } /** *Contains data related to access patterns to be collected and made available * to analyze the tradeoffs between different storage classes.
*/ inline AnalyticsConfiguration& WithStorageClassAnalysis(const StorageClassAnalysis& value) { SetStorageClassAnalysis(value); return *this;} /** *Contains data related to access patterns to be collected and made available * to analyze the tradeoffs between different storage classes.
*/ inline AnalyticsConfiguration& WithStorageClassAnalysis(StorageClassAnalysis&& value) { SetStorageClassAnalysis(std::move(value)); return *this;} private: Aws::String m_id; bool m_idHasBeenSet; AnalyticsFilter m_filter; bool m_filterHasBeenSet; StorageClassAnalysis m_storageClassAnalysis; bool m_storageClassAnalysisHasBeenSet; }; } // namespace Model } // namespace S3 } // namespace Aws