/** * 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 conversation * messages for an Amazon Chime Enterprise account.

See Also:

AWS * API Reference

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

The number of days for which to retain conversation messages.

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

The number of days for which to retain conversation messages.

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

The number of days for which to retain conversation messages.

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

The number of days for which to retain conversation messages.

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