1 /**
2  * Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
3  * SPDX-License-Identifier: Apache-2.0.
4  */
5 
6 #pragma once
7 #include <aws/medialive/MediaLive_EXPORTS.h>
8 
9 namespace Aws
10 {
11 namespace Utils
12 {
13 namespace Json
14 {
15   class JsonValue;
16   class JsonView;
17 } // namespace Json
18 } // namespace Utils
19 namespace MediaLive
20 {
21 namespace Model
22 {
23 
24   /**
25    * Video Selector Pid<p><h3>See Also:</h3>   <a
26    * href="http://docs.aws.amazon.com/goto/WebAPI/medialive-2017-10-14/VideoSelectorPid">AWS
27    * API Reference</a></p>
28    */
29   class AWS_MEDIALIVE_API VideoSelectorPid
30   {
31   public:
32     VideoSelectorPid();
33     VideoSelectorPid(Aws::Utils::Json::JsonView jsonValue);
34     VideoSelectorPid& operator=(Aws::Utils::Json::JsonView jsonValue);
35     Aws::Utils::Json::JsonValue Jsonize() const;
36 
37 
38     /**
39      * Selects a specific PID from within a video source.
40      */
GetPid()41     inline int GetPid() const{ return m_pid; }
42 
43     /**
44      * Selects a specific PID from within a video source.
45      */
PidHasBeenSet()46     inline bool PidHasBeenSet() const { return m_pidHasBeenSet; }
47 
48     /**
49      * Selects a specific PID from within a video source.
50      */
SetPid(int value)51     inline void SetPid(int value) { m_pidHasBeenSet = true; m_pid = value; }
52 
53     /**
54      * Selects a specific PID from within a video source.
55      */
WithPid(int value)56     inline VideoSelectorPid& WithPid(int value) { SetPid(value); return *this;}
57 
58   private:
59 
60     int m_pid;
61     bool m_pidHasBeenSet;
62   };
63 
64 } // namespace Model
65 } // namespace MediaLive
66 } // namespace Aws
67