/** * 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 MediaLive { namespace Model { /** * Video Selector Program Id

See Also:

AWS * API Reference

*/ class VideoSelectorProgramId { public: AWS_MEDIALIVE_API VideoSelectorProgramId(); AWS_MEDIALIVE_API VideoSelectorProgramId(Aws::Utils::Json::JsonView jsonValue); AWS_MEDIALIVE_API VideoSelectorProgramId& operator=(Aws::Utils::Json::JsonView jsonValue); AWS_MEDIALIVE_API Aws::Utils::Json::JsonValue Jsonize() const; /** * Selects a specific program from within a multi-program transport stream. If the * program doesn't exist, the first program within the transport stream will be * selected by default. */ inline int GetProgramId() const{ return m_programId; } /** * Selects a specific program from within a multi-program transport stream. If the * program doesn't exist, the first program within the transport stream will be * selected by default. */ inline bool ProgramIdHasBeenSet() const { return m_programIdHasBeenSet; } /** * Selects a specific program from within a multi-program transport stream. If the * program doesn't exist, the first program within the transport stream will be * selected by default. */ inline void SetProgramId(int value) { m_programIdHasBeenSet = true; m_programId = value; } /** * Selects a specific program from within a multi-program transport stream. If the * program doesn't exist, the first program within the transport stream will be * selected by default. */ inline VideoSelectorProgramId& WithProgramId(int value) { SetProgramId(value); return *this;} private: int m_programId; bool m_programIdHasBeenSet = false; }; } // namespace Model } // namespace MediaLive } // namespace Aws