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

The retention settings that determine how long to retain chat room messages * for an Amazon Chime Enterprise account.

See Also:

AWS * API Reference

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

The number of days for which to retain chat room messages.

*/ inline int GetRetentionDays() const{ return m_retentionDays; } /** *

The number of days for which to retain chat room messages.

*/ inline bool RetentionDaysHasBeenSet() const { return m_retentionDaysHasBeenSet; } /** *

The number of days for which to retain chat room messages.

*/ inline void SetRetentionDays(int value) { m_retentionDaysHasBeenSet = true; m_retentionDays = value; } /** *

The number of days for which to retain chat room messages.

*/ inline RoomRetentionSettings& WithRetentionDays(int value) { SetRetentionDays(value); return *this;} private: int m_retentionDays; bool m_retentionDaysHasBeenSet; }; } // namespace Model } // namespace Chime } // namespace Aws