/**
* Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
* SPDX-License-Identifier: Apache-2.0.
*/
#pragma once
#include The details of the data-retention settings for an
* AppInstance
.See Also:
AWS
* API Reference
The length of time in days to retain the messages in a channel.
*/ inline const ChannelRetentionSettings& GetChannelRetentionSettings() const{ return m_channelRetentionSettings; } /** *The length of time in days to retain the messages in a channel.
*/ inline bool ChannelRetentionSettingsHasBeenSet() const { return m_channelRetentionSettingsHasBeenSet; } /** *The length of time in days to retain the messages in a channel.
*/ inline void SetChannelRetentionSettings(const ChannelRetentionSettings& value) { m_channelRetentionSettingsHasBeenSet = true; m_channelRetentionSettings = value; } /** *The length of time in days to retain the messages in a channel.
*/ inline void SetChannelRetentionSettings(ChannelRetentionSettings&& value) { m_channelRetentionSettingsHasBeenSet = true; m_channelRetentionSettings = std::move(value); } /** *The length of time in days to retain the messages in a channel.
*/ inline AppInstanceRetentionSettings& WithChannelRetentionSettings(const ChannelRetentionSettings& value) { SetChannelRetentionSettings(value); return *this;} /** *The length of time in days to retain the messages in a channel.
*/ inline AppInstanceRetentionSettings& WithChannelRetentionSettings(ChannelRetentionSettings&& value) { SetChannelRetentionSettings(std::move(value)); return *this;} private: ChannelRetentionSettings m_channelRetentionSettings; bool m_channelRetentionSettingsHasBeenSet = false; }; } // namespace Model } // namespace Chime } // namespace Aws