149 lines
4.7 KiB
C++
149 lines
4.7 KiB
C++
/**
|
|
* Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
|
|
* SPDX-License-Identifier: Apache-2.0.
|
|
*/
|
|
|
|
#pragma once
|
|
#include <aws/medialive/MediaLive_EXPORTS.h>
|
|
#include <aws/core/utils/memory/stl/AWSString.h>
|
|
#include <utility>
|
|
|
|
namespace Aws
|
|
{
|
|
namespace Utils
|
|
{
|
|
namespace Json
|
|
{
|
|
class JsonValue;
|
|
class JsonView;
|
|
} // namespace Json
|
|
} // namespace Utils
|
|
namespace MediaLive
|
|
{
|
|
namespace Model
|
|
{
|
|
|
|
/**
|
|
* DVB Network Information Table (NIT)<p><h3>See Also:</h3> <a
|
|
* href="http://docs.aws.amazon.com/goto/WebAPI/medialive-2017-10-14/DvbNitSettings">AWS
|
|
* API Reference</a></p>
|
|
*/
|
|
class AWS_MEDIALIVE_API DvbNitSettings
|
|
{
|
|
public:
|
|
DvbNitSettings();
|
|
DvbNitSettings(Aws::Utils::Json::JsonView jsonValue);
|
|
DvbNitSettings& operator=(Aws::Utils::Json::JsonView jsonValue);
|
|
Aws::Utils::Json::JsonValue Jsonize() const;
|
|
|
|
|
|
/**
|
|
* The numeric value placed in the Network Information Table (NIT).
|
|
*/
|
|
inline int GetNetworkId() const{ return m_networkId; }
|
|
|
|
/**
|
|
* The numeric value placed in the Network Information Table (NIT).
|
|
*/
|
|
inline bool NetworkIdHasBeenSet() const { return m_networkIdHasBeenSet; }
|
|
|
|
/**
|
|
* The numeric value placed in the Network Information Table (NIT).
|
|
*/
|
|
inline void SetNetworkId(int value) { m_networkIdHasBeenSet = true; m_networkId = value; }
|
|
|
|
/**
|
|
* The numeric value placed in the Network Information Table (NIT).
|
|
*/
|
|
inline DvbNitSettings& WithNetworkId(int value) { SetNetworkId(value); return *this;}
|
|
|
|
|
|
/**
|
|
* The network name text placed in the networkNameDescriptor inside the Network
|
|
* Information Table. Maximum length is 256 characters.
|
|
*/
|
|
inline const Aws::String& GetNetworkName() const{ return m_networkName; }
|
|
|
|
/**
|
|
* The network name text placed in the networkNameDescriptor inside the Network
|
|
* Information Table. Maximum length is 256 characters.
|
|
*/
|
|
inline bool NetworkNameHasBeenSet() const { return m_networkNameHasBeenSet; }
|
|
|
|
/**
|
|
* The network name text placed in the networkNameDescriptor inside the Network
|
|
* Information Table. Maximum length is 256 characters.
|
|
*/
|
|
inline void SetNetworkName(const Aws::String& value) { m_networkNameHasBeenSet = true; m_networkName = value; }
|
|
|
|
/**
|
|
* The network name text placed in the networkNameDescriptor inside the Network
|
|
* Information Table. Maximum length is 256 characters.
|
|
*/
|
|
inline void SetNetworkName(Aws::String&& value) { m_networkNameHasBeenSet = true; m_networkName = std::move(value); }
|
|
|
|
/**
|
|
* The network name text placed in the networkNameDescriptor inside the Network
|
|
* Information Table. Maximum length is 256 characters.
|
|
*/
|
|
inline void SetNetworkName(const char* value) { m_networkNameHasBeenSet = true; m_networkName.assign(value); }
|
|
|
|
/**
|
|
* The network name text placed in the networkNameDescriptor inside the Network
|
|
* Information Table. Maximum length is 256 characters.
|
|
*/
|
|
inline DvbNitSettings& WithNetworkName(const Aws::String& value) { SetNetworkName(value); return *this;}
|
|
|
|
/**
|
|
* The network name text placed in the networkNameDescriptor inside the Network
|
|
* Information Table. Maximum length is 256 characters.
|
|
*/
|
|
inline DvbNitSettings& WithNetworkName(Aws::String&& value) { SetNetworkName(std::move(value)); return *this;}
|
|
|
|
/**
|
|
* The network name text placed in the networkNameDescriptor inside the Network
|
|
* Information Table. Maximum length is 256 characters.
|
|
*/
|
|
inline DvbNitSettings& WithNetworkName(const char* value) { SetNetworkName(value); return *this;}
|
|
|
|
|
|
/**
|
|
* The number of milliseconds between instances of this table in the output
|
|
* transport stream.
|
|
*/
|
|
inline int GetRepInterval() const{ return m_repInterval; }
|
|
|
|
/**
|
|
* The number of milliseconds between instances of this table in the output
|
|
* transport stream.
|
|
*/
|
|
inline bool RepIntervalHasBeenSet() const { return m_repIntervalHasBeenSet; }
|
|
|
|
/**
|
|
* The number of milliseconds between instances of this table in the output
|
|
* transport stream.
|
|
*/
|
|
inline void SetRepInterval(int value) { m_repIntervalHasBeenSet = true; m_repInterval = value; }
|
|
|
|
/**
|
|
* The number of milliseconds between instances of this table in the output
|
|
* transport stream.
|
|
*/
|
|
inline DvbNitSettings& WithRepInterval(int value) { SetRepInterval(value); return *this;}
|
|
|
|
private:
|
|
|
|
int m_networkId;
|
|
bool m_networkIdHasBeenSet;
|
|
|
|
Aws::String m_networkName;
|
|
bool m_networkNameHasBeenSet;
|
|
|
|
int m_repInterval;
|
|
bool m_repIntervalHasBeenSet;
|
|
};
|
|
|
|
} // namespace Model
|
|
} // namespace MediaLive
|
|
} // namespace Aws
|