/** * 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 KinesisVideo { namespace Model { /** *

A structure that contains the configuration for the * SINGLE_MASTER channel type.

See Also:

AWS * API Reference

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

The period of time a signaling channel retains underlivered messages before * they are discarded.

*/ inline int GetMessageTtlSeconds() const{ return m_messageTtlSeconds; } /** *

The period of time a signaling channel retains underlivered messages before * they are discarded.

*/ inline bool MessageTtlSecondsHasBeenSet() const { return m_messageTtlSecondsHasBeenSet; } /** *

The period of time a signaling channel retains underlivered messages before * they are discarded.

*/ inline void SetMessageTtlSeconds(int value) { m_messageTtlSecondsHasBeenSet = true; m_messageTtlSeconds = value; } /** *

The period of time a signaling channel retains underlivered messages before * they are discarded.

*/ inline SingleMasterConfiguration& WithMessageTtlSeconds(int value) { SetMessageTtlSeconds(value); return *this;} private: int m_messageTtlSeconds; bool m_messageTtlSecondsHasBeenSet; }; } // namespace Model } // namespace KinesisVideo } // namespace Aws