/**
* Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
* SPDX-License-Identifier: Apache-2.0.
*/
#pragma once
#include A structure that contains the configuration for the
* SINGLE_MASTER
channel type.See Also:
AWS
* API Reference
The period of time a signaling channel retains undelivered messages before * they are discarded.
*/ inline int GetMessageTtlSeconds() const{ return m_messageTtlSeconds; } /** *The period of time a signaling channel retains undelivered messages before * they are discarded.
*/ inline bool MessageTtlSecondsHasBeenSet() const { return m_messageTtlSecondsHasBeenSet; } /** *The period of time a signaling channel retains undelivered messages before * they are discarded.
*/ inline void SetMessageTtlSeconds(int value) { m_messageTtlSecondsHasBeenSet = true; m_messageTtlSeconds = value; } /** *The period of time a signaling channel retains undelivered messages before * they are discarded.
*/ inline SingleMasterConfiguration& WithMessageTtlSeconds(int value) { SetMessageTtlSeconds(value); return *this;} private: int m_messageTtlSeconds; bool m_messageTtlSecondsHasBeenSet = false; }; } // namespace Model } // namespace KinesisVideo } // namespace Aws