/** * 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 SingleMasterConfiguration { public: AWS_KINESISVIDEO_API SingleMasterConfiguration(); AWS_KINESISVIDEO_API SingleMasterConfiguration(Aws::Utils::Json::JsonView jsonValue); AWS_KINESISVIDEO_API SingleMasterConfiguration& operator=(Aws::Utils::Json::JsonView jsonValue); AWS_KINESISVIDEO_API Aws::Utils::Json::JsonValue Jsonize() const; /** *

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