/** * Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. * SPDX-License-Identifier: Apache-2.0. */ #pragma once #include #include #include namespace Aws { namespace Utils { namespace Json { class JsonValue; class JsonView; } // namespace Json } // namespace Utils namespace RecycleBin { namespace Model { /** *

Information about a retention rule lock configuration.

See * Also:

AWS * API Reference

*/ class LockConfiguration { public: AWS_RECYCLEBIN_API LockConfiguration(); AWS_RECYCLEBIN_API LockConfiguration(Aws::Utils::Json::JsonView jsonValue); AWS_RECYCLEBIN_API LockConfiguration& operator=(Aws::Utils::Json::JsonView jsonValue); AWS_RECYCLEBIN_API Aws::Utils::Json::JsonValue Jsonize() const; /** *

Information about the retention rule unlock delay.

*/ inline const UnlockDelay& GetUnlockDelay() const{ return m_unlockDelay; } /** *

Information about the retention rule unlock delay.

*/ inline bool UnlockDelayHasBeenSet() const { return m_unlockDelayHasBeenSet; } /** *

Information about the retention rule unlock delay.

*/ inline void SetUnlockDelay(const UnlockDelay& value) { m_unlockDelayHasBeenSet = true; m_unlockDelay = value; } /** *

Information about the retention rule unlock delay.

*/ inline void SetUnlockDelay(UnlockDelay&& value) { m_unlockDelayHasBeenSet = true; m_unlockDelay = std::move(value); } /** *

Information about the retention rule unlock delay.

*/ inline LockConfiguration& WithUnlockDelay(const UnlockDelay& value) { SetUnlockDelay(value); return *this;} /** *

Information about the retention rule unlock delay.

*/ inline LockConfiguration& WithUnlockDelay(UnlockDelay&& value) { SetUnlockDelay(std::move(value)); return *this;} private: UnlockDelay m_unlockDelay; bool m_unlockDelayHasBeenSet = false; }; } // namespace Model } // namespace RecycleBin } // namespace Aws