This repository has been archived on 2025-09-14. You can view files and clone it, but cannot push or open issues or pull requests.
Files
pxz-hos-client-cpp-module/support/aws-sdk-cpp-master/aws-cpp-sdk-kinesisvideo/include/aws/kinesisvideo/model/SingleMasterConfiguration.h

72 lines
2.0 KiB
C
Raw Normal View History

/**
* Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
* SPDX-License-Identifier: Apache-2.0.
*/
#pragma once
#include <aws/kinesisvideo/KinesisVideo_EXPORTS.h>
namespace Aws
{
namespace Utils
{
namespace Json
{
class JsonValue;
class JsonView;
} // namespace Json
} // namespace Utils
namespace KinesisVideo
{
namespace Model
{
/**
* <p>A structure that contains the configuration for the
* <code>SINGLE_MASTER</code> channel type.</p><p><h3>See Also:</h3> <a
* href="http://docs.aws.amazon.com/goto/WebAPI/kinesisvideo-2017-09-30/SingleMasterConfiguration">AWS
* API Reference</a></p>
*/
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;
/**
* <p>The period of time a signaling channel retains underlivered messages before
* they are discarded.</p>
*/
inline int GetMessageTtlSeconds() const{ return m_messageTtlSeconds; }
/**
* <p>The period of time a signaling channel retains underlivered messages before
* they are discarded.</p>
*/
inline bool MessageTtlSecondsHasBeenSet() const { return m_messageTtlSecondsHasBeenSet; }
/**
* <p>The period of time a signaling channel retains underlivered messages before
* they are discarded.</p>
*/
inline void SetMessageTtlSeconds(int value) { m_messageTtlSecondsHasBeenSet = true; m_messageTtlSeconds = value; }
/**
* <p>The period of time a signaling channel retains underlivered messages before
* they are discarded.</p>
*/
inline SingleMasterConfiguration& WithMessageTtlSeconds(int value) { SetMessageTtlSeconds(value); return *this;}
private:
int m_messageTtlSeconds;
bool m_messageTtlSecondsHasBeenSet;
};
} // namespace Model
} // namespace KinesisVideo
} // namespace Aws