/**
* Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
* SPDX-License-Identifier: Apache-2.0.
*/
#pragma once
#include A policy that defines the number of days to retain backups.See
* Also:
AWS
* API Reference
The type of backup retention policy. For the DAYS
type, the
* value is the number of days to retain backups.
The type of backup retention policy. For the DAYS
type, the
* value is the number of days to retain backups.
The type of backup retention policy. For the DAYS
type, the
* value is the number of days to retain backups.
The type of backup retention policy. For the DAYS
type, the
* value is the number of days to retain backups.
The type of backup retention policy. For the DAYS
type, the
* value is the number of days to retain backups.
The type of backup retention policy. For the DAYS
type, the
* value is the number of days to retain backups.
Use a value between 7 - 379.
*/ inline const Aws::String& GetValue() const{ return m_value; } /** *Use a value between 7 - 379.
*/ inline bool ValueHasBeenSet() const { return m_valueHasBeenSet; } /** *Use a value between 7 - 379.
*/ inline void SetValue(const Aws::String& value) { m_valueHasBeenSet = true; m_value = value; } /** *Use a value between 7 - 379.
*/ inline void SetValue(Aws::String&& value) { m_valueHasBeenSet = true; m_value = std::move(value); } /** *Use a value between 7 - 379.
*/ inline void SetValue(const char* value) { m_valueHasBeenSet = true; m_value.assign(value); } /** *Use a value between 7 - 379.
*/ inline BackupRetentionPolicy& WithValue(const Aws::String& value) { SetValue(value); return *this;} /** *Use a value between 7 - 379.
*/ inline BackupRetentionPolicy& WithValue(Aws::String&& value) { SetValue(std::move(value)); return *this;} /** *Use a value between 7 - 379.
*/ inline BackupRetentionPolicy& WithValue(const char* value) { SetValue(value); return *this;} private: BackupRetentionType m_type; bool m_typeHasBeenSet = false; Aws::String m_value; bool m_valueHasBeenSet = false; }; } // namespace Model } // namespace CloudHSMV2 } // namespace Aws