/**
* Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
* SPDX-License-Identifier: Apache-2.0.
*/
#pragma once
#include The S3 Intelligent-Tiering storage class is designed to optimize storage
* costs by automatically moving data to the most cost-effective storage access
* tier, without additional operational overhead.See Also:
AWS API
* Reference
The number of consecutive days of no access after which an object will be * eligible to be transitioned to the corresponding tier. The minimum number of * days specified for Archive Access tier must be at least 90 days and Deep Archive * Access tier must be at least 180 days. The maximum can be up to 2 years (730 * days).
*/ inline int GetDays() const{ return m_days; } /** *The number of consecutive days of no access after which an object will be * eligible to be transitioned to the corresponding tier. The minimum number of * days specified for Archive Access tier must be at least 90 days and Deep Archive * Access tier must be at least 180 days. The maximum can be up to 2 years (730 * days).
*/ inline bool DaysHasBeenSet() const { return m_daysHasBeenSet; } /** *The number of consecutive days of no access after which an object will be * eligible to be transitioned to the corresponding tier. The minimum number of * days specified for Archive Access tier must be at least 90 days and Deep Archive * Access tier must be at least 180 days. The maximum can be up to 2 years (730 * days).
*/ inline void SetDays(int value) { m_daysHasBeenSet = true; m_days = value; } /** *The number of consecutive days of no access after which an object will be * eligible to be transitioned to the corresponding tier. The minimum number of * days specified for Archive Access tier must be at least 90 days and Deep Archive * Access tier must be at least 180 days. The maximum can be up to 2 years (730 * days).
*/ inline Tiering& WithDays(int value) { SetDays(value); return *this;} /** *S3 Intelligent-Tiering access tier. See Storage * class for automatically optimizing frequently and infrequently accessed * objects for a list of access tiers in the S3 Intelligent-Tiering storage * class.
*/ inline const IntelligentTieringAccessTier& GetAccessTier() const{ return m_accessTier; } /** *S3 Intelligent-Tiering access tier. See Storage * class for automatically optimizing frequently and infrequently accessed * objects for a list of access tiers in the S3 Intelligent-Tiering storage * class.
*/ inline bool AccessTierHasBeenSet() const { return m_accessTierHasBeenSet; } /** *S3 Intelligent-Tiering access tier. See Storage * class for automatically optimizing frequently and infrequently accessed * objects for a list of access tiers in the S3 Intelligent-Tiering storage * class.
*/ inline void SetAccessTier(const IntelligentTieringAccessTier& value) { m_accessTierHasBeenSet = true; m_accessTier = value; } /** *S3 Intelligent-Tiering access tier. See Storage * class for automatically optimizing frequently and infrequently accessed * objects for a list of access tiers in the S3 Intelligent-Tiering storage * class.
*/ inline void SetAccessTier(IntelligentTieringAccessTier&& value) { m_accessTierHasBeenSet = true; m_accessTier = std::move(value); } /** *S3 Intelligent-Tiering access tier. See Storage * class for automatically optimizing frequently and infrequently accessed * objects for a list of access tiers in the S3 Intelligent-Tiering storage * class.
*/ inline Tiering& WithAccessTier(const IntelligentTieringAccessTier& value) { SetAccessTier(value); return *this;} /** *S3 Intelligent-Tiering access tier. See Storage * class for automatically optimizing frequently and infrequently accessed * objects for a list of access tiers in the S3 Intelligent-Tiering storage * class.
*/ inline Tiering& WithAccessTier(IntelligentTieringAccessTier&& value) { SetAccessTier(std::move(value)); return *this;} private: int m_days; bool m_daysHasBeenSet; IntelligentTieringAccessTier m_accessTier; bool m_accessTierHasBeenSet; }; } // namespace Model } // namespace S3 } // namespace Aws