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    * Audio Track<p><h3>See Also:</h3>   <a
26    * href="http://docs.aws.amazon.com/goto/WebAPI/medialive-2017-10-14/AudioTrack">AWS
27    * API Reference</a></p>
28    */
29   class AWS_MEDIALIVE_API AudioTrack
30   {
31   public:
32     AudioTrack();
33     AudioTrack(Aws::Utils::Json::JsonView jsonValue);
34     AudioTrack& operator=(Aws::Utils::Json::JsonView jsonValue);
35     Aws::Utils::Json::JsonValue Jsonize() const;
36 
37 
38     /**
39      * 1-based integer value that maps to a specific audio track
40      */
GetTrack()41     inline int GetTrack() const{ return m_track; }
42 
43     /**
44      * 1-based integer value that maps to a specific audio track
45      */
TrackHasBeenSet()46     inline bool TrackHasBeenSet() const { return m_trackHasBeenSet; }
47 
48     /**
49      * 1-based integer value that maps to a specific audio track
50      */
SetTrack(int value)51     inline void SetTrack(int value) { m_trackHasBeenSet = true; m_track = value; }
52 
53     /**
54      * 1-based integer value that maps to a specific audio track
55      */
WithTrack(int value)56     inline AudioTrack& WithTrack(int value) { SetTrack(value); return *this;}
57 
58   private:
59 
60     int m_track;
61     bool m_trackHasBeenSet;
62   };
63 
64 } // namespace Model
65 } // namespace MediaLive
66 } // namespace Aws
67