/** * 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 { /** * Audio Track

See Also:

AWS * API Reference

*/ class AudioTrack { public: AWS_MEDIALIVE_API AudioTrack(); AWS_MEDIALIVE_API AudioTrack(Aws::Utils::Json::JsonView jsonValue); AWS_MEDIALIVE_API AudioTrack& operator=(Aws::Utils::Json::JsonView jsonValue); AWS_MEDIALIVE_API Aws::Utils::Json::JsonValue Jsonize() const; /** * 1-based integer value that maps to a specific audio track */ inline int GetTrack() const{ return m_track; } /** * 1-based integer value that maps to a specific audio track */ inline bool TrackHasBeenSet() const { return m_trackHasBeenSet; } /** * 1-based integer value that maps to a specific audio track */ inline void SetTrack(int value) { m_trackHasBeenSet = true; m_track = value; } /** * 1-based integer value that maps to a specific audio track */ inline AudioTrack& WithTrack(int value) { SetTrack(value); return *this;} private: int m_track; bool m_trackHasBeenSet = false; }; } // namespace Model } // namespace MediaLive } // namespace Aws