/**
* Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
* SPDX-License-Identifier: Apache-2.0.
*/
#pragma once
#include [Snapshot policies only] Specifies information about the archive
* storage tier retention period.See Also:
AWS
* API Reference
Information about retention period in the Amazon EBS Snapshots Archive. For * more information, see Archive * Amazon EBS snapshots.
*/ inline const RetentionArchiveTier& GetRetentionArchiveTier() const{ return m_retentionArchiveTier; } /** *Information about retention period in the Amazon EBS Snapshots Archive. For * more information, see Archive * Amazon EBS snapshots.
*/ inline bool RetentionArchiveTierHasBeenSet() const { return m_retentionArchiveTierHasBeenSet; } /** *Information about retention period in the Amazon EBS Snapshots Archive. For * more information, see Archive * Amazon EBS snapshots.
*/ inline void SetRetentionArchiveTier(const RetentionArchiveTier& value) { m_retentionArchiveTierHasBeenSet = true; m_retentionArchiveTier = value; } /** *Information about retention period in the Amazon EBS Snapshots Archive. For * more information, see Archive * Amazon EBS snapshots.
*/ inline void SetRetentionArchiveTier(RetentionArchiveTier&& value) { m_retentionArchiveTierHasBeenSet = true; m_retentionArchiveTier = std::move(value); } /** *Information about retention period in the Amazon EBS Snapshots Archive. For * more information, see Archive * Amazon EBS snapshots.
*/ inline ArchiveRetainRule& WithRetentionArchiveTier(const RetentionArchiveTier& value) { SetRetentionArchiveTier(value); return *this;} /** *Information about retention period in the Amazon EBS Snapshots Archive. For * more information, see Archive * Amazon EBS snapshots.
*/ inline ArchiveRetainRule& WithRetentionArchiveTier(RetentionArchiveTier&& value) { SetRetentionArchiveTier(std::move(value)); return *this;} private: RetentionArchiveTier m_retentionArchiveTier; bool m_retentionArchiveTierHasBeenSet = false; }; } // namespace Model } // namespace DLM } // namespace Aws